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

index 1d28186..f09e706 100644 (file)
@@ -1,3 +1,10 @@
+lxlauncher (0.2-2) unstable; urgency=low
+
+  * Applied 01_lxlauncher-missing-include.dpatch (Closes: #488727)
+    Thanks to dann frazier <dannf@debian.org> for the patch.
+
+ -- Andrew Lee <andrew@linux.org.tw>  Tue, 01 Jul 2008 17:14:34 +0800
+
 lxlauncher (0.2-1) unstable; urgency=low
 
   * New upstream release (Closes: #487986)
index 08a248b..cb94577 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, libgnome-menu-dev (> 2.18.0)
+Build-Depends: debhelper (>= 5), autotools-dev, libgtk2.0-dev (>= 2.6.0), libstartup-notification0-dev, libgnome-menu-dev (> 2.18.0), dpatch
 Standards-Version: 3.8.0.0
 DM-Upload-Allowed: yes
 Homepage: http://lxde.sf.net
diff --git a/debian/patches/00list b/debian/patches/00list
new file mode 100644 (file)
index 0000000..ff5dd91
--- /dev/null
@@ -0,0 +1 @@
+01_lxlauncher-missing-include.dpatch
diff --git a/debian/patches/01_lxlauncher-missing-include.dpatch b/debian/patches/01_lxlauncher-missing-include.dpatch
new file mode 100644 (file)
index 0000000..1af6b65
--- /dev/null
@@ -0,0 +1,18 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 01_lxlauncher-missing-include.dpatch by Andrew Lee <andrew@linux.org.tw>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Fix lxlauncher_load_icon implicitly converted to pointer.
+
+@DPATCH@
+diff -urNad lxlauncher-0.2~/src/lxlauncher.c lxlauncher-0.2/src/lxlauncher.c
+--- lxlauncher-0.2~/src/lxlauncher.c   2008-06-15 23:55:15.000000000 +0800
++++ lxlauncher-0.2/src/lxlauncher.c    2008-07-01 07:46:23.000000000 +0800
+@@ -41,6 +41,7 @@
+ #include "exo-wrap-table.h"
+ #include "working-area.h"
++#include "misc.h"
+ #define BUTTON_SIZE   120
+ #define IMG_SIZE      48
index 7734bf2..1b17e62 100755 (executable)
@@ -35,8 +35,9 @@ ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
     MAKEFLAGS += -j$(NUMJOBS)
 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)" ""
@@ -59,7 +60,7 @@ build-stamp:  config.status
 
        touch $@
 
-clean:
+clean: unpatch
        dh_testdir
        dh_testroot
        rm -f build-stamp