[Python-apps-commits] r1933 - in packages/clive/trunk/debian (7 files)

gothicx-guest at users.alioth.debian.org gothicx-guest at users.alioth.debian.org
Tue Oct 28 22:03:33 UTC 2008


    Date: Tuesday, October 28, 2008 @ 22:03:32
  Author: gothicx-guest
Revision: 1933

Fix man page and add patch system

Added:
  packages/clive/trunk/debian/README.source
  packages/clive/trunk/debian/patches/
  packages/clive/trunk/debian/patches/00list
  packages/clive/trunk/debian/patches/01_fix_man.dpatch
Modified:
  packages/clive/trunk/debian/changelog
  packages/clive/trunk/debian/control
  packages/clive/trunk/debian/rules

Added: packages/clive/trunk/debian/README.source
===================================================================
--- packages/clive/trunk/debian/README.source	                        (rev 0)
+++ packages/clive/trunk/debian/README.source	2008-10-28 22:03:32 UTC (rev 1933)
@@ -0,0 +1,9 @@
+The used patch system is dpatch.
+
+To patch the source:
+ * debian/rules patch
+To add a new patch:
+ * put it under debian/patches
+ * add it to debian/patches/00list
+
+See /usr/share/doc/dpatch/README.source.gz for more information.

Modified: packages/clive/trunk/debian/changelog
===================================================================
--- packages/clive/trunk/debian/changelog	2008-10-28 21:03:40 UTC (rev 1932)
+++ packages/clive/trunk/debian/changelog	2008-10-28 22:03:32 UTC (rev 1933)
@@ -1,7 +1,9 @@
 clive (1.0.1-1) UNRELEASED; urgency=low
 
   * New upstream version.
+  * Add debian/README.source.
   * debian/control:
+    + Add dpatch to build-depends.
     + Remove autotools-dev from b-p-i.
     + Replace ffmpeg by ffmpeg-debian.
     + Decrease debhelper version to 5.0.38.
@@ -12,6 +14,7 @@
   * debian/watch:
     + Fix URL for new 1.0.x version.
   * debian/rules:
+    + Add dpatch.
     + Replace ChangeLog (empty) by CHANGES.
   * debian/copyright:
     + Set to GPLv3 like upstream.

Modified: packages/clive/trunk/debian/control
===================================================================
--- packages/clive/trunk/debian/control	2008-10-28 21:03:40 UTC (rev 1932)
+++ packages/clive/trunk/debian/control	2008-10-28 22:03:32 UTC (rev 1933)
@@ -2,9 +2,9 @@
 Section: utils
 Priority: optional
 Maintainer: Python Applications Packaging Team <python-apps-team at lists.alioth.debian.org>
-Uploaders: Marco Rodrigues <gothicx at sapo.pt>, Mikhail Gusarov <dottedmag at dottedmag.net>
-Build-Depends: debhelper (>= 5.0.38)
-Build-Depends-Indep: python-central (>= 0.6), python-defaults (>= 2.4.4-2)
+Uploaders: Marco Rodrigues <gothicx at sapo.pt>
+Build-Depends: debhelper (>= 5.0.38), dpatch
+Build-Depends-Indep: python-central (>= 0.6), python-all-dev (>= 2.4.4-2)
 Standards-Version: 3.8.0
 XS-Python-Version: all
 Vcs-Svn: svn://svn.debian.org/python-apps/packages/clive/trunk/

Added: packages/clive/trunk/debian/patches/00list
===================================================================
--- packages/clive/trunk/debian/patches/00list	                        (rev 0)
+++ packages/clive/trunk/debian/patches/00list	2008-10-28 22:03:32 UTC (rev 1933)
@@ -0,0 +1 @@
+01_fix_man.dpatch

Added: packages/clive/trunk/debian/patches/01_fix_man.dpatch
===================================================================
--- packages/clive/trunk/debian/patches/01_fix_man.dpatch	                        (rev 0)
+++ packages/clive/trunk/debian/patches/01_fix_man.dpatch	2008-10-28 22:03:32 UTC (rev 1933)
@@ -0,0 +1,19 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 01_fix_man.patch.dpatch by Marco Rodrigues <gothicx at sapo.pt>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Fix manual lintian warning.
+
+ at DPATCH@
+diff -urNad clive-1.0.2~/man/clive.1 clive-1.0.2/man/clive.1
+--- clive-1.0.2~/man/clive.1	2008-10-13 17:36:58.000000000 +0100
++++ clive-1.0.2/man/clive.1	2008-10-28 21:20:21.000000000 +0000
+@@ -280,8 +280,6 @@
+ .RS 10
+ .B % clive\-passwd add yt
+ .br 
+-...
+-.br 
+ .B % clive \-\-youtube=passwd:yt
+ .RE
+ .IP 


Property changes on: packages/clive/trunk/debian/patches/01_fix_man.dpatch
___________________________________________________________________
Name: svn:executable
   + *

Modified: packages/clive/trunk/debian/rules
===================================================================
--- packages/clive/trunk/debian/rules	2008-10-28 21:03:40 UTC (rev 1932)
+++ packages/clive/trunk/debian/rules	2008-10-28 22:03:32 UTC (rev 1933)
@@ -1,14 +1,8 @@
 #!/usr/bin/make -f
 # -*- makefile -*-
 
-clean:
-	dh_testdir
-	dh_testroot
+include /usr/share/dpatch/dpatch.make
 
-	! [ -e Makefile ] || make clean
-
-	dh_clean
-
 configure: configure-stamp
 
 configure-stamp:
@@ -17,8 +11,14 @@
 	./configure --prefix=/usr --with-installed-urlgrabber --with-installed-feedparser --with-installed-newt
 	touch configure-stamp
 
-build: configure
+build: patch configure
 
+clean: unpatch
+	dh_testdir
+	dh_testroot
+	! [ -e Makefile ] || make clean
+	dh_clean
+
 install: build
 	dh_testdir
 	dh_testroot




More information about the Python-apps-commits mailing list