Opened 20 years ago
Closed 20 years ago
#2539 closed defect (fixed)
BUG: gtk2 2.6.0
Reported by: | opendarwin.nospam@… | Owned by: | mij@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.0 |
Keywords: | Cc: | ||
Port: |
Description
Symptoms:
gnome-session unable to load or display some images:
(gnome-session:3911): WARNING : Failed to load image from '/Library/DarwinPorts/opt/local/ share/pixmaps/splash/gnome-splash.png': Unable to load image-loading module: /Library/ DarwinPorts/Library/DarwinPorts/opt/local/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-png.so: dlcompat: file "/Library/DarwinPorts/Library/DarwinPorts/opt/local/lib/gtk-2.0/2.4.0/loaders/ libpixbufloader-png.so" not found
Diagnostics:
/Library/DarwinPorts/Library/DarwinPorts/opt/local/ is wrong, it should be /Library/DarwinPorts/opt/ local/ actually.
In post-configure you adjust the prefix path in gdk-pixbuf.loaders by applying a reinplace command to the original file at path ${portpath}/${filesdir}. This is a bad idea IMHO. I run into trouble when upgrading the gtk2 port from version 2.4 to 2.6 recently.
As gdk-pixbuf.loaders was locally modified, it was not touched by cvs when I updated my dports tree. So, the reinplace was in fact applied a second time to the same file which screws up the formerly correct set path. In case that I would install another update for the port, the reinplace would be applied a third time and so on.
Solution:
Don't modify the original gdk-pixbuf.loaders file at ${portpath}/${filesdir} in post-configure, apply the reinplace command to the copy at ${destroot}${prefix} during stage post-destroot instead.
Attachments (1)
Change History (5)
comment:1 Changed 20 years ago by toby@…
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 Changed 20 years ago by opendarwin.nospam@…
Resolution: | fixed |
---|---|
Status: | closed → reopened |
comment:3 Changed 20 years ago by toby@…
Good point. The file should be dumped into the destroot and changed there.
comment:4 Changed 20 years ago by mww@…
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
asuming that this is fixed, as gtk2 is at version 2.6.2 already - reopen if still valid!
Committed a fix, reopen if it still doesn't work.