diff -u autoprofile-2.14/debian/patches/01_gaim_build_bustication.dpatch autoprofile-2.14/debian/patches/01_gaim_build_bustication.dpatch --- autoprofile-2.14/debian/patches/01_gaim_build_bustication.dpatch +++ autoprofile-2.14/debian/patches/01_gaim_build_bustication.dpatch @@ -1,12 +1,13 @@ #! /bin/sh /usr/share/dpatch/dpatch-run -## 01_gaim_build_bustication.dpatch by Joshua Kwan +## 01_gaim_build_bustication.dpatch by ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: No description. -diff -ur autoprofile-2.14/src/autoprofile.h /home/joshk/projects/autoprofile/experimental/autoprofile-2.14/src/autoprofile.h ---- autoprofile-2.14/src/autoprofile.h 2006-04-03 14:02:18.000000000 -0600 -+++ /home/joshk/projects/autoprofile/experimental/autoprofile-2.14/src/autoprofile.h 2006-05-29 23:46:32.000000000 -0600 +@DPATCH@ +diff -urNad autoprofile-2.14~/src/autoprofile.h autoprofile-2.14/src/autoprofile.h +--- autoprofile-2.14~/src/autoprofile.h 2007-02-24 23:43:22.000000000 +0530 ++++ autoprofile-2.14/src/autoprofile.h 2007-02-24 23:43:22.000000000 +0530 @@ -31,7 +31,6 @@ #include "component.h" #include "utility.h" @@ -15,8 +16,9 @@ #include "plugin.h" #include "debug.h" #include "version.h" ---- autoprofile-2.14/src/component.h 2006-04-03 14:02:18.000000000 -0600 -+++ src/component.h 2006-05-31 16:08:45.000000000 -0600 +diff -urNad autoprofile-2.14~/src/component.h autoprofile-2.14/src/component.h +--- autoprofile-2.14~/src/component.h 2007-02-24 23:43:22.000000000 +0530 ++++ autoprofile-2.14/src/component.h 2007-02-24 23:43:36.000000000 +0530 @@ -23,7 +23,6 @@ #include "sizes.h" @@ -28,22 +30,16 @@ -@@ -31,6 +30,11 @@ +@@ -31,6 +30,15 @@ #include "gtkgaim.h" #include "gtkutils.h" +#include +#include ++#include ++#include ++#include ++ +#define _(x) gettext(x) +#define N_(x) (x) + struct component { char *id; char *description; ---- autoprofile-2.14/src/autoprofile.h~ 2006-06-15 19:53:40.000000000 -0700 -+++ autoprofile-2.14/src/autoprofile.h 2006-06-15 19:53:42.000000000 -0700 -@@ -27,6 +27,7 @@ - #define AUTOPROFILE_VERSION "2.14" - - #include "sizes.h" -+#include "config.h" - - #include "component.h" - #include "utility.h" diff -u autoprofile-2.14/debian/rules autoprofile-2.14/debian/rules --- autoprofile-2.14/debian/rules +++ autoprofile-2.14/debian/rules @@ -2,23 +2,31 @@ # debian/rules for autoprofile # (C) 2003 Joshua Kwan +patch: patch-stamp + patch-stamp: dpatch apply-all dpatch cat-all > $@ -build: patch-stamp build-stamp -build-stamp: +unpatch: + dpatch deapply-all + rm -rf patch-stamp debian/patched + +build: build-stamp + +build-stamp: patch dh_testdir $(MAKE) PREFIX=/usr touch $@ -clean: +clean: clean-stamp unpatch + +clean-stamp: dh_testdir dh_testroot - rm -f build-stamp patch-stamp + rm -f build-stamp -$(MAKE) clean dh_clean - dpatch deapply-all install: build dh_testdir