Re: Minifying a javascript library

2015-03-06 Thread Jonathan Underwood
On 6 March 2015 at 03:18, Kevin Kofler wrote: > Tom Hughes wrote: >> That may not be possible if the minimiser upstream is using is not, or >> maybe even cannot be, packaged for Fedora. > > Unfortunately, the popular minifier JSMin is non-Free (it contains the "no > evil" clause, see http://tanguy

Re: Minifying a javascript library

2015-03-05 Thread Kevin Kofler
Tom Hughes wrote: > That may not be possible if the minimiser upstream is using is not, or > maybe even cannot be, packaged for Fedora. Unfortunately, the popular minifier JSMin is non-Free (it contains the "no evil" clause, see http://tanguy.ortolo.eu/blog/article46/json-license ) and thus cann

Re: Minifying a javascript library

2015-03-05 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Mar 05, 2015 at 05:37:49PM +, Jonathan Underwood wrote: > On 5 March 2015 at 17:09, gil wrote: > > > > yum install -y closure-compiler > > if you have fedora > 20 > > should work > > Thanks - I had hoped to push packages for F20 too, but this is a start > at least :). IIRC, some depe

Re: Minifying a javascript library

2015-03-05 Thread Tom Hughes
On 05/03/15 15:08, Jonathan Underwood wrote: I am trying to package up the java script library web-socket-js in order to unbundle it from xpra (currently under review). The javascript packaging guidelines[1] require that "If a JavaScript library typically is shipped as minified or compiled code,

Re: Minifying a javascript library

2015-03-05 Thread Jonathan Underwood
On 5 March 2015 at 17:09, gil wrote: > > yum install -y closure-compiler > if you have fedora > 20 > should work Thanks - I had hoped to push packages for F20 too, but this is a start at least :). -- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listin

Re: Minifying a javascript library

2015-03-05 Thread gil
Il 05/03/2015 17:48, Jonathan Underwood ha scritto: On 5 March 2015 at 16:43, Zbigniew Jędrzejewski-Szmek wrote: On Thu, Mar 05, 2015 at 03:08:47PM +, Jonathan Underwood wrote: Hi, I am trying to package up the java script library web-socket-js in order to unbundle it from xpra (current

Re: Minifying a javascript library

2015-03-05 Thread Jonathan Underwood
On 5 March 2015 at 16:43, Zbigniew Jędrzejewski-Szmek wrote: > On Thu, Mar 05, 2015 at 03:08:47PM +, Jonathan Underwood wrote: >> Hi, >> >> I am trying to package up the java script library web-socket-js in >> order to unbundle it from xpra (currently under review). The >> javascript packaging

Re: Minifying a javascript library

2015-03-05 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Mar 05, 2015 at 03:08:47PM +, Jonathan Underwood wrote: > Hi, > > I am trying to package up the java script library web-socket-js in > order to unbundle it from xpra (currently under review). The > javascript packaging guidelines[1] require that "If a JavaScript > library typically is

Minifying a javascript library

2015-03-05 Thread Jonathan Underwood
Hi, I am trying to package up the java script library web-socket-js in order to unbundle it from xpra (currently under review). The javascript packaging guidelines[1] require that "If a JavaScript library typically is shipped as minified or compiled code, it must be compiled or minified as part of