Package: gkrellm-radio
Version: 2.0.4-1.1
Followup-For: Bug #800309
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu xenial ubuntu-patch

Dear Maintainer,

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

  * debian/rules:
    - Remove legacy DH_COMPAT export.
    - Don't allow $(MAKE) clean to ignore errors.
    - Replace dh_clean -k with dh_prep.
  * debian/compat: Specify 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)

Kernel: Linux 4.4.0-18-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
diff -u gkrellm-radio-2.0.4/debian/control gkrellm-radio-2.0.4/debian/control
--- gkrellm-radio-2.0.4/debian/control
+++ gkrellm-radio-2.0.4/debian/control
@@ -2,14 +2,14 @@
 Section: sound
 Priority: optional
 Maintainer: Sjoerd Simons <sjo...@debian.org>
-Build-Depends: debhelper (>> 3.0.0), liblircclient-dev, gkrellm (>= 2.0.0), libgtk2.0-dev
+Build-Depends: debhelper (>= 9), liblircclient-dev, gkrellm (>= 2.0.0), libgtk2.0-dev
 Standards-Version: 3.5.7
 
 Package: gkrellm-radio
 Architecture: any
 Replaces: gkrellm-radio2
 Conflicts: gkrellm-radio2
-Depends: gkrellm (>> 2.0.0), ${shlibs:Depends}
+Depends: ${misc:Depends}, gkrellm (>> 2.0.0), ${shlibs:Depends}
 Description: FM radio tuner for GKrellM 
  A gkrellm plugin to control radio tuners on linux. It allows you to define
  and jump between a number of radio stations.  With a mouse wheel you can dial
diff -u gkrellm-radio-2.0.4/debian/rules gkrellm-radio-2.0.4/debian/rules
--- gkrellm-radio-2.0.4/debian/rules
+++ gkrellm-radio-2.0.4/debian/rules
@@ -7,9 +7,6 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-# This is the debhelper compatability version to use.
-export DH_COMPAT=3
-
 configure: configure-stamp
 configure-stamp:
 	dh_testdir
@@ -31,14 +28,14 @@
 	rm -f build-stamp configure-stamp 
 
 	# Add here commands to clean up after the build process.
-	-enable_nls=1 WITH_LIRC=1 $(MAKE) clean
+	enable_nls=1 WITH_LIRC=1 $(MAKE) clean
  
 	dh_clean
 
 install: build
 	dh_testdir
 	dh_testroot
-	dh_clean -k
+	dh_prep
 	dh_installdirs
 
 	 enable_nls=1 WITH_LIRC=1 $(MAKE) install \
only in patch2:
unchanged:
--- gkrellm-radio-2.0.4.orig/debian/compat
+++ gkrellm-radio-2.0.4/debian/compat
@@ -0,0 +1 @@
+9

Reply via email to