1 ==================================
2 Quilt using package in your hands
3 ==================================
5 This package makes use of a debian/patches/ directory maintained
6 with quilt. The integration of the actual patches in the build process
7 is done with the inclusion of /usr/share/quilt/quilt.make in debian/rules.
13 You can still modify this package (e.g. for NMUs) through editing
14 the source but be aware that this might collide with patches integrated
17 Since one of the patches strips linking flags from the configure and
18 configure.in files re-libtoolizing etc. pp. will result in build problems.
21 Modify this package with quilt
22 ==============================
24 This is a small example to get you started with quilt on this package
25 and is far from beeing complete.
27 dpkg-source -x the package and change into that directory
29 // Set the path to the patches correctly so that quilt can find them
30 tclcurl-7.19.0$ export QUILT_PATCHES=debian/patches
32 // Check on the different patches available
33 tclcurl-7.19.0$ quilt series
38 // Apply the correct-linking patch, this will cause quilt to apply all patches
39 // stacked on the selected one first.
40 tclcurl-7.19.0$ quilt push correct-linking
43 // Take a look at the current diff
44 tclcurl-7.19.0$ quilt diff
48 // Open configure for editing
49 tclcurl-7.19.0$ quilt edit configure
52 // Refresh the patch you're working on
53 tclcurl-7.19.0$ quilt refresh
54 Refreshed patch correct-linking
56 // Remove the patch from your working stack
57 tclcurl-7.19.0$ quilt pop
58 Removing patch correct-linking
60 Restoring configure.in
62 Now at patch reformat-tclcurl3
65 tclcurl-7.19.0$ quilt new my-patch
66 Patch my-patch is now on top
68 You can now edit, refresh and pop this patch of the stack
71 // Importing an external patch is also possible
72 tclcurl-7.19.0$ quilt import -P <patch> /path/to/ext-patch
76 Adding patches to quilt without actually using it
77 =================================================
79 You can operate without using quilt. You just need
80 to add a proper patch to debian/patches and add the
81 name to the series file in the same directory.