[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: X colors changing?



On Sun, Jun 24, 2001 at 11:52:47PM +0200, Jochen Voss wrote:

> On Fri, Jun 22, 2001 at 02:36:56PM +0100, Julian Gilbey wrote:
> > It seems to be that the icons in some packages have so many colours
> > that they use up the whole colour palette, or something like this.
> 
> If you could identify these icons you should file
> bug reports for the corresponding packages: the menu manual
> at /usr/share/doc/menu/menu.txt.gz states
> [...]
>      3.   The icons should use only the 24 colors present in cmap.xpm,
>           which comes with the `menu' package.
> [...]
> By the way, someone suggested to implement a lintian check for menu
> icon.  Does anybody know the current state for this?

http://bugs.debian.org/71396

I thought this would be an easy one to script with netpbm, but there seem to
be some issues:

mizar:[/usr/share/pixmaps] for f in *.xpm; do
echo $f;xpmtoppm $f > /dev/null
done
dia.xpm
gdm.xpm
gnome-aisleriot.xpm
xpmtoppm: invalid color specifier - "#05050c0c13130000"
gnome-gnotravex.xpm
xpmtoppm: invalid color specifier - "#000000000000406c"
gnome-gtali.xpm
xpmtoppm: invalid color specifier - "#0202000000000000"
gnome-gtetris.xpm
xpmtoppm: invalid color specifier - "#1e1e363672720000"
gnome-help.xpm
gnome-terminal.xpm
kterm.xpm
napsmall.xpm
no.xpm
realplayer-icon.xpm
xpmtoppm: invalid color specifier - "#000080800000ffff"
vnterm.xpm
wilber.xpm
xscreensaver.xpm
xpmtoppm: error scanning assignment line
yes.xpm

sxpm seems to choke on those files also:

mizar:[/usr/share/pixmaps] sxpm gnome-aisleriot.xpm
Read Xpm Error: Failed to parse or alloc some color.
zsh: exit 1     sxpm gnome-aisleriot.xpm

Does anyone know what the problem is?  Are these icons just broken?

-- 
 - mdz



Reply to: