Package: cthumb
Version: 4.2-3
Followup-For: Bug #800207
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu yakkety ubuntu-patch

Dear Maintainer,

In Ubuntu, the attached patch was applied to achieve the following:

  * debian/rules:
    - Remove legacy DH_COMPAT export.
    - Use dh_prep instead of dh_clean -k.
  * debian/compat: Indicate compatibility level of 9.
  * debian/control:
    - Build-depend on debhelper (>= 9).
    - Depend on ${misc:Depends}.

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 -u cthumb-4.2/debian/control cthumb-4.2/debian/control
--- cthumb-4.2/debian/control
+++ cthumb-4.2/debian/control
@@ -2,13 +2,13 @@
 Section: web
 Priority: optional
 Maintainer: Michael Banck <mba...@debian.org>
-Build-Depends-Indep: debhelper (>> 3.0.0)
+Build-Depends: debhelper (>= 9)
 Build-Conflicts-Indep: rsync
 Standards-Version: 3.5.6.1
 
 Package: cthumb
 Architecture: all
-Depends: ${perl:Depends}, libwww-perl, libjpeg-progs, netpbm
+Depends: ${misc:Depends}, ${perl:Depends}, libwww-perl, libjpeg-progs, netpbm
 Suggests: imagemagick
 Description: A program to generate themable Web picture albums
  cthumb allows you to create themable web picture albums, i.e. 
diff -u cthumb-4.2/debian/rules cthumb-4.2/debian/rules
--- cthumb-4.2/debian/rules
+++ cthumb-4.2/debian/rules
@@ -3,7 +3,6 @@
 # GNU copyright 1997 to 1999 by Joey Hess.
 
 #export DH_VERBOSE=1
-export DH_COMPAT=3
 
 configure: configure-stamp
 configure-stamp:
@@ -21,7 +20,7 @@
 install: configure
 	dh_testdir
 	dh_testroot
-	dh_clean -k
+	dh_prep
 	dh_installdirs
 	$(MAKE) install prefix=$(CURDIR)/debian/cthumb/usr \
 		themedir=$(CURDIR)/debian/cthumb/usr/share/cthumb
only in patch2:
unchanged:
--- cthumb-4.2.orig/debian/compat
+++ cthumb-4.2/debian/compat
@@ -0,0 +1 @@
+9

Reply via email to