[SCM] a52dec packaging branch, master, updated. debian/0.7.4-12-23-g0493d6f
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Thu Dec 10 16:07:24 UTC 2009
The following commit has been merged in the master branch:
commit 0493d6f4c548d8cc8a7e20e6f6ffff027c869ee8
Author: Reinhard Tartler <siretart at tauware.de>
Date: Thu Dec 10 17:01:29 2009 +0100
readd quilt dependency and add integration with dh7
diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..8646078
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,57 @@
+This package uses quilt to manage all modifications to the upstream
+source. Changes are stored in the source package as diffs in
+debian/patches and applied during the build.
+
+To configure quilt to use debian/patches instead of patches, you want
+either to export QUILT_PATCHES=debian/patches in your environment
+or use this snippet in your ~/.quiltrc:
+
+ for where in ./ ../ ../../ ../../../ ../../../../ ../../../../../; do
+ if [ -e ${where}debian/rules -a -d ${where}debian/patches ]; then
+ export QUILT_PATCHES=debian/patches
+ fi
+ done
+
+To get the fully patched source after unpacking the source package, cd to
+the root level of the source package and run:
+
+ quilt push -a
+
+The last patch listed in debian/patches/series will become the current
+patch.
+
+To add a new set of changes, first run quilt push -a, and then run:
+
+ quilt new <patch>
+
+where <patch> is a descriptive name for the patch, used as the filename in
+debian/patches. Then, for every file that will be modified by this patch,
+run:
+
+ quilt add <file>
+
+before editing those files. You must tell quilt with quilt add what files
+will be part of the patch before making changes or quilt will not work
+properly. After editing the files, run:
+
+ quilt refresh
+
+to save the results as a patch.
+
+Alternately, if you already have an external patch and you just want to
+add it to the build system, run quilt push -a and then:
+
+ quilt import -P <patch> /path/to/patch
+ quilt push -a
+
+(add -p 0 to quilt import if needed). <patch> as above is the filename to
+use in debian/patches. The last quilt push -a will apply the patch to
+make sure it works properly.
+
+To remove an existing patch from the list of patches that will be applied,
+run:
+
+ quilt delete <patch>
+
+You may need to run quilt pop -a to unapply patches first before running
+this command.
diff --git a/debian/control b/debian/control
index 69f422b..547cff7 100644
--- a/debian/control
+++ b/debian/control
@@ -7,6 +7,7 @@ Uploaders: Reinhard Tartler <siretart at tauware.de>
Sam Hocevar (Debian packages) <sam+deb at zoy.org>,
Dmitrijs Ledkovs <dmitrij.ledkov at gmail.com>
Build-Depends: autotools-dev,
+ quilt (>= 0.46-7),
debhelper (>= 7.0.50~)
Standards-Version: 3.8.3
Vcs-Git: git://git.debian.org/pkg-multimedia/a52dec.git
diff --git a/debian/rules b/debian/rules
index 8a58a08..f806bf9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,7 +1,7 @@
#!/usr/bin/make -f
%:
- dh $@
+ dh $@ --with-quilt
override_dh_auto_configure:
ln -sf /usr/share/misc/config.sub /usr/share/misc/config.guess autotools/
--
a52dec packaging
More information about the pkg-multimedia-commits
mailing list