From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 04 15:43:08 2020 Received: (at 42885) by debbugs.gnu.org; 4 Sep 2020 19:43:08 +0000 Received: from localhost ([127.0.0.1]:40658 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEHc3-0000rh-Qi for submit@debbugs.gnu.org; Fri, 04 Sep 2020 15:43:08 -0400 Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21121) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEHc1-0000rY-5D for 42885@debbugs.gnu.org; Fri, 04 Sep 2020 15:43:05 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1599248572; cv=none; d=zohomail.com; s=zohoarc; b=EYGzRj3rR4DLkE0mqoqthExywvJOUJT+pG9emfIcZtCOchdKP4nprJPMFUNaOPDqkr6tKzHUkS3To1W9JTPmiAEl/OXrfVIaxhRPI9SjYUOBPQe/EPww0bVVy7F3/nr205dbGYSno4HuhmQWqa+gxgHah96EiTzbS2opvn0yS0w= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1599248572; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=8GLBcKjHSlPe9Zx1k2kwfrlVYH8XWbGJdGdoDmzZEJU=; b=Uq1YHqYl48tAZadbNhu8bJcUcpThTlHafLkUgiNizH4klQ9UJcn78YmedBibES85dz/uvM1/njBYb4VBZeuGUWbStMRrlVm2OcRNSxAqNhW0ozeS09RN6s8REBdVtb0wPc9diBmKgSIqcNXo6Zn/vxewMYATPSvhzpnr/5oO3k4= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1599248572; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=8GLBcKjHSlPe9Zx1k2kwfrlVYH8XWbGJdGdoDmzZEJU=; b=FmSj/pU/raAL4AlUOZ/wXsc6sH/Ys03dzZ6YJouMG74xIczQqJuni+js0xi2xBuM 1lFzUHtf+nN8np+FFfwd7FASWSX0JwSaFl0WFHRyjU3H7lZuSWOMBuepMuaV2GnTRkC IOITGym0QpBUO02sUburHhyND9EjRKkFosqN89h0= Received: from localhost (p54ad4e44.dip0.t-ipconnect.de [84.173.78.68]) by mx.zohomail.com with SMTPS id 1599248568939488.61256104741733; Fri, 4 Sep 2020 12:42:48 -0700 (PDT) References: <20200816070318.18642-1-mail@brendan.scot> <20200816070318.18642-2-mail@brendan.scot> <20200824010501.GB14757@jasmine.lan> <87h7sszn4j.fsf@systemreboot.net> <6F7B2CEB-1A83-4B01-B815-1529359169E1@brendan.scot> <87eenwzgoa.fsf@systemreboot.net> <87y2lpvrrd.fsf@gnu.org> <87zh65csve.fsf@systemreboot.net> User-agent: mu4e 1.4.13; emacs 27.1 From: Ricardo Wurmus To: Arun Isaac Subject: Re: [bug#42885] [PATCH 2/4] gnu: Add mathjax-bin (MathJax 3). In-reply-to: <87zh65csve.fsf@systemreboot.net> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Fri, 04 Sep 2020 21:43:58 +0200 Message-ID: <871rjhfhtt.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 42885 Cc: 42885@debbugs.gnu.org, Ludovic =?utf-8?Q?Court=C3=A8s?= , Brendan Tildesley , Leo Famulari X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Arun Isaac writes: >> Arun, Leo, what=E2=80=99s the status of this patch series? >> >> https://issues.guix.gnu.org/42885 >> >> Can it be applied? > > Ricardo has clarified that we may consider the existing js-mathjax 2.7.2 > package to have been built from source even though it isn't the form > upstream uses for development. No problems there. > > But, like Brendan said, mathjax 3 is quite a different beast. With > mathjax 2, the source was in javascript, and our build system had merely > to minify it. But mathjax 3 is written in typescript that gets compiled > into javascript and then combined into "web component files" (this is > the first I'm hearing of web components and I'm not entirely clear what > they are). Since we don't have a typescript build system, packaging > mathjax 3 may be non-trivial. So, we should proceed with updating > calibre without mathjax support. There may be a way to transpile the TypeScript sources with swc, a babel-like transpiler with TypeScript support; it=E2=80=99s written in Rust= , so there may be a way to work around the JavaScript packaging problem. --=20 Ricardo