Small question about FreeNX for freebsd.

dewey hylton freenx at deweyonline.com
Wed Nov 28 10:15:00 PST 2007


Quoting Mathias Picker <Mathias.Picker at strongdesk.com>:

> 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 at 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.

awesome - thanks for the submission! i'll test it on a few platforms in the next
few days and see if we can't update the port afterwards. i have my fingers crossed.



More information about the freebsd-ports mailing list