[SCM] calf audio plugins packaging branch, master, updated. upstream/0.0.18.5-50-g87825ac

js at users.alioth.debian.org js at users.alioth.debian.org
Thu Feb 11 11:51:30 UTC 2010


The following commit has been merged in the master branch:
commit 87825accb1d49f3082a90c4696dd4fed98b30a3a
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Thu Feb 11 12:45:12 2010 +0100

    Conditionally autogenerate debian/control
    
    Debian Policy requires package source to not change during build.
    CDBS has a neat feature to help keep track of dependencies, which is
    only possible to do by changing part of packaging source: the control
    file.
    
    We satisfy the Debian Policy requirement by only messing with source
    when a flag is set, like this:
    
      DEB_MAINTAINER_MODE=1 fakeroot debian/rules clean
    
    The idea is (like the autotools flag its name is inspired from) that
    during development of the packaging source this can be enabled - either
    explicitly during manual builds or centrally on unofficial build
    daemons.

diff --git a/debian/control b/debian/control.in
similarity index 93%
copy from debian/control
copy to debian/control.in
index efbcd6d..c5c666e 100644
--- a/debian/control
+++ b/debian/control.in
@@ -13,10 +13,8 @@ Build-Depends: libasound2-dev,
                 libgtk2.0-dev (>= 2.8),
                 libglade2-dev (>= 2.4),
                 lv2core,
-                debhelper (>= 6),
-                autotools-dev,
                 libreadline-dev,
-                cdbs
+                @cdbs@
 Standards-Version: 3.8.3
 DM-Upload-Allowed: yes
 Homepage: http://calf.sourceforge.net/
diff --git a/debian/rules b/debian/rules
index 410f7ef..4572524 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,7 +1,13 @@
 #!/usr/bin/make -f
 
 
+ifneq (,$(DEB_MAINTAINER_MODE))
+  # Enable stuff not policy compliant (eg. unsuitable for build daemons)
+  DEB_AUTO_UPDATE_DEBIAN_CONTROL = yes
+endif
 include /usr/share/cdbs/1/class/makefile.mk
 include /usr/share/cdbs/1/class/autotools.mk
 include /usr/share/cdbs/1/rules/debhelper.mk
 
+# Resolve, cleanup and apply CDBS-declared dependencies
+include debian/cdbs/1/rules/package-relations.mk

-- 
calf audio plugins packaging



More information about the pkg-multimedia-commits mailing list