Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 78112 - imlib2-1.2.0 breaks fluxspace
Summary: imlib2-1.2.0 breaks fluxspace
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: SpanKY
URL: http://sourceforge.net/mailarchive/fo...
Whiteboard:
Keywords:
: 75845 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-01-15 10:46 UTC by Jory A. Pratt
Modified: 2005-02-20 21:49 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Esetroot.cc (Esetroot.cc,7.05 KB, text/plain)
2005-01-16 03:19 UTC, Aaron Walker (RETIRED)
Details
Anarchy.jpg (Anarchy.jpg,73.04 KB, image/jpeg)
2005-01-16 13:52 UTC, Jory A. Pratt
Details
libimage.patch (libimage.patch,5.72 KB, patch)
2005-02-12 04:01 UTC, Frederik Kunz
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jory A. Pratt 2005-01-15 10:46:05 UTC
imlib2-1.2.0 breaks painter module in fluxspace

Reproducible: Always
Steps to Reproduce:
1.
2.
3.

Actual Results:  
fluxspace fails to load image for background when using imlib2-1.2.0
Comment 1 Aaron Walker (RETIRED) gentoo-dev 2005-01-15 10:53:45 UTC
*** Bug 75845 has been marked as a duplicate of this bug. ***
Comment 2 Aaron Walker (RETIRED) gentoo-dev 2005-01-15 10:55:18 UTC
For some reason, imlib_load_image_immediately() is returning NULL with 1.2.0, but returns a valid image handle with 1.1.2.
Comment 3 SpanKY gentoo-dev 2005-01-15 13:09:06 UTC
could you guys make this a useful bugreport and give me a small example code ? :P

i dont use any of the box windowmanagers
Comment 4 Jory A. Pratt 2005-01-15 20:45:17 UTC
LOL Spanky here is the code from fluxspace.xml

 <!-- Painter module - Different wallpaper for each workspace -->
  <painter enable="yes">
    <wallpaper workspace="0" image="~/.fluxbox/backgrounds/Anarchy.jpg"/>
    <wallpaper workspace="1" image="~/.fluxbox/backgrounds/Anarchy.jpg"/>
    <wallpaper workspace="2" image="~/.fluxbox/backgrounds/Anarchy.jpg"/>
    <wallpaper workspace="3" image="~/.fluxbox/backgrounds/Anarchy.jpg"/>
  </painter>
 
this is a module that needs imlib_load_image_immediately() to return a valid image which imlib2-1.2.0 does not it returns NULL unlike imlib2-1.1.2. This could be upstreamed to fluxspace developers I would imagine.
Comment 5 SpanKY gentoo-dev 2005-01-16 02:26:18 UTC
attach Anarchy.jpg here please, i tested with a small jpg and it worked fine for me

also, someone attach the code that's in question please ...
Comment 6 Aaron Walker (RETIRED) gentoo-dev 2005-01-16 03:19:01 UTC
Created attachment 48637 [details]
Esetroot.cc
Comment 7 Aaron Walker (RETIRED) gentoo-dev 2005-01-16 05:46:50 UTC
I'm pretty sure that the bug described in the posted URL is the same one we are having here ; after hacking imlib to display which files dlopen() fails on, I get the same list as that poster (zlib.so, tiff.so, png.so, jpeg.so, and bz2.so).
Comment 8 Aaron Walker (RETIRED) gentoo-dev 2005-01-16 07:07:40 UTC
SpanKY, no go with python-2.4 either :/
Comment 9 Jory A. Pratt 2005-01-16 13:52:28 UTC
Created attachment 48687 [details]
Anarchy.jpg

Here is the jpg you requested hopefully it will help.
Comment 10 Frederik Kunz 2005-02-12 04:01:51 UTC
Created attachment 51047 [details, diff]
libimage.patch

I think this might be the same bug as mentioned here:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=293815

I attached a patch that solved the problem for me.
Comment 11 Aaron Walker (RETIRED) gentoo-dev 2005-02-12 11:09:00 UTC
Confirmed.  It works here as well.

The patch that is attached works for 1.2.0.  To patch the snapshot (2005...) you need to chop the second hunk since Makefile.in doesn't exist.
Comment 12 SpanKY gentoo-dev 2005-02-20 21:49:40 UTC
1.2.0-r1 in portage