Adding debian version 0.2.1-2. debian/0.2.1-2
authorDaniel Baumann <daniel@debian.org>
Mon, 16 Apr 2012 21:12:08 +0000 (21:12 +0000)
committerDaniel Baumann <daniel@debian.org>
Mon, 16 Apr 2012 21:12:08 +0000 (21:12 +0000)
debian/changelog
debian/control
debian/patches/00list [new file with mode: 0644]
debian/patches/01_fix_infinite_loop.dpatch [new file with mode: 0644]
debian/rules

index fb37a66..d91ebf0 100644 (file)
@@ -1,3 +1,13 @@
+lxappearance (0.2.1-2) unstable; urgency=low
+
+  * Applied 01_fix_infinite_loop.dpatch (Closes:#541666)
+  * debian/control:
+    - Build-depends on intltool, dpatch
+  * debian/rules:
+    - autoreconf -fiv
+
+ -- Andrew Lee (李健秋) <ajqlee@debian.org>  Sat, 15 Aug 2009 21:38:26 +0800
+
 lxappearance (0.2.1-1) unstable; urgency=low
 
   * New upstream release
index aea9279..43bb776 100644 (file)
@@ -2,7 +2,7 @@ Source: lxappearance
 Section: utils
 Priority: extra
 Maintainer: Andrew Lee (李健秋) <ajqlee@debian.org>
-Build-Depends: debhelper (>= 5), autotools-dev, libgtk2.0-dev (>= 2.6), libglib2.0-dev (>= 2.6), docbook-xsl
+Build-Depends: debhelper (>= 5), autotools-dev, libgtk2.0-dev (>= 2.6), libglib2.0-dev (>= 2.6), docbook-xsl, intltool, dpatch
 Standards-Version: 3.8.2
 Homepage: http://lxde.sf.net
 
diff --git a/debian/patches/00list b/debian/patches/00list
new file mode 100644 (file)
index 0000000..69112d1
--- /dev/null
@@ -0,0 +1 @@
+01_fix_infinite_loop.dpatch
diff --git a/debian/patches/01_fix_infinite_loop.dpatch b/debian/patches/01_fix_infinite_loop.dpatch
new file mode 100644 (file)
index 0000000..a3e68be
--- /dev/null
@@ -0,0 +1,20 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 01_fix_infinite_loop.dpatch by Andrew Lee (李健秋) <ajqlee@debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: solve the problem on runs configure in infinite loop.
+
+@DPATCH@
+diff -urNad lxappearance-0.2.1~/configure.in lxappearance-0.2.1/configure.in
+--- lxappearance-0.2.1~/configure.in   2009-07-06 05:09:44.000000000 +0800
++++ lxappearance-0.2.1/configure.in    2009-08-15 21:18:56.970649510 +0800
+@@ -5,6 +5,9 @@
+ AM_CONFIG_HEADER(config.h)
+ AM_MAINTAINER_MODE
++# Init intltool
++IT_PROG_INTLTOOL
++
+ AC_ISC_POSIX
+ AC_PROG_CC
+ AM_PROG_CC_STDC
index c6717c9..ef19c47 100755 (executable)
@@ -9,6 +9,7 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
+include /usr/share/dpatch/dpatch.make
 
 # These are used for cross-compiling and for saving the configure script
 # from having to guess our platform (since we know it already)
@@ -16,7 +17,7 @@ DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
 DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
 
 
-config.status: configure
+config.status: patch-stamp configure
        dh_testdir
        # Add here commands to configure the package.
 ifneq "$(wildcard /usr/share/misc/config.sub)" ""
@@ -25,6 +26,7 @@ endif
 ifneq "$(wildcard /usr/share/misc/config.guess)" ""
        cp -f /usr/share/misc/config.guess config.guess
 endif
+       /usr/bin/autoreconf -fiv
        ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --enable-man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs"
 
 
@@ -39,7 +41,7 @@ build-stamp:  config.status
 
        touch $@
 
-clean:
+clean: unpatch
        dh_testdir
        dh_testroot
        rm -f build-stamp