Package: xfig
Severity: wishlist
Tags: patch

Hi,

The dpatch patch management system has been deprecated for some time. The
Lintian currently flags use of dpatch packages as an error. The new 3.0
packaging format is an improved version which, among other things, contains
patch management built-in. For more information, see:

    http://wiki.debian.org/Projects/DebSrc3.0

I had some free time; see attached patch to migrate to new package
format. Note that all files in debian/patches/* are canocalized to
*.patch.

Let me know if there is anything that needs adjusting or if it is ok
to upload this version in a NMU in case you are working on other
issues needing attention.

Thanks,
Jari

>From a65de0d90e8d6e7244ae212e11404a823d603512 Mon Sep 17 00:00:00 2001
From: Jari Aalto <[email protected]>
Date: Thu, 12 Apr 2012 22:42:53 +0300
Subject: [PATCH] format-3.0
Organization: Private
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit

Signed-off-by: Jari Aalto <[email protected]>
---
 debian/README.source                               |   31 --------------------
 debian/changelog                                   |    9 ++++++
 debian/compat                                      |    2 +-
 debian/control                                     |    4 +--
 debian/patches/00list                              |   14 ---------
 ...ile_Debian.dpatch => 02-Imakefile-Debian.patch} |    8 ++---
 .../{03_usr_share.dpatch => 03-usr-share.patch}    |    9 ++----
 ...4_app-defaults.dpatch => 04-app-defaults.patch} |    8 ++---
 .../{05_xfig-libs.dpatch => 05-xfig-libs.patch}    |    8 ++---
 ...twork_images.dpatch => 12-network-images.patch} |    8 ++---
 ...xtra_libs.dpatch => 13-remove-extra-libs.patch} |    8 ++---
 ...gparserstack.dpatch => 30-figparserstack.patch} |   12 +++-----
 .../{31_spelling.dpatch => 31-spelling.patch}      |    8 ++---
 ...2_papersize_b1.dpatch => 32-papersize-b1.patch} |    9 ++----
 ...mediabox.dpatch => 33-pdfimport-mediabox.patch} |    8 ++---
 ...{34_old_shadows.dpatch => 34-old-shadows.patch} |   10 ++-----
 ...CVE-2010-4262.dpatch => 35-CVE-2010-4262.patch} |   12 +++-----
 .../{36_libpng15.dpatch => 36-libpng15.patch}      |    8 ++---
 ...eps-reading.dpatch => 37-fix-eps-reading.patch} |    8 ++---
 debian/patches/series                              |   14 +++++++++
 debian/rules                                       |   27 +++++------------
 debian/source/format                               |    2 +-
 22 files changed, 68 insertions(+), 159 deletions(-)
 delete mode 100644 debian/README.source
 delete mode 100644 debian/patches/00list
 rename debian/patches/{02_Imakefile_Debian.dpatch => 02-Imakefile-Debian.patch} (86%)
 rename debian/patches/{03_usr_share.dpatch => 03-usr-share.patch} (77%)
 rename debian/patches/{04_app-defaults.dpatch => 04-app-defaults.patch} (82%)
 rename debian/patches/{05_xfig-libs.dpatch => 05-xfig-libs.patch} (65%)
 rename debian/patches/{12_network_images.dpatch => 12-network-images.patch} (97%)
 rename debian/patches/{13_remove_extra_libs.dpatch => 13-remove-extra-libs.patch} (76%)
 rename debian/patches/{30_figparserstack.dpatch => 30-figparserstack.patch} (80%)
 rename debian/patches/{31_spelling.dpatch => 31-spelling.patch} (75%)
 rename debian/patches/{32_papersize_b1.dpatch => 32-papersize-b1.patch} (76%)
 rename debian/patches/{33_pdfimport_mediabox.dpatch => 33-pdfimport-mediabox.patch} (80%)
 rename debian/patches/{34_old_shadows.dpatch => 34-old-shadows.patch} (69%)
 rename debian/patches/{35_CVE-2010-4262.dpatch => 35-CVE-2010-4262.patch} (67%)
 rename debian/patches/{36_libpng15.dpatch => 36-libpng15.patch} (91%)
 rename debian/patches/{37_fix-eps-reading.dpatch => 37-fix-eps-reading.patch} (87%)
 create mode 100644 debian/patches/series

diff --git a/debian/README.source b/debian/README.source
deleted file mode 100644
index 264b9b9..0000000
--- a/debian/README.source
+++ /dev/null
@@ -1,31 +0,0 @@
-This package uses dpatch to manage all modifications to the upstream
-source. Changes are stored in the source package as diffs in
-debian/patches and applied during the build.
-
-To get the fully patched source after unpacking the source package, cd
-to the root level of the source package and run:
-
-    debian/rules patch
-
-Removing a patch is as simple as removing its entry from the
-debian/patches/00list file, and please also remove the patch file
-itself.
-
-Creating a new patch is done with "dpatch-edit-patch patch XX_patchname"
-where you should replace XX with a new number and patchname with a
-descriptive shortname of the patch. You can then simply edit all the
-files your patch wants to edit, and then simply "exit 0" from the shell
-to actually create the patch file.
-
-To tweak an already existing patch, call "dpatch-edit-patch XX_patchname"
-and replace XX_patchname with the actual filename from debian/patches
-you want to use.
-
-To clean up afterwards again, "debian/rules unpatch" will do the
-work for you - or you can of course choose to call
-"fakeroot debian/rules clean" all together.
-
---- 
-
-original text by Gerfried Fuchs, edited by Junichi Uekawa <[email protected]>
-10 Aug 2008.
diff --git a/debian/changelog b/debian/changelog
index 16ac624..36a86b0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+xfig (1:3.2.5.b-2.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Remove deprecated dpatch and upgrade to packaging format "3.0 quilt".
+  * Update to Standards-Version to 3.9.3 and debhelper to 9.
+  * Add build-arch and build-indep targets; use dh_prep in rules file.
+
+ -- Jari Aalto <[email protected]>  Thu, 12 Apr 2012 20:29:14 +0300
+
 xfig (1:3.2.5.b-2) unstable; urgency=low
 
   * 35_CVE-2010-4262: add documentation to the patch.
diff --git a/debian/compat b/debian/compat
index 7ed6ff8..ec63514 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-5
+9
diff --git a/debian/control b/debian/control
index d9f3e8b..e41e1e4 100644
--- a/debian/control
+++ b/debian/control
@@ -2,8 +2,8 @@ Source: xfig
 Section: graphics
 Priority: optional
 Maintainer: Roland Rosenfeld <[email protected]>
-Standards-Version: 3.9.2
-Build-Depends: dpatch, dpkg (>= 1.7.2), debhelper (>= 5), libxt-dev,
+Standards-Version: 3.9.3
+Build-Depends: dpkg (>= 1.7.2), debhelper (>= 9), libxt-dev,
  libxpm-dev, libx11-dev, libxi-dev, xutils-dev, xaw3dg-dev (>= 1.5+E-2),
  libjpeg-dev, libpng-dev
 Homepage: http://www-epb.lbl.gov/xfig/
diff --git a/debian/patches/00list b/debian/patches/00list
deleted file mode 100644
index 1b6628d..0000000
--- a/debian/patches/00list
+++ /dev/null
@@ -1,14 +0,0 @@
-02_Imakefile_Debian.dpatch
-03_usr_share.dpatch
-04_app-defaults.dpatch
-05_xfig-libs.dpatch
-12_network_images.dpatch
-13_remove_extra_libs.dpatch
-30_figparserstack.dpatch
-31_spelling.dpatch
-32_papersize_b1.dpatch
-33_pdfimport_mediabox.dpatch
-34_old_shadows.dpatch
-35_CVE-2010-4262.dpatch
-36_libpng15.dpatch
-37_fix-eps-reading.dpatch
diff --git a/debian/patches/02_Imakefile_Debian.dpatch b/debian/patches/02-Imakefile-Debian.patch
similarity index 86%
rename from debian/patches/02_Imakefile_Debian.dpatch
rename to debian/patches/02-Imakefile-Debian.patch
index 8531056..c2e8ca3 100644
--- a/debian/patches/02_Imakefile_Debian.dpatch
+++ b/debian/patches/02-Imakefile-Debian.patch
@@ -1,10 +1,6 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## 02_Imakefile_Debian.dpatch by Roland Rosenfeld <[email protected]>
-##
-## All lines beginning with `## DP:' are a description of the patch.
-## DP: Adapt Imakefile to Debian's needs.
+From: Roland Rosenfeld <[email protected]>
+Subject: Adapt Imakefile to Debian's needs.
 
-@DPATCH@
 diff -urNad xfig~/Imakefile xfig/Imakefile
 --- xfig~/Imakefile
 +++ xfig/Imakefile
diff --git a/debian/patches/03_usr_share.dpatch b/debian/patches/03-usr-share.patch
similarity index 77%
rename from debian/patches/03_usr_share.dpatch
rename to debian/patches/03-usr-share.patch
index 70a79d4..4854d99 100644
--- a/debian/patches/03_usr_share.dpatch
+++ b/debian/patches/03-usr-share.patch
@@ -1,11 +1,6 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## 03_usr_share.dpatch by Roland Rosenfeld <[email protected]>
-##
-## All lines beginning with `## DP:' are a description of the patch.
-## DP: Change documentation, that image libraries are in
-## /usr/share/xfig and documentation is in /usr/share/doc/xfig.
+From: Roland Rosenfeld <[email protected]>
+Subject: Change documentation, that image libraries are in
 
-@DPATCH@
 diff -urNad xfig~/Doc/xfig.man xfig/Doc/xfig.man
 --- xfig~/Doc/xfig.man
 +++ xfig/Doc/xfig.man
diff --git a/debian/patches/04_app-defaults.dpatch b/debian/patches/04-app-defaults.patch
similarity index 82%
rename from debian/patches/04_app-defaults.dpatch
rename to debian/patches/04-app-defaults.patch
index 405730a..bcd9413 100644
--- a/debian/patches/04_app-defaults.dpatch
+++ b/debian/patches/04-app-defaults.patch
@@ -1,10 +1,6 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## 04_app-defaults.dpatch by Roland Rosenfeld <[email protected]>
-##
-## All lines beginning with `## DP:' are a description of the patch.
-## DP: Adusts app-defaults file to Debian requirements.
+From: Roland Rosenfeld <[email protected]>
+Subject: Adusts app-defaults file to Debian requirements.
 
-@DPATCH@
 diff -urNad xfig~/Fig.ad xfig/Fig.ad
 --- xfig~/Fig.ad
 +++ xfig/Fig.ad
diff --git a/debian/patches/05_xfig-libs.dpatch b/debian/patches/05-xfig-libs.patch
similarity index 65%
rename from debian/patches/05_xfig-libs.dpatch
rename to debian/patches/05-xfig-libs.patch
index 87d204a..9127658 100644
--- a/debian/patches/05_xfig-libs.dpatch
+++ b/debian/patches/05-xfig-libs.patch
@@ -1,10 +1,6 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## 05_xfig-libs.dpatch by Roland Rosenfeld <[email protected]>
-##
-## All lines beginning with `## DP:' are a description of the patch.
-## DP: mention xfig-libs package, if no libraries are available.
+From: Roland Rosenfeld <[email protected]>
+Subject: mention xfig-libs package, if no libraries are available.
 
-@DPATCH@
 diff -urNad xfig~/w_library.c xfig/w_library.c
 --- xfig~/w_library.c
 +++ xfig/w_library.c
diff --git a/debian/patches/12_network_images.dpatch b/debian/patches/12-network-images.patch
similarity index 97%
rename from debian/patches/12_network_images.dpatch
rename to debian/patches/12-network-images.patch
index 017d024..474626b 100644
--- a/debian/patches/12_network_images.dpatch
+++ b/debian/patches/12-network-images.patch
@@ -1,10 +1,6 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## 12_network_images.dpatch by Roland Rosenfeld <[email protected]>
-##
-## All lines beginning with `## DP:' are a description of the patch.
-## DP: Some network icons colored and/or combined by Roland Rosenfeld.
+From: Roland Rosenfeld <[email protected]>
+Subject: Some network icons colored and/or combined by Roland Rosenfeld.
 
-@DPATCH@
 diff -urNad xfig~/Libraries/Networks/Devices/firewall-pair.fig xfig/Libraries/Networks/Devices/firewall-pair.fig
 --- xfig~/Libraries/Networks/Devices/firewall-pair.fig
 +++ xfig/Libraries/Networks/Devices/firewall-pair.fig
diff --git a/debian/patches/13_remove_extra_libs.dpatch b/debian/patches/13-remove-extra-libs.patch
similarity index 76%
rename from debian/patches/13_remove_extra_libs.dpatch
rename to debian/patches/13-remove-extra-libs.patch
index 346f8c4..70baf49 100644
--- a/debian/patches/13_remove_extra_libs.dpatch
+++ b/debian/patches/13-remove-extra-libs.patch
@@ -1,10 +1,6 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## 13_remove_extra_libs.dpatch by Roland Rosenfeld <[email protected]>
-##
-## All lines beginning with `## DP:' are a description of the patch.
-## DP: Remove unnecessary dependencies on libz, libXmu, libSM, libICE, libXext
+From: Roland Rosenfeld <[email protected]>
+Subject: Remove unnecessary dependencies on libz, libXmu, libSM, libICE, libXext
 
-@DPATCH@
 diff -urNad xfig~/Imakefile xfig/Imakefile
 --- xfig~/Imakefile
 +++ xfig/Imakefile
diff --git a/debian/patches/30_figparserstack.dpatch b/debian/patches/30-figparserstack.patch
similarity index 80%
rename from debian/patches/30_figparserstack.dpatch
rename to debian/patches/30-figparserstack.patch
index 7f46682..c2b1089 100644
--- a/debian/patches/30_figparserstack.dpatch
+++ b/debian/patches/30-figparserstack.patch
@@ -1,12 +1,8 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## 30_figparserstack.dpatch by Hans de Goede <[email protected]>
-##
-## All lines beginning with `## DP:' are a description of the patch.
-## DP: Fix Stack-based buffer overflow by loading malformed .FIG files
-## DP: https://bugzilla.redhat.com/show_bug.cgi?id=543905
-## DP: Closes: #559274
+From: Hans de Goede <[email protected]>
+Subject: Fix Stack-based buffer overflow by loading malformed .FIG files
+ https://bugzilla.redhat.com/show_bug.cgi?id=543905
+ Closes: #559274
 
-@DPATCH@
 diff -urNad xfig~/f_readold.c xfig/f_readold.c
 --- xfig~/f_readold.c
 +++ xfig/f_readold.c
diff --git a/debian/patches/31_spelling.dpatch b/debian/patches/31-spelling.patch
similarity index 75%
rename from debian/patches/31_spelling.dpatch
rename to debian/patches/31-spelling.patch
index 942276c..384c769 100644
--- a/debian/patches/31_spelling.dpatch
+++ b/debian/patches/31-spelling.patch
@@ -1,10 +1,6 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## 31_spelling.dpatch by Roland Rosenfeld <[email protected]>
-##
-## All lines beginning with `## DP:' are a description of the patch.
-## DP: Fix spelling errors in binary.
+From: Roland Rosenfeld <[email protected]>
+Subject: Fix spelling errors in binary.
 
-@DPATCH@
 diff -urNad xfig~/f_load.c xfig/f_load.c
 --- xfig~/f_load.c
 +++ xfig/f_load.c
diff --git a/debian/patches/32_papersize_b1.dpatch b/debian/patches/32-papersize-b1.patch
similarity index 76%
rename from debian/patches/32_papersize_b1.dpatch
rename to debian/patches/32-papersize-b1.patch
index fa0bdf0..be79484 100644
--- a/debian/patches/32_papersize_b1.dpatch
+++ b/debian/patches/32-papersize-b1.patch
@@ -1,11 +1,6 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## 32_papersize_b1.dpatch by Roland Rosenfeld <[email protected]>
-##
-## All lines beginning with `## DP:' are a description of the patch.
-## DP: xfig -papersize b1 now really uses B1 instead of B10
-## DP: Closes: #535181
+From: Roland Rosenfeld <[email protected]>
+Subject: xfig -papersize b1 now really uses B1 instead of B10; Closes: #535181
 
-@DPATCH@
 diff -urNad xfig~/resources.c xfig/resources.c
 --- xfig~/resources.c
 +++ xfig/resources.c
diff --git a/debian/patches/33_pdfimport_mediabox.dpatch b/debian/patches/33-pdfimport-mediabox.patch
similarity index 80%
rename from debian/patches/33_pdfimport_mediabox.dpatch
rename to debian/patches/33-pdfimport-mediabox.patch
index 23de740..dcc26cf 100644
--- a/debian/patches/33_pdfimport_mediabox.dpatch
+++ b/debian/patches/33-pdfimport-mediabox.patch
@@ -1,10 +1,6 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## 33_pdfimport_mediabox.dpatch by [email protected]
-##
-## All lines beginning with `## DP:' are a description of the patch.
-## DP: Fix reading "/MediaBox" when importing PDF (Closes: #530898).
+From: [email protected]
+Subject: Fix reading "/MediaBox" when importing PDF (Closes: #530898).
 
-@DPATCH@
 diff -urNad xfig~/f_readeps.c xfig/f_readeps.c
 --- xfig~/f_readeps.c
 +++ xfig/f_readeps.c
diff --git a/debian/patches/34_old_shadows.dpatch b/debian/patches/34-old-shadows.patch
similarity index 69%
rename from debian/patches/34_old_shadows.dpatch
rename to debian/patches/34-old-shadows.patch
index ae8517b..a821a53 100644
--- a/debian/patches/34_old_shadows.dpatch
+++ b/debian/patches/34-old-shadows.patch
@@ -1,11 +1,7 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## 34_old_shadows.dpatch by Roland Rosenfeld <[email protected]>
-##
-## All lines beginning with `## DP:' are a description of the patch.
-## DP: Restore old shadow behavior. Reduce shadow width to 1 pixel and fix 
-## DP: a green scrollbar shadow.
+From: Roland Rosenfeld <[email protected]>
+Subject: Restore old shadow behavior. Reduce shadow width to 1 pixel and fix
+ a green scrollbar shadow.
 
-@DPATCH@
 diff -urNad xfig~/Fig.ad xfig/Fig.ad
 --- xfig~/Fig.ad
 +++ xfig/Fig.ad
diff --git a/debian/patches/35_CVE-2010-4262.dpatch b/debian/patches/35-CVE-2010-4262.patch
similarity index 67%
rename from debian/patches/35_CVE-2010-4262.dpatch
rename to debian/patches/35-CVE-2010-4262.patch
index af4e18e..c2857ad 100644
--- a/debian/patches/35_CVE-2010-4262.dpatch
+++ b/debian/patches/35-CVE-2010-4262.patch
@@ -1,12 +1,8 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## 35_CVE-2010-4262.dpatch by Dr. Werner Fink <[email protected]>
-##
-## All lines beginning with `## DP:' are a description of the patch.
-## DP: Fix stack-based buffer overflow by processing certain FIG images.
-## DP: See https://bugzilla.redhat.com/show_bug.cgi?id=659676
-## DP: Closes: 606257: CVE-2010-4262: Buffer overflow
+From: Dr. Werner Fink <[email protected]>
+Subject: Fix stack-based buffer overflow by processing certain FIG images.
+ See https://bugzilla.redhat.com/show_bug.cgi?id=659676
+ Closes: 606257: CVE-2010-4262: Buffer overflow
 
-@DPATCH@
 diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' xfig~/w_msgpanel.c xfig/w_msgpanel.c
 --- xfig~/w_msgpanel.c	2010-12-29 16:34:02.000000000 +0100
 +++ xfig/w_msgpanel.c	2010-12-29 16:48:34.000000000 +0100
diff --git a/debian/patches/36_libpng15.dpatch b/debian/patches/36-libpng15.patch
similarity index 91%
rename from debian/patches/36_libpng15.dpatch
rename to debian/patches/36-libpng15.patch
index fbeba17..a4da84e 100644
--- a/debian/patches/36_libpng15.dpatch
+++ b/debian/patches/36-libpng15.patch
@@ -1,10 +1,6 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## 36_libpng15.dpatch by Nobuhiro Iwamatsu <[email protected]>
-##
-## All lines beginning with `## DP:' are a description of the patch.
-## DP: Some changes to cooperate with libpng 1.5.
+From: Nobuhiro Iwamatsu <[email protected]>
+Subject: Some changes to cooperate with libpng 1.5.
 
-@DPATCH@
 diff -urNad '--exclude=CVS' '--exclude=.svn' xfig~/f_readpng.c xfig/f_readpng.c
 --- xfig~/f_readpng.c
 +++ xfig/f_readpng.c
diff --git a/debian/patches/37_fix-eps-reading.dpatch b/debian/patches/37-fix-eps-reading.patch
similarity index 87%
rename from debian/patches/37_fix-eps-reading.dpatch
rename to debian/patches/37-fix-eps-reading.patch
index 9316aa4..54eb9b4 100644
--- a/debian/patches/37_fix-eps-reading.dpatch
+++ b/debian/patches/37-fix-eps-reading.patch
@@ -1,10 +1,6 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## 37_fix-eps-reading.dpatch by Hans de Goede <[email protected]>
-##
-## All lines beginning with `## DP:' are a description of the patch.
-## DP: Fix importing of eps files.
+From: Hans de Goede <[email protected]>
+Subject: Fix importing of eps files.
 
-@DPATCH@
 diff -urNad '--exclude=CVS' '--exclude=.svn' xfig~/f_readeps.c xfig/f_readeps.c
 --- xfig~/f_readeps.c
 +++ xfig/f_readeps.c
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..69bec58
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,14 @@
+02-Imakefile-Debian.patch
+03-usr-share.patch
+04-app-defaults.patch
+05-xfig-libs.patch
+12-network-images.patch
+13-remove-extra-libs.patch
+30-figparserstack.patch
+31-spelling.patch
+32-papersize-b1.patch
+33-pdfimport-mediabox.patch
+34-old-shadows.patch
+35-CVE-2010-4262.patch
+36-libpng15.patch
+37-fix-eps-reading.patch
diff --git a/debian/rules b/debian/rules
index bb0ea64..ebff9a4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,15 +13,15 @@ LIBINSTDIR=`pwd`/debian/xfig-libs
 
 OPTIMIZE=
 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-        OPTIMIZE=-O0
+	OPTIMIZE=-O0
 else
-        OPTIMIZE=-O2
+	OPTIMIZE=-O2
 endif
 
 build: build-arch build-indep
 build-arch: build-stamp
 build-indep: build-stamp
-build-stamp: patch
+build-stamp:
 	dh_testdir
 
 	xmkmf -a
@@ -29,8 +29,7 @@ build-stamp: patch
 
 	touch build-stamp
 
-clean: clean-patched unpatch
-clean-patched:
+clean:
 	dh_testdir
 	dh_testroot
 	rm -f build-stamp 
@@ -44,11 +43,11 @@ install:
 install: build
 	dh_testdir
 	dh_testroot
-	dh_clean -k
+	dh_prep
 	dh_installdirs
 
 	$(MAKE) install.html DESTDIR=$(DOCINSTDIR)
-#       Remove superflous files from documentation:
+#	Remove superflous files from documentation:
 	rm -f $(DOCINSTDIR)/usr/share/doc/xfig/html/images/sav1a0.tmp
 
 	(cd $(DOCINSTDIR)/usr/share/doc/xfig/html; \
@@ -77,7 +76,7 @@ install: build
 	mv $(LIBINSTDIR)/usr/share/xfig/Libraries/Flags/Carribean \
 		$(LIBINSTDIR)/usr/share/xfig/Libraries/Flags/Caribbean
 
-#       unzip gzipped fig files:
+#	unzip gzipped fig files:
 #	find $(LIBINSTDIR)/usr/share/xfig/Libraries/ -name \*.fig.gz \
 #		| xargs gzip -d
 
@@ -108,7 +107,7 @@ install: build
 	echo 'Fig.inputStyle: OverTheSpot' >> \
 		$(INSTDIR)/etc/X11/ko_KR.eucKR/app-defaults/Fig
 
-# 	Install xpm icons and backward compatibility links
+#	Install xpm icons and backward compatibility links
 	for i in xfig16x16.xpm xfig32x32.xpm xfig64x64.xpm \
 		xfig16x16cmap.xpm  xfig32x32cmap.xpm xfig66x62cmap.xpm; do \
 	    install -m644 debian/$$i \
@@ -180,15 +179,5 @@ binary-arch: build install
 	dh_md5sums -a
 	dh_builddeb -a
 
-patch: patch-stamp
-patch-stamp:
-	dpatch apply-all
-#	dpatch call-all -a=pkg-info >patch-stamp
-	touch patch-stamp
-
-unpatch:
-	dpatch deapply-all
-	rm -rf patch-stamp debian/patched
-
 binary: binary-indep binary-arch
 .PHONY: build clean binary-indep binary-arch binary install
diff --git a/debian/source/format b/debian/source/format
index d3827e7..163aaf8 100644
--- a/debian/source/format
+++ b/debian/source/format
@@ -1 +1 @@
-1.0
+3.0 (quilt)
-- 
1.7.9.5

Reply via email to