From: Sven Hoexter Date: Thu, 11 Sep 2008 19:33:29 +0000 (+0000) Subject: Make README.source a little bit nicer and add some more information about how to... X-Git-Tag: debian/7.19.0-1~6 X-Git-Url: https://git.sven.stormbind.net/?a=commitdiff_plain;h=470969e303d29fed19363c62842166d791e01901;p=sven%2Ftclcurl.git Make README.source a little bit nicer and add some more information about how to use quilt --- diff --git a/debian/README.source b/debian/README.source index ab782ac..2728b1e 100644 --- a/debian/README.source +++ b/debian/README.source @@ -27,41 +27,50 @@ and is far from beeing complete. dpkg-source -x the package and change into that directory // Set the path to the patches correctly so that quilt can find them -sven@marvin:/tmp/foo/tclcurl-7.19.0$ export QUILT_PATCHES=debian/patches +tclcurl-7.19.0$ export QUILT_PATCHES=debian/patches // Check on the different patches available -sven@marvin:/tmp/foo/tclcurl-7.19.0$ quilt series +tclcurl-7.19.0$ quilt series man-section reformat-tclcurl3 correct-linking // Apply the correct-linking patch, this will cause quilt to apply all patches // stacked on the selected one first. -sven@marvin:/tmp/foo/tclcurl-7.19.0$ quilt push correct-linking +tclcurl-7.19.0$ quilt push correct-linking [...] // Take a look at the current diff -sven@marvin:/tmp/foo/tclcurl-7.19.0$ quilt diff +tclcurl-7.19.0$ quilt diff [...] // Open configure for editing -sven@marvin:/tmp/foo/tclcurl-7.19.0$ quilt edit configure +tclcurl-7.19.0$ quilt edit configure [...] // Refresh the patch you're working on -sven@marvin:/tmp/foo/tclcurl-7.19.0$ quilt refresh +tclcurl-7.19.0$ quilt refresh Refreshed patch correct-linking // Remove the patch from your working stack -sven@marvin:/tmp/foo/tclcurl-7.19.0$ quilt pop +tclcurl-7.19.0$ quilt pop Removing patch correct-linking Restoring configure Restoring configure.in Now at patch reformat-tclcurl3 -This should be enough to get your modifications in. +// Add a new patch +tclcurl-7.19.0$ quilt new my-patch +Patch my-patch is now on top + +You can now edit, refresh and pop this patch of the stack +when you're done. + +// Importing an external patch is also possible +tclcurl-7.19.0$ quilt import -P /path/to/ext-patch + Adding patches to quilt without actually using it