[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

How to dpatch a file inside a tarball inside an .orig.tar.gz?



Hi,

The eximdoc4 source package is built from two upstream tarballs, one
with the texinfo docs and one with the html docs. To massage this into
Debian source package format, the two upstream .tar.bz2 tarballs are
tar.gz'ed together to form eximdoc4_foo.tar.gz.

It has now shown to be necessary to apply patches to the upstream
docs. I would like to use dpatch for that.

Which approach is the most promising and least ugly?

(1)
Have a 01_unpack.dpatch file which doesn't patch, but unpack the
upstream tarballs?

(2)
Transform the "Debian upstream tarball" (which is locally built anyway
to include the two upstream tarballs in unpacked form? The tar.gz will
be much bigger then since bz2 compression is rather effective on the
text docs.

(3)
Modify debian/rules to first unpack, second patch, third build?

Is there a package which does this and can be taken as a template?

Greetings
Marc

-- 
-------------------------------------- !! No courtesy copies, please !! -----
Marc Haber         |   " Questions are the         | Mailadresse im Header
Mannheim, Germany  |     Beginning of Wisdom "     | http://www.zugschlus.de/
Nordisch by Nature | Lt. Worf, TNG "Rightful Heir" | Fon: *49 621 72739834



Reply to: