Package: gpr
Severity: normal

And sure enough, once I removed the higher APT priority given to Stable,
it built as expected. However, there were several Lintian warnings, some
of which the attach patch resolves.
diff -Nru gpr-0.14deb1/debian/changelog gpr-0.14deb1+nmu1/debian/changelog
--- gpr-0.14deb1/debian/changelog	2007-12-30 15:07:06.000000000 +0200
+++ gpr-0.14deb1+nmu1/debian/changelog	2009-08-30 15:30:34.000000000 +0300
@@ -1,3 +1,19 @@
+gpr (0.14deb1+nmu1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Removed old CUPSYS names in Build-Depends and Depends (Closes: #529964).
+  * Fixed the following Lintian warnings:
+    W: gpr source: debhelper-but-no-misc-depends gpr 
+       (fix: added ${misc:Depends} to debian/control)
+    W: gpr source: package-uses-deprecated-debhelper-compat-version 4
+       (fix: 'echo 5 > debian/compat' and (>= 5.0) in debian/control)
+    W: gpr source: debian-rules-sets-DH_COMPAT line 9 
+       (fix: line commented out)
+    W: gpr source: debian-rules-ignores-make-clean-error line 52
+       (fix: "-$(MAKE) distclean" to "[ ! -f Makefile ] || $(MAKE) distclean")
+
+ -- Martin-Éric Racine <q-f...@iki.fi>  Sun, 30 Aug 2009 15:29:23 +0300
+
 gpr (0.14deb1) unstable; urgency=low
 
   * New README.Debian (with some explanations for CUPS)
diff -Nru gpr-0.14deb1/debian/compat gpr-0.14deb1+nmu1/debian/compat
--- gpr-0.14deb1/debian/compat	1970-01-01 02:00:00.000000000 +0200
+++ gpr-0.14deb1+nmu1/debian/compat	2009-08-30 15:11:07.000000000 +0300
@@ -0,0 +1 @@
+5
diff -Nru gpr-0.14deb1/debian/control gpr-0.14deb1+nmu1/debian/control
--- gpr-0.14deb1/debian/control	2007-12-30 13:10:20.000000000 +0200
+++ gpr-0.14deb1+nmu1/debian/control	2009-08-30 15:25:21.000000000 +0300
@@ -1,13 +1,13 @@
 Source: gpr
 Section: utils
 Priority: optional
-Build-Depends: debhelper (>= 4.1.16), po-debconf, gettext, autotools-dev , libtool, libppd-dev (>= 0.10),  libgtk2.0-dev (>= 2.6), libpopt-dev, zlib1g-dev
+Build-Depends: debhelper (>= 5.0), po-debconf, gettext, autotools-dev, libtool, libppd-dev (>= 0.10), libgtk2.0-dev (>= 2.6), libpopt-dev, zlib1g-dev
 Maintainer: A Mennucc1 <mennu...@debian.org>
 Standards-Version: 3.7.3.0
 
 Package: gpr
 Architecture: any
-Depends: ppdfilt, lprng | cupsys-bsd |  lpr-ppd | lpr, debconf | debconf-2.0 , ${shlibs:Depends}
+Depends: ppdfilt, lprng | cups-bsd |  lpr-ppd | lpr, debconf | debconf-2.0 , ${shlibs:Depends}, ${misc:Depends}
 Recommends: a2ps
 Description: GUI for lpr: print files and configure printer-specific options 
  gpr is a graphical interface to lpr that provides for easy configuration
diff -Nru gpr-0.14deb1/debian/rules gpr-0.14deb1+nmu1/debian/rules
--- gpr-0.14deb1/debian/rules	2006-07-06 19:18:03.000000000 +0300
+++ gpr-0.14deb1+nmu1/debian/rules	2009-08-30 15:25:49.000000000 +0300
@@ -6,7 +6,7 @@
 #export DH_VERBOSE=1
 
 # This is the debhelper compatability version to use.
-export DH_COMPAT=4
+#export DH_COMPAT=4
 
 
 export DEB_HOST_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
@@ -49,7 +49,7 @@
 	dh_testdir
 	dh_testroot
 	rm -f build-stamp
-	-$(MAKE) distclean
+	[ ! -f Makefile ] || $(MAKE) distclean
 	dh_clean
 	#REALLY clean, since we call all the 'auto' stuff at build time
 	#find ltmain.sh config.guess config.sub COPYING INSTALL ABOUT-NLS missing mkinstalldirs intl po -type l | xargs -r rm

Reply via email to