Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 171945 - keyword net-misc/tightvnc-1.3.8 ~x86-fbsd
Summary: keyword net-misc/tightvnc-1.3.8 ~x86-fbsd
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: x86 FreeBSD
: High enhancement (vote)
Assignee: Gentoo/BSD Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-23 18:21 UTC by ebfe
Modified: 2007-06-27 16:37 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch to compile Xvnc on freebsd (freebsd.patch,291 bytes, patch)
2007-03-23 18:22 UTC, ebfe
Details | Diff
patch for the ebuild (ebuild.patch,447 bytes, text/plain)
2007-03-23 18:23 UTC, ebfe
Details
emerge --info (info.txt,2.20 KB, text/plain)
2007-03-23 18:24 UTC, ebfe
Details
build log with server tcpd -java (build.log,282.13 KB, text/plain)
2007-05-31 20:23 UTC, ebfe
Details
new freebsd patch (freebsd.patch,698 bytes, patch)
2007-06-26 18:54 UTC, ebfe
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description ebfe 2007-03-23 18:21:36 UTC
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
Comment 1 ebfe 2007-03-23 18:22:35 UTC
Created attachment 114160 [details, diff]
patch to compile Xvnc on freebsd
Comment 2 ebfe 2007-03-23 18:23:47 UTC
Created attachment 114162 [details]
patch for the ebuild
Comment 3 ebfe 2007-03-23 18:24:41 UTC
Created attachment 114164 [details]
emerge --info
Comment 4 Peter Weller (RETIRED) gentoo-dev 2007-03-30 18:05:15 UTC
armin75 and I will take a look later tonight with any luck :)
Comment 5 ebfe 2007-05-31 20:23:31 UTC
Created attachment 120817 [details]
build log with server tcpd -java
Comment 6 ebfe 2007-06-26 18:54:01 UTC
Created attachment 123135 [details, diff]
new freebsd patch

fixes the hardcoded /usr/libexec/cpp usage
Comment 7 Joe Peterson (RETIRED) gentoo-dev 2007-06-27 16:37:01 UTC
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.