Package: gdk-pixbuf
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu natty ubuntu-patch
Version: 2.23.0-2
Severity: wishlist

The issue has been described on https://launchpad.net/bugs/719861 and is
basically a lack of gtk svg support on new installations

That's my summary of the issue

"Ok, so that's what happens there:

* libcairo brings in libgl1 since it's built with gl on
* librsvg2-common is unpackaged before libgdk-pixbuf2.0-0 is configured
(which means the trigger is set after the file is installed so it will
not trigger)
* libgdk-pixbuf2.0-0 is configured before libgl1 (which means ldconfig
for libgl is not run yet)

so the only time the loaders list is updated is during the
libgdk-pixbuf2.0-0 configuration, and that call fails to add the svg
loader because libGL can't be found at this time because ldconfig has
not been called... one way to deal with that is to use
LDCONFIG_NOTRIGGER=y so the ldconfig update will happens before
gdk-pixbuf-update is called."

The workaround attached has been uploaded to Ubuntu and should be enough
to get the first installation case working, it would be nice to get it
in Debian as well.

diff -Nru --exclude changelog gdk-pixbuf-2.23.0/debian/libgdk-pixbuf2.0-0.postinst gdk-pixbuf-2.23.0/debian/libgdk-pixbuf2.0-0.postinst
--- gdk-pixbuf-2.23.0/debian/libgdk-pixbuf2.0-0.postinst	2011-01-03 11:36:52.000000000 +0100
+++ gdk-pixbuf-2.23.0/debian/libgdk-pixbuf2.0-0.postinst	2011-02-16 18:59:59.000000000 +0100
@@ -17,6 +17,10 @@
     exit 0
 fi
 
+
+# don't delay the ldconfig call, see lp #719861
+export LDCONFIG_NOTRIGGER=y
+
 #DEBHELPER#
 
 # Also handle the initial installation

Reply via email to