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

upstream source



Hi,
I got the automake/conf stuff to work, the diff is very small now, thanks!

My next problem is with another wanna-be package, the orig.tar.gz contains
illegal flags for directories, which have to be corrected after unpacking
(the author did not want to release a new version yet, just to correct that
and he thinks its ok as it is...). The problem comes, when the diff is being
created, dpkg-buildpackage can not read files which are in "illegal"
directories in the orig.tar.gz, the diff can not be created -> no source
package. Ive seen in some packages (ie xfree) a different approach. The
original source is left as it is, put, without any (not even name) change
into an orig.tar.gz and is extracted from debian/rules, patches are
applied, unapplied, etc. Is this scheme documented somehow/where? I could
try to copy it from xfree, but its a bit compplicated and includes a few
things, which I do not need now, ie I do not need many seperate patches to
be applied and unapplied, I just want to extract the source, fix some
permissions and build. After building (in the clean target) I guess I have
to delete the complete unpacked source. Im just looking for a cookbook
recepie how to make my initial package that way, ie
dh_make_with_real_orig_source or something :-)

Christian


Reply to: