Adding debian version 0.1.1-2. debian-squeeze debian/0.1.1-2
authorDaniel Baumann <daniel@debian.org>
Sun, 15 Apr 2012 10:37:29 +0000 (10:37 +0000)
committerDaniel Baumann <daniel@debian.org>
Sun, 15 Apr 2012 10:37:29 +0000 (10:37 +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 8a6974e..d43e234 100644 (file)
@@ -1,3 +1,13 @@
+lxsession-edit (0.1.1-2) unstable; urgency=low
+
+  * Applied 01_fix_infinite_loop.dpatch to prevent build loop
+  * debian/control:
+    - Build-depends on intltool, dpatch
+  * debian/rules:
+    - autoreconf -fiv
+
+ -- Andrew Lee (李健秋) <ajqlee@debian.org>  Sat, 15 Aug 2009 21:49:19 +0800
+
 lxsession-edit (0.1.1-1) unstable; urgency=low
 
   * New upstream release
index 2c371fa..aa9b011 100644 (file)
@@ -2,7 +2,7 @@ Source: lxsession-edit
 Section: utils
 Priority: extra
 Maintainer: Andrew Lee (李健秋) <ajqlee@debian.org>
-Build-Depends: debhelper (>= 7), autotools-dev, automake, intltool, libgtk2.0-dev (>=2.6), libglib2.0-dev(>=2.10), python-support
+Build-Depends: debhelper (>= 7), autotools-dev, automake, intltool, libgtk2.0-dev (>=2.6), libglib2.0-dev(>=2.10), dpatch
 Standards-Version: 3.8.2
 Homepage: http://lxde.org
 
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..e8adfc6
--- /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 lxsession-edit-0.1.1~/configure.in lxsession-edit-0.1.1/configure.in
+--- lxsession-edit-0.1.1~/configure.in 2009-07-07 00:05:38.000000000 +0800
++++ lxsession-edit-0.1.1/configure.in  2009-08-15 21:48:34.590642849 +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 b81eff2..08cb633 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)
@@ -22,7 +23,7 @@ endif
 
 #include /usr/share/dpatch/dpatch.make
 
-config.status: configure
+config.status: patch-stamp configure
        dh_testdir
        # Add here commands to configure the package.
 ifneq "$(wildcard /usr/share/misc/config.sub)" ""
@@ -31,6 +32,7 @@ endif
 ifneq "$(wildcard /usr/share/misc/config.guess)" ""
        cp -f /usr/share/misc/config.guess config.guess
 endif
+       /usr/bin/autoreconf -fiv
        ./configure $(CROSS) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs"
 
 
@@ -45,7 +47,7 @@ build-stamp:  config.status
 
        touch $@
 
-clean:
+clean: unpatch
        dh_testdir
        dh_testroot
        rm -f build-stamp