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

Re: Bug#489900: Cleanup in .orig.tar.gz or debian/rules?



Florian Grandel <jerico.dev@gmail.com> writes:
> If you use 1)
> - How do you get your deleted binaries back in during clean phase? 
> AFAIK clean target has to reverse all changes the build process
> introduced.

Easiest way to do this is to move the libraries somewhere else for
build, and then back either at the end of build or only in clean.

> If you use 2)
> - I find this procedure rather dangerous in practice as java build
> processes tend to involve complex classpath issues. It is probable

You are right, and as you probably have already noticed, I failed on
this - I had taken out only the servlet.jar but other binary-only jars
are being used in the Debian package...

> As long as the initial cleansing of the source tarball is automated,
> simple and reproducible I do not consider this a very far departure
> from the original source. IMO you don't modify the source at all you
> just strip binaries which are not part of the source anyway. (And you
> keep source package downloads considerable smaller for those who have
> a 250k-emerging-market-country internet access as I do ;-) ).

That is absolutely correct. My reason for keeping the source intact is
to allow the user to verify the correctness of the original source via
easily comparing it to the upstream package. Both reasons are IMO
equally valid, and both are allowed by the ftpmasters.

-- 
* Sufficiently advanced magic is indistinguishable from technology (T.P)  *
*           PGP public key available @ http://www.iki.fi/killer           *


Reply to: