all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Arun Isaac <arunisaac@systemreboot.net>
To: guix-devel <guix-devel@gnu.org>
Subject: Packaging mathjax and other javascript libraries
Date: Thu, 25 May 2017 22:30:25 +0530	[thread overview]
Message-ID: <18f42204.AEUAKedMGncAAAAAAAAAAAOtZhgAAAACwQwAAAAAAAW9WABZJw2v@mailjet.com> (raw)


A couple of days back, I submitted a patch packaging mathjax. My
conversations with Brendan there raised some more general questions. So,
I'm posting here for wider visibility.

https://debbugs.gnu.org/cgi/bugreport.cgi?bug=27049

The patch I submitted simply extracts the mathjax tarball into
/share/webapps/mathjax. Arch/Parabola use this kind of "webapps"
path. But, Debian puts it in /share/javascript/mathjax. So far, we have
not adopted any convention for Guix. What path convention should we
adopt? Is it necessary to distinguish between webapps and non-webapps,
like Arch/Parabola do, or is it better to just put it in a javascript
folder like Debian does? Are there other alternative approaches?

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.

Brendan also pointed out that mathjax is not just code served to web
browsers, but also used in programs like Calibre.

There are so many javascript libraries out there -- mathjax, d3.js,
jquery, etc, etc. Packaging them would be extremely useful for
self-hosting. But, we need to agree on good practices, so that we don't
run into trouble later.

Do share your thoughts.

             reply	other threads:[~2017-05-25 17:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-25 17:00 Arun Isaac [this message]
2017-05-25 18:20 ` Packaging mathjax and other javascript libraries Pjotr Prins
2017-05-26  8:17 ` Ricardo Wurmus
2017-05-27 18:56   ` Arun Isaac
2017-05-27 21:17     ` Ricardo Wurmus
2017-05-28  6:03       ` Arun Isaac
2017-05-28 13:26   ` Brendan Tildesley
2017-05-28 18:45     ` Arun Isaac

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=18f42204.AEUAKedMGncAAAAAAAAAAAOtZhgAAAACwQwAAAAAAAW9WABZJw2v@mailjet.com \
    --to=arunisaac@systemreboot.net \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.