r27378 - in /desktop/unstable/gdk-pixbuf/debian: changelog control control.in keep-png-only.xsl rules

joss at users.alioth.debian.org joss at users.alioth.debian.org
Sun Apr 10 16:04:40 UTC 2011


Author: joss
Date: Sun Apr 10 16:04:34 2011
New Revision: 27378

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=27378
Log:
* Move the mime.cache generation from gtk+ udebs to this one, since 
  this file is actually needed for gdk_pixbuf.
* Add related build-dependencies on shared-mime-info and xsltproc.

Added:
    desktop/unstable/gdk-pixbuf/debian/keep-png-only.xsl
      - copied unchanged from r27334, desktop/experimental/gtk+3.0/debian/keep-png-only.xsl
Modified:
    desktop/unstable/gdk-pixbuf/debian/changelog
    desktop/unstable/gdk-pixbuf/debian/control
    desktop/unstable/gdk-pixbuf/debian/control.in
    desktop/unstable/gdk-pixbuf/debian/rules

Modified: desktop/unstable/gdk-pixbuf/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gdk-pixbuf/debian/changelog?rev=27378&op=diff
==============================================================================
--- desktop/unstable/gdk-pixbuf/debian/changelog [utf-8] (original)
+++ desktop/unstable/gdk-pixbuf/debian/changelog [utf-8] Sun Apr 10 16:04:34 2011
@@ -1,3 +1,11 @@
+gdk-pixbuf (2.23.3-3) unstable; urgency=low
+
+  * Move the mime.cache generation from gtk+ udebs to this one, since 
+    this file is actually needed for gdk_pixbuf.
+  * Add related build-dependencies on shared-mime-info and xsltproc.
+
+ -- Josselin Mouette <joss at debian.org>  Sun, 10 Apr 2011 18:04:19 +0200
+
 gdk-pixbuf (2.23.3-2) unstable; urgency=low
 
   * Upload to unstable.

Modified: desktop/unstable/gdk-pixbuf/debian/control
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gdk-pixbuf/debian/control?rev=27378&op=diff
==============================================================================
--- desktop/unstable/gdk-pixbuf/debian/control [utf-8] (original)
+++ desktop/unstable/gdk-pixbuf/debian/control [utf-8] Sun Apr 10 16:04:34 2011
@@ -7,7 +7,7 @@
 Section: libs
 Priority: optional
 Maintainer: Debian GNOME Maintainers <pkg-gnome-maintainers at lists.alioth.debian.org>
-Uploaders: Emilio Pozuelo Monfort <pochu at debian.org>, Laurent Bigonville <bigon at debian.org>, Sebastian Dröge <slomo at debian.org>
+Uploaders: Emilio Pozuelo Monfort <pochu at debian.org>, Josselin Mouette <joss at debian.org>, Laurent Bigonville <bigon at debian.org>, Sebastian Dröge <slomo at debian.org>
 Build-Depends: cdbs (>= 0.4.90~),
                debhelper (>= 7),
                autotools-dev,
@@ -20,7 +20,9 @@
                libtiff4-dev,
                gobject-introspection (>= 0.9.12-4~),
                libgirepository1.0-dev (>= 0.9.3),
-               gir1.2-glib-2.0
+               gir1.2-glib-2.0,
+               xsltproc,
+               shared-mime-info
 Standards-Version: 3.9.1
 Homepage: http://www.gtk.org/
 Vcs-Svn: svn://svn.debian.org/svn/pkg-gnome/desktop/unstable/gdk-pixbuf/

Modified: desktop/unstable/gdk-pixbuf/debian/control.in
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gdk-pixbuf/debian/control.in?rev=27378&op=diff
==============================================================================
--- desktop/unstable/gdk-pixbuf/debian/control.in [utf-8] (original)
+++ desktop/unstable/gdk-pixbuf/debian/control.in [utf-8] Sun Apr 10 16:04:34 2011
@@ -15,7 +15,9 @@
                libtiff4-dev,
                gobject-introspection (>= 0.9.12-4~),
                libgirepository1.0-dev (>= 0.9.3),
-               gir1.2-glib-2.0
+               gir1.2-glib-2.0,
+               xsltproc,
+               shared-mime-info
 Standards-Version: 3.9.1
 Homepage: http://www.gtk.org/
 Vcs-Svn: svn://svn.debian.org/svn/pkg-gnome/desktop/unstable/gdk-pixbuf/

Modified: desktop/unstable/gdk-pixbuf/debian/rules
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gdk-pixbuf/debian/rules?rev=27378&op=diff
==============================================================================
--- desktop/unstable/gdk-pixbuf/debian/rules [utf-8] (original)
+++ desktop/unstable/gdk-pixbuf/debian/rules [utf-8] Sun Apr 10 16:04:34 2011
@@ -17,3 +17,19 @@
 		debian/libgdk-pixbuf2.0-0-udeb/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/*.so \
 		| sed 's;$(CURDIR)/debian/libgdk-pixbuf2.0-0-udeb;;g' \
 		> debian/libgdk-pixbuf2.0-0-udeb/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
+
+# temporary directory for the minimal MIME cache generation
+mimedir = debian/build-mime
+mimexml = /usr/share/mime/packages/freedesktop.org.xml
+
+clean::
+	rm -rf $(mimedir)
+
+binary-install/libgdk-pixbuf2.0-0-udeb::
+	# generate a minimal MIME cache for the udeb
+	mkdir -p $(mimedir)/packages
+	[ -f $(mimexml) ]
+	xsltproc -nonet debian/keep-png-only.xsl $(mimexml) \
+		> $(mimedir)/packages/png.freedesktop.org.xml
+	update-mime-database $(mimedir)
+	dh_install -plibgdk-pixbuf2.0-0-udeb $(mimedir)/mime.cache usr/share/mime




More information about the pkg-gnome-commits mailing list