Package: gkrellm-volume Version: 2.1.13-1 Followup-For: Bug #800295 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. - Add recommended build-arch and build-indep targets. - Don't allow $(MAKE) clean to ignore errors. - Use dh_prep instead of dh_clean -k. * 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) 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 gkrellm-volume-2.1.13/debian/control gkrellm-volume-2.1.13/debian/control --- gkrellm-volume-2.1.13/debian/control +++ gkrellm-volume-2.1.13/debian/control @@ -3,12 +3,12 @@ Priority: optional Maintainer: Sjoerd Simons <sjo...@debian.org> -Build-Depends: debhelper (>> 3.0.0), gkrellm (>= 2.0.0), libgtk2.0-dev, libasound2-dev +Build-Depends: debhelper (>= 9), gkrellm (>= 2.0.0), libgtk2.0-dev, libasound2-dev Standards-Version: 3.5.7 Package: gkrellm-volume Architecture: any Conflicts: gkrellm-volume2 Replaces: gkrellm-volume2 -Depends: ${shlibs:Depends}, gkrellm (>= 2.0.0) +Depends: ${misc:Depends}, ${shlibs:Depends}, gkrellm (>= 2.0.0) Description: A mixer plugin for GKrellM This GKrellM plugin allows you to control the mixer of your soundcard. diff -u gkrellm-volume-2.1.13/debian/rules gkrellm-volume-2.1.13/debian/rules --- gkrellm-volume-2.1.13/debian/rules +++ gkrellm-volume-2.1.13/debian/rules @@ -5,11 +5,6 @@ # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 -# This is the debhelper compatibility version to use. -export DH_COMPAT=3 - - - ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) CFLAGS += -g endif @@ -25,7 +20,9 @@ touch configure-stamp -build: build-stamp +build: build-arch build-indep +build-arch: build-stamp +build-indep: build-stamp build-stamp: configure-stamp dh_testdir @@ -42,14 +39,14 @@ rm -f build-stamp configure-stamp # Add here commands to clean up after the build process. - -$(MAKE) clean + $(MAKE) clean dh_clean install: build dh_testdir dh_testroot - dh_clean -k + dh_prep dh_installdirs # Add here commands to install the package into debian/gkrellm-volume2. only in patch2: unchanged: --- gkrellm-volume-2.1.13.orig/debian/compat +++ gkrellm-volume-2.1.13/debian/compat @@ -0,0 +1 @@ +9