Differences between revisions 5 and 6
Revision 5 as of 2012-11-13 18:03:38
Size: 1713
Editor: ?markus tornow
Comment: typo
Revision 6 as of 2012-11-13 21:49:15
Size: 1689
Editor: GeoffSimmons
Comment: Use internal link.
Deletions are marked like this. Additions are marked like this.
Line 10: Line 10:
 * [[https://wiki.debian.org/UsingQuilt|using quilt debian wiki]]  * [[UsingQuilt|using quilt debian wiki]]

Translation(s): none


Links

Which contains several other links, one being:

Docu is also to be found at /usr/share/doc/quilt/ ; for example with:

lynx /usr/share/doc/quilt/quilt.html 

Basic Usage

Only changes outside of the debian directory need to be added with quilt. Before you make a change do:

quilt new $patchname

Add the file you have to edit:

quilt add $filename

Now edit the file you need to edit. When finished do

quilt refresh
quilt pop -a 

and ignore the warning.

If you are using git-buildpackage you will have to add debian/patches to the git-repo

git add debian/patches
git commit -m "added debian/patches"

and edit or create .gitignore to ignore .pc directory, by inserting it to said file. Again git add .gitignore and commit it.

$ grep .pc .gitignore 
.pc

git add .gitignore
git commit -m "added .pc to .gitignore"

Editing an existing patch

quilt push -a

edit the file you added with "quilt add $filename" again, say to correct a typo. Then do the same like above:

quilt refresh
quilt pop -a

and inform git about the changes:

git add debian/patches
git commit -m "added debian/patches"