-----BEGIN PGP SIGNED MESSAGE-----
Le 22/03/2014 05:33, Emilien Klein a écrit :
> On 03/21/2014 11:22 PM, François-Régis wrote:
>> Le 21/03/2014 07:45, Emilien Klein a écrit :
>> So Marcelo's recommandation goes on the good way to have uniform
>> workflow and should be written somwhere (as the recomand to provide
>> minify and source version).
>> We may have something like :
>> * Origin tarball should not include any minify code.
Maybe there is a missing “sourceless” here: it’s perfectly fine for a
source package to embed a convenient binary/prebuilt copy, as long as it
is not used in the binary package, but instead rebuild it from source
any different, the first point should read:
* Origin tarball should not include any sourceless minified code.
>>> Regarding the removal of the minified files: that is done to comply
>>> with the DFSG, as minified files are assimilated to compiled objects,
>>> not source code. As Debian requires the source to be provided, not the
>>> compiled binaries, the minified files must be removed fromt the
>>> upstream tarball.
Again, only if the source is not provided. An alternative in case
be to ship the source (e.g., dug up from their source repository, or
from JQuery) inside the debian directory, and rebuild it for (or do
nothing if it isn’t shipped in) the binary package: it can save a repack.
> The general idea is that you would have a get-orig-source target in
> d/rules that downloads the tarball, makes is compliant with DFSG, and
> recreate a new tarball.
Alternatively, the Excluded-Files feature of uscan(1) can do it for you.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
-----END PGP SIGNATURE-----