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

Re: gnome againy



Jim Pick <jim@jimpick.com> writes:
> "Dr. Michael Meskes" <meskes@online-club.de> writes:
> > bash-2.01$ panel &
> > [1] 509
> > bash-2.01$ GImLib ERROR: Cannot find palette file /usr/etc/im_palette.pal
> > gdk_imlib: Cannot Find Palette. A Palette is required for this mode
> > debug: need old_cfg here
> > 
> > ** ERROR **: sigsegv caught
> 
> Ah.  That was a bug I just discovered in the imlib package (my fault,
> since I repackaged it for Shaleh).
> 
> It only occurs for people running with 256 colour displays (I'm not,
> so I never caught it).
> 
> It can be fixed very easily by editing /etc/im/imrc and changing the
> line that reads:
> 
> PaletteFile                       /usr/etc/im_palette.pal
> 
> To be:
> 
> PaletteFile                       /etc/im/im_palette.pal
> 
> I've forwarded the fix on to Shaleh (and Raster), and there should be
> a fixed imlib package soon.

Yup.  That'll work.  I've patched the CVS source to fix it.  In the
meantime, you can add the following diff to the debian/ patch:

 Index: config/imrc.in
 ===================================================================
 RCS file: /debian/home/gnomecvs/imlib/config/imrc.in,v
 retrieving revision 1.3
 retrieving revision 1.4
 diff -u -p -r1.3 imlib/config/imrc.in
 --- imlib/config/imrc.in  00:16:41	1.3
 +++ imlib/config/imrc.in  20:19:03	1.4
 @@ -5,7 +5,7 @@
  # The file that contains palette entries for a global palette for all Imlib
  # based programs.
  # options: full path to palette file
 -PaletteFile                       @prefix@/etc/im_palette.pal
 +PaletteFile                       @sysconfdir@/im_palette.pal
  # This defines if when the display is greater than 8 bit, that it still remaps
  # the images to the palette defined, rather than using "perfect" rendering
  # options: yes/no

(You do configure with --sysconfdir=/etc, don't you).

- Hari
-- 
Raja R Harinath ------------------------------ harinath@cs.umn.edu
"When all else fails, read the instructions."      -- Cahn's Axiom
"Our policy is, when in doubt, do the right thing."   -- Roy L Ash


--  
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: