patch: (any Solarians in the audience?) rm nanosleep solaris workaround
It seems that there was a nanosleep() in src/IO/dpi.c long ago, but I can't find any nanosleep()s anywhere anymore, so...
On Tue, Jul 01, 2008 at 09:57:59PM +0000, corvid wrote:
It seems that there was a nanosleep() in src/IO/dpi.c long ago, but I can't find any nanosleep()s anywhere anymore, so...
Committed. Let's hope for somebody to have FLTK2 and dillo2 in Solaris! :) -- Cheers Jorge.-
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jorge Arellano Cid wrote:
On Tue, Jul 01, 2008 at 09:57:59PM +0000, corvid wrote:
It seems that there was a nanosleep() in src/IO/dpi.c long ago, but I can't find any nanosleep()s anywhere anymore, so...
Committed.
Let's hope for somebody to have FLTK2 and dillo2 in Solaris! :)
I tried that, but last time I checked fltk2 failed to build on Solaris10/sparc. I filed a bug [1] but got no response. Justus 1: http://fltk.org/str.php?L1890 - -- gpg key fingerprint: C82D 382A AB38 1A54 5290 19D6 A0F9 B035 686C 6996 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIbmxSoPmwNWhsaZYRAhDgAJ9QtZaVSxw4WgVI8hxef1HRbUC0wgCglHv2 95X6xEp4bT40XIQrq9P3Yvo= =PTk3 -----END PGP SIGNATURE-----
On Fri, Jul 04, 2008 at 08:30:42PM +0200, Justus Winter wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Jorge Arellano Cid wrote:
On Tue, Jul 01, 2008 at 09:57:59PM +0000, corvid wrote:
It seems that there was a nanosleep() in src/IO/dpi.c long ago, but I can't find any nanosleep()s anywhere anymore, so...
Committed.
Let's hope for somebody to have FLTK2 and dillo2 in Solaris! :)
I tried that, but last time I checked fltk2 failed to build on Solaris10/sparc. I filed a bug [1] but got no response.
Can you try this: diff -r 0a9067b60fe3 configure.in --- a/configure.in Sat Jun 28 10:54:24 2008 +0200 +++ b/configure.in Fri Jul 04 20:32:07 2008 +0200 @@ -324,7 +324,7 @@ AC_CHECK_HEADER(sys/select.h,AC_DEFINE(H AC_CHECK_HEADER(sys/select.h,AC_DEFINE(HAVE_SYS_SELECT_H)) AC_CHECK_HEADER(sys/stdtypes.h,AC_DEFINE(HAVE_SYS_SELECT_H)) AC_CHECK_FUNC(scandir,[ - if test "$uname" = SunOS -o "$uname" = QNX; then + if test "$uname" = QNX; then AC_MSG_WARN(Not using $uname scandir emulation function.) else AC_DEFINE(HAVE_SCANDIR) It's just a wild guess, but I could imagine, that Solaris 10 now has proper scandir support. Cheers, Johannes
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Johannes Hofmann wrote:
On Fri, Jul 04, 2008 at 08:30:42PM +0200, Justus Winter wrote:
Jorge Arellano Cid wrote:
Let's hope for somebody to have FLTK2 and dillo2 in Solaris! :) I tried that, but last time I checked fltk2 failed to build on Solaris10/sparc. I filed a bug [1] but got no response.
Can you try this:
[...]
It's just a wild guess, but I could imagine, that Solaris 10 now has proper scandir support.
Yes, you are right. This solved that issue. It took some more time of hunting libraries in obscure places where the fltk build system couldn't find them (isn't Solaris a nice platform... and the userland takes you back in time for no extra cost :-/), but in the end it compiled fine. Dillo2 also compiles and runs fine, only the dpid failed to start. It turned out that there is a small error that the solaris printf kindly exposed... patch is attached. With that patch applied everything (well, the bookmark dpi) seems to be working as expected. I will do some more testing next week when I get physically closer to that box... Justus -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIbrspoPmwNWhsaZYRAtMhAJ9svDei4lfRsWzU1jX0QXTEl/AZTACgg5xJ mw8myfHJNNiHSueY0KiLM/o= =aOrm -----END PGP SIGNATURE-----
On Sat, Jul 05, 2008 at 02:07:05AM +0200, Justus Winter wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Johannes Hofmann wrote:
On Fri, Jul 04, 2008 at 08:30:42PM +0200, Justus Winter wrote:
Jorge Arellano Cid wrote:
Let's hope for somebody to have FLTK2 and dillo2 in Solaris! :) I tried that, but last time I checked fltk2 failed to build on Solaris10/sparc. I filed a bug [1] but got no response.
Can you try this:
[...]
It's just a wild guess, but I could imagine, that Solaris 10 now has proper scandir support.
Yes, you are right. This solved that issue. It took some more time of hunting libraries in obscure places where the fltk build system couldn't find them (isn't Solaris a nice platform... and the userland takes you back in time for no extra cost :-/), but in the end it compiled fine.
Good to know it works there too! If there's a general patch for configure.in with Solaris, just let us know.
Dillo2 also compiles and runs fine, only the dpid failed to start. It turned out that there is a small error that the solaris printf kindly exposed... patch is attached.
Committed.
With that patch applied everything (well, the bookmark dpi) seems to be working as expected. I will do some more testing next week when I get physically closer to that box...
If you can look at local files, the file dpi is also working and that's mainly it. -- Cheers Jorge.-
participants (4)
-
4winter@informatik.uni-hamburg.de
-
corvid@lavabit.com
-
jcid@dillo.org
-
Johannes.Hofmann@gmx.de