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

Re: Minified javascripts in packages



Paul Wise <pabs@debian.org> writes:

> On Mon, Apr 13, 2015 at 11:37 AM, Ben Finney wrote:
>
> > Can we agree, in the context of the original post of this thread:
> >
> > Rebuilding from source *is* a reasonable requirement, attainable with
> > what we have today in Debian, for JavaScript works.
>
> The first mail mentioned that grunt is not yet in Debian and seemed to
> suggest this is required for building newer versions of jQuery

I don't know what Grunt is, or what role it plays in building jQuery. If
Grunt is a build dependency, it seems “package it as free software in
Debian” is a resonable pre-requisite for those jQuery works to be in
Debian.

> and some software uses/embeds prebuilt copies of these newer versions
> of jQuery.

Yes, there is a lot of such software. I think the point to be made here
is that, unlike kernel firmware, compiling JavaScript does not require
onerous toolchains.

As I understand it, no JavaScript library is special enough to be an
exception to our general requirement that all parts of Debian must be
demonstrably buildable from source form, with only what's in Debian
already.

> So your statement doesn't appear to be correct as we are missing grunt
> and newer versions of jQuery.

Right, I wasn't clear enough: I'm saying that despite all the other
non-JavaScript cases brought up later in the thread, the requirement
(build from source form, with only build dependencies also in Debian)
applies just fine to JavaScript libraries.

Can we agree on that?

-- 
 \     “I must say that I find television very educational. The minute |
  `\       somebody turns it on, I go to the library and read a book.” |
_o__)                                                    —Groucho Marx |
Ben Finney


Reply to: