[Pkg-cli-apps-commits] r4257 - in /packages/ndoc/trunk/debian: README.Debian-source changelog control rules

hanska-guest at users.alioth.debian.org hanska-guest at users.alioth.debian.org
Wed Dec 3 15:59:34 UTC 2008


Author: hanska-guest
Date: Wed Dec  3 15:59:34 2008
New Revision: 4257

URL: http://svn.debian.org/wsvn/pkg-cli-apps/?sc=1&rev=4257
Log:
  + Standards-Version bumped to 3.8.0
    - debian/README.Debian-source updated

Modified:
    packages/ndoc/trunk/debian/README.Debian-source
    packages/ndoc/trunk/debian/changelog
    packages/ndoc/trunk/debian/control
    packages/ndoc/trunk/debian/rules

Modified: packages/ndoc/trunk/debian/README.Debian-source
URL: http://svn.debian.org/wsvn/pkg-cli-apps/packages/ndoc/trunk/debian/README.Debian-source?rev=4257&op=diff
==============================================================================
--- packages/ndoc/trunk/debian/README.Debian-source (original)
+++ packages/ndoc/trunk/debian/README.Debian-source Wed Dec  3 15:59:34 2008
@@ -8,3 +8,32 @@
 The bin/ directory, which only contains compilation output, was removed from 
 the upstream source to save space. This directory is recreated by the build 
 process.
+
+---
+
+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.

Modified: packages/ndoc/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-cli-apps/packages/ndoc/trunk/debian/changelog?rev=4257&op=diff
==============================================================================
--- packages/ndoc/trunk/debian/changelog (original)
+++ packages/ndoc/trunk/debian/changelog Wed Dec  3 15:59:34 2008
@@ -5,9 +5,11 @@
       (MD5SUMS not matching, though!)
   * debian/control:
     + debhelper dependency bumped to >= 7
+    + Standards-Version bumped to 3.8.0
+      - debian/README.Debian-source updated
   * debian/compat bumped to 7
 
- -- David Paleino <d.paleino at gmail.com>  Wed, 03 Dec 2008 16:48:35 +0100
+ -- David Paleino <d.paleino at gmail.com>  Wed, 03 Dec 2008 16:58:41 +0100
 
 ndoc (1.3.1-4) unstable; urgency=low
 

Modified: packages/ndoc/trunk/debian/control
URL: http://svn.debian.org/wsvn/pkg-cli-apps/packages/ndoc/trunk/debian/control?rev=4257&op=diff
==============================================================================
--- packages/ndoc/trunk/debian/control (original)
+++ packages/ndoc/trunk/debian/control Wed Dec  3 15:59:34 2008
@@ -12,7 +12,7 @@
  mono-gac (>= 1.1.6)
 Vcs-Svn: svn://svn.debian.org/pkg-cli-apps/packages/ndoc/trunk/
 Vcs-Browser: http://svn.debian.org/wsvn/pkg-cli-apps/packages/ndoc/trunk/
-Standards-Version: 3.7.3
+Standards-Version: 3.8.0
 DM-Upload-Allowed: yes
 
 Package: ndoc-console

Modified: packages/ndoc/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-cli-apps/packages/ndoc/trunk/debian/rules?rev=4257&op=diff
==============================================================================
--- packages/ndoc/trunk/debian/rules (original)
+++ packages/ndoc/trunk/debian/rules Wed Dec  3 15:59:34 2008
@@ -58,19 +58,18 @@
 binary-arch:
 
 get-orig-source:
-	uscan --force-download --download-version $(CURVER)
-	[ -d get-orig-source-tmp ] || mkdir get-orig-source-tmp/
-	rm -rf get-orig-source-tmp/*
-	unzip ../ndoc-devel-v$(CURVER).zip -d get-orig-source-tmp/
-	[ -d ndoc-$(CURVER) ] || mkdir ndoc-$(CURVER)/
-	rm -rf ndoc-$(CURVER)/*
-	mv get-orig-source-tmp/* ndoc-$(CURVER)/
-	tar -cf ../ndoc_$(CURVER).orig.tar ndoc-$(CURVER)/
-	gzip -9 ../ndoc_$(CURVER).orig.tar
+	[ -d ../tarballs ] || mkdir ../tarballs
+	uscan \
+		--force-download \
+		--download-version $(CURVER) \
+		--rename \
+		--repack \
+		--destdir ../tarballs
 	
-	[ -d ../tarballs ] || mkdir ../tarballs
-	mv ../ndoc_$(CURVER).orig.tar.gz ../tarballs
-	
-	rm -rf get-orig-source-tmp/ ndoc-$(CURVER)/
+	# Remove the bin/ directory
+	tar zxvf ../tarballs/ndoc_$(CURVER).orig.tar.gz -C .
+	rm -rf ndoc-$(CURVER)/bin/
+	tar cf ndoc_$(CURVER).orig.tar ndoc-$(CURVER)/
+	gzip -9 ndoc_$(CURVER).orig.tar
 
 .PHONY: clean build binary-indep binary-arch binary install 




More information about the Pkg-cli-apps-commits mailing list