net-misc/tightvnc-1.3.8 can be keyworded ~x86-fbsd with some restrictions: include stdlib.h is patched out tcpd useflag has to be masked since freebsd doesnt offer the nss_nis lib there seems to be a dependency missing on at least one font. vncserver will bail out because of missing fonts with just xfce-base/xfce4-4.4.0 emerged. i'll attach the patch for the ebuild and the patch for Xos.h in tightvnc's tree. Here is the error about the missing font 23/03/07 18:57:38 Listening for VNC connections on TCP port 5901 23/03/07 18:57:38 Listening for HTTP connections on TCP port 5801 23/03/07 18:57:38 URL http://fbsd:5801 Font directory '/usr/lib/X11/fonts/misc/' not found - ignoring Font directory '/usr/lib/X11/fonts/Speedo/' not found - ignoring Font directory '/usr/lib/X11/fonts/Type1/' not found - ignoring Font directory '/usr/lib/X11/fonts/75dpi/' not found - ignoring Font directory '/usr/lib/X11/fonts/100dpi/' not found - ignoring Fatal server error: could not open default font 'fixed' solved by emerging Type1 by hand. Reproducible: Always
Created attachment 114160 [details, diff] patch to compile Xvnc on freebsd
Created attachment 114162 [details] patch for the ebuild
Created attachment 114164 [details] emerge --info
armin75 and I will take a look later tonight with any luck :)
Created attachment 120817 [details] build log with server tcpd -java
Created attachment 123135 [details, diff] new freebsd patch fixes the hardcoded /usr/libexec/cpp usage
OK, it works - thanks efbe! I changed the patch slightly: 1) Only do it for FreeBSD for now 2) change /usr/libexec/cpp to /usr/bin/cpp (instead of just cpp) to be consistent Keyworded ~x86-fbsd.