[Lunar-commits] <moonbase> librsvg: don't own loaders.cache
Paul Bredbury
brebs at lunar-linux.org
Fri Jan 14 19:21:04 CET 2011
commit 4403547ecbb98db9d328520e4de2b29c4e8ada1a
Author: Paul Bredbury <brebs at lunar-linux.org>
Date: Sat Jan 15 01:21:04 2011 +0700
librsvg: don't own loaders.cache
As seen by: lvu conflicts
---
gnome2/desktop/librsvg/BUILD | 8 ++++++++
gnome2/desktop/librsvg/POST_INSTALL | 4 ++++
2 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/gnome2/desktop/librsvg/BUILD b/gnome2/desktop/librsvg/BUILD
new file mode 100644
index 0000000..858006f
--- /dev/null
+++ b/gnome2/desktop/librsvg/BUILD
@@ -0,0 +1,8 @@
+(
+
+ # Only want gdk-pixbuf to own /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
+ sed -i -e "s:\$(DESTDIR)\$(gdk_pixbuf_cache_file):dummyfile:" gdk-pixbuf-loader/Makefile.{in,am} &&
+
+ default_build
+
+) > $C_FIFO 2>&1
diff --git a/gnome2/desktop/librsvg/POST_INSTALL b/gnome2/desktop/librsvg/POST_INSTALL
new file mode 100644
index 0000000..f4725e2
--- /dev/null
+++ b/gnome2/desktop/librsvg/POST_INSTALL
@@ -0,0 +1,4 @@
+if [[ -x /usr/bin/gdk-pixbuf-query-loaders ]] ; then
+ # Recreate /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
+ gdk-pixbuf-query-loaders --update-cache
+fi
More information about the Lunar-commits
mailing list