summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/README.source29
-rw-r--r--debian/changelog5
-rw-r--r--debian/control2
3 files changed, 34 insertions, 2 deletions
diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..9c3627b
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,29 @@
+cscope for Debian
+-----------------
+
+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.
diff --git a/debian/changelog b/debian/changelog
index c8d1d82..ecc8cac 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,8 +2,11 @@ cscope (15.7a-2) unstable; urgency=low
* Correctly install and remove emacs library file (closes: #515164). Thanks
to Benoit Izac for the patch.
+ * Add README.source file (text taken from
+ /usr/share/doc/dpatch/README.source)
+ * Update to Standards-Version 3.8.3
- -- Tobias Klauser <tklauser@distanz.ch> Tue, 20 Oct 2009 20:51:39 +0200
+ -- Tobias Klauser <tklauser@distanz.ch> Wed, 21 Oct 2009 13:29:16 +0200
cscope (15.7a-1) unstable; urgency=high
diff --git a/debian/control b/debian/control
index 721d833..6bc2b1b 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: devel
Priority: optional
Maintainer: Tobias Klauser <tklauser@distanz.ch>
Build-Depends: debhelper (>= 7), dpatch, autotools-dev, bison, flex, libncurses5-dev
-Standards-Version: 3.8.1
+Standards-Version: 3.8.3
Homepage: http://cscope.sourceforge.net
Vcs-Git: http://git.distanz.ch/scm/debian/pkg-cscope.git
Vcs-Browser: http://git.distanz.ch/?p=debian/pkg-cscope.git