From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60436) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dFPiz-0007ZR-QK for guix-patches@gnu.org; Mon, 29 May 2017 14:49:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dFPiw-00051v-HG for guix-patches@gnu.org; Mon, 29 May 2017 14:49:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:41026) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dFPiw-00050r-DP for guix-patches@gnu.org; Mon, 29 May 2017 14:49:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dFPiv-0002i3-Pb for guix-patches@gnu.org; Mon, 29 May 2017 14:49:01 -0400 Subject: bug#27049: Acknowledgement ([PATCH] gnu: Add mathjax.) Resent-Message-ID: Message-Id: <4e25e6a3.ADsAAkB0MYMAAAAAAAAAAAPEb_oAAAACwQwAAAAAAAW9WABZLGzj@mailjet.com> MIME-Version: 1.0 From: Arun Isaac Date: Tue, 30 May 2017 00:17:54 +0530 In-reply-to: <87efv8rcos.fsf@gnu.org> References: <15cc163d.ADsAAWz_hBsAAAAAAAAAAAOtUOAAAAACwQwAAAAAAAW9WABZJK0O@mailjet.com> <87efv8rcos.fsf@gnu.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 27049@debbugs.gnu.org Ludovic Courtès writes: > Arun Isaac skribis: > >>> + (let ((install-dir (string-append %output "/share/webapps/mathjax")) >> >> I don't know if this is the correct path to install mathjax to. Do we >> have any conventions/standards for this? Should I just put it in >> /share/mathjax ? > > Maybe share/javascript? I think we should do /share/javascript/mathjax > Does Node have an opinion on where JS should live? I have never actually used Node, and don't know much about it. Looking at https://stackoverflow.com/questions/5926672/where-does-npm-install-packages it seems that npm, by default, installs to /usr/local/lib/node and /usr/local/lib/node_modules > What does Debian do? Debian puts it under /usr/share/javascript/mathjax/. Debian has both minified code and the full "unpacked" source code installed.