Adding debian version 0.1.1-2. debian-squeeze debian/0.1.1-2
authorDaniel Baumann <daniel@debian.org>
Fri, 20 Apr 2012 14:55:17 +0000 (16:55 +0200)
committerDaniel Baumann <daniel@debian.org>
Fri, 20 Apr 2012 14:55:17 +0000 (16:55 +0200)
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 c132842..b6d7014 100644 (file)
@@ -1,3 +1,13 @@
+lxrandr (0.1.1-2) unstable; urgency=low
+
+  * Applied 01_fix_infinite_loop.dpatch (Closes:#536631)
+    Thanks Enrico Zini provide an armel machine for build test.
+  * debian/control:
+    - build-depends on intltool, dpatch
+  * Bumped Standard-version 3.8.2
+
+ -- Andrew Lee <andrew@linux.org.tw>  Wed, 15 Jul 2009 22:20:15 +0800
+
 lxrandr (0.1.1-1) unstable; urgency=low
 
   * New upstream release
index bbfbb60..2addaea 100644 (file)
@@ -2,8 +2,8 @@ Source: lxrandr
 Section: x11
 Priority: extra
 Maintainer: Andrew Lee <andrew@linux.org.tw>
-Build-Depends: debhelper (>= 6), autotools-dev, libglib2.0-dev (>= 2.6.0), libgtk2.0-dev (>= 2.6.0), docbook-xsl
-Standards-Version: 3.8.1.0
+Build-Depends: debhelper (>= 6), autotools-dev, libglib2.0-dev (>= 2.6.0), libgtk2.0-dev (>= 2.6.0), intltool, docbook-xsl, dpatch, autoconf
+Standards-Version: 3.8.2.0
 DM-Upload-Allowed: yes
 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..e4b713c
--- /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 lxrandr-0.1.1~/configure.in lxrandr-0.1.1/configure.in
+--- lxrandr-0.1.1~/configure.in        2009-06-25 04:59:58.000000000 +0800
++++ lxrandr-0.1.1/configure.in 2009-07-15 22:09:42.453865793 +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 ef761a2..eea9a9f 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)
@@ -21,7 +22,7 @@ CROSS= --build $(DEB_BUILD_GNU_TYPE)
 endif
 
 
-config.status: configure 
+config.status: patch-stamp configure 
        dh_testdir
        # Add here commands to configure the package.
 ifneq "$(wildcard /usr/share/misc/config.sub)" ""
@@ -30,6 +31,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) --enable-man --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs"
 
 
@@ -44,14 +46,16 @@ build-stamp:  config.status
 
        touch $@
 
-clean: 
+clean: unpatch 
        dh_testdir
        dh_testroot
        rm -f build-stamp 
 
        # Add here commands to clean up after the build process.
        [ ! -f Makefile ] || $(MAKE) distclean
-       rm -f config.sub config.guess
+       rm -f aclocal.m4
+       rm -f config.h config.h.in config.log config.status config.sub
+       rm -f config.guess
 
        dh_clean