all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ricardo Wurmus <rekado@elephly.net>
To: Arun Isaac <arunisaac@systemreboot.net>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: Packaging mathjax and other javascript libraries
Date: Sat, 27 May 2017 23:17:22 +0200	[thread overview]
Message-ID: <878tlif199.fsf@elephly.net> (raw)
In-Reply-To: <61768049.AEAAKoV-YrEAAAAAAAAAAAOtZhgAAAACwQwAAAAAAAW9WABZKcwM@mailjet.com>


Arun Isaac <arunisaac@systemreboot.net> writes:

>> 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 think mathjax being a kind of library, should be put in a
> javascript.scm with a "javascript-" prefix. This is similar to the way
> we treat python libraries with a "python-" prefix, emacs
> packages/libraries with a "emacs-" prefix, etc. WDYT?

Sounds good.  I would prefer a shorter prefix, though, such as “js-”.
We use “cl-” for Common Lisp, and I’m glad I don’t need to type so much
:)

> Pjotr Prins writes:
>
>> We also have clojurescript, purescript, elm and others to consider -
>> even if they generate JS. Is JS going to be our object format?
>
> That's an interesting question. Should we even install the source code
> after compiling these various languages to javascript? I am in favor of
> only installing the compiled javascript to some path like
> share/javascript/projectname/

Yes, only installing the compiled/minified JavaScript sounds like the
right thing to do.  Users can get the original sources with “guix build
-S”.

--
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
https://elephly.net

  reply	other threads:[~2017-05-27 21:17 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-25 17:00 Packaging mathjax and other javascript libraries Arun Isaac
2017-05-25 18:20 ` Pjotr Prins
2017-05-26  8:17 ` Ricardo Wurmus
2017-05-27 18:56   ` Arun Isaac
2017-05-27 21:17     ` Ricardo Wurmus [this message]
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=878tlif199.fsf@elephly.net \
    --to=rekado@elephly.net \
    --cc=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.