Package: hp-ppd
Version: 0.9-0.2
Followup-For: Bug #817495
User: [email protected]
Usertags: origin-ubuntu yakkety ubuntu-patch
Dear Maintainer,
In Ubuntu, the attached patch was applied to achieve the following:
* debian/compat: Bump to 9.
* debian/control:
- Build-depend on debhelper (>= 9).
- Depend on ${misc:Depends}.
- Remove space before description.
* debian/rules:
- Add recommended build-arch and build-indep targets.
- Use dh_prep instead of dh_clean -k.
Thanks for considering the patch.
Logan Rosen
-- System Information:
Debian Release: stretch/sid
APT prefers xenial-updates
APT policy: (500, 'xenial-updates'), (500, 'xenial-security'), (500,
'xenial'), (100, 'xenial-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.4.0-21-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL
set to en_US.utf8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
diff -Nru hp-ppd-0.9ubuntu2+really/debian/compat hp-ppd-0.9ubuntu2+really/debian/compat
--- hp-ppd-0.9ubuntu2+really/debian/compat 2006-03-28 23:54:07.000000000 -0500
+++ hp-ppd-0.9ubuntu2+really/debian/compat 2016-07-19 22:58:57.000000000 -0400
@@ -1 +1 @@
-4
+9
diff -Nru hp-ppd-0.9ubuntu2+really/debian/control hp-ppd-0.9ubuntu2+really/debian/control
--- hp-ppd-0.9ubuntu2+really/debian/control 2006-07-28 06:43:48.000000000 -0400
+++ hp-ppd-0.9ubuntu2+really/debian/control 2016-07-19 23:09:43.000000000 -0400
@@ -2,14 +2,15 @@
Section: utils
Priority: optional
Maintainer: A Mennucc1 <[email protected]>
-Build-Depends: debhelper
+Build-Depends: debhelper (>= 9)
Build-Depends-Indep: python
Standards-Version: 3.7.2
Package: hp-ppd
Architecture: all
+Depends: ${misc:Depends}
Suggests: linuxprinting.org-ppds
-Description: HP Postscript Printer Definition (PPD) files
+Description: HP Postscript Printer Definition (PPD) files
Because PostScript is just a page description language,
there is a need to provide a mechanism for a print spooler to
customize the PostScript Job to the actual printer device.
diff -Nru hp-ppd-0.9ubuntu2+really/debian/rules hp-ppd-0.9ubuntu2+really/debian/rules
--- hp-ppd-0.9ubuntu2+really/debian/rules 2008-01-27 18:17:39.000000000 -0500
+++ hp-ppd-0.9ubuntu2+really/debian/rules 2016-07-19 23:01:36.000000000 -0400
@@ -5,7 +5,9 @@
#download:
# wget -r --no-parent -A html,ppd http://www.linuxprinting.org/download/PPD/HP/
-build: build-stamp
+build: build-arch build-indep
+build-arch: build-stamp
+build-indep: build-stamp
build-stamp:
dh_testdir
# Add here commands to compile the package.
@@ -26,7 +28,7 @@
install: build
dh_testdir
dh_testroot
- dh_clean -k
+ dh_prep
dh_installdirs
# Add here commands to install the package into debian/<packagename>.