[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Packaging mathjax and other javascript libraries
From: |
Brendan Tildesley |
Subject: |
Re: Packaging mathjax and other javascript libraries |
Date: |
Sun, 28 May 2017 23:26:34 +1000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.8.0 |
Ricardo Wurmus 於 2017-05-26 18:17 寫道:
> Arun Isaac <address@hidden> writes:
>
> [...]
> I would be in favour of doing it the Debian way. It’s difficult to draw
> a line between a web application and a JavaScript library, so I’d rather
> not have to make a decision like that each time we package something
> written in JavaScript.
>
>> Should we have any prefix in the package name for javascript libraries
>> such as mathjax? Apparently, Debian uses the "libjs-" prefix. Also, it
>> might be a good idea to have a separate file
>> (gnu/packages/javascript.scm) for these javascript libraries.
> So far we have separated packages according to their purpose. There are
> a few exceptions, such as python.scm, which would best be split up. If
> possible I’d rather have JavaScript libraries in modules that indicate
> what their purpose is. General purpose frameworks, on the other hand,
> could very well fit in a javascript.scm.
>
I also wondered if mathjax should be broken up into js-mathjax and
font-mathjax, since it is 180MiB or so. Some distros even just delete
some of the fonts.