From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 8O3ZJBT2K2O0gAEAbAwnHQ (envelope-from ) for ; Thu, 22 Sep 2022 07:43:48 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id gNQJJBT2K2NEkAAAG6o9tA (envelope-from ) for ; Thu, 22 Sep 2022 07:43:48 +0200 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 24DE039E17 for ; Thu, 22 Sep 2022 07:43:48 +0200 (CEST) Received: from localhost ([::1]:59092 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1obEzz-00056J-3W for larch@yhetil.org; Thu, 22 Sep 2022 01:43:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33194) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1obEyJ-0004r4-IK for guix-patches@gnu.org; Thu, 22 Sep 2022 01:42:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36755) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1obEyH-0006wr-TN for guix-patches@gnu.org; Thu, 22 Sep 2022 01:42:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1obEyH-0006Ep-Lz for guix-patches@gnu.org; Thu, 22 Sep 2022 01:42:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55423] [PATCH]: gnu: Add mogan. Resent-From: Zhu Zihao Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 22 Sep 2022 05:42:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55423 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Maxime Devos Cc: 55423@debbugs.gnu.org Received: via spool by 55423-submit@debbugs.gnu.org id=B55423.166382529123944 (code B ref 55423); Thu, 22 Sep 2022 05:42:01 +0000 Received: (at 55423) by debbugs.gnu.org; 22 Sep 2022 05:41:31 +0000 Received: from localhost ([127.0.0.1]:35833 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1obExm-0006E5-Md for submit@debbugs.gnu.org; Thu, 22 Sep 2022 01:41:31 -0400 Received: from mail-m973.mail.163.com ([123.126.97.3]:19212) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1obExj-0006Dm-JA for 55423@debbugs.gnu.org; Thu, 22 Sep 2022 01:41:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-ID:MIME-Version; bh=kSx7O 3oV0VRk8+HrLbmHOVNL0LrcfjYcQRRABQUiLP4=; b=GRW2Nds9f3IZOKfD52+g9 29rF4ZiJbT+IbgvNU3qbuKvI2/q/Wf3knkHoPBCnIyGisxL5v1tLnN7382L3hQD0 WTWGRfRpeDnWD+NiT+89i7TnwUNvsOatlEuGaByZgGKt1luSTb9sXN+Bcv9/O39j CleaySL0bJIsmMkYaRKWko= Received: from asus-laptop (unknown [163.125.249.39]) by smtp3 (Coremail) with SMTP id G9xpCgCXRZd79StjH79Jfg--.63672S2; Thu, 22 Sep 2022 13:41:17 +0800 (CST) References: <86wnen5vl3.fsf@163.com> <616e9ef4c4c7820ba7c1ceaff559b1a7b785a05f.camel@telenet.be> <86o7vut5ck.fsf@163.com> User-agent: mu4e 1.8.9; emacs 29.0.50 From: Zhu Zihao Date: Thu, 22 Sep 2022 13:40:43 +0800 In-reply-to: <86o7vut5ck.fsf@163.com> Message-ID: <86leqc6k67.fsf@163.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-CM-TRANSID: G9xpCgCXRZd79StjH79Jfg--.63672S2 X-Coremail-Antispam: 1Uf129KBjvJXoWxWrWxJFykGFW8ZrW3ur1UGFg_yoWrZr4Dp3 yxGryruw1rKrW3Jan3XF4Y9ryFgryfGry5K3y7Zw4Utay5CFyxtr42ka95Aasruw17Za1U Cw48WF45WFyY9FJanT9S1TB71UUUUUUqnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDUYxBIdaVFxhVjvjDU0xZFpf9x0zujgaAUUUUU= X-Originating-IP: [163.125.249.39] X-CM-SenderInfo: pdoosuxxwbztlvw6il2tof0z/xtbBoR2Er2I0U1ngMgAAsZ 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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1663825428; 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=kSx7O3oV0VRk8+HrLbmHOVNL0LrcfjYcQRRABQUiLP4=; b=ZG1nhrdN2OmFb0ZD5zBqvPGcIHjOXFuuXxh1a/sBTGVSJnOUfg4kzrl6MRSorQ5wL89RUr JOJNVlcIQacXQ/9bNFg2JUicE4e63xK3JqM85KHxq+XNZ3EjPJDZALozLXPmbZU7QTw8Yc aKNkpo10MvlXvPmqxhVruJsKEXx35PnT35epk30HoU1T08C7MCUNORG3jCecVKP8wSCrHv RSUGTzC9hxLmvn65B/JiYc16hYh/1rrzfOKD5v7eIfb+mghqSD3yf6YA04gIdvuiHyE88n T/Z62HdsiTEKgEfkR0TAgucECapM08T76aEgBKnOzCugf/9J51NjB6HfLrJouQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1663825428; a=rsa-sha256; cv=none; b=k06QKt9yJavM1HbJRxNYXv+6nD76JoY0RXY/mKnTKoVKIQ8ICxWhPiMfvYSY2OQh33LMvD wter4ostP8Zw1LCH/WjtL5imSI3AWpGnrzX1A8YJT6t5cnjOSo/qxO+xCVJhpdLwtJpqPx AsgPX8iu/n/F9UYqkLuwbk3SQGJIgajoE2CqT1vXghW8jTdWTb350cyrgmdLJzitbvx1Ke LOLhk2BBUoW/TNVuk4os4kVodGbzfjrW18xRnFmPmcdt7zP/XPzQpR2vPdmWy6aS8Tvxha dGipIW1iTHv/lGNfRQnOJviFyd9XzmhVbQn4Ryaf4ys0z4A7uUMLv3lphjRmSQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=163.com header.s=s110527 header.b=GRW2Nds9; 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: 4.56 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=163.com header.s=s110527 header.b=GRW2Nds9; 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: 24DE039E17 X-Spam-Score: 4.56 X-Migadu-Scanner: scn1.migadu.com X-TUID: r/yfIjo0e8Sp --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable ping. Zhu Zihao writes: > [[PGP Signed Part:Undecided]] > > Long time no see. > > I updated Mogan to 1.1.0 and switch the source to github. > > [[End of PGP Signed Part]] > From f754c24c0945dd2fc17881f37598262b612eee67 Mon Sep 17 00:00:00 2001 > From: Zhu Zihao > Date: Sat, 14 May 2022 22:16:38 +0800 > Subject: [PATCH 1/2] gnu: texmacs: Use G-expression. > > * gnu/packages/text-editors.scm (texmacs): Use G-expressions. > --- > gnu/packages/text-editors.scm | 26 +++++++++++++------------- > 1 file changed, 13 insertions(+), 13 deletions(-) > > diff --git a/gnu/packages/text-editors.scm b/gnu/packages/text-editors.scm > index 0c30a705b9..8a52e0ef41 100644 > --- a/gnu/packages/text-editors.scm > +++ b/gnu/packages/text-editors.scm > @@ -872,19 +872,19 @@ (define-public texmacs > qtsvg-5 > sqlite)) > (arguments > - `(#:tests? #f ; no check target > - #:phases > - (modify-phases %standard-phases > - (add-after 'unpack 'fix-icon-directory > - (lambda* (#:key outputs #:allow-other-keys) > - (let ((out (assoc-ref outputs "out"))) > - (substitute* "packages/linux/icons.sh" > - (("/usr/share") > - (string-append out "/share")))))) > - (add-before 'configure 'gzip-flags > - (lambda _ > - (substitute* "Makefile.in" > - (("^GZIP =3D gzip -f") "GZIP =3D gzip -f -n"))))))) > + (list > + #:tests? #f ; no check target > + #:phases > + #~(modify-phases %standard-phases > + (add-after 'unpack 'fix-icon-directory > + (lambda _ > + (substitute* "packages/linux/icons.sh" > + (("/usr/share") > + (string-append #$output "/share"))))) > + (add-before 'configure 'gzip-flags > + (lambda _ > + (substitute* "Makefile.in" > + (("^GZIP =3D gzip -f") "GZIP =3D gzip -f -n"))))))) > (synopsis "Editing platform with special features for scientists") > (description > "GNU TeXmacs is a text editing platform which is specialized for > --=20 > 2.37.2 > > From bf3c22e5f835725fd700176f0d1b1ec0ac28fe51 Mon Sep 17 00:00:00 2001 > From: Zhu Zihao > Date: Sat, 14 May 2022 22:19:06 +0800 > Subject: [PATCH 2/2] gnu: Add mogan. > > * gnu/packages/text-editors.scm (mogan): New variable. > --- > gnu/packages/text-editors.scm | 37 +++++++++++++++++++++++++++++++++++ > 1 file changed, 37 insertions(+) > > diff --git a/gnu/packages/text-editors.scm b/gnu/packages/text-editors.scm > index 8a52e0ef41..24600b4148 100644 > --- a/gnu/packages/text-editors.scm > +++ b/gnu/packages/text-editors.scm > @@ -56,6 +56,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,42 @@ (define-public texmacs > (license license:gpl3+) > (home-page "https://www.texmacs.org/tmweb/home/welcome.en.html"))) >=20=20 > +(define-public mogan > + (package > + (inherit texmacs) > + (name "mogan") > + (version "1.1.0") > + (source > + (origin > + (method git-fetch) > + (uri (git-reference > + (url "https://github.com/XmacsLabs/mogan") > + (commit (string-append "v" version)))) > + (sha256 > + (base32 "0l7irs5w6f1dmzxz2p4c4vxc2w999yxy1qvhbcv5yh3kfbyzrf7z"))= )) > + (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 > + (replace 'gzip-flags > + (lambda _ > + (substitute* "misc/CMakeLists.txt" > + (("COMMAND gzip" all) > + (string-append all " -n"))))))))) > + (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 scintilla > (package > (name "scintilla") > --=20 > 2.37.2 =2D-=20 Retrieve my PGP public key: gpg --recv-keys B3EBC086AB0EBC0F45E0B4D433DB374BCEE4D9DC Zihao --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIsEARYIADMWIQT4UAIrVkIEZilSHr2K2nJqP6LM8gUCYyv1YBUcYWxsX2J1dF9s YXN0QDE2My5jb20ACgkQitpyaj+izPK06gD/cP5j/qBjd3wJqRnLNY7U6Z1/zwmf abLKESKli3+xv7gBALBmDXeyCLcFGDyJHcdc1HUSsuOBLXBBeEgwLjGkFEoG =16h4 -----END PGP SIGNATURE----- --=-=-=--