Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 143969 - net-misc/tightvnc has missing dependencies
Summary: net-misc/tightvnc has missing dependencies
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Other
: High normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
: 138633 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-08-14 22:06 UTC by Jonathan Sailor
Modified: 2006-10-05 11:45 UTC (History)
1 user (show)

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


Attachments
New patch (for files/ directory) (vncserver-1.3-r2.patch,842 bytes, patch)
2006-08-14 22:06 UTC, Jonathan Sailor
Details | Diff
New ebuild (tightvnc-1.3_alpha7-r2.ebuild,2.62 KB, text/plain)
2006-08-14 22:08 UTC, Jonathan Sailor
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Sailor 2006-08-14 22:06:15 UTC
When modular X11 stabilized, rgb.txt moved from /usr/X11R6/lib/X11/ to /usr/share/X11; the TightVNC server refers to it via the old path, which causes some programs (notably, xterm) to fail.

The default xstartup included in vncserver uses miscellaneous programs, which TightVNC also needs to depend on when USE="server". Under modular X, xterm, twm, xrdb, and xsetroot are required; under old X, only xterm is required.

Portage already contains two patches to fix paths in the vncserver script. I'm attaching a new patch to replace both, which also fixes the rgb.txt path, and a new ebuild which references the new patch and has the new dependencies.
Comment 1 Jonathan Sailor 2006-08-14 22:06:59 UTC
Created attachment 94291 [details, diff]
New patch (for files/ directory)
Comment 2 Jonathan Sailor 2006-08-14 22:08:25 UTC
Created attachment 94292 [details]
New ebuild
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-08-14 23:26:30 UTC
Comment on attachment 94291 [details, diff]
New patch (for files/ directory)

There's already Bug 78385 about this.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-08-14 23:29:43 UTC
*** Bug 138633 has been marked as a duplicate of this bug. ***
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2006-08-14 23:30:52 UTC
(In reply to comment #2)
> Created an attachment (id=94292) [edit]
> New ebuild

You are missing xauth there, see Bug 138633.

Comment 6 Chris Paulson-Ellis 2006-08-29 02:33:25 UTC
Also missing are font dependencies. The (updated) fontPath needs to point at real font directories, or you get:

Fatal server error:
could not open default font 'fixed'

So there is at least a dependency on the 'fixed' font and should probably be depedencies on a more useful font list. Perhaps the font dependency list from x11-base/xorg-x11-7.0-r1.ebuild would make the most sense:

        media-fonts/ttf-bitstream-vera
        >=media-fonts/font-bh-type1-1
        >=media-fonts/font-adobe-utopia-type1-1.0.1
        >=media-fonts/font-adobe-100dpi-1
Comment 7 Chris Paulson-Ellis 2006-08-29 02:50:39 UTC
Also missing is a dependency providing the rgb.txt file itself: x11-apps/rgb
Comment 8 Chris Paulson-Ellis 2006-08-29 03:12:57 UTC
Further investigation has revealed that the 2 fonts actually *required* to make Xvnc run are misc & cursor, provided by:

media-fonts/font-misc-misc
media-fonts/font-cursor-misc
Comment 9 Pablo De Nápoli 2006-09-24 05:26:51 UTC
When building with modular X, x11-misc/gcc-makedep is required (tightvnc should depend on it), otherwise compilation fails.
Comment 10 Jakub Moc (RETIRED) gentoo-dev 2006-09-24 05:52:20 UTC
(In reply to comment #9)
> When building with modular X, x11-misc/gcc-makedep is required (tightvnc should
> depend on it)

It already does, read the ebuild.
Comment 11 Patrick 2006-10-01 05:15:52 UTC
Ok, this is what I had to emerge before tightvnc worked on a headless server:

- font-misc-misc
- font-cursor-misc
- xauth
- rgb
- xfs (I'm not sure about that, tried to specify the fonts in a config file, but there were some other problems then... don't remember exactly)

Would be nice if I could remove those from my world file again, I don't like having deps in there. :P
Comment 12 Raúl Porcel (RETIRED) gentoo-dev 2006-10-05 11:45:32 UTC
Fixed on cvs, tightvnc-1.2.9-r3.