[Pkg-wmaker-commits] [wmfire] 30/61: debian/patches: (rename_configure.in.patch) Silence deprecated-configure-filename Lintian warning.
Doug Torrance
dtorrance-guest at moszumanska.debian.org
Mon Aug 24 03:39:27 UTC 2015
This is an automated email from the git hooks/post-receive script.
dtorrance-guest pushed a commit to branch master
in repository wmfire.
commit 81b5d9b6efef8093f04921eea437e92e43ef9597
Author: Doug Torrance <dtorrance at monmouthcollege.edu>
Date: Thu Jan 15 06:29:25 2015 -0600
debian/patches: (rename_configure.in.patch) Silence
deprecated-configure-filename Lintian warning.
---
debian/patches/rename_configure.patch | 109 ++++++++++++++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 110 insertions(+)
diff --git a/debian/patches/rename_configure.patch b/debian/patches/rename_configure.patch
new file mode 100644
index 0000000..0fa2075
--- /dev/null
+++ b/debian/patches/rename_configure.patch
@@ -0,0 +1,109 @@
+Description: Rename configure.in to configure.ac.
+ Silences deprecated-configure-filename Lintian warning.
+Author: Doug Torrance <dtorrance at monmouthcollege.edu>
+Last-Update: 2015-01-15
+
+--- /dev/null
++++ b/configure.ac
+@@ -0,0 +1,49 @@
++AC_INIT(src/wmfire.c)
++
++AM_INIT_AUTOMAKE(wmfire, 1.2.4)
++
++AC_PROG_AWK
++AC_PROG_CC
++AC_PROG_INSTALL
++AC_PROG_LN_S
++
++AC_PATH_X
++AC_CHECK_LIB(X11, main)
++AC_CHECK_LIB(Xext, main)
++AC_CHECK_LIB(m,sincos)
++
++AC_HEADER_DIRENT
++AC_HEADER_STDC
++AC_HEADER_SYS_WAIT
++AC_CHECK_HEADERS(unistd.h)
++
++AC_C_CONST
++
++AC_ARG_ENABLE(header, [
++Wmfire options:
++])
++
++AC_ARG_ENABLE(session,
++[ --enable-session Compile with session management],
++ session=on, session=off)
++
++if test "x$session" = "xon" ; then
++ AC_DEFINE(SESSION)
++ LDFLAGS="$LDFLAGS -lSM -lICE"
++fi
++AM_CONDITIONAL(SESSION, test "x$session" = "xon")
++
++AC_PATH_PROG(config, pkg-config)
++
++AC_CACHE_CHECK([for gdk2 includes], GDKINCS, [GDKINCS=`$config --cflags gtk+-2.0`])
++AC_CACHE_CHECK([for gdk2 libs], GDKLIBS, [GDKLIBS=`$config --libs gtk+-2.0 | sed -e "s/-lgtk-x11-2.0//g" -e "s/-latk-1.0//g"`])
++
++AC_CACHE_CHECK([for libgtop2 includes], GTOPINCS, [GTOPINCS=`$config --cflags libgtop-2.0`])
++AC_CACHE_CHECK([for libgtop2 libs], GTOPLIBS, [GTOPLIBS=`$config --libs libgtop-2.0`])
++
++CFLAGS="$CFLAGS $GDKINCS $GTOPINCS"
++LDFLAGS="$LDFLAGS $GDKLIBS $GTOPLIBS"
++
++AC_CHECK_FUNCS(strstr)
++
++AC_OUTPUT(Makefile src/Makefile)
+--- a/configure.in
++++ /dev/null
+@@ -1,49 +0,0 @@
+-AC_INIT(src/wmfire.c)
+-
+-AM_INIT_AUTOMAKE(wmfire, 1.2.4)
+-
+-AC_PROG_AWK
+-AC_PROG_CC
+-AC_PROG_INSTALL
+-AC_PROG_LN_S
+-
+-AC_PATH_X
+-AC_CHECK_LIB(X11, main)
+-AC_CHECK_LIB(Xext, main)
+-AC_CHECK_LIB(m,sincos)
+-
+-AC_HEADER_DIRENT
+-AC_HEADER_STDC
+-AC_HEADER_SYS_WAIT
+-AC_CHECK_HEADERS(unistd.h)
+-
+-AC_C_CONST
+-
+-AC_ARG_ENABLE(header, [
+-Wmfire options:
+-])
+-
+-AC_ARG_ENABLE(session,
+-[ --enable-session Compile with session management],
+- session=on, session=off)
+-
+-if test "x$session" = "xon" ; then
+- AC_DEFINE(SESSION)
+- LDFLAGS="$LDFLAGS -lSM -lICE"
+-fi
+-AM_CONDITIONAL(SESSION, test "x$session" = "xon")
+-
+-AC_PATH_PROG(config, pkg-config)
+-
+-AC_CACHE_CHECK([for gdk2 includes], GDKINCS, [GDKINCS=`$config --cflags gtk+-2.0`])
+-AC_CACHE_CHECK([for gdk2 libs], GDKLIBS, [GDKLIBS=`$config --libs gtk+-2.0 | sed -e "s/-lgtk-x11-2.0//g" -e "s/-latk-1.0//g"`])
+-
+-AC_CACHE_CHECK([for libgtop2 includes], GTOPINCS, [GTOPINCS=`$config --cflags libgtop-2.0`])
+-AC_CACHE_CHECK([for libgtop2 libs], GTOPLIBS, [GTOPLIBS=`$config --libs libgtop-2.0`])
+-
+-CFLAGS="$CFLAGS $GDKINCS $GTOPINCS"
+-LDFLAGS="$LDFLAGS $GDKLIBS $GTOPLIBS"
+-
+-AC_CHECK_FUNCS(strstr)
+-
+-AC_OUTPUT(Makefile src/Makefile)
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..85b2379
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+rename_configure.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmfire.git
More information about the Pkg-wmaker-commits
mailing list