Thanks for the patch.
Will upload a new version shortly.
Regards,
// Ola
On Wed, Apr 19, 2006 at 03:34:13AM -0300, Peter Cordes wrote:
> Package: tightvncserver
> Version: 1.2.9-10
> Severity: grave
> Tags: patch
> Justification: renders package unusable
>
> After upgrading to xorg 7.0 from unstable, Xvnc and tightvncserver
> don't work because they can't find any fonts.
>
> Here's a patch for tightvncserver. I didn't make the fallback font
> path include all the fonts that xserver-xorg's configure script puts
> in xorg.conf (which, on my system, looks like:
>
> Section "Files"
> FontPath "/usr/share/fonts/X11/misc"
> FontPath "/usr/share/fonts/X11/cyrillic"
> FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
> FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
> FontPath "/usr/share/fonts/X11/Type1"
> FontPath "/usr/share/fonts/X11/100dpi"
> FontPath "/usr/share/fonts/X11/75dpi"
> # path to defoma fonts
> FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
> EndSection
>
> I also haven't patched Xvnc itself, only that wrapper script. I like
> to use Xvnc on my home network with no password, which tightvncserver
> doesn't support.
>
> -- System Information:
> Debian Release: testing/unstable
> APT prefers unstable
> APT policy: (500, 'unstable'), (500, 'stable')
> Architecture: i386 (i686)
> Shell: /bin/sh linked to /bin/bash
> Kernel: Linux 2.6.16-ck5
> Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
>
> Versions of packages tightvncserver depends on:
> ii dpkg 1.13.18 package maintenance system for
> Deb
> ii libc6 2.3.6-7 GNU C Library: Shared libraries
> ii libjpeg62 6b-12 The Independent JPEG Group's
> JPEG
> ii libx11-6 2:1.0.0-6 X11 client-side library
> ii libxext6 1:1.0.0-3 X11 miscellaneous extension
> librar
> ii perl 5.8.8-4 Larry Wall's Practical
> Extraction
> ii vnc-common 3.3.7-9 Virtual network computing server
> s
> ii x11-common 1:7.0.14 X Window System (X.Org)
> infrastruc
> ii xbase-clients 1:7.0.0-4 miscellaneous X clients
> ii zlib1g 1:1.2.3-11 compression library - runtime
>
> Versions of packages tightvncserver recommends:
> ii xfonts-base 1:1.0.0-3 standard fonts for X
>
> -- no debconf information
> --- tightvncserver.orig 2006-04-17 10:28:17.000000000 -0300
> +++ tightvncserver 2006-04-19 03:28:58.000000000 -0300
> @@ -80,13 +80,11 @@
> &ReadConfigFile();
>
> if (!$XFConfigPath) {
> - if (-e "/etc/X11/XF86Config-4") {
> - $XFConfigPath = "/etc/X11/XF86Config-4";
> + foreach ("/etc/X11/xorg.conf", "/etc/X11/XF86Config-4",
> "/etc/X11/XF86Config" ){
> + $XFConfigPath = $_;
> + last if ( -e $XFConfigPath );
> }
> }
> -if (!$XFConfigPath) {
> - $XFConfigPath = "/etc/X11/XF86Config";
> -}
> if (!$fontPath) {
> &ReadXFConfigFont;
> }
> @@ -95,13 +93,20 @@
> "/usr/X11R6/lib/X11/fonts/Speedo/,".
> "/usr/X11R6/lib/X11/fonts/misc/,".
> "/usr/X11R6/lib/X11/fonts/75dpi/,".
> - "/usr/X11R6/lib/X11/fonts/100dpi/"
> + "/usr/X11R6/lib/X11/fonts/100dpi/".
> + "/usr/share/fonts/X11/misc/,".
> + "/usr/share/fonts/X11/Type1/,".
> + "/usr/share/fonts/X11/75dpi/,".
> + "/usr/share/fonts/X11/100dpi/"
> }
> if (!$colorPath) {
> &ReadXFConfigColor;
> }
> if (!$colorPath) {
> - $colorPath = "/usr/X11R6/lib/X11/rgb";
> + foreach ("/etc/X11/rgb.txt", "/usr/X11R6/lib/X11/rgb"){
> + $colorPath = $_;
> + last if ( -e $colorPath );
> + }
> }
>
> ##########################################################
--
--------------------- Ola Lundqvist ---------------------------
/ [EMAIL PROTECTED] Annebergsslingan 37 \
| [EMAIL PROTECTED] 654 65 KARLSTAD |
| +46 (0)54-10 14 30 +46 (0)70-332 1551 |
| http://www.opal.dhs.org UIN/icq: 4912500 |
\ gpg/f.p.: 7090 A92B 18FE 7994 0C36 4FE4 18A1 B1CF 0FE5 3DD9 /
---------------------------------------------------------------
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]