From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id QJdQGexwRF8CWQAA0tVLHw (envelope-from ) for ; Tue, 25 Aug 2020 02:01:16 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id sKRAFexwRF+qRQAAB5/wlQ (envelope-from ) for ; Tue, 25 Aug 2020 02:01:16 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id A77E69402CC for ; Tue, 25 Aug 2020 02:01:13 +0000 (UTC) Received: from localhost ([::1]:47846 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kAOGr-0001Yj-7X for larch@yhetil.org; Mon, 24 Aug 2020 22:01:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39866) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kAOGk-0001YJ-HW for guix-patches@gnu.org; Mon, 24 Aug 2020 22:01:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:48135) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kAOGk-0001GS-83 for guix-patches@gnu.org; Mon, 24 Aug 2020 22:01:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kAOGk-0005FZ-5p for guix-patches@gnu.org; Mon, 24 Aug 2020 22:01:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42885] [PATCH 2/4] gnu: Add mathjax-3. Resent-From: Brendan Tildesley Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 25 Aug 2020 02:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42885 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42885@debbugs.gnu.org Cc: arunisaac@systemreboot.net, leo@famulari.name Received: via spool by 42885-submit@debbugs.gnu.org id=B42885.159832080720048 (code B ref 42885); Tue, 25 Aug 2020 02:01:02 +0000 Received: (at 42885) by debbugs.gnu.org; 25 Aug 2020 02:00:07 +0000 Received: from localhost ([127.0.0.1]:59681 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kAOFn-0005DB-C6 for submit@debbugs.gnu.org; Mon, 24 Aug 2020 22:00:07 -0400 Received: from mout-p-201.mailbox.org ([80.241.56.171]:53890) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kAOFk-0005CA-Nu for 42885@debbugs.gnu.org; Mon, 24 Aug 2020 22:00:02 -0400 Received: from smtp2.mailbox.org (smtp2.mailbox.org [IPv6:2001:67c:2050:105:465:1:2:0]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by mout-p-201.mailbox.org (Postfix) with ESMTPS id 4BbByL3DLQzQlL3; Tue, 25 Aug 2020 03:59:54 +0200 (CEST) X-Virus-Scanned: amavisd-new at heinlein-support.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brendan.scot; s=MBO0001; t=1598320790; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=9Fn6z9dTr2/AlX5+PPuYmuGUOYhO+1KOWUOhwib3WuM=; b=KGtsBHSte+x4H65/THA6LFCjcEDKWMgkUJuG+Y4FD4VXPqOk8l/wm4D4L+n9gk5xfzJ9Qj 8fzzBB4pt+G3VUmdqVj23x39VuL894DAhMylsU1sUhI6BIISZ2J4/Eo+cIu3RsqcGMnDer 01S9v7HWobiwUCsyuinw5hLMErJAnlcORqhYZ96wmF6wLPVzfCRBSwMdKhMxfm5J7ir5IR VRoLgduis+tRVlvF8L0iygAgsJp6Vp0UAPyMebjkU8nTgqot6OCgkdb6Pt8DncXktS6/KN MDD5XMgqAhofGPq2pcizyBUyyRC4P3olrT4q1CpZb4OaDmSIRd/QJDYyidKuzQ== Received: from smtp2.mailbox.org ([80.241.60.241]) by spamfilter05.heinlein-hosting.de (spamfilter05.heinlein-hosting.de [80.241.56.123]) (amavisd-new, port 10030) with ESMTP id TpOOTCMJRI7U; Tue, 25 Aug 2020 03:59:48 +0200 (CEST) References: <8b1e2bed-e543-44a2-574b-f3c2c5a14d3f@brendan.scot> From: Brendan Tildesley Message-ID: Date: Tue, 25 Aug 2020 11:59:42 +1000 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/mixed; boundary="------------D5C3B5BC672253DA9E9D97EE" Content-Language: en-US X-MBO-SPAM-Probability: X-Rspamd-Score: -6.97 / 15.00 / 15.00 X-Rspamd-Queue-Id: 3C617178E X-Rspamd-UID: 6e5db3 X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.7 (-) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=brendan.scot header.s=MBO0001 header.b=KGtsBHSt; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: -0.01 X-TUID: S0IgRP3cvORo This is a multi-part message in MIME format. --------------D5C3B5BC672253DA9E9D97EE Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit This replaces the second patch, renaming mathjax-bin to mathjax-3 since its not actually binary. --------------D5C3B5BC672253DA9E9D97EE Content-Type: text/x-patch; charset=UTF-8; name="0002-gnu-Add-mathjax-3.patch" Content-Transfer-Encoding: 8bit Content-Disposition: attachment; filename="0002-gnu-Add-mathjax-3.patch" >From 77e2312306c6684cdfc72f90e6be1a008e5e676f Mon Sep 17 00:00:00 2001 From: Brendan Tildesley Date: Sun, 16 Aug 2020 16:14:02 +1000 Subject: [PATCH 2/4] gnu: Add mathjax-3. * gnu/packages/javascript.scm: (mathjax-3): New variable. --- gnu/packages/javascript.scm | 40 +++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/gnu/packages/javascript.scm b/gnu/packages/javascript.scm index d5ff5bffee..57e8302094 100644 --- a/gnu/packages/javascript.scm +++ b/gnu/packages/javascript.scm @@ -4,6 +4,7 @@ ;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice ;;; Copyright © 2017, 2018, 2019, 2020 Efraim Flashner ;;; Copyright © 2018 Nicolas Goaziou +;;; Copyright © 2020 Brendan Tildesley ;;; ;;; This file is part of GNU Guix. ;;; @@ -128,6 +129,45 @@ plugins or software to be installed on the browser. So the page author can write web documents that include mathematics and be confident that readers will be able to view it naturally and easily."))) +(define-public mathjax-3 + (package + (name "mathjax") + (version "3.0.5") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/mathjax/MathJax") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1zd0chn0cjahi28qv3nzshwljz2hgmj6lizyvvd8qs89gsx0z3h9")))) + (build-system trivial-build-system) + (arguments + `(#:modules ((guix build utils)) + #:builder + (begin + (use-modules (guix build utils) + (ice-9 match)) + (let ((install-directory (string-append %output "/lib/node_modules/mathjax"))) + (mkdir-p install-directory) + (copy-recursively (string-append (assoc-ref %build-inputs "source")) + install-directory))))) + (home-page "https://www.mathjax.org/") + (synopsis "JavaScript display engine for LaTeX, MathML, and AsciiMath (prebuilt)") + (description "MathJax is a JavaScript display engine for LaTeX, MathML, +and AsciiMath notation that works in all modern browsers. It requires no +plugins or software to be installed on the browser. So the page author can +write web documents that include mathematics and be confident that readers will +be able to view it naturally and easily. + +The package is derived from not the true source but the built version of +MathJax 3 for distribution by upstream. This package should eventually be +replaced my a package built directly from the source at +https://github.com/mathjax/MathJax-src.") + (license license:asl2.0))) + (define-public js-respond (package (name "js-respond") -- 2.28.0 --------------D5C3B5BC672253DA9E9D97EE--