On Sunday 13 July 2008 13:10:24 Benjamin Mesing wrote: > Hello, Hello,
> I am trying to understand the new dpkg-source format 3.0 (quilt). > There are two points in the documentation (man-page) I do not > understand: > * In the section "Building" of the description of 3.0 (quilt) it > is stated: > "The updated debian directory and the list of modified > binaries is then used to regenerate the debian tarball." > Why is it "regenerate" instead of "generate" here? I believe, it > is not uncommon, that no debian tarball exists before. I don't know why regenerate is used, sorry. > * In the same section there is a note: > "Note: dpkg-source expects the source tree to have all patches > applied when you generate the source package. This is not the > case when the source tree has been obtained by unpacking a > source package using the Format: 1.0 for instance." > But unpacking format 1.0 packages does lead to a tree with all > patches applied, doesn't it? Not always, since extracting a non-native package prepared as format 1.0 is done by first unpacking the .orig.tar.gz and then applying the patch in the .diff.gz. Now, you have two kinds of diff.gz - hooligan ones which directly modify upstream files when applied as one fat, monolitic and illogical changeset, and such that create logically separated diffs in debian/patches/ which are then applied build time. > Does this refer to using some > external patch system like dpatch? Not mandatory. Directly citing from #482741: "In this process, if the .diff.gz contains changes to upstream files, dpkg-source will have created a corresponding patch in debian/patches/debian-changes-2.1.0-3 and will have registered that patch in a quilt series (debian/patches/series, it is created if needed). All the patches listed in the "series" file are applied directly during the extraction (dpkg-source -x). quilt itself is used if available (and will thus lead to the creation of the .pc directory), otherwise dpkg-source applies the patches by itself." > I would file a bug report against dpkg-source if you believe my concerns > are justified. Sure, you may still file a bug if you feel the manpage needs improvement. -- pub 4096R/0E4BD0AB 2003-03-18 <people.fccf.net/danchev/key pgp.mit.edu> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

