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

index 6098db2..d6f4ead 100644 (file)
@@ -1,3 +1,11 @@
+lxlauncher (0.2.1-2) unstable; urgency=low
+
+  * Applied 01_fix_infinite_loop.dpatch (Closes:#537404)
+  * debian/control:
+    - build-depends on intltool, autoconf
+
+ -- Andrew Lee <andrew@linux.org.tw>  Sat, 18 Jul 2009 21:55:01 +0200
+
 lxlauncher (0.2.1-1) unstable; urgency=low
 
   * New upstream release
index 49701b8..f0ed96b 100644 (file)
@@ -2,7 +2,7 @@ Source: lxlauncher
 Section: x11
 Priority: extra
 Maintainer: Andrew Lee <andrew@linux.org.tw>
-Build-Depends: debhelper (>= 5), autotools-dev, libgtk2.0-dev (>= 2.6.0), libstartup-notification0-dev, libmenu-cache-dev (>= 0.2.5), dpatch
+Build-Depends: debhelper (>= 5), autotools-dev, libgtk2.0-dev (>= 2.6.0), libstartup-notification0-dev, libmenu-cache-dev (>= 0.2.5), dpatch, intltool, autoconf
 Standards-Version: 3.8.2
 DM-Upload-Allowed: yes
 Homepage: http://lxde.sf.net
index 1a990c8..3d6f25d 100644 (file)
@@ -1 +1,2 @@
+01_fix_infinite_loop.dpatch
 02_lxlauncher-matchbox.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..51f05ee
--- /dev/null
@@ -0,0 +1,20 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 01_fix_infinite_loop.dpatch by Andrew Lee <andrew@linux.org.tw>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: solve the problem on runs configure in infinite loop
+
+@DPATCH@
+diff -urNad lxlauncher-0.2.1~/configure.in lxlauncher-0.2.1/configure.in
+--- lxlauncher-0.2.1~/configure.in     2009-07-07 14:45:39.000000000 +0200
++++ lxlauncher-0.2.1/configure.in      2009-07-18 22:07:32.607296338 +0200
+@@ -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 1c98536..ad499d5 100755 (executable)
@@ -9,6 +9,8 @@
 # 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)
@@ -46,6 +48,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) --sysconfdir=/etc --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs"
 
 
@@ -70,6 +73,9 @@ clean: unpatch
        rm -f config.sub config.guess
        rm -f src/*.gcno
        rm -f po/*.gmo
+       rm -f aclocal.m4
+       rm -f config.h config.h.in config.log config.status config.sub
+       rm -f config.guess
 
        dh_clean