[SCM] lv2dynparam1/master: Introduce dh-autoreconf and add the key 'foreign' to AM_INIT_AUTOMAKE to let autoreconf succesfully run.

alessio at users.alioth.debian.org alessio at users.alioth.debian.org
Mon May 14 23:25:15 UTC 2012


The following commit has been merged in the master branch:
commit a9a97a0af46b5115367c82c48080f21e49c0c7a3
Author: Alessio Treglia <alessio at debian.org>
Date:   Tue May 15 01:18:20 2012 +0200

    Introduce dh-autoreconf and add the key 'foreign' to AM_INIT_AUTOMAKE
    to let autoreconf succesfully run.

diff --git a/debian/control b/debian/control
index 2ccc4fe..4c2d650 100644
--- a/debian/control
+++ b/debian/control
@@ -7,6 +7,7 @@ Uploaders:
  Jaromír Mikeš <mira.mikes at seznam.cz>
 Build-Depends:
  debhelper (>= 8.1.3~),
+ dh-autoreconf,
  fakeroot,
  lv2-dev,
  pkg-config
diff --git a/debian/patches/0001-buildsystem.patch b/debian/patches/0001-buildsystem.patch
new file mode 100644
index 0000000..4c8a795
--- /dev/null
+++ b/debian/patches/0001-buildsystem.patch
@@ -0,0 +1,19 @@
+Description: Add the key 'foreign' to AM_INIT_AUTOMAKE to let autoreconf
+ succesfully run
+Author: Alessio Treglia <alessio at debian.org>
+Forwarded: no
+---
+ configure.ac |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- lv2dynparam1.orig/configure.ac
++++ lv2dynparam1/configure.ac
+@@ -4,7 +4,7 @@
+ AC_PREREQ(2.61)
+ AC_INIT(lv2dynparam1, 2)
+ AC_CONFIG_AUX_DIR(config)
+-AM_INIT_AUTOMAKE
++AM_INIT_AUTOMAKE(foreign)
+ AC_CONFIG_SRCDIR([lv2dynparam.h])
+ AC_CONFIG_HEADER([config.h])
+ 
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..b5c7eee
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-buildsystem.patch
diff --git a/debian/rules b/debian/rules
index eba0a8c..d8eabbc 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,7 +4,7 @@
 CFLAGS+=-pthread
 
 %:
-	dh $@
+	dh $@ --with autoreconf
 
 override_dh_installchangelogs:
 	dh_installchangelogs NEWS

-- 
lv2dynparam1 packaging



More information about the pkg-multimedia-commits mailing list