From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id mFEVKQr6fWOemQAAbAwnHQ (envelope-from ) for ; Wed, 23 Nov 2022 11:46:34 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id EN4qKAr6fWOAcgEAG6o9tA (envelope-from ) for ; Wed, 23 Nov 2022 11:46:34 +0100 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 484B4C90F for ; Wed, 23 Nov 2022 11:46:34 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oxnGv-0001Bk-MN; Wed, 23 Nov 2022 05:46:29 -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 1oxnGW-00016N-3P for guix-patches@gnu.org; Wed, 23 Nov 2022 05:46:07 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oxnGU-00031f-I8 for guix-patches@gnu.org; Wed, 23 Nov 2022 05:46:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oxnGU-00077s-A3 for guix-patches@gnu.org; Wed, 23 Nov 2022 05:46:02 -0500 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1669200394; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=ZRJHSI08nU1UacaLs/jaKd4qeORimwSaDIHPI3ilxAo=; b=eIur5EmXO1pdT0Z6ILSHwxrMcJrjESoiTm7HyP3PQcI9g4jQjTwZSNUvj/tMrYrQWxiMqH XlyxlgAbVTKc35dJlg40n3dZ4TZraqCZV3DdVCEsWVUP3IgXaStyAYfQoxyI8fDOTBh0wP A/JK+Myehw68eJIC0rl9TwppPLeulWLxjAe2Hljo389LC5/DVpb7+6fdsfJl0GNTob65aM C4z023yMqHc5frFdwV1WOSvvO2M7BHJl1MBSAh1T/ouU3DIJVlKQkgcqbcnDAOPYEagRb4 JgMPzPtdF/SNLhMkY5b2t361elaJVe0bp4EB7cbgg3wSjKN3ApwNZPv7xIQ+Cg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1669200394; a=rsa-sha256; cv=none; b=nLoxXf3PIEi1hT7mVGfqgvFw+AY5WOu/cTKoemETm6zuKxLMmOwOxwDvAezUJUrytYDLw5 vn9OtwU63bnMyjWh2XnraFl6HlNcs1pkNtqjMsOW978MZMH+6KcUAEGsSu9PJi97bbOFx4 hXdAOp9uZM1QBQtIJoBdnUv5LNfpIZnJDb2uTCNENdQFHwyjzfEE/D/zsIVCGNcdolNbVW +3U0CJ2EvnvQCcZ4p8HnTjRqOqoc6elD9MMH2cvmY93THEUsQslF92pIbAyw1913hF13Y0 O6oVuqsKHYumBp69cN1KzqyAtreBkRm5vAJIdYvl1nuimMsw3giQHMKmacMqaw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=163.com header.s=s110527 header.b=WY69ojqi; dmarc=fail reason="SPF not aligned (relaxed)" header.from=163.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 5.41 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=163.com header.s=s110527 header.b=WY69ojqi; dmarc=fail reason="SPF not aligned (relaxed)" header.from=163.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 484B4C90F X-Spam-Score: 5.41 X-Migadu-Scanner: scn1.migadu.com X-TUID: 5RNfVo/wf0jV --=-=-= 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 --=-=-=--