Opened 19 years ago
Closed 19 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 19 years ago by yves@…
comment:2 Changed 19 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 19 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:5 Changed 19 years ago by rhwood@…
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
* Bug 5595 has been marked as a duplicate of this bug. *