[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#27049: [PATCH] gnu: Add mathjax.
From: |
Ludovic Courtès |
Subject: |
bug#27049: [PATCH] gnu: Add mathjax. |
Date: |
Sun, 28 May 2017 19:41:28 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) |
Hello,
Brendan Tildesley <address@hidden> skribis:
> Arun Isaac 於 2017-05-24 07:43 寫道:
>> * gnu/packages/web.scm (mathjax): New variable.
>> [...]
>> +
>> + (let ((install-dir (string-append %output
>> "/share/webapps/mathjax"))
>> + (tar (string-append (assoc-ref %build-inputs "tar")
>> "/bin/tar"))
>> + (path (string-append (assoc-ref %build-inputs "gzip")
>> "/bin")))
>> + (mkdir-p install-dir)
>> + (chdir install-dir)
>> + (setenv "PATH" path)
>> + (system* tar "xvf" (assoc-ref %build-inputs "source") "--strip"
>> "1")))))
> This is installing many extraneous files like .gitignore, .npmignore,
> README.md, CONTRIBUTING, LICENSE, docs/, test/, latest.js. It may be
> best start with an 'unpack phase, and then install the needed files to
> the output directory.
> This package is around 178MiB like it is, and most of that due to the
> fonts. Would it be better to break this into two packages, mathjax, and
> font-mathjax?
Also, Arun: is this package really source code? Or does it contain
“minified” code and also bundles all its dependencies (which would not
be okay)?
Thanks,
Ludo’.
- bug#27049: [PATCH] gnu: Add mathjax., Arun Isaac, 2017/05/23
- bug#27049: [PATCH] gnu: Add mathjax., Brendan Tildesley, 2017/05/24
- bug#27049: [PATCH] gnu: Add mathjax.,
Ludovic Courtès <=
- bug#27049: [PATCH] gnu: Add mathjax., Arun Isaac, 2017/05/28
- bug#27049: [PATCH] gnu: Add mathjax., Brendan Tildesley, 2017/05/29
- Message not available
- bug#27049: [PATCH] gnu: Add mathjax., Ludovic Courtès, 2017/05/29
- bug#27049: [PATCH] gnu: Add mathjax., Jelle Licht, 2017/05/29
- bug#27049: [PATCH] gnu: Add mathjax., Ludovic Courtès, 2017/05/29
- bug#27049: [PATCH] gnu: Add mathjax., Jelle Licht, 2017/05/29
- bug#27049: [PATCH] gnu: Add mathjax., Ludovic Courtès, 2017/05/29
- bug#27049: [PATCH] gnu: Add mathjax., Arun Isaac, 2017/05/29
- bug#27049: [PATCH] gnu: Add mathjax., Mike Gerwitz, 2017/05/29