r30800 - in /desktop/unstable/pango1.0/debian: changelog rules

mpitt at users.alioth.debian.org mpitt at users.alioth.debian.org
Wed Oct 19 16:04:02 UTC 2011


Author: mpitt
Date: Wed Oct 19 16:04:02 2011
New Revision: 30800

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=30800
Log:
debian/rules: Add a hack to rebuild the enum-types.[hc] and
*.gir/*.typelib, to fix missing enum gtypes in the GIR due to the separate
build tree. Add a test that the installed .gir really contains the
gtypes.

Modified:
    desktop/unstable/pango1.0/debian/changelog
    desktop/unstable/pango1.0/debian/rules

Modified: desktop/unstable/pango1.0/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/pango1.0/debian/changelog?rev=30800&op=diff
==============================================================================
--- desktop/unstable/pango1.0/debian/changelog [utf-8] (original)
+++ desktop/unstable/pango1.0/debian/changelog [utf-8] Wed Oct 19 16:04:02 2011
@@ -9,6 +9,10 @@
   [ Martin Pitt ]
   * debian/rules: Remove workaround for bgo#653245, upstream tarball does not
     ship a pre-generated .gir any more.
+  * debian/rules: Add a hack to rebuild the enum-types.[hc] and
+    *.gir/*.typelib, to fix missing enum gtypes in the GIR due to the separate
+     build tree. Add a test that the installed .gir really contains the
+     gtypes.
 
  -- Michael Biebl <biebl at debian.org>  Sat, 08 Oct 2011 02:20:24 +0200
 

Modified: desktop/unstable/pango1.0/debian/rules
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/pango1.0/debian/rules?rev=30800&op=diff
==============================================================================
--- desktop/unstable/pango1.0/debian/rules [utf-8] (original)
+++ desktop/unstable/pango1.0/debian/rules [utf-8] Wed Oct 19 16:04:02 2011
@@ -101,6 +101,14 @@
 build-indep: $(call dh_subst_files,$(DEB_INDEP_PACKAGES))
 build-arch: $(call dh_subst_files,$(DEB_ARCH_PACKAGES)) debian/dh_pangomodules.1
 
+common-build-arch::
+	# hack to fix missing enumeration GTypes in GIR
+	cd debian/build/shared/pango/ && rm pango-enum-types.* *.gir *.typelib && make
+
+binary-install/$(DEV_PKG)::
+	# verify that the .gir is built correctly
+	grep -q 'glib:get-type="pango_wrap_mode_get_type"' debian/$(DEV_PKG)/usr/share/gir-1.0/Pango-1.0.gir
+
 binary-install/$(SHARED_PKG)::
 	# fix the permissions of dh_pangomodules
 	chmod +x debian/dh_pangomodules




More information about the pkg-gnome-commits mailing list