Backporting hplip 3.15.11+repack0-1 to jessie (ddebs...)
To support a new HP Printer, I've prepared a backport of hplip
3.15.11+repack0-1 to jessie. Debian Printing people, can I upload this?
The ddebs migration makes things a little tricky, as discussed in [0].
My solution was different to kodi's. I reverted a96d24e2 [1] and added
some un-versioned Breaks + Replaces, see the debdiff below. Should we
rather drop -dbg, like kodi did?
[0]: http://lists.debian.org/56970CB8.6000803@gmail.com
[1]: https://anonscm.debian.org/cgit/printing/hplip.git/commit/?h=debian/master&id=a96d24e2b90fd07fa1af1ddfe6be7993506b3891
Debdiff:
diff -Nru hplip-3.15.11+repack0/debian/changelog hplip-3.15.11+repack0/debian/changelog
--- hplip-3.15.11+repack0/debian/changelog 2016-01-09 16:42:30.000000000 -0500
+++ hplip-3.15.11+repack0/debian/changelog 2016-02-15 20:44:30.000000000 -0500
@@ -1,3 +1,11 @@
+hplip (3.15.11+repack0-1~bpo8+1) jessie-backports; urgency=medium
+
+ * Rebuild for jessie-backports.
+ * Revert: a96d24e2, so that we can build with debhelper in jessie
+ (Automatically generate debug package, B-D against debhelper >= 9.20151219)
+
+ -- Stefano Rivera <stefanor@debian.org> Mon, 15 Feb 2016 20:39:05 -0500
+
hplip (3.15.11+repack0-1) unstable; urgency=medium
* New upstream release
diff -Nru hplip-3.15.11+repack0/debian/control hplip-3.15.11+repack0/debian/control
--- hplip-3.15.11+repack0/debian/control 2016-01-09 16:42:30.000000000 -0500
+++ hplip-3.15.11+repack0/debian/control 2016-02-15 20:47:38.000000000 -0500
@@ -9,7 +9,7 @@
automake,
autotools-dev,
cups (>= 1.4.0) | cupsddk,
- debhelper (>= 9.20151219),
+ debhelper (>= 9),
dh-autoreconf,
fdupes,
findutils (>= 4.2.28),
@@ -144,6 +144,35 @@
Note that all GUI utilities are based on the Qt GUI environment. There
are currently no equivalent utilities based on GTK+.
+Package: hplip-dbg
+Architecture: any
+Priority: extra
+Section: debug
+Depends: hplip (= ${hplip:binary:Version}) | printer-driver-hpcups (= ${hplip:binary:Version}) | printer-driver-hpijs (= ${hpijs:binary:Version}),
+ ${misc:Depends}
+Breaks: hplip (<< 3.10.2-2ubuntu2),
+ hplip-dbgsym,
+ libhpmud0-dbgsym,
+ libsane-hpaio-dbgsym,
+ printer-driver-hpcups-dbgsym,
+ printer-driver-hpijs-dbgsym
+Replaces: hplip-dbgsym,
+ libhpmud0-dbgsym,
+ libsane-hpaio-dbgsym,
+ printer-driver-hpcups-dbgsym,
+ printer-driver-hpijs-dbgsym
+Description: HP Linux Printing and Imaging - debugging information
+ The HP Linux Printing and Imaging System provides full support for
+ printing on most HP SFP (single function peripheral) inkjets and many
+ LaserJets, and for scanning, sending faxes and for photo-card access on
+ most HP MFP (multi-function peripheral) printers.
+ .
+ This package contains debugging symbolic information for all the
+ binaries and libraries in the hplip and hpijs packages.
+ .
+ It is useful for generating backtraces using debuggers like
+ gdb and to get better information from tools like ltrace.
+
Package: hplip-doc
Architecture: all
Section: doc
diff -Nru hplip-3.15.11+repack0/debian/rules hplip-3.15.11+repack0/debian/rules
--- hplip-3.15.11+repack0/debian/rules 2016-01-09 16:42:30.000000000 -0500
+++ hplip-3.15.11+repack0/debian/rules 2016-02-15 20:43:28.000000000 -0500
@@ -408,7 +408,7 @@
# dh_installinfo -i
dh_installchangelogs -i $(CHANGELOG)
dh_link -i
- dh_strip -i --ddeb-migration='$(DBGPKG) (<< 3.15.11+repack0-1~), hplip (<< 3.10.2-2ubuntu2)'
+ dh_strip -i --dbg-package=$(DBGPKG)
dh_compress -i
dh_fixperms -i
# dh_perl -i
@@ -448,7 +448,7 @@
#dh_installinit -phplip --init-script=hplip -- multiuser 19
dh_installudev
dh_link -a
- dh_strip -a --ddeb-migration='$(DBGPKG) (<< 3.15.11+repack0-1~), hplip (<< 3.10.2-2ubuntu2)'
+ dh_strip -a --dbg-package=$(DBGPKG)
dh_compress -a
dh_fixperms -a
dh_makeshlibs -a
SR
--
Stefano Rivera
http://tumbleweed.org.za/
+1 415 683 3272
Reply to: