Summary: | TightVNC Web Interface | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Ivan C. <navi_> |
Component: | Current packages | Assignee: | Grant Goodyear (RETIRED) <g2boojum> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | navi_, vapier |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
tightvnc-1.2.3-r2.ebuild
tightvnc-gentoo.diff |
Description
Ivan C.
2002-07-05 19:14:55 UTC
We reserve /usr/local for the users; ebuilds shouldn't touch it. You probably want /usr/share/vnc for the class files. Thanks! Attached below is a new ebuild (tightvnc-1.2.3-r2.ebuild) along with a patch (tightvnc-gentoo.diff) which fixes the web interface / java class issue. The ebuild file has been modified to include the following lines: # fix the web based interface, it needs the java class files mkdir -p ${D}/usr/share/tightvnc mkdir -p ${D}/usr/share/tightvnc/classes insinto /usr/share/tightvnc/classes ; doins classes/* # and then patch vncserver to point to /usr/share/tightvnc/classes patch -p0 < ${FILESDIR}/tightvnc-gentoo.diff || die The patch itself simply modifies vncserver to look for the class files under /usr/share/tightvnc/classes instead of the default /usr/local/vnc/classes: -$vncClasses = "/usr/local/vnc/classes"; +$vncClasses = "/usr/share/tightvnc/classes"; The patch also fixes a $fontPath issue with tightvnc looking in the wrong dir for the fonts, it now looks in /usr/lib/X11/fonts. I named the patch file tightvnc-gentoo.diff as all versions (new and old) of tightvnc will need this patch to have the web interace work - not just the 1.2.3-r2 version. Also I believe the regular VNC package will have/has a similiar problem with its web interface and the solution should be very similiar to this one (just in case any regular VNC users want to patch there version ;)) Thanks, Ivan C. Created attachment 1996 [details]
tightvnc-1.2.3-r2.ebuild
Created attachment 1997 [details, diff]
tightvnc-gentoo.diff
Done. Thanks! |