Re: lintian: menu-icon-has-bad-colors
On Wed, 5 Mar 2003 17:48:04 -0500, Stephen Gran wrote:
> On Wed, Mar 05, 2003 at 04:53:42PM +0100, Tom Cato Amundsen said:
> > And still lintian complains: E: gnomermind: menu-icon-has-bad-colors
> > /usr/share/pixmaps/gnomermind.xpm: #191919191919, #4C4C4C4C4C4C,
> > #666666666767, #7F7F00000000, #7F7F00007F7F, #7F7F7F7F0000,
> > #B2B2B2B2B2B2
> > Am I wrong, or is this a lintian bug?
> > -- Tom Cato Amundsen
> I had the same problem with mogrify - for some reason, it spits out
> color strings like #191919191919 instead of the expected #191919 - this
> is what makes lintian complain. Couldn't track down the problem myself,
> so I eventually just hand edited it.
> I never could track down what the problem was with mogrify, but I'm not
> great with graphics. If you ever find a solution, I'd be interested in
> knowing what it was.
I'm not not even good at graphics, but man X says
is a valid color specification, but
#191919 is equivalent to #190019001900 not #191919191919
So if the man page is correct wrt to the implementation there probably
is a bug in mogrify.
Looking at /usr/share/lintian/checks/menu-format, it will reduce
#rr00gg00bb00 to #rrggbb for matching so lintian seems OK here.
Michał Politowski -- firstname.lastname@example.org
Warning: this is a memetically modified message