[Pkg-cli-apps-commits] r5111 - in /packages/smuxi/trunk/debian: README.source changelog

sebner-guest at users.alioth.debian.org sebner-guest at users.alioth.debian.org
Mon Sep 21 16:12:27 UTC 2009


Author: sebner-guest
Date: Mon Sep 21 16:12:27 2009
New Revision: 5111

URL: http://svn.debian.org/wsvn/pkg-cli-apps/?sc=1&rev=5111
Log:
Add README.source as we use quilt now

Added:
    packages/smuxi/trunk/debian/README.source
Modified:
    packages/smuxi/trunk/debian/changelog

Added: packages/smuxi/trunk/debian/README.source
URL: http://svn.debian.org/wsvn/pkg-cli-apps/packages/smuxi/trunk/debian/README.source?rev=5111&op=file
==============================================================================
--- packages/smuxi/trunk/debian/README.source (added)
+++ packages/smuxi/trunk/debian/README.source Mon Sep 21 16:12:27 2009
@@ -1,0 +1,57 @@
+This package uses quilt 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 configure quilt to use debian/patches instead of patches, you want
+either to export QUILT_PATCHES=debian/patches in your environment
+or use this snippet in your ~/.quiltrc:
+
+    for where in ./ ../ ../../ ../../../ ../../../../ ../../../../../; do
+        if [ -e ${where}debian/rules -a -d ${where}debian/patches ]; then
+                export QUILT_PATCHES=debian/patches
+        fi
+    done
+
+To get the fully patched source after unpacking the source package, cd to
+the root level of the source package and run:
+
+    quilt push -a
+
+The last patch listed in debian/patches/series will become the current
+patch.
+
+To add a new set of changes, first run quilt push -a, and then run:
+
+    quilt new <patch>
+
+where <patch> is a descriptive name for the patch, used as the filename in
+debian/patches.  Then, for every file that will be modified by this patch,
+run:
+
+    quilt add <file>
+
+before editing those files.  You must tell quilt with quilt add what files
+will be part of the patch before making changes or quilt will not work
+properly.  After editing the files, run:
+
+    quilt refresh
+
+to save the results as a patch.
+
+Alternately, if you already have an external patch and you just want to
+add it to the build system, run quilt push -a and then:
+
+    quilt import -P <patch> /path/to/patch
+    quilt push -a
+
+(add -p 0 to quilt import if needed). <patch> as above is the filename to
+use in debian/patches.  The last quilt push -a will apply the patch to
+make sure it works properly.
+
+To remove an existing patch from the list of patches that will be applied,
+run:
+
+    quilt delete <patch>
+
+You may need to run quilt pop -a to unapply patches first before running
+this command.

Modified: packages/smuxi/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-cli-apps/packages/smuxi/trunk/debian/changelog?rev=5111&op=diff
==============================================================================
--- packages/smuxi/trunk/debian/changelog (original)
+++ packages/smuxi/trunk/debian/changelog Mon Sep 21 16:12:27 2009
@@ -3,6 +3,7 @@
   * debian/patches: Convert everything to quilt
   * debian/rules: Rewrote to use quilt instead of dpatch
   * debian/control: Replace dpatch build dependecy with versioned quilt one
+  * Add debian/README.source as we are using quilt now
 
  -- Stefan Ebner <sebner at ubuntu.com>  Sat, 19 Sep 2009 21:19:10 +0200
 




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