[SCM] supercollider/master: cdbs rules for getting+repacking upstream source

danstowell-guest at users.alioth.debian.org danstowell-guest at users.alioth.debian.org
Sun Jun 24 17:01:35 UTC 2012


The following commit has been merged in the master branch:
commit c9c8533d380b63ccf0fddf4b0447c0e4740ce7a4
Author: Dan Stowell <danstowell at users.sourceforge.net>
Date:   Sun Jun 24 17:43:27 2012 +0100

    cdbs rules for getting+repacking upstream source

diff --git a/debian/README.source b/debian/README.source
index f449937..75efe2f 100644
--- a/debian/README.source
+++ b/debian/README.source
@@ -12,6 +12,23 @@ git-buildpackage, with all official releases tagged and signed and
 binary diffs of tarballs stored using pristine-tar.  This is documented
 below /usr/share/doc/git-buildpackage/manual-html/ .
 
+A custom build target shows current upstream and packaging versions:
+
+    debian/rules print-version
+
+Current upstream tarball can be prepared using this other build target:
+
+    debian/rules get-orig-source
+
+To switch to newer upstream source, first add a dummy changelog entry
+and comment out DEB_UPSTREAM_TARBALL_MD5 before getting the source:
+
+    dch -v ${new_upstream_version}-1 "Dummy changelog entry"
+    sed -i -e 's/^\(DEB_UPSTREAM_TARBALL_MD5\b\)/#\1/' debian/rules
+    debian/rules get-orig-source
+
+Store new md5sum to help ensure identical source is received later.
+
 Setting DEB_MAINTAINER_MODE=1 enables additional build routines helpful
 during development of the package, but unfit for normal builds.  This
 typically includes the CDBS feature of auto-updating debian/control with
diff --git a/debian/rules b/debian/rules
index 5bf3d8e..c4a456c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,5 +1,6 @@
 #! /usr/bin/make -f
 
+include /usr/share/cdbs/1/rules/upstream-tarball.mk
 include /usr/share/cdbs/1/rules/utils.mk
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/cmake.mk
@@ -21,6 +22,14 @@ DEB_INSTALL_MANPAGES_supercollider-vim     = debian/scvim.1 debian/sclangpipe_ap
 
 DEB_CMAKE_EXTRA_FLAGS = -DDSO_VISIBILITY=on -DSUPERNOVA=on -DSC_EL_BYTECOMPILE=OFF
 
+# Exclude boost from the source package (DFSG copyright/maintenance concerns)
+DEB_UPSTREAM_REPACKAGE_EXCLUDES = external_libraries/boost/
+DEB_UPSTREAM_URL = http://prdownloads.sourceforge.net/supercollider
+DEB_UPSTREAM_TARBALL_BASENAME_MANGLE = s/supercollider(.*)/SuperCollider$$1-Source-linux/
+DEB_UPSTREAM_TARBALL_EXTENSION = tar.bz2
+DEB_UPSTREAM_TARBALL_SRCDIR = SuperCollider-Source
+DEB_UPSTREAM_TARBALL_MD5 = 84fde920c32e9644902f989136a35b91
+
 binary-fixup/supercollider-common::
 	dh_linktree -psupercollider-common
 

-- 
supercollider packaging



More information about the pkg-multimedia-commits mailing list