[Pkg-javascript-devel] Bug#512915: affected css files
Simon McVittie
smcv at debian.org
Thu Jul 8 20:28:36 UTC 2010
On Fri, 29 Jan 2010 at 16:26:12 +0100, Alexander Reichle-Schmehl wrote:
> * Alexander Reichle-Schmehl <tolimar at debian.org> [100129 15:56]:
>
> > However, the many (all?) css files are compressed, too, and sadly they
> > don't have that -min.css, only the compressed css. It might be possible
> > to add the real source for them and "build" them with yui-compressor
> > during package build; so the package would fulfil the dfsg and would be
> > saved to the upcoming release.
>
> Okay, I give up for now; I don't understand $upstream build system good
> enough, to understand which css files of src/ are compressed to the
> specific build directories.
The trick here appears to be that the Debian package is based on the upstream
release zip file, yui_2.8.1.zip (as documented in debian/README.Debian-source),
whereas the preferred form for modification found in upstream git is really
something else.
There is an upstream build system, but sadly it uses a wrapper 'builder',
around Ant. The 'builder' git repository contains (a modified version of?)
JSLint (with the "used for Good, not Evil" joke/non-free-clause), an embedded
binary copy of Rhino, five binary copies of yui-compressor (each of which might
contain its own copy of Rhino, I haven't checked), and a binary copy of
ant-contrib with a bug fixed (which may or may not have also been fixed in
Debian's copy).
Having discovered those, I must admit that I gave up on further investigation
for the moment, but I suspect that the way forward here would be to have a new
orig.tar.gz containing snapshots of an appropriate version of both yui2 and
builder, with unnecessary binaries removed.
Regards,
Simon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 793 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-javascript-devel/attachments/20100708/6c2066c9/attachment.pgp>
More information about the Pkg-javascript-devel
mailing list