-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

Like suggested I added quilt to Build-Depends added a directory
"patches" in /debian.  I placed the patch into the patches directory and
renamed it to gtkcellrendererpixmap_fix, I added some comment to the
series file .
I fixed the rules file so it invokes dh_quilt_patch/dh_quilt_unpatch .

I also preppered a NMU package on mentors.debian.net but I did not ask
for a sponsor yet.

The package can be found on mentors.debian.net:
- - URL: http://mentors.debian.net/debian/pool/main/p/pornview
- - Source repository: deb-src http://mentors.debian.net/debian unstable
main contrib non-free
- - dget
http://mentors.debian.net/debian/pool/main/p/pornview/pornview_0.2pre1-9.1.dsc

Regards,
Martijn van Brummelen

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkr+3W0ACgkQ4yGTtsQpvi+ElgCeImGT8i3f84CS7knj3IVPzp1R
gSMAn1uByJ4KbVQ4kmaGtKCeUpx+ju1E
=OG1G
-----END PGP SIGNATURE-----
diff -u pornview-0.2pre1/debian/changelog pornview-0.2pre1/debian/changelog
--- pornview-0.2pre1/debian/changelog
+++ pornview-0.2pre1/debian/changelog
@@ -1,3 +1,13 @@
+pornview (0.2pre1-9.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Added quilt to Build-Depends
+  * Added directory patches
+  * Added gtkcellrendererpixmap_fix to patches directory (Closes: #527714)
+  * Invoke dh_quilt_patch/dh_quilt_unpatch in rules file
+
+ -- Martijn van Brummelen <mart...@brumit.nl>  Sat, 14 Nov 2009 13:08:19 +0100
+
 pornview (0.2pre1-9) unstable; urgency=low
 
   * Avoid crash if we don't get a valid iterator. (Closes: #485820) 
diff -u pornview-0.2pre1/debian/control pornview-0.2pre1/debian/control
--- pornview-0.2pre1/debian/control
+++ pornview-0.2pre1/debian/control
@@ -2,7 +2,7 @@
 Section: utils
 Priority: optional
 Maintainer: Stuart R. Anderson <ander...@netsweng.com>
-Build-Depends: debhelper (>> 4.0.0), libgtk2.0-dev, libpng12-0-dev, libxine-dev (>= 1-beta1-1)
+Build-Depends: debhelper (>> 4.0.0), libgtk2.0-dev, libpng12-0-dev, libxine-dev (>= 1-beta1-1), quilt
 Standards-Version: 3.7.2
 
 Package: pornview
diff -u pornview-0.2pre1/debian/rules pornview-0.2pre1/debian/rules
--- pornview-0.2pre1/debian/rules
+++ pornview-0.2pre1/debian/rules
@@ -26,6 +26,7 @@
 
 build-stamp:  config.status
 	dh_testdir
+	dh_quilt_patch
 
 	$(MAKE)
 
@@ -34,6 +35,7 @@
 clean:
 	dh_testdir
 	rm -f build-stamp 
+	dh_quilt_unpatch
 
 	-$(MAKE) distclean
 
only in patch2:
unchanged:
--- pornview-0.2pre1.orig/debian/patches/series
+++ pornview-0.2pre1/debian/patches/series
@@ -0,0 +1,2 @@
+#fix FTBFS bug (Closes: #527714) 
+gtkcellrendererpixmap_fix
only in patch2:
unchanged:
--- pornview-0.2pre1.orig/debian/patches/gtkcellrendererpixmap_fix
+++ pornview-0.2pre1/debian/patches/gtkcellrendererpixmap_fix
@@ -0,0 +1,14 @@
+--- pornview-0.2pre1.orig/src/support/widgets/gtkcellrendererpixmap.c
++++ pornview-0.2pre1/src/support/widgets/gtkcellrendererpixmap.c
+@@ -12,9 +12,9 @@
+  *  Copyright (C) 2000  Red Hat, Inc.,  Jonathan Blandford <j...@redhat.com>
+  */
+ 
+-#ifndef GTK_DISABLE_DEPRECATED
++/* #ifndef GTK_DISABLE_DEPRECATED
+ #define GTK_DISABLE_DEPRECATED
+-#endif /* GTK_DISABLE_DEPRECATED */
++#endif */ /* GTK_DISABLE_DEPRECATED */
+ 
+ #include "gtkcellrendererpixmap.h"
+ 

Attachment: pornview_0.2pre1-9.1.dsc.diff.sig
Description: PGP signature

Reply via email to