[SCM] meterbridge/master: Add patch to rename configure.in to configure.ac.

mira-guest at users.alioth.debian.org mira-guest at users.alioth.debian.org
Fri Dec 23 12:40:11 UTC 2016


The following commit has been merged in the master branch:
commit 1b5adfa4e7d80893a820bf70244e07d020bfb699
Author: Jaromír Mikeš <mira.mikes at seznam.cz>
Date:   Fri Dec 23 13:36:59 2016 +0100

    Add patch to rename configure.in to configure.ac.

diff --git a/debian/patches/08.configure_ac.patch b/debian/patches/08.configure_ac.patch
new file mode 100644
index 0000000..e752185
--- /dev/null
+++ b/debian/patches/08.configure_ac.patch
@@ -0,0 +1,74 @@
+Description: rename file configure.in to configure.ac
+Author: Jaromír Mikeš <mira.mikes at seznam.cz>
+Forwarded: No
+
+Index: meterbridge/configure.ac
+===================================================================
+--- /dev/null
++++ meterbridge/configure.ac
+@@ -0,0 +1,30 @@
++# Process this file with autoconf to produce a configure script.
++AC_INIT(src/main.c)
++AM_CONFIG_HEADER(src/config.h)
++AM_INIT_AUTOMAKE(meterbridge, 0.9.2)
++
++# Checks for programs.
++AC_PROG_CC
++
++# Checks for libraries.
++AC_CHECK_LIB([pthread], [pthread_self], , [AC_MSG_ERROR(You need libpthread installed)])
++AC_CHECK_LIB([m], [sqrt], , [AC_MSG_ERROR(Can't find libm)])
++
++# Checks for packages.
++AM_PATH_SDL(1.2.0, , AC_MSG_ERROR([Requires SDL 1.2 or later]))
++PKG_CHECK_MODULES(JACK,jack)
++AC_SUBST(JACK_CFLAGS)
++AC_SUBST(JACK_LIBS)
++
++# Checks for header files.
++AC_HEADER_STDC
++AC_CHECK_HEADERS([stdlib.h string.h unistd.h])
++
++# Checks for typedefs, structures, and compiler characteristics.
++AC_C_CONST
++AC_C_INLINE
++
++# Checks for library functions.
++AC_CHECK_FUNCS([atexit])
++
++AC_OUTPUT([Makefile graphics/Makefile src/Makefile])
+Index: meterbridge/configure.in
+===================================================================
+--- meterbridge.orig/configure.in
++++ /dev/null
+@@ -1,30 +0,0 @@
+-# Process this file with autoconf to produce a configure script.
+-AC_INIT(src/main.c)
+-AM_CONFIG_HEADER(src/config.h)
+-AM_INIT_AUTOMAKE(meterbridge, 0.9.2)
+-
+-# Checks for programs.
+-AC_PROG_CC
+-
+-# Checks for libraries.
+-AC_CHECK_LIB([pthread], [pthread_self], , [AC_MSG_ERROR(You need libpthread installed)])
+-AC_CHECK_LIB([m], [sqrt], , [AC_MSG_ERROR(Can't find libm)])
+-
+-# Checks for packages.
+-AM_PATH_SDL(1.2.0, , AC_MSG_ERROR([Requires SDL 1.2 or later]))
+-PKG_CHECK_MODULES(JACK,jack)
+-AC_SUBST(JACK_CFLAGS)
+-AC_SUBST(JACK_LIBS)
+-
+-# Checks for header files.
+-AC_HEADER_STDC
+-AC_CHECK_HEADERS([stdlib.h string.h unistd.h])
+-
+-# Checks for typedefs, structures, and compiler characteristics.
+-AC_C_CONST
+-AC_C_INLINE
+-
+-# Checks for library functions.
+-AC_CHECK_FUNCS([atexit])
+-
+-AC_OUTPUT([Makefile graphics/Makefile src/Makefile])
diff --git a/debian/patches/series b/debian/patches/series
index e5d4432..a98d6f4 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,3 +3,4 @@
 0003-meterbridge_0.9.2_iec_fix.patch
 0004-fix_build_with_gcc-5.patch
 0005-fix_passing_CFLAGS.patch
+08.configure_ac.patch

-- 
meterbridge packaging



More information about the pkg-multimedia-commits mailing list