Opened 18 years ago

Closed 18 years ago

#5596 closed defect (fixed)

BUG: librsvg install should update $prefix/etc/gtk-2.0/gdk-pixbuf.loaders

Reported by: yves@… Owned by: gnome-darwinports@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port:

Description

post-activate {

gdk-pixbuf-query-loaders > ${prefix}/etc/gtk-2.0/gdk-pixbuf.loaders

}

but post-activate does not exists, does it ? Then gnome-games should do it for itself as well as every other ports that need gdk-svg functionnalities ?

(try gnomine before and after this procedure)

Change History (5)

comment:1 Changed 18 years ago by yves@…

* Bug 5595 has been marked as a duplicate of this bug. *

comment:2 Changed 18 years ago by yves@…

a more elegant way ?

post-install {

system "

if ! grep -q svg ${prefix}/etc/gtk-2.0/gdk-pixbuf.loaders

then echo Updating ${prefix}/etc/gtk-2.0/gdk-pixbuf.loaders gdk-pixbuf-query-loaders > ${prefix}/etc/gtk-2.0/gdk-pixbuf.loaders

fi"

}

comment:3 Changed 18 years ago by rhwood@…

Fix committed to CVS.

It uses the post-install logic in the librsvg Portfile, but the logic is all handled in TCL, not in whatever shell is run for "system" calls.

comment:4 Changed 18 years ago by rhwood@…

Fixed in CVS.

comment:5 Changed 18 years ago by rhwood@…

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.