Control: tags -1 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).
* debian/rules:
- Add recommended build-arch and build-indep targets.
- Use dh_prep instead of dh_clean -k.
* debian/copyright: Don't point to symlink GPL.
* debian/watch:
- Update to version 3.
- Add dversionmangle due to "dfsg" in version.
Thanks for considering the patch.
Logan Rosen
diff -u chuck-1.2.0.8.dfsg/debian/compat chuck-1.2.0.8.dfsg/debian/compat
--- chuck-1.2.0.8.dfsg/debian/compat
+++ chuck-1.2.0.8.dfsg/debian/compat
@@ -1 +1 @@
-4
+9
diff -u chuck-1.2.0.8.dfsg/debian/control chuck-1.2.0.8.dfsg/debian/control
--- chuck-1.2.0.8.dfsg/debian/control
+++ chuck-1.2.0.8.dfsg/debian/control
@@ -1,8 +1,8 @@
Source: chuck
Section: sound
Priority: optional
Maintainer: Paul Brossier <[email protected]>
-Build-Depends: debhelper (>= 4.0.0), bison, flex, libjack-dev, libasound2-dev, libsndfile1-dev, docbook-to-man
+Build-Depends: debhelper (>= 9), bison, flex, libjack-dev, libasound2-dev, libsndfile1-dev, docbook-to-man
Standards-Version: 3.7.2
Package: chuck
diff -u chuck-1.2.0.8.dfsg/debian/copyright chuck-1.2.0.8.dfsg/debian/copyright
--- chuck-1.2.0.8.dfsg/debian/copyright
+++ chuck-1.2.0.8.dfsg/debian/copyright
@@ -29,7 +29,7 @@
You are free to distribute this software under the terms of the GNU General
Public License. On Debian systems, the complete text of the GNU General
- Public License can be found in the file `/usr/share/common-licenses/GPL'.
+ Public License can be found in the file `/usr/share/common-licenses/GPL-2'.
---
diff -u chuck-1.2.0.8.dfsg/debian/rules chuck-1.2.0.8.dfsg/debian/rules
--- chuck-1.2.0.8.dfsg/debian/rules
+++ chuck-1.2.0.8.dfsg/debian/rules
@@ -24,7 +24,9 @@
rm -f "examples/event/.#opensound_demo_recv.ck.1.2"
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
@@ -49,7 +51,7 @@
dh_testdir
dh_testroot
docbook-to-man debian/chuck.sgml > debian/chuck.1
- dh_clean -k -Xchuck
+ dh_prep -Xchuck
dh_installdirs
cd src && $(MAKE) install DESTDIR=$(CURDIR)/debian/chuck
dh_install chuck.alsa usr/bin
@@ -79 +81 @@
-.PHONY: build clean binary-indep binary-arch binary install configure
+.PHONY: build build-arch build-indep clean binary-indep binary-arch binary install configure
diff -u chuck-1.2.0.8.dfsg/debian/watch chuck-1.2.0.8.dfsg/debian/watch
--- chuck-1.2.0.8.dfsg/debian/watch
+++ chuck-1.2.0.8.dfsg/debian/watch
@@ -1,6 +1,3 @@
-# Example watch control file for uscan
-# Rename this file to "watch" and then you can run the "uscan" command
-# to check for upstream updates and more.
-# Site Directory Pattern Version Script
-version=2
-http://chuck.cs.princeton.edu/release/files/ chuck-(.*)\.tgz debian uupdate
+version=3
+opts=dversionmangle=s/\.dfsg// \
+http://chuck.cs.princeton.edu/release/files/chuck-(.*)\.tgz