From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: James Thomas Newsgroups: gmane.emacs.devel Subject: Re: ELPA submission: mathjax.el Date: Sun, 27 Oct 2024 03:33:02 +0530 Message-ID: <8634kijze1.fsf@gmx.net> References: <87h68zxpmo.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4334"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Oct 27 00:04:17 2024 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1t4otM-00013B-TE for ged-emacs-devel@m.gmane-mx.org; Sun, 27 Oct 2024 00:04:16 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t4osN-0002VY-Cb; Sat, 26 Oct 2024 18:03:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t4osL-0002VP-Ei for emacs-devel@gnu.org; Sat, 26 Oct 2024 18:03:13 -0400 Original-Received: from mout.gmx.net ([212.227.17.21]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t4osJ-0008Fx-2W for emacs-devel@gnu.org; Sat, 26 Oct 2024 18:03:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.net; s=s31663417; t=1729980188; x=1730584988; i=jimjoe@gmx.net; bh=Gg89N4qLlmcc2BCu6Ue2P5dM9naoi96Er1PSeuUjevc=; h=X-UI-Sender-Class:From:To:Subject:In-Reply-To:References:Date: Message-ID:MIME-Version:Content-Type:cc:content-transfer-encoding: content-type:date:from:message-id:mime-version:reply-to:subject: to; b=LoJMHjLPkUyQJkGHOzjEWctDfQiLlLh75hSCkdbJVDdiJHn2ZWtVAuPLAYos4m9O ahu49J8b6125yDCFiirkKDq4yiuKMqwhd0SuyobiUxfz5IR+cDqkjvTrgq7ryPBxI RIuiAGVQDQZfmu1F4kJbdr146+E5wiBX2AlFhgOZ4/GjEeEMqqYTRFbHa4R4F3yag EtY/2bNzzxi63gVl/uo3LrLQMHw6NiyaYYRSVpSqQRbWb11csHsAMtSn16jmbBWMJ 19FwnLq0wYCtV5uTVa11A5g5bXSDhl1D9RnIuYqcdt/ibN9xgsDQXdghMG8+y/46w g+YIVOReFEb/ZuNHIg== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from user-Inspiron-3493 ([42.108.29.104]) by mail.gmx.net (mrgmx104 [212.227.17.174]) with ESMTPSA (Nemesis) id 1MF3DM-1t70jb15wW-007Qto for ; Sun, 27 Oct 2024 00:03:08 +0200 In-Reply-To: <87h68zxpmo.fsf@gmail.com> (Augusto Stoffel's message of "Sat, 26 Oct 2024 09:57:51 +0200") X-Provags-ID: V03:K1:vEtZPuP/BDs9JQU0mWNIQbQse5MYTHdNiG9r2F/dYmrcGz9hWPh 3AfhXWT3ed1xcTTbD03Dawl1YOERkcLWz+ZjWqwKl5W5LgivIrT/VmEbviWZPmz356nAHFs B03eP5DYG8MCu4fNY+95AJRGMM1+xSjgMrRWn3h1eIWQtERf6GROrK4mEWPr2/K+iKp2umj fVRLke6pgHHQQdPM/m5AA== UI-OutboundReport: notjunk:1;M01:P0:6GyWS1ioFGU=;Td+HSnD9CXk+1RftZQt4VDr7aHi rxHrAvBCLkcKGT/hwY2IXN5WR7LuyZ8ZgyIK/R4V1VwtewvuaxHJYXeBfKyagf2dA0qlhnJEM k/2xnwrdtMEU8B+AaD8bYcviSRZRMNmmFZRnI62MehdTmHekwUG1/LKvNZA4OqVanLcimgjbc oR59GBvXBLZvC6hHZSDH+EyJtuJblo4WNINmWFLAKFAF+W0/uGfBQGiWtN/5wTRMWGImA6gI/ H03QTVhT5N8VkzJoA0HyrUtKwbid7vRLvSQq4TUCN3DcgsDkhQypTFJVIGncXSQfLyP/DhHHn sY23zAd/+JgLUoMmPRBupgo3Y5GpQ7wO0M+e8yv8ligLlPkqq57h26czaLLVnkPN3MGq1xmpa 3/ffJGfwuCU8GfZjB5/qBuh2DRZvSpF4PMWcp9dgRJHpvSUW8aNUKfnfXTUgl6+p87yH5kChB mMYZ/x/BrK/4CQN0zs/p8XRTBm+suptdzR2FE/LgpG7AgcahS+3Bhx8KcHYNzvxMrJg5PH4us 1jWCR1XNDII1eOPW81VNdcTgcLDuwXxO11u/ji66XK4PRQ282yKZKtrmRJ+cmcKM4anTAqZqx fTMwFzeweiPojli+qF7Io63DlHem5+jYUiw+EDVrFBNphUhr4Alruj2Yf+gwiE7KQU+H9lJLL m88jXhp7M5gnRZAIXEVYBjKjGaES/9t21zUaaRUxHHYkj6WVyjht9T8g2blzZlcIdEL6UiZAY BmWddnWNG2vm/c1YBaYApQEIz+baeQ8YO5sCpM/Y2lrrh1legsBCUmURc/P2uP7SgHHk+nEz Received-SPF: pass client-ip=212.227.17.21; envelope-from=jimjoe@gmx.net; helo=mout.gmx.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:324860 Archived-At: Augusto Stoffel wrote: >> > B. If the build environment can run containers, I can include a >> > suitable Dockerfile. >> >> Container systems in general present the same kind of pitfalls as npm: >> they put lots of free modules and lots of nonfree modules into a >> bucket and making sure you don't pull out any of the nonfree ones is >> your problem. > > That's correct. But note that when your container declaration starts > with > > FROM docker.io/debian:stable > > then you know you're just running on an isolated copy of Debian stable. > You have access to exactly the same nonfree software you could get in > the ELPA build system itself (which runs Debian stable). > >> I've been told there are important differences between the well-known >> container systems in this regard, and I don't remember how Docker >> stacks up. MAYBE if we consult a Docker expert we will find it can be >> used safely. But we had better study this carefully. >> >> System distributions include binary packages to speed installation. >> We can surely package mathjax this way somehow or other. But we must >> release sources with a build recipe too. If we include mathjax >> somehoe in Emacs, or in GNU in any way, we _must_ include a way to >> build it from source. That includes any special tools it needs. >> >> If the makefile to compile mathjax uses a container, it had better >> include the rules to build that container, manually specifying which >> modules to include in the container. Somewhere there must be rules to >> rebuild THOSE modules from source. > > I've just mentioned containers as a hypothetical technical solution, > it's not being considered seriously. In any case, there seems to be a Guix package for it: https://packages.guix.gnu.org/packages/js-mathjax/ So it should be trivial to make a 'free' container out of. --