From e8fb249f6b17979bd845ab766be9b8531d7a2a3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Wed, 18 Jul 2012 02:29:01 +0200 Subject: Removed former way of managing patches for kchmviewer on Debian and Ubuntu --- debian/lenny/applications/kchmviewer/debian/control | 2 +- debian/lenny/applications/kchmviewer/debian/rules | 18 ++++-------------- debian/squeeze/applications/kchmviewer/debian/control | 2 +- debian/squeeze/applications/kchmviewer/debian/rules | 18 ++++-------------- ubuntu/maverick/applications/kchmviewer/debian/control | 2 +- ubuntu/maverick/applications/kchmviewer/debian/rules | 18 ++++-------------- 6 files changed, 15 insertions(+), 45 deletions(-) diff --git a/debian/lenny/applications/kchmviewer/debian/control b/debian/lenny/applications/kchmviewer/debian/control index dfb229d24..7e5b19c42 100644 --- a/debian/lenny/applications/kchmviewer/debian/control +++ b/debian/lenny/applications/kchmviewer/debian/control @@ -3,7 +3,7 @@ Section: tde Priority: optional Maintainer: Timothy Pearson XSBC-Original-Maintainer: Jose Luis Tallon -Build-Depends: debhelper (>= 5.0.0), tdelibs4-trinity-dev, libchm-dev, dpatch, automake, autoconf, libtool, libltdl-dev +Build-Depends: debhelper (>= 5.0.0), quilt, tdelibs4-trinity-dev, libchm-dev, automake, autoconf, libtool, libltdl-dev Standards-Version: 3.8.4 Homepage: http://www.kchmviewer.net/ diff --git a/debian/lenny/applications/kchmviewer/debian/rules b/debian/lenny/applications/kchmviewer/debian/rules index 72c3fd5bb..a496effa9 100755 --- a/debian/lenny/applications/kchmviewer/debian/rules +++ b/debian/lenny/applications/kchmviewer/debian/rules @@ -42,11 +42,10 @@ endif -include debian/debiandirs -build: patch debian/build-kde +build: debian/build-kde -patch: patch-stamp -patch-stamp: - dpatch apply-all +debian/build-kde: + dh_testdir ! [ -f /usr/share/libtool/ltmain.sh ] || \ cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh ! [ -f /usr/share/libtool/config/ltmain.sh ] || \ @@ -54,15 +53,6 @@ patch-stamp: cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in make -f admin/Makefile.common cvs - touch debian/stamp-bootstrap - touch patch-stamp - -unpatch: - dpatch deapply-all - $(RM) -rf patch-stamp debian/patched - -debian/build-kde: - dh_testdir # automake # autoconf test -e config.sub -a -L config.sub || \ @@ -74,7 +64,7 @@ debian/build-kde: $(MAKE) -C build-kde touch debian/build-kde -clean: unpatch +clean: dh_testdir dh_testroot $(RM) -f build-stamp diff --git a/debian/squeeze/applications/kchmviewer/debian/control b/debian/squeeze/applications/kchmviewer/debian/control index dfb229d24..7e5b19c42 100644 --- a/debian/squeeze/applications/kchmviewer/debian/control +++ b/debian/squeeze/applications/kchmviewer/debian/control @@ -3,7 +3,7 @@ Section: tde Priority: optional Maintainer: Timothy Pearson XSBC-Original-Maintainer: Jose Luis Tallon -Build-Depends: debhelper (>= 5.0.0), tdelibs4-trinity-dev, libchm-dev, dpatch, automake, autoconf, libtool, libltdl-dev +Build-Depends: debhelper (>= 5.0.0), quilt, tdelibs4-trinity-dev, libchm-dev, automake, autoconf, libtool, libltdl-dev Standards-Version: 3.8.4 Homepage: http://www.kchmviewer.net/ diff --git a/debian/squeeze/applications/kchmviewer/debian/rules b/debian/squeeze/applications/kchmviewer/debian/rules index 72c3fd5bb..a496effa9 100755 --- a/debian/squeeze/applications/kchmviewer/debian/rules +++ b/debian/squeeze/applications/kchmviewer/debian/rules @@ -42,11 +42,10 @@ endif -include debian/debiandirs -build: patch debian/build-kde +build: debian/build-kde -patch: patch-stamp -patch-stamp: - dpatch apply-all +debian/build-kde: + dh_testdir ! [ -f /usr/share/libtool/ltmain.sh ] || \ cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh ! [ -f /usr/share/libtool/config/ltmain.sh ] || \ @@ -54,15 +53,6 @@ patch-stamp: cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in make -f admin/Makefile.common cvs - touch debian/stamp-bootstrap - touch patch-stamp - -unpatch: - dpatch deapply-all - $(RM) -rf patch-stamp debian/patched - -debian/build-kde: - dh_testdir # automake # autoconf test -e config.sub -a -L config.sub || \ @@ -74,7 +64,7 @@ debian/build-kde: $(MAKE) -C build-kde touch debian/build-kde -clean: unpatch +clean: dh_testdir dh_testroot $(RM) -f build-stamp diff --git a/ubuntu/maverick/applications/kchmviewer/debian/control b/ubuntu/maverick/applications/kchmviewer/debian/control index dfb229d24..7e5b19c42 100644 --- a/ubuntu/maverick/applications/kchmviewer/debian/control +++ b/ubuntu/maverick/applications/kchmviewer/debian/control @@ -3,7 +3,7 @@ Section: tde Priority: optional Maintainer: Timothy Pearson XSBC-Original-Maintainer: Jose Luis Tallon -Build-Depends: debhelper (>= 5.0.0), tdelibs4-trinity-dev, libchm-dev, dpatch, automake, autoconf, libtool, libltdl-dev +Build-Depends: debhelper (>= 5.0.0), quilt, tdelibs4-trinity-dev, libchm-dev, automake, autoconf, libtool, libltdl-dev Standards-Version: 3.8.4 Homepage: http://www.kchmviewer.net/ diff --git a/ubuntu/maverick/applications/kchmviewer/debian/rules b/ubuntu/maverick/applications/kchmviewer/debian/rules index 72c3fd5bb..a496effa9 100755 --- a/ubuntu/maverick/applications/kchmviewer/debian/rules +++ b/ubuntu/maverick/applications/kchmviewer/debian/rules @@ -42,11 +42,10 @@ endif -include debian/debiandirs -build: patch debian/build-kde +build: debian/build-kde -patch: patch-stamp -patch-stamp: - dpatch apply-all +debian/build-kde: + dh_testdir ! [ -f /usr/share/libtool/ltmain.sh ] || \ cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh ! [ -f /usr/share/libtool/config/ltmain.sh ] || \ @@ -54,15 +53,6 @@ patch-stamp: cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in make -f admin/Makefile.common cvs - touch debian/stamp-bootstrap - touch patch-stamp - -unpatch: - dpatch deapply-all - $(RM) -rf patch-stamp debian/patched - -debian/build-kde: - dh_testdir # automake # autoconf test -e config.sub -a -L config.sub || \ @@ -74,7 +64,7 @@ debian/build-kde: $(MAKE) -C build-kde touch debian/build-kde -clean: unpatch +clean: dh_testdir dh_testroot $(RM) -f build-stamp -- cgit v1.2.3