Hi,

I've uploaded an NMU to unstable and tpu to fix this bug, patch (of the upload
to unstable) is attached.
Not sure if it would make sense to rise the build-dep. of libgdl in unstable
for future uploads as it would break backports.

Cheers,

Bernd
-- 
 Bernd Zeimetz                           Debian GNU/Linux Developer
 GPG Fingerprint: 06C8 C9A2 EAAD E37E 5B2C BE93 067A AD04 C93B FF79
534d71ad8f2b241093e7b899da39aa22b721e6c8
diff --git a/debian/changelog b/debian/changelog
index af99bc7..43b5e7f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+gnome-python-extras (2.19.1-3.1) unstable; urgency=high
+
+  * Non-maintainer upload.
+  * Only apply 03_gdl-icons.patch if gdl-icons.h does not exist,
+    this fixes building the package in Lenny (Closes: #511265).
+
+ -- Bernd Zeimetz <b...@debian.org>  Thu, 22 Jan 2009 14:15:46 +0100
+
 gnome-python-extras (2.19.1-3) unstable; urgency=low
 
   * 03_gdl-icons.patch: new patch. Fixes build with gdl 2.24 by removing 
diff --git a/debian/rules b/debian/rules
index 2cee724..05ba1c3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -26,6 +26,7 @@ PYVERS=$(shell pyversions -vr debian/control 2>/dev/null)
 
 apply-patches: debian/stamp-patched
 debian/stamp-patched:
+	if [ -r /usr/include/libgdl-1.0/gdl/gdl-icons.h ]; then sed -i '/03_gdl-icons.patch/s,^,#,'  debian/patches/series; fi
 	QUILT_PATCHES=debian/patches quilt --quiltrc /dev/null push -a || test $$? = 2
 	# This file is not removed by the patch
 	mv gtkmozembed/gtkmozembedmodule.c gtkmozembed/gtkmozembedmodule.c.save
@@ -36,6 +37,7 @@ reverse-patches:
 	test -f gtkmozembed/gtkmozembedmodule.c.save && mv gtkmozembed/gtkmozembedmodule.c.save gtkmozembed/gtkmozembedmodule.c || true
 	rm -rf .pc
 	rm -f debian/stamp-patched
+	sed -i '/#03_gdl-icons.patch/s,^#,,'  debian/patches/series
 
 build-%/configure-stamp: configure apply-patches
 	dh_testdir

Reply via email to