Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Nov 2007 19:06:00 +0100
From:      Mathias Picker <Mathias.Picker@strongdesk.com>
To:        dewey hylton <freenx@deweyonline.com>
Cc:        ports@freebsd.org, jim@coolzero.info
Subject:   Re: Small question about FreeNX for freebsd.
Message-ID:  <1196273160.6739.4.camel@1.strongdesk.com>
In-Reply-To: <1196258131.474d73536bea1@webmail.hyltown.com>
References:  <46369.212.120.65.207.1196256244.squirrel@webmail.coolzero.info> <1196258131.474d73536bea1@webmail.hyltown.com>

next in thread | previous in thread | raw e-mail | index | archive | help
The following patch works mostly on 7.0. I had troubles on 6.0, but that
might have been a problem with my configuration.

Fonts look horrible with subpixel anti-aliasing, but greyscale is fine.

Also, the color chooser for the gnome background is broken, but all
others (gimp, inkscape, OOo) work fine.

All other features seem to work fine. I tried the 3.0 client on windows,
the 1.4 on FreeBSD and the 3.0 on Mac (had to manually adjust the
keyboard)

Cheers, Mathias

--- nx-X11/config/cf/FreeBSD.cf.orig    2007-11-28 
+++ nx-X11/config/cf/FreeBSD.cf         2007-11-28 
@@ -65,7 +65,7 @@
 
 #if (OSMajorVersion >= 3)
 #define HasIssetugid           YES
-#define HasPoll                        YES
+#define HasPoll                        NO
 #endif
 
 #if OSMajorVersion >= 4
@@ -82,6 +82,7 @@
  * Multi-thread safe libs 
  */
 /* 2.2.7 and later has libc_r (POSIX threads) */
+/* 7.0 and later have libpthread instead of libc_r */
 #if OSMajorVersion == 2 && OSMinorVersion == 2 && OSTeenyVersion >= 7
|| \
     OSMajorVersion >= 3
 # ifndef HasLibPthread
@@ -106,7 +107,7 @@
 #   define NeedUIThrStubs          YES
 #  endif
 #  if (OSRelVersion >= 500016)
-#   define ThreadsLibraries    -lc_r
+#   define ThreadsLibraries    -lpthread
 #  else
 #   define ThreadsLibraries    -pthread
 #  endif

Am Mittwoch, den 28.11.2007, 08:55 -0500 schrieb dewey hylton:
> Quoting Jim van Wel <jim@coolzero.info>:
> 
> > Hi there,
> > 
> > Are you going to update this soon to a newer version in the ports? Just
> > wondering because of the old version number, and using it of course ;)
> > 
> > Greetings,
> > 
> > Jim.
> 
> the freenx and nxserver ports go hand-in-hand; freenx cannot be updated without
> first updating nxserver. unfortunately, i have been so far unable to build later
> nxserver sources under xorg-7.x and haven't received working patches either. i
> spent plenty of time on the project myself but have been unable to make it work
> myself - i need help. patches are welcomed.
> 
> _______________________________________________
> freebsd-ports@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"
> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1196273160.6739.4.camel>