Package: ripole
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 f60f1dbed4c643019aec9ebbb5c862d9b8167174 Mon Sep 17 00:00:00 2001
From: Jari Aalto <jari.aa...@cante.net>
Date: Sat, 25 Feb 2012 10:29:18 -0500
Subject: [PATCH] format-3.0
Organization: Private
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit

Signed-off-by: Jari Aalto <jari.aa...@cante.net>
---
 debian/changelog                                   |    8 ++++++++
 debian/compat                                      |    2 +-
 debian/control                                     |    4 ++--
 ...000-Fix_segfault_when_outpath_is_not_set.patch} |    7 ++-----
 debian/patches/00list                              |    1 -
 debian/patches/series                              |    1 +
 debian/rules                                       |    5 ++---
 debian/source/format                               |    1 +
 8 files changed, 17 insertions(+), 12 deletions(-)
 rename debian/patches/{000-Fix_segfault_when_outpath_is_not_set.dpatch => 000-Fix_segfault_when_outpath_is_not_set.patch} (85%)
 delete mode 100644 debian/patches/00list
 create mode 100644 debian/patches/series
 create mode 100644 debian/source/format

diff --git a/debian/changelog b/debian/changelog
index d5ef74f..7e89d8e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+ripole (0.2.0+20081101.0215-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Remove dpatch and upgrade to packaging format "3.0 quilt".
+  * Update to Standards-Version to 3.9.3 and debhelper to 9.
+
+ -- Jari Aalto <jari.aa...@cante.net>  Sat, 25 Feb 2012 10:27:16 -0500
+
 ripole (0.2.0+20081101.0215-1) unstable; urgency=low
 
   * New upstream release.
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 cae6bb2..a601378 100644
--- a/debian/control
+++ b/debian/control
@@ -2,8 +2,8 @@ Source: ripole
 Section: utils
 Priority: optional
 Maintainer: Adam Cécile (Le_Vert) <gand...@le-vert.net>
-Build-Depends: debhelper (>= 5), dpatch
-Standards-Version: 3.8.1
+Build-Depends: debhelper (>= 9)
+Standards-Version: 3.9.3
 Homepage: http://www.pldaniels.com/ripole/
 
 Package: ripole
diff --git a/debian/patches/000-Fix_segfault_when_outpath_is_not_set.dpatch b/debian/patches/000-Fix_segfault_when_outpath_is_not_set.patch
similarity index 85%
rename from debian/patches/000-Fix_segfault_when_outpath_is_not_set.dpatch
rename to debian/patches/000-Fix_segfault_when_outpath_is_not_set.patch
index 40bcb48..3e5e8e9 100644
--- a/debian/patches/000-Fix_segfault_when_outpath_is_not_set.dpatch
+++ b/debian/patches/000-Fix_segfault_when_outpath_is_not_set.patch
@@ -1,8 +1,5 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## 000-Fix_segfault_when_outpath_is_not_set.dpatch
-## by Walter B. Rasmann <bs.x....@recursor.net
-##
-## DP: ripOLE just crashes if -d (output directory path) parameter is not set 
+From: Walter B. Rasmann <bs.x....@recursor.net
+Subject: ripOLE just crashes if -d (output directory path) parameter is not set 
 
 diff -U 8 -p ripole-0.2.0/ripole.c ripole-0.2.0-new/ripole.c
 --- ripole-0.2.0/ripole.c	2005-12-12 04:06:21.000000000 +0100
diff --git a/debian/patches/00list b/debian/patches/00list
deleted file mode 100644
index 4c59d72..0000000
--- a/debian/patches/00list
+++ /dev/null
@@ -1 +0,0 @@
-000-Fix_segfault_when_outpath_is_not_set.dpatch
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..d7d4971
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+000-Fix_segfault_when_outpath_is_not_set.patch
diff --git a/debian/rules b/debian/rules
index 0b225b8..a3b686c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,7 +1,6 @@
 #!/usr/bin/make -f
 
 # Dpatch targets
-include /usr/share/dpatch/dpatch.make
 
 CFLAGS = -Wall -g -I.
 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
@@ -11,12 +10,12 @@ else
 endif
 
 build: build-stamp
-build-stamp: patch-stamp
+build-stamp:
 	dh_testdir
 	$(MAKE) CFLAGS="$(CFLAGS)"
 	touch $@
 
-clean: unpatch
+clean:
 	dh_testdir
 	dh_testroot
 	rm -f build-stamp
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
-- 
1.7.9

Reply via email to