Package: netpbm Version: 2:10.0-10.1 Severity: normal Tags: patch Hi,
consider: $ pnmtopng -trans gray85 <xyz.pnm >xyz.png pnmtopng: can't open color names database file named /usr/lib/X11/rgb.txt, /usr/openwin/lib/rgb.txt, or /usr/X11R6/lib/X11/rgb.txt and Environment variable RGBDEF not set. Set RGBDEF to the pathname of your rgb.txt file or don't use color names. I propose the attached patch, since rgb.txt has been moved (to /etc/X11/rgb.txt). bye, Roland -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.16-1-686 Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_GB.UTF-8) Versions of packages netpbm depends on: ii libc6 2.3.6-6 GNU C Library: Shared libraries ii libjpeg62 6b-12 The Independent JPEG Group's JPEG ii libnetpbm10 2:10.0-10.1 Shared libraries for netpbm ii libpng12-0 1.2.8rel-5.1 PNG library - runtime ii libtiff4 3.8.2-1 Tag Image File Format (TIFF) libra ii zlib1g 1:1.2.3-11 compression library - runtime Versions of packages netpbm recommends: ii gs 8.50-1.1 Transitional package ii gs-esp [gs] 8.15.1.dfsg.1-2 The Ghostscript PostScript interpr ii gs-gpl [gs] 8.50-1.1 The GPL Ghostscript PostScript int -- no debconf information
--- include/pm_config.h.orig 2006-04-17 00:28:09.000000000 +0200 +++ include/pm_config.h 2006-04-17 00:28:22.000000000 +0200 @@ -119,7 +119,7 @@ #define RGB_DB3 "PBMplus_Dir:RGB.TXT" #else #define RGB_DB1 "/usr/lib/X11/rgb.txt" -#define RGB_DB2 "/usr/openwin/lib/rgb.txt" +#define RGB_DB2 "/etc/X11/rgb.txt" #define RGB_DB3 "/usr/X11R6/lib/X11/rgb.txt" #endif