From unknown Sat Sep 13 15:28:06 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#59102] [PATCH 2/2] gnu: Add mogan. Resent-From: Zhu Zihao Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 07 Nov 2022 11:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 59102 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 59102@debbugs.gnu.org Cc: Zhu Zihao X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.166781875717422 (code B ref -1); Mon, 07 Nov 2022 11:00:02 +0000 Received: (at submit) by debbugs.gnu.org; 7 Nov 2022 10:59:17 +0000 Received: from localhost ([127.0.0.1]:33446 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1orzqX-0004Wr-BT for submit@debbugs.gnu.org; Mon, 07 Nov 2022 05:59:17 -0500 Received: from lists.gnu.org ([209.51.188.17]:43346) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1orzqT-0004Wa-IM for submit@debbugs.gnu.org; Mon, 07 Nov 2022 05:59:16 -0500 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 1orzqT-00067V-5G for guix-patches@gnu.org; Mon, 07 Nov 2022 05:59:13 -0500 Received: from mail-m974.mail.163.com ([123.126.97.4]) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1orzqO-0006bz-7o for guix-patches@gnu.org; Mon, 07 Nov 2022 05:59:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-Id:MIME-Version; bh=dN4Hs x9pfw8YKcG7hqZ9W2cutyYbpHxihWAcbLteOZ0=; b=THbbh/FCVlVxblGH+PC8z ObivEX6zS1K9z7fs8MlwTNUkOaE7oGVBzXcyZFM8BgrBhiytrcgD/CdZq4T9YKg+ movahCZ7cOLpo+yxumsEicio1O6pvg+is/bhEWTVcFF2uWjGNC/sbzmlQVV+LIw3 x1Q9TvT3uzSTGtsFqk1ekE= Received: from localhost.localdomain (unknown [27.38.249.137]) by smtp4 (Coremail) with SMTP id HNxpCgC3v3vc5Ghj2z1lqw--.13350S3; Mon, 07 Nov 2022 18:58:59 +0800 (CST) From: Zhu Zihao Date: Mon, 7 Nov 2022 18:58:27 +0800 Message-Id: <20221107105827.10327-2-all_but_last@163.com> X-Mailer: git-send-email 2.38.0 In-Reply-To: <20221107105827.10327-1-all_but_last@163.com> References: <20221107105827.10327-1-all_but_last@163.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-TRANSID: HNxpCgC3v3vc5Ghj2z1lqw--.13350S3 X-Coremail-Antispam: 1Uf129KBjvJXoWxJrWxZFyDKF17Gw4rXF43KFg_yoW8ZFy3pr WfGry5u3s5KrW3Ja93Wa129F1a9r95tFWUG3y3A3y5ta45WrWvyry2kws8Aasruw17Aw17 uw4fWF4xWFyY9rJanT9S1TB71UUUUUUqnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDUYxBIdaVFxhVjvjDU0xZFpf9x0JUwiSPUUUUU= X-Originating-IP: [27.38.249.137] X-CM-SenderInfo: pdoosuxxwbztlvw6il2tof0z/1tbiFBOyr1aEAmQ6lAAAsA Received-SPF: pass client-ip=123.126.97.4; envelope-from=all_but_last@163.com; helo=mail-m974.mail.163.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) 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: -2.4 (--) * gnu/packages/text-editors.scm (mogan): New variable. --- gnu/packages/text-editors.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/text-editors.scm b/gnu/packages/text-editors.scm index ca502994c5..cddbf06c90 100644 --- a/gnu/packages/text-editors.scm +++ b/gnu/packages/text-editors.scm @@ -59,6 +59,7 @@ (define-module (gnu packages text-editors) #:use-module (gnu packages code) #:use-module (gnu packages cpp) #:use-module (gnu packages crates-io) + #:use-module (gnu packages curl) #:use-module (gnu packages datastructures) #:use-module (gnu packages documentation) #:use-module (gnu packages fontutils) @@ -895,6 +896,39 @@ (define-public texmacs (license license:gpl3+) (home-page "https://www.texmacs.org/tmweb/home/welcome.en.html"))) +(define-public mogan + (package + (inherit texmacs) + (name "mogan") + (version "1.1.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/XmacsLabs/mogan") + (commit (string-append "v" version)))) + (sha256 + (base32 "04wz6xmimjv2l6baxgzm8vyq5grg102m3l4wq8i6bglv529yp4ff")))) + (inputs + (modify-inputs (package-inputs texmacs) + ;; Replaced by S7 scheme + ;; TODO: Maybe unbundle S7 + (delete "guile") + (prepend curl))) + (arguments + (substitute-keyword-arguments (package-arguments texmacs) + ((#:phases orig) + #~(modify-phases #$orig + ;; The non-deterministic compression issue is solved in Mogan. + (delete 'gzip-flags))))) + (synopsis "Structural editor delivered by Xmacs Labs") + (description + "Mogan is a fork of GNU TeXmacs created by Xmacs Labs. Its goal is +make everyone to enjoy it fluently and develop new feature for everyone to learn +and create science and technology.") + (license license:gpl3+) + (home-page "https://gitee.com/XmacsLabs/mogan"))) + (define-public textpieces (package (name "textpieces") -- 2.38.0 From unknown Sat Sep 13 15:28:06 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#59102] [PATCH 2/2] gnu: Add mogan. Resent-From: Nicolas Goaziou Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 08 Nov 2022 21:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59102 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Zhu Zihao Cc: 59102@debbugs.gnu.org Received: via spool by 59102-submit@debbugs.gnu.org id=B59102.166794129112647 (code B ref 59102); Tue, 08 Nov 2022 21:02:02 +0000 Received: (at 59102) by debbugs.gnu.org; 8 Nov 2022 21:01:31 +0000 Received: from localhost ([127.0.0.1]:38298 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1osVis-0003Hv-Kb for submit@debbugs.gnu.org; Tue, 08 Nov 2022 16:01:30 -0500 Received: from relay10.mail.gandi.net ([217.70.178.230]:38631) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1osViq-0003Hd-3e for 59102@debbugs.gnu.org; Tue, 08 Nov 2022 16:01:28 -0500 Received: (Authenticated sender: admin@nicolasgoaziou.fr) by mail.gandi.net (Postfix) with ESMTPSA id 3A6BF24000B; Tue, 8 Nov 2022 21:01:18 +0000 (UTC) From: Nicolas Goaziou References: <20221107105827.10327-1-all_but_last@163.com> <20221107105827.10327-2-all_but_last@163.com> Date: Tue, 08 Nov 2022 22:01:18 +0100 In-Reply-To: <20221107105827.10327-2-all_but_last@163.com> (Zhu Zihao's message of "Mon, 7 Nov 2022 18:58:27 +0800") Message-ID: <87iljpkvoh.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) 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.7 (-) Hello, Zhu Zihao writes: > * gnu/packages/text-editors.scm (mogan): New variable. Thank you. I applied the first patch of the set. Some comments about this one follow. > + (arguments > + (substitute-keyword-arguments (package-arguments texmacs) > + ((#:phases orig) > + #~(modify-phases #$orig > + ;; The non-deterministic compression issue is solved in Mogan. > + (delete 'gzip-flags))))) Unlike TeXmacs, Mogan ships with tests. Could you also run them? > + (synopsis "Structural editor delivered by Xmacs Labs") I don't think the ads is warranted here. Maybe "Scientific text editor" is better. > + (description > + "Mogan is a fork of GNU TeXmacs created by Xmacs Labs. Its goal is > +make everyone to enjoy it fluently and develop new feature for everyone to learn > +and create science and technology.") This description is not very descriptive. I don't have any good idea, the repository is not very helpful for that matter. At a minimum, I suggest to remove "created by Xmacs Labs" and separate sentences with two spaces. The second should also be replaced. > + (home-page "https://gitee.com/XmacsLabs/mogan"))) Could you move home-page above synopsis? Regards, -- Nicolas Goaziou From unknown Sat Sep 13 15:28:06 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#59102] [PATCH 2/2] gnu: Add mogan. Resent-From: Zhu Zihao Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 23 Nov 2022 10:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59102 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Nicolas Goaziou Cc: 59102@debbugs.gnu.org Received: via spool by 59102-submit@debbugs.gnu.org id=B59102.166920033527352 (code B ref 59102); Wed, 23 Nov 2022 10:46:02 +0000 Received: (at 59102) by debbugs.gnu.org; 23 Nov 2022 10:45:35 +0000 Received: from localhost ([127.0.0.1]:53797 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oxnG2-000776-Lt for submit@debbugs.gnu.org; Wed, 23 Nov 2022 05:45:35 -0500 Received: from m12.mail.163.com ([220.181.12.197]:51976) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oxnFx-00076p-3j for 59102@debbugs.gnu.org; Wed, 23 Nov 2022 05:45:33 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-ID:MIME-Version; bh=ZRJHS I08nU1UacaLs/jaKd4qeORimwSaDIHPI3ilxAo=; b=WY69ojqixc3eKxPFjMoWH OfQ2eG7y/L5NNeZb/ANfiPC9mjXE+SZmGgE6+N17fBSDHj1ACYll8toO0/CdKOIf NDqpg5+DkHFa2lsIHMunhRvj7Domk3jM5oM7B75jVxh3VqQSVPfLjD8ixK0hfhpA kCw/AoaclBYzttdpfUaXEA= Received: from asus-laptop (unknown [163.125.249.174]) by zwqz-smtp-mta-g0-2 (Coremail) with SMTP id _____wBX1vq9+X1jqlwPAA--.1065S2; Wed, 23 Nov 2022 18:45:18 +0800 (CST) References: <20221107105827.10327-1-all_but_last@163.com> <20221107105827.10327-2-all_but_last@163.com> <87iljpkvoh.fsf@nicolasgoaziou.fr> User-agent: mu4e 1.8.11; emacs 29.0.50 From: Zhu Zihao Date: Wed, 23 Nov 2022 18:42:09 +0800 In-reply-to: <87iljpkvoh.fsf@nicolasgoaziou.fr> Message-ID: <86leo2t0ee.fsf@163.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-CM-TRANSID: _____wBX1vq9+X1jqlwPAA--.1065S2 X-Coremail-Antispam: 1Uf129KBjvdXoWrtr18Wr17ZF15tF4kCr45Wrg_yoWkuFX_Kr 4vyF92va1IkFs0vw1Fyr4DJFZ7W39rXa40qrWagry0yr1fXanrJFZ7trW7ZFy3Ar45Zrnx Kr1Syay8A3sF9jkaLaAFLSUrUUUUUb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUvcSsGvfC2KfnxnUUI43ZEXa7xRGYLBDUUUUU== X-Originating-IP: [163.125.249.174] X-CM-SenderInfo: pdoosuxxwbztlvw6il2tof0z/xtbBawDCr1et6xtViwAAsS X-Spam-Score: 0.0 (/) 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 (-) --=-=-= Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" --==-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Sorry for the late reply! I missed this mail in my mailbox :(=20 Nicolas Goaziou writes: > Unlike TeXmacs, Mogan ships with tests. Could you also run them? The "tests" folder in mogan is inherited from TeXmacs, I think it's OK to not run them if we don't run the test of TeXmacs.=20 > >> + (synopsis "Structural editor delivered by Xmacs Labs") > > I don't think the ads is warranted here. Maybe "Scientific text editor" > is better. > >> + (description >> + "Mogan is a fork of GNU TeXmacs created by Xmacs Labs. Its goal is >> +make everyone to enjoy it fluently and develop new feature for everyone= to learn >> +and create science and technology.") > > This description is not very descriptive. I don't have any good idea, > the repository is not very helpful for that matter. At a minimum, > I suggest to remove "created by Xmacs Labs" and separate sentences with > two spaces. The second should also be replaced. > >> + (home-page "https://gitee.com/XmacsLabs/mogan"))) > > Could you move home-page above synopsis? fixed in new patch. I also make Mogan use qt-build-system because Mogan cannot find the breeze icon without XDG environment variables wrapping. --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIsEARYIADMWIQT4UAIrVkIEZilSHr2K2nJqP6LM8gUCY335uRUcYWxsX2J1dF9s YXN0QDE2My5jb20ACgkQitpyaj+izPJQZQEA2glbvhtFA12VU+LWi+abw8ttK5qP bsH+68LqsdAP1ykBAIen+Sbce35LkuI7nySjMiQcFGwdC0rk6Daeah8shtYB =FoPi -----END PGP SIGNATURE----- --==-=-=-- --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-gnu-Add-mogan.patch >From c7d14125e93c497a15c27fb4ac90e1d33efc698c Mon Sep 17 00:00:00 2001 From: Zhu Zihao Date: Sat, 14 May 2022 22:19:06 +0800 Subject: [PATCH] gnu: Add mogan. * gnu/packages/text-editors.scm (mogan): New variable. --- gnu/packages/text-editors.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/text-editors.scm b/gnu/packages/text-editors.scm index ed77113726..57341cd198 100644 --- a/gnu/packages/text-editors.scm +++ b/gnu/packages/text-editors.scm @@ -49,6 +49,7 @@ (define-module (gnu packages text-editors) #:use-module (guix build-system glib-or-gtk) #:use-module (guix build-system meson) #:use-module (guix build-system python) + #:use-module (guix build-system qt) #:use-module ((guix licenses) #:prefix license:) #:use-module (gnu packages) #:use-module (gnu packages aspell) @@ -59,6 +60,7 @@ (define-module (gnu packages text-editors) #:use-module (gnu packages code) #:use-module (gnu packages cpp) #:use-module (gnu packages crates-io) + #:use-module (gnu packages curl) #:use-module (gnu packages datastructures) #:use-module (gnu packages documentation) #:use-module (gnu packages fontutils) @@ -895,6 +897,39 @@ (define-public texmacs (license license:gpl3+) (home-page "https://www.texmacs.org/tmweb/home/welcome.en.html"))) +(define-public mogan + (package + (inherit texmacs) + (name "mogan") + (version "1.1.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/XmacsLabs/mogan") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "04wz6xmimjv2l6baxgzm8vyq5grg102m3l4wq8i6bglv529yp4ff")))) + (build-system qt-build-system) + (inputs + (modify-inputs (package-inputs texmacs) + ;; Replaced by S7 scheme + ;; TODO: Maybe unbundle S7 + (delete "guile") + (prepend curl))) + (arguments + (substitute-keyword-arguments (package-arguments texmacs) + ((#:phases orig) + #~(modify-phases #$orig + ;; The non-deterministic compression issue is solved in Mogan. + (delete 'gzip-flags))))) + (home-page "https://github.com/XmacsLabs/mogan") + (synopsis "Scientific structural text editor") + (description + "Mogan is a scientific structural text editor, a fork of GNU TeXmacs.") + (license license:gpl3+))) + (define-public textpieces (package (name "textpieces") -- 2.38.1 --=-=-= Content-Type: text/plain -- Retrieve my PGP public key: gpg --recv-keys B3EBC086AB0EBC0F45E0B4D433DB374BCEE4D9DC Zihao --=-=-=-- From unknown Sat Sep 13 15:28:06 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Zhu Zihao Subject: bug#59102: closed (Re: [bug#59102] [PATCH 2/2] gnu: Add mogan.) Message-ID: References: <87h6ymnfk5.fsf@nicolasgoaziou.fr> <20221107105827.10327-2-all_but_last@163.com> X-Gnu-PR-Message: they-closed 59102 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 59102@debbugs.gnu.org Date: Sat, 26 Nov 2022 11:04:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1669460642-20688-1" This is a multi-part message in MIME format... ------------=_1669460642-20688-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #59102: [PATCH 2/2] gnu: Add mogan. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 59102@debbugs.gnu.org. --=20 59102: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D59102 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1669460642-20688-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 59102-done) by debbugs.gnu.org; 26 Nov 2022 11:03:33 +0000 Received: from localhost ([127.0.0.1]:37968 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oysy5-0005N0-K4 for submit@debbugs.gnu.org; Sat, 26 Nov 2022 06:03:33 -0500 Received: from relay11.mail.gandi.net ([217.70.178.231]:38057) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oysy3-0005Mj-Fb for 59102-done@debbugs.gnu.org; Sat, 26 Nov 2022 06:03:32 -0500 Received: (Authenticated sender: admin@nicolasgoaziou.fr) by mail.gandi.net (Postfix) with ESMTPSA id B17B6100004; Sat, 26 Nov 2022 11:03:23 +0000 (UTC) From: Nicolas Goaziou To: Zhu Zihao Subject: Re: [bug#59102] [PATCH 2/2] gnu: Add mogan. References: <20221107105827.10327-1-all_but_last@163.com> <20221107105827.10327-2-all_but_last@163.com> <87iljpkvoh.fsf@nicolasgoaziou.fr> <86leo2t0ee.fsf@163.com> Date: Sat, 26 Nov 2022 12:03:22 +0100 In-Reply-To: <86leo2t0ee.fsf@163.com> (Zhu Zihao's message of "Wed, 23 Nov 2022 18:42:09 +0800") Message-ID: <87h6ymnfk5.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 59102-done Cc: 59102-done@debbugs.gnu.org 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.7 (-) Hello, Zhu Zihao writes: > Sorry for the late reply! I missed this mail in my mailbox :( No problem. > The "tests" folder in mogan is inherited from TeXmacs, I think it's OK > to not run them if we don't run the test of TeXmacs. Fair enough. > fixed in new patch. > > I also make Mogan use qt-build-system because Mogan cannot find the > breeze icon without XDG environment variables wrapping. OK. Applied. Thank you. Regards, -- Nicolas Goaziou ------------=_1669460642-20688-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 7 Nov 2022 10:59:17 +0000 Received: from localhost ([127.0.0.1]:33446 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1orzqX-0004Wr-BT for submit@debbugs.gnu.org; Mon, 07 Nov 2022 05:59:17 -0500 Received: from lists.gnu.org ([209.51.188.17]:43346) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1orzqT-0004Wa-IM for submit@debbugs.gnu.org; Mon, 07 Nov 2022 05:59:16 -0500 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 1orzqT-00067V-5G for guix-patches@gnu.org; Mon, 07 Nov 2022 05:59:13 -0500 Received: from mail-m974.mail.163.com ([123.126.97.4]) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1orzqO-0006bz-7o for guix-patches@gnu.org; Mon, 07 Nov 2022 05:59:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-Id:MIME-Version; bh=dN4Hs x9pfw8YKcG7hqZ9W2cutyYbpHxihWAcbLteOZ0=; b=THbbh/FCVlVxblGH+PC8z ObivEX6zS1K9z7fs8MlwTNUkOaE7oGVBzXcyZFM8BgrBhiytrcgD/CdZq4T9YKg+ movahCZ7cOLpo+yxumsEicio1O6pvg+is/bhEWTVcFF2uWjGNC/sbzmlQVV+LIw3 x1Q9TvT3uzSTGtsFqk1ekE= Received: from localhost.localdomain (unknown [27.38.249.137]) by smtp4 (Coremail) with SMTP id HNxpCgC3v3vc5Ghj2z1lqw--.13350S3; Mon, 07 Nov 2022 18:58:59 +0800 (CST) From: Zhu Zihao To: guix-patches@gnu.org Subject: [PATCH 2/2] gnu: Add mogan. Date: Mon, 7 Nov 2022 18:58:27 +0800 Message-Id: <20221107105827.10327-2-all_but_last@163.com> X-Mailer: git-send-email 2.38.0 In-Reply-To: <20221107105827.10327-1-all_but_last@163.com> References: <20221107105827.10327-1-all_but_last@163.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-TRANSID: HNxpCgC3v3vc5Ghj2z1lqw--.13350S3 X-Coremail-Antispam: 1Uf129KBjvJXoWxJrWxZFyDKF17Gw4rXF43KFg_yoW8ZFy3pr WfGry5u3s5KrW3Ja93Wa129F1a9r95tFWUG3y3A3y5ta45WrWvyry2kws8Aasruw17Aw17 uw4fWF4xWFyY9rJanT9S1TB71UUUUUUqnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDUYxBIdaVFxhVjvjDU0xZFpf9x0JUwiSPUUUUU= X-Originating-IP: [27.38.249.137] X-CM-SenderInfo: pdoosuxxwbztlvw6il2tof0z/1tbiFBOyr1aEAmQ6lAAAsA Received-SPF: pass client-ip=123.126.97.4; envelope-from=all_but_last@163.com; helo=mail-m974.mail.163.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit Cc: Zhu Zihao 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: -2.4 (--) * gnu/packages/text-editors.scm (mogan): New variable. --- gnu/packages/text-editors.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/text-editors.scm b/gnu/packages/text-editors.scm index ca502994c5..cddbf06c90 100644 --- a/gnu/packages/text-editors.scm +++ b/gnu/packages/text-editors.scm @@ -59,6 +59,7 @@ (define-module (gnu packages text-editors) #:use-module (gnu packages code) #:use-module (gnu packages cpp) #:use-module (gnu packages crates-io) + #:use-module (gnu packages curl) #:use-module (gnu packages datastructures) #:use-module (gnu packages documentation) #:use-module (gnu packages fontutils) @@ -895,6 +896,39 @@ (define-public texmacs (license license:gpl3+) (home-page "https://www.texmacs.org/tmweb/home/welcome.en.html"))) +(define-public mogan + (package + (inherit texmacs) + (name "mogan") + (version "1.1.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/XmacsLabs/mogan") + (commit (string-append "v" version)))) + (sha256 + (base32 "04wz6xmimjv2l6baxgzm8vyq5grg102m3l4wq8i6bglv529yp4ff")))) + (inputs + (modify-inputs (package-inputs texmacs) + ;; Replaced by S7 scheme + ;; TODO: Maybe unbundle S7 + (delete "guile") + (prepend curl))) + (arguments + (substitute-keyword-arguments (package-arguments texmacs) + ((#:phases orig) + #~(modify-phases #$orig + ;; The non-deterministic compression issue is solved in Mogan. + (delete 'gzip-flags))))) + (synopsis "Structural editor delivered by Xmacs Labs") + (description + "Mogan is a fork of GNU TeXmacs created by Xmacs Labs. Its goal is +make everyone to enjoy it fluently and develop new feature for everyone to learn +and create science and technology.") + (license license:gpl3+) + (home-page "https://gitee.com/XmacsLabs/mogan"))) + (define-public textpieces (package (name "textpieces") -- 2.38.0 ------------=_1669460642-20688-1--