From unknown Sun Jun 22 07:32:44 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#27790 <27790@debbugs.gnu.org> To: bug#27790 <27790@debbugs.gnu.org> Subject: Status: text-editor: mg Reply-To: bug#27790 <27790@debbugs.gnu.org> Date: Sun, 22 Jun 2025 14:32:44 +0000 retitle 27790 text-editor: mg reassign 27790 guix-patches submitter 27790 ng0 severity 27790 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 22 07:36:46 2017 Received: (at submit) by debbugs.gnu.org; 22 Jul 2017 11:36:46 +0000 Received: from localhost ([127.0.0.1]:51944 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dYsi7-0004GB-Oa for submit@debbugs.gnu.org; Sat, 22 Jul 2017 07:36:46 -0400 Received: from eggs.gnu.org ([208.118.235.92]:36447) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dYsi6-0004Fz-0P for submit@debbugs.gnu.org; Sat, 22 Jul 2017 07:36:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dYshz-0006NI-Lo for submit@debbugs.gnu.org; Sat, 22 Jul 2017 07:36:32 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:51161) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dYshz-0006NC-Ij for submit@debbugs.gnu.org; Sat, 22 Jul 2017 07:36:31 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55649) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dYshy-0006Uh-06 for guix-patches@gnu.org; Sat, 22 Jul 2017 07:36:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dYshu-0006Lp-Sk for guix-patches@gnu.org; Sat, 22 Jul 2017 07:36:30 -0400 Received: from aibo.runbox.com ([91.220.196.211]:57552) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dYshu-0006LP-Kh for guix-patches@gnu.org; Sat, 22 Jul 2017 07:36:26 -0400 Received: from [10.9.9.212] (helo=mailfront12.runbox.com) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1dYsht-0003v5-7Q for guix-patches@gnu.org; Sat, 22 Jul 2017 13:36:25 +0200 Received: from 62-210-115-87.rev.poneytelecom.eu ([62.210.115.87] helo=localhost) by mailfront12.runbox.com with esmtpsa (uid:892961 ) (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) id 1dYshj-0001YB-GR for guix-patches@gnu.org; Sat, 22 Jul 2017 13:36:15 +0200 Date: Sat, 22 Jul 2017 11:36:13 +0000 From: ng0 To: guix-patches@gnu.org Subject: text-editor: mg Message-ID: <20170722113613.shefcwrn3m2t6suu@abyayala> Mail-Followup-To: guix-patches@gnu.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="2lphd2o3gbhqkhlj" Content-Disposition: inline X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -7.8 (-------) X-Debbugs-Envelope-To: submit 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: 0.0 (/) --2lphd2o3gbhqkhlj Content-Type: multipart/mixed; boundary="zo5jicvxcw4y5u7v" Content-Disposition: inline --zo5jicvxcw4y5u7v Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable This adds a package from one of my repositories, mg. --=20 ng0 GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588 GnuPG: https://n0is.noblogs.org/my-keys https://www.infotropique.org https://krosos.org --zo5jicvxcw4y5u7v Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0001-gnu-Add-mg.patch" Content-Transfer-Encoding: quoted-printable =46rom d1cae87a9b13b5624deb16666a1da3333bd05681 Mon Sep 17 00:00:00 2001 =46rom: ng0 Date: Sat, 22 Jul 2017 11:31:37 +0000 Subject: [PATCH] gnu: Add mg. * gnu/packages/text-editors.scm (mg): New variable. --- gnu/packages/text-editors.scm | 57 +++++++++++++++++++++++++++++++++++++++= +++- 1 file changed, 56 insertions(+), 1 deletion(-) diff --git a/gnu/packages/text-editors.scm b/gnu/packages/text-editors.scm index 98df48119..9277dd1f5 100644 --- a/gnu/packages/text-editors.scm +++ b/gnu/packages/text-editors.scm @@ -3,7 +3,7 @@ ;;; Copyright =C2=A9 2016 Carlo Zancanaro ;;; Copyright =C2=A9 2017 Eric Bavier ;;; Copyright =C2=A9 2017 Feng Shu -;;; Copyright =C2=A9 2017 ng0 +;;; Copyright =C2=A9 2017 ng0 ;;; ;;; This file is part of GNU Guix. ;;; @@ -34,6 +34,7 @@ #:use-module (gnu packages gcc) #:use-module (gnu packages glib) #:use-module (gnu packages gtk) + #:use-module (gnu packages libbsd) #:use-module (gnu packages lua) #:use-module (gnu packages ncurses) #:use-module (gnu packages pkg-config) @@ -227,3 +228,57 @@ Wordstar-, EMACS-, Pico, Nedit or vi-like key bindings= =2E e3 can be used on 16, 32, and 64-bit CPUs.") (supported-systems '("x86_64-linux" "i686-linux")) (license license:gpl2+))) + +(define-public mg + (package + (name "mg") + (version "20170401") + (source + (origin + (method url-fetch) + (uri (string-append "http://homepage.boetes.org/software/mg/" + "mg-" version ".tar.gz")) + (sha256 + (base32 + "1arasswgdadbb265rahq3867r9s54jva6k4m3p5n0f8mgjqhhdha")))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f ; There is no testsuite + #:make-flags (list "CC=3Dgcc") + #:phases + (modify-phases %standard-phases + (delete 'configure) ; There is no configure script + (add-before 'build 'replace-usr + (lambda* (#:key outputs #:allow-other-keys) + (substitute* "GNUmakefile" + (("/usr/bin/") "") + (("/usr/local") + (assoc-ref outputs "out"))) + #t)) + (add-before 'build 'correct-location-of-difftool + (lambda _ + (substitute* "buffer.c" + (("/usr/bin/diff") + (which "diff"))) + #t)) + (add-before 'install 'install-tutorial + (lambda* (#:key outputs #:allow-other-keys) + ;; This isn't handled by install but is expect + ;; by the tutorial part of mg to be present. + (let* ((out (assoc-ref outputs "out")) + (doc (string-append out "/share/doc/mg"))) + (install-file "tutorial" + (string-append doc "/tutorial")) + #t)))))) + (inputs + `(("ncurses" ,ncurses) + ("libbsd" ,libbsd))) + (native-inputs + `(("pkg-config" ,pkg-config))) + (home-page "http://homepage.boetes.org/software/mg/") + (synopsis "OpenBSD variant of the editor mg") + (description + "Mg is a public domain text editor intended to loosely resemble +GNU Emacs, while still retaining fast speed and a small memory footprint. +It is based on MicroEMACS.") + (license license:public-domain))) --=20 2.13.3 --zo5jicvxcw4y5u7v-- --2lphd2o3gbhqkhlj Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEqIyK3RKYKNfqwC5S4i+bv+40hYgFAllzOK0ACgkQ4i+bv+40 hYioog/+ICA+e+A4F/Y75BK81/ZmtFhZ/1GvdwZyzvWUMGHAxceFBlqMEO/nr53a KkSfXameAACKKZceGVyYvemaNWAiM01Kq83khpPQ/KggKYFc6BvmjeUEhWpf892I g+4G8hKCyQzfu6mRR6nJaeXqsEdlruVzwS50k8NsjVMrzY2a2FB1PuPADSjCSYab /z51mO21baW1jdauQC4nncBaXJ50dUy2TN4TwWI2FMaedaS+0LOJ+2A06/h3wKpu f1jOCS+u9bsxL/InoRjgc6UcsEoW1YcL6beNHBZj6kP7kQUjIFMOAulqXZaV4N5X mJMicsJh920EpehnDm7Lha4MIqImN4qKHlGnQOHvfSDGVLJLqW1PaX+jTyW9rfJ4 XtmfXjItpl1IHQQ7D0e3X1zxjknAtyXv1ZBopf4btKtKz+SADeJx5cj4XYVg93bU Un+AHyPA1r4lJmMxrtnYKdSwOstX2VuXyWIUDzGnk+qkYH+3uKCkiS37qJyb626O V8OK+hwdUSEyCLalin2eXMmwi/qxG916pOgRaGi9QhRkGqWQszKoXLo1NV8N4zzN 5/pBSMG7p4LWHPE+GfRufMKsjU4oNKWmOzSRWUraPbT29HkmyOMcqBaFoJ/7M/ee oCuGYrC9zNCF1fhF44yqJZnM0iL/RztBbJlj9t/cNp3PB52G/Q0= =rCmU -----END PGP SIGNATURE----- --2lphd2o3gbhqkhlj-- From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 22 10:23:01 2017 Received: (at 27790) by debbugs.gnu.org; 22 Jul 2017 14:23:01 +0000 Received: from localhost ([127.0.0.1]:52492 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dYvJ6-0001cH-Mu for submit@debbugs.gnu.org; Sat, 22 Jul 2017 10:23:01 -0400 Received: from tobias.gr ([51.15.135.5]:46876) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dYvJ0-0001c3-4J for 27790@debbugs.gnu.org; Sat, 22 Jul 2017 10:22:59 -0400 Received: by tobias.gr (OpenSMTPD) with ESMTP id 85160f3e for <27790@debbugs.gnu.org>; Sat, 22 Jul 2017 14:22:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=tobias.gr; h=subject:to :references:from:message-id:date:mime-version:in-reply-to :content-type; s=201706; bh=JEZTC7P3dPoaqspS59Uq7FKfLGRUMWMKrDqK C/vR0VI=; b=U53GYBkZXi3qkorOVHwjbEKP71csb71IHbZoUIxAfcVIyyQQwMrZ go0vMoGb6OPP/P3pKI3J2WsXanI7Iya6CGmjw0e1aTAdh0fqk+aNXYVoH5Rz2QLI vwxJYQX+2qMDj+PfFqAx38jMlGUvAzcxMCj7GUJ3YAwlj9hh9XM+kv5AjrPhpOqd UPtVm0HPtrvCraADiuIeu3G+U8rGtObPCfrYSvVaXQLaRBRXOl9GpKMzFdQq4me5 cT+mGOXR9nIxPwoihExqZzUd8NHha6j4Y7svFFcAGs0F0ko25ITdKq1c+QGwUgAz EkqOvmLI4R4ntocltj2N29lS38uHqZhh4A== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 7cacf8c7 (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128:NO) for <27790@debbugs.gnu.org>; Sat, 22 Jul 2017 14:22:47 +0000 (UTC) Subject: Re: [bug#27790] text-editor: mg To: 27790@debbugs.gnu.org References: <20170722113613.shefcwrn3m2t6suu@abyayala> From: Tobias Geerinckx-Rice Message-ID: <0be93d82-ed4c-6024-62c9-426ed6e3a268@tobias.gr> Date: Sat, 22 Jul 2017 16:24:29 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <20170722113613.shefcwrn3m2t6suu@abyayala> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="BdKeIMl7GmxUvaHvuic2qpO0CaQT8XEdW" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 27790 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: 0.0 (/) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --BdKeIMl7GmxUvaHvuic2qpO0CaQT8XEdW Content-Type: multipart/mixed; boundary="1AR4MVCeLQmMUURu7JbAjxHwLv6CIp5XM"; protected-headers="v1" From: Tobias Geerinckx-Rice To: 27790@debbugs.gnu.org Message-ID: <0be93d82-ed4c-6024-62c9-426ed6e3a268@tobias.gr> Subject: Re: [bug#27790] text-editor: mg References: <20170722113613.shefcwrn3m2t6suu@abyayala> In-Reply-To: <20170722113613.shefcwrn3m2t6suu@abyayala> --1AR4MVCeLQmMUURu7JbAjxHwLv6CIp5XM Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable ng0, Thanks! Some minor points, most of which can be taken care of by the committer (i.e. probably me) when they push: ng0 wrote on 22/07/17 at 13:36: > From d1cae87a9b13b5624deb16666a1da3333bd05681 Mon Sep 17 00:00:00 2001 > From: ng0 > Date: Sat, 22 Jul 2017 11:31:37 +0000 > Subject: [PATCH] gnu: Add mg. >=20 > * gnu/packages/text-editors.scm (mg): New variable. > --- > gnu/packages/text-editors.scm | 57 +++++++++++++++++++++++++++++++++++= +++++++- > 1 file changed, 56 insertions(+), 1 deletion(-) >=20 > diff --git a/gnu/packages/text-editors.scm b/gnu/packages/text-editors.= scm > index 98df48119..9277dd1f5 100644 > --- a/gnu/packages/text-editors.scm > +++ b/gnu/packages/text-editors.scm > @@ -3,7 +3,7 @@ > ;;; Copyright =C2=A9 2016 Carlo Zancanaro > ;;; Copyright =C2=A9 2017 Eric Bavier > ;;; Copyright =C2=A9 2017 Feng Shu > -;;; Copyright =C2=A9 2017 ng0 > +;;; Copyright =C2=A9 2017 ng0 > ;;; > ;;; This file is part of GNU Guix. > ;;; > @@ -34,6 +34,7 @@ > #:use-module (gnu packages gcc) > #:use-module (gnu packages glib) > #:use-module (gnu packages gtk) > + #:use-module (gnu packages libbsd) > #:use-module (gnu packages lua) > #:use-module (gnu packages ncurses) > #:use-module (gnu packages pkg-config) > @@ -227,3 +228,57 @@ Wordstar-, EMACS-, Pico, Nedit or vi-like key bind= ings. e3 can be used on > 16, 32, and 64-bit CPUs.") > (supported-systems '("x86_64-linux" "i686-linux")) > (license license:gpl2+))) > + > +(define-public mg > + (package > + (name "mg") > + (version "20170401") > + (source > + (origin > + (method url-fetch) > + (uri (string-append "http://homepage.boetes.org/software/mg/" > + "mg-" version ".tar.gz")) HTTPS works, so let's use it just because we can. Same for home-page. > + (sha256 > + (base32 > + "1arasswgdadbb265rahq3867r9s54jva6k4m3p5n0f8mgjqhhdha")))) > + (build-system gnu-build-system) > + (arguments > + `(#:tests? #f ; There is no testsuite s/There/there/, and s/testsuite/test suite/ since I'm already being pedantic. > + #:make-flags (list "CC=3Dgcc") > + #:phases > + (modify-phases %standard-phases > + (delete 'configure) ; There is no configure script Same here. > + (add-before 'build 'replace-usr > + (lambda* (#:key outputs #:allow-other-keys) > + (substitute* "GNUmakefile" > + (("/usr/bin/") "") > + (("/usr/local") > + (assoc-ref outputs "out"))) > + #t)) > + (add-before 'build 'correct-location-of-difftool > + (lambda _ > + (substitute* "buffer.c" > + (("/usr/bin/diff") > + (which "diff"))) Cool. I learn new things every day. > + #t)) > + (add-before 'install 'install-tutorial > + (lambda* (#:key outputs #:allow-other-keys) > + ;; This isn't handled by install but is expect s/expect/expected/, but: > + ;; by the tutorial part of mg to be present. What exactly do you mean by =E2=80=98the tutorial part of mg=E2=80=99? I = tried C-h t with no result, and the only mentions of =E2=80=98tutorial=E2=80=99 in th= e tarball are in the manual page and the tutorial itself. > + (let* ((out (assoc-ref outputs "out")) > + (doc (string-append out "/share/doc/mg"))) > + (install-file "tutorial" > + (string-append doc "/tutorial")) > + #t)))))) > + (inputs > + `(("ncurses" ,ncurses) > + ("libbsd" ,libbsd))) > + (native-inputs > + `(("pkg-config" ,pkg-config))) > + (home-page "http://homepage.boetes.org/software/mg/") > + (synopsis "OpenBSD variant of the editor mg") This appears to be the canonical modern =E2=80=98portable=E2=80=99 mg, so= I'd move the OpenBSD bit to the description. We're packaging this as mg, after all, not mg-openbsd. What do you think of "Small and fast text editor in the style of GNU Emacs"? > + (description > + "Mg is a public domain text editor intended to loosely resemble > +GNU Emacs, while still retaining fast speed and a small memory footpri= nt. > +It is based on MicroEMACS.") =E2=80=98Public-domain=E2=80=99 can be dropped, and IMO so can its MicroE= MACS history. This does leave us with a very short description indeed... > + (license license:public-domain))) True freedom=E2=84=A2! T G-R --1AR4MVCeLQmMUURu7JbAjxHwLv6CIp5XM-- --BdKeIMl7GmxUvaHvuic2qpO0CaQT8XEdW Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQFBBAEBCgArFiEEeqzfDJ8DWw5d4xcqkczbm0hUG5kFAllzYB0NHG1lQHRvYmlh cy5ncgAKCRCRzNubSFQbmT04B/4i50lm0rljsRqlTpX2azDMMtYhVGb0eeXGdR2E 6wNjITL4SxgPsAW5GOT3zLPr9OSRNdxQ9cb4oV4D8UOc6g1cf9wqPuFbzAQLUSYC I7ZDknpz+u2gzdrSoi1yAXR0ZeOypvKy7cwImn87OnAoqDzpYdZ8d8HmVfHwhbcx HzjLMAKmZHJ5iX5t4poGBUrnXPPzHhpOmAGRaqiK4T3lRiH5Tk76DGE5xwXkMrma 0pqLgH4lZiXMTQWegAjvO2wDF5ASQ1XtD4WsqVw0gmGvxm7Q2HzdhAJ6ppoffy8F ArTIvhT78jlb05SJKP56ZN726Ft60xlElpJ5lLZv5ASzguaL =G2SG -----END PGP SIGNATURE----- --BdKeIMl7GmxUvaHvuic2qpO0CaQT8XEdW-- From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 22 12:02:32 2017 Received: (at 27790) by debbugs.gnu.org; 22 Jul 2017 16:02:32 +0000 Received: from localhost ([127.0.0.1]:52539 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dYwrK-0005lP-Nb for submit@debbugs.gnu.org; Sat, 22 Jul 2017 12:02:32 -0400 Received: from aibo.runbox.com ([91.220.196.211]:53400) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dYwrF-0005lC-Lf for 27790@debbugs.gnu.org; Sat, 22 Jul 2017 12:02:25 -0400 Received: from [10.9.9.212] (helo=mailfront12.runbox.com) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1dYwrE-0002uq-6e; Sat, 22 Jul 2017 18:02:20 +0200 Received: from [109.236.90.209] (helo=localhost) by mailfront12.runbox.com with esmtpsa (uid:892961 ) (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) id 1dYwqy-0004eb-Kn; Sat, 22 Jul 2017 18:02:05 +0200 Date: Sat, 22 Jul 2017 16:02:02 +0000 From: ng0 To: Tobias Geerinckx-Rice Subject: Re: [bug#27790] text-editor: mg Message-ID: <20170722160202.47axhgthb4qd3dzo@abyayala> Mail-Followup-To: Tobias Geerinckx-Rice , 27790@debbugs.gnu.org References: <20170722113613.shefcwrn3m2t6suu@abyayala> <0be93d82-ed4c-6024-62c9-426ed6e3a268@tobias.gr> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="pukhao7ezmwcg56x" Content-Disposition: inline In-Reply-To: <0be93d82-ed4c-6024-62c9-426ed6e3a268@tobias.gr> X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 27790 Cc: 27790@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: 0.0 (/) --pukhao7ezmwcg56x Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Tobias Geerinckx-Rice transcribed 5.9K bytes: > ng0, >=20 > Thanks! Some minor points, most of which can be taken care of by the > committer (i.e. probably me) when they push: >=20 > ng0 wrote on 22/07/17 at 13:36: > > From d1cae87a9b13b5624deb16666a1da3333bd05681 Mon Sep 17 00:00:00 2001 > > From: ng0 > > Date: Sat, 22 Jul 2017 11:31:37 +0000 > > Subject: [PATCH] gnu: Add mg. > >=20 > > * gnu/packages/text-editors.scm (mg): New variable. > > --- > > gnu/packages/text-editors.scm | 57 +++++++++++++++++++++++++++++++++++= +++++++- > > 1 file changed, 56 insertions(+), 1 deletion(-) > >=20 > > diff --git a/gnu/packages/text-editors.scm b/gnu/packages/text-editors.= scm > > index 98df48119..9277dd1f5 100644 > > --- a/gnu/packages/text-editors.scm > > +++ b/gnu/packages/text-editors.scm > > @@ -3,7 +3,7 @@ > > ;;; Copyright =C2=A9 2016 Carlo Zancanaro > > ;;; Copyright =C2=A9 2017 Eric Bavier > > ;;; Copyright =C2=A9 2017 Feng Shu > > -;;; Copyright =C2=A9 2017 ng0 > > +;;; Copyright =C2=A9 2017 ng0 > > ;;; > > ;;; This file is part of GNU Guix. > > ;;; > > @@ -34,6 +34,7 @@ > > #:use-module (gnu packages gcc) > > #:use-module (gnu packages glib) > > #:use-module (gnu packages gtk) > > + #:use-module (gnu packages libbsd) > > #:use-module (gnu packages lua) > > #:use-module (gnu packages ncurses) > > #:use-module (gnu packages pkg-config) > > @@ -227,3 +228,57 @@ Wordstar-, EMACS-, Pico, Nedit or vi-like key bind= ings. e3 can be used on > > 16, 32, and 64-bit CPUs.") > > (supported-systems '("x86_64-linux" "i686-linux")) > > (license license:gpl2+))) > > + > > +(define-public mg > > + (package > > + (name "mg") > > + (version "20170401") > > + (source > > + (origin > > + (method url-fetch) > > + (uri (string-append "http://homepage.boetes.org/software/mg/" > > + "mg-" version ".tar.gz")) >=20 > HTTPS works, so let's use it just because we can. Same for home-page. Ah. It does not redirect http->https though, so I didn't notice. > > + (sha256 > > + (base32 > > + "1arasswgdadbb265rahq3867r9s54jva6k4m3p5n0f8mgjqhhdha")))) > > + (build-system gnu-build-system) > > + (arguments > > + `(#:tests? #f ; There is no testsuite >=20 > s/There/there/, and s/testsuite/test suite/ since I'm already being > pedantic. >=20 > > + #:make-flags (list "CC=3Dgcc") > > + #:phases > > + (modify-phases %standard-phases > > + (delete 'configure) ; There is no configure script >=20 > Same here. >=20 > > + (add-before 'build 'replace-usr > > + (lambda* (#:key outputs #:allow-other-keys) > > + (substitute* "GNUmakefile" > > + (("/usr/bin/") "") > > + (("/usr/local") > > + (assoc-ref outputs "out"))) > > + #t)) > > + (add-before 'build 'correct-location-of-difftool > > + (lambda _ > > + (substitute* "buffer.c" > > + (("/usr/bin/diff") > > + (which "diff"))) >=20 > Cool. I learn new things every day. >=20 > > + #t)) > > + (add-before 'install 'install-tutorial > > + (lambda* (#:key outputs #:allow-other-keys) > > + ;; This isn't handled by install but is expect >=20 > s/expect/expected/, but: >=20 > > + ;; by the tutorial part of mg to be present. >=20 > What exactly do you mean by =E2=80=98the tutorial part of mg=E2=80=99? I = tried C-h t > with no result, and the only mentions of =E2=80=98tutorial=E2=80=99 in th= e tarball are > in the manual page and the tutorial itself. I'm not sure. It is good to have it I think, but this wasn't my idea. So maybe just drop the comment? > > + (let* ((out (assoc-ref outputs "out")) > > + (doc (string-append out "/share/doc/mg"))) > > + (install-file "tutorial" > > + (string-append doc "/tutorial")) > > + #t)))))) > > + (inputs > > + `(("ncurses" ,ncurses) > > + ("libbsd" ,libbsd))) > > + (native-inputs > > + `(("pkg-config" ,pkg-config))) > > + (home-page "http://homepage.boetes.org/software/mg/") > > + (synopsis "OpenBSD variant of the editor mg") >=20 > This appears to be the canonical modern =E2=80=98portable=E2=80=99 mg, so= I'd move the > OpenBSD bit to the description. We're packaging this as mg, after all, > not mg-openbsd. What do you think of "Small and fast text editor in the > style of GNU Emacs"? Ok. > > + (description > > + "Mg is a public domain text editor intended to loosely resemble > > +GNU Emacs, while still retaining fast speed and a small memory footpri= nt. > > +It is based on MicroEMACS.") >=20 > =E2=80=98Public-domain=E2=80=99 can be dropped, and IMO so can its MicroE= MACS history. > This does leave us with a very short description indeed... Ok. > > + (license license:public-domain))) >=20 > True freedom=E2=84=A2! >=20 > T G-R >=20 thanks! --=20 ng0 GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588 GnuPG: https://n0is.noblogs.org/my-keys https://www.infotropique.org https://krosos.org --pukhao7ezmwcg56x Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEqIyK3RKYKNfqwC5S4i+bv+40hYgFAllzdvoACgkQ4i+bv+40 hYiRohAAq7inujyLa1+FYo2eV3RJt0QUei1uElOsjfiDczhk3Yx5lcnqlBQ1wAzA vEugm/kfXmt/MxedKdTUFRZ7daKkFV4MQBm0lBHVcssOjIVla0AZPf2Eu5vNpuFc TVjKi7hP/D21UP8vBnLrA9oNKQHyXUGzbUHdA3qRruu+Ymjui9XkYKbWNQqDfXlq W1tQONYH5f6W8UdazD6fgr7xaAZ8s4WcNlKrW1p1+4M+RkYcyzvLMSYPt4Kt15B5 6L24LZJ1uut6IuBaENafbor4ALmKa/rcS/Er81zYhBnn+RmFc/cOiCFTUazjqruq 2BvrXs78XF5udMiTWh+AWbw3PE4hxnTyHS7DRFHFrTOzn/2Qv4x+lhfkIaXCvejG ltMNeOXYnOyxfiyJqAeE19MA8ZeH8nYX0c+HsgDIYKldS2gubz4H4vj/Wyf4D1XU qnuSVfnHrlmUcKoA6TmK9PU0o9OC844MkuVEIYQr/Dq4JoRuLNTOoFjLHZr/Xn48 +VVnDR3vbrXyK/gXcH6oVPUo93W621C6/Gsie6AX6+G5jOoSYLTO4ieFSm6zUXzH elMOPn9Kx3lY44yr26FQ9PXE8KzGJyWTO8jhSZHTaZzRoZOay0fStwUJp6h/lIBb EGyWbbFYViRTWjyjCm89XNOBOF9xrj9gaxYaYy2l13khNpgdl7M= =n8Zy -----END PGP SIGNATURE----- --pukhao7ezmwcg56x-- From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 26 05:08:59 2017 Received: (at 27790) by debbugs.gnu.org; 26 Jul 2017 09:08:59 +0000 Received: from localhost ([127.0.0.1]:56759 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1daIJP-0007cF-9y for submit@debbugs.gnu.org; Wed, 26 Jul 2017 05:08:59 -0400 Received: from eggs.gnu.org ([208.118.235.92]:36965) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1daIJO-0007bk-49 for 27790@debbugs.gnu.org; Wed, 26 Jul 2017 05:08:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1daIJI-0000OC-90 for 27790@debbugs.gnu.org; Wed, 26 Jul 2017 05:08:53 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:48755) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1daIJD-0000Ln-Dq; Wed, 26 Jul 2017 05:08:47 -0400 Received: from reverse-83.fdn.fr ([80.67.176.83]:43394 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1daIJC-0001xL-Tb; Wed, 26 Jul 2017 05:08:47 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Tobias Geerinckx-Rice Subject: Re: [bug#27790] text-editor: mg References: <20170722113613.shefcwrn3m2t6suu@abyayala> <0be93d82-ed4c-6024-62c9-426ed6e3a268@tobias.gr> Date: Wed, 26 Jul 2017 11:08:44 +0200 In-Reply-To: <0be93d82-ed4c-6024-62c9-426ed6e3a268@tobias.gr> (Tobias Geerinckx-Rice's message of "Sat, 22 Jul 2017 16:24:29 +0200") Message-ID: <87zibr8t0j.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 27790 Cc: 27790@debbugs.gnu.org, ng0 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: -5.0 (-----) Heya, Tobias Geerinckx-Rice skribis: > ng0 wrote on 22/07/17 at 13:36: >> From d1cae87a9b13b5624deb16666a1da3333bd05681 Mon Sep 17 00:00:00 2001 >> From: ng0 >> Date: Sat, 22 Jul 2017 11:31:37 +0000 >> Subject: [PATCH] gnu: Add mg. >>=20 >> * gnu/packages/text-editors.scm (mg): New variable. This package already exists. I=E2=80=99m moving it from mg.scm to text-editors.scm. ng0, please see if you=E2=80=99d like to make further changes. Otherwise w= e can close this issue. Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 26 09:31:46 2017 Received: (at 27790) by debbugs.gnu.org; 26 Jul 2017 13:31:46 +0000 Received: from localhost ([127.0.0.1]:56839 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1daMPe-000726-4k for submit@debbugs.gnu.org; Wed, 26 Jul 2017 09:31:45 -0400 Received: from aibo.runbox.com ([91.220.196.211]:59632) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1daMPb-00071u-GY for 27790@debbugs.gnu.org; Wed, 26 Jul 2017 09:31:40 -0400 Received: from [10.9.9.210] (helo=mailfront10.runbox.com) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1daMPX-0006Et-FO; Wed, 26 Jul 2017 15:31:35 +0200 Received: from [185.29.8.132] (helo=localhost) by mailfront10.runbox.com with esmtpsa (uid:892961 ) (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) id 1daMPE-0003kU-3x; Wed, 26 Jul 2017 15:31:17 +0200 Date: Wed, 26 Jul 2017 13:31:11 +0000 From: ng0 To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: [bug#27790] text-editor: mg Message-ID: <20170726133111.rs52t7bm2t4oerhp@abyayala> Mail-Followup-To: Ludovic =?utf-8?Q?Court=C3=A8s?= , Tobias Geerinckx-Rice , 27790@debbugs.gnu.org References: <20170722113613.shefcwrn3m2t6suu@abyayala> <0be93d82-ed4c-6024-62c9-426ed6e3a268@tobias.gr> <87zibr8t0j.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="absh4cy6gu23ojdw" Content-Disposition: inline In-Reply-To: <87zibr8t0j.fsf@gnu.org> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 27790 Cc: 27790@debbugs.gnu.org, Tobias Geerinckx-Rice , ng0 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: -0.7 (/) --absh4cy6gu23ojdw Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s transcribed 0.5K bytes: > Heya, >=20 > Tobias Geerinckx-Rice skribis: >=20 > > ng0 wrote on 22/07/17 at 13:36: > >> From d1cae87a9b13b5624deb16666a1da3333bd05681 Mon Sep 17 00:00:00 2001 > >> From: ng0 > >> Date: Sat, 22 Jul 2017 11:31:37 +0000 > >> Subject: [PATCH] gnu: Add mg. > >>=20 > >> * gnu/packages/text-editors.scm (mg): New variable. >=20 > This package already exists. I=E2=80=99m moving it from mg.scm to > text-editors.scm. damn, didn't notice it :D > ng0, please see if you=E2=80=99d like to make further changes. Otherwise= we can > close this issue. Yes, 2 things with the in-tree version: 1. 20161005 -> needs an update 2. I think there was a reason why I patched up buffer.c to point to diff instead of /usr/bin/diff, we could reuse that. I can send these two in new patches when you've moved mg to text-editors.sc= m, or do yo uwant to do it? > Thanks, > Ludo=E2=80=99. >=20 --=20 ng0 GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588 GnuPG: https://n0is.noblogs.org/my-keys https://www.infotropique.org https://krosos.org --absh4cy6gu23ojdw Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEqIyK3RKYKNfqwC5S4i+bv+40hYgFAll4mZ8ACgkQ4i+bv+40 hYjiZA//YuXT+F8ZUleFXdsKigqE6gaqr2RV8w/SwPYFVuuo8soOj0l4k5GZ5l6j HWRU7P3TdF+haP8cERZO6ZhFJnFBzMmv9BC05RS+Rt6q3vPwC/vxhUmss4drM97O rJoX5bDQlsDzHlu7Gzk6VMyHrMUH5QrHAFcHYGk/OE+0HCn/2851zphN2FhjaVlQ tc60n8mEbWWWEE4cHjKONgalL8Sdzep11Yx0+JfyGcvwYohvMA9BNC6nNP9ZIRIP sXasYIx1QIO2jtvQwmyPhQHWfqh3qQG9LSAdWppiPAV1vgpk7xiaAKUUWa4qL7Nc rKbPkiadKgYrH/lyfmJnrk7L3H4TgD5XuoD/xz5R+6sbQmQEN1CYM6HMDkxlCPlq wjX32mZ+CrDaPxGh0+p12QnHTFN4Dj9FVEs68jnPYFd6XkxV/4Y/PmxZBNcYWhJ5 Xvr2PEjU04Y/3RBj9Q1FaUSs3iwpz1/sj0TZDEV3WawHpfl+jbNYDxr7HNidH+B8 mcr+EdZraZbKrAyoVx9bcgpTKMdyzNrFCUVO47UhDEzW6ZSsetiwWWvw1CG1JdiT JD6SoupzdUJTl94FdNCrrrWlTEe1b1q/TXzxh21ZeyaCAf5D5LjASYnA9eN0hH+w 4qdP2S2ZYhWBQDMbyhcnGm8ENaWLwRekVhRZeWUKRauJWWKDU6s= =8g8B -----END PGP SIGNATURE----- --absh4cy6gu23ojdw-- From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 26 10:11:52 2017 Received: (at 27790) by debbugs.gnu.org; 26 Jul 2017 14:11:52 +0000 Received: from localhost ([127.0.0.1]:57494 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1daN2W-00085Z-7R for submit@debbugs.gnu.org; Wed, 26 Jul 2017 10:11:52 -0400 Received: from aibo.runbox.com ([91.220.196.211]:52620) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1daN2U-00085P-EH for 27790@debbugs.gnu.org; Wed, 26 Jul 2017 10:11:51 -0400 Received: from [10.9.9.210] (helo=mailfront10.runbox.com) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1daN2S-00056G-0l; Wed, 26 Jul 2017 16:11:48 +0200 Received: from ns3067031.ip-79-137-67.eu ([79.137.67.116] helo=localhost) by mailfront10.runbox.com with esmtpsa (uid:892961 ) (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) id 1daN1y-0005Ee-BE; Wed, 26 Jul 2017 16:11:18 +0200 Date: Wed, 26 Jul 2017 14:11:15 +0000 From: ng0 To: Ludovic =?utf-8?Q?Court=C3=A8s?= , Tobias Geerinckx-Rice , 27790@debbugs.gnu.org Subject: Re: [bug#27790] text-editor: mg Message-ID: <20170726141115.kfd7ghtcdjkemvcn@abyayala> Mail-Followup-To: Ludovic =?utf-8?Q?Court=C3=A8s?= , Tobias Geerinckx-Rice , 27790@debbugs.gnu.org References: <20170722113613.shefcwrn3m2t6suu@abyayala> <0be93d82-ed4c-6024-62c9-426ed6e3a268@tobias.gr> <87zibr8t0j.fsf@gnu.org> <20170726133111.rs52t7bm2t4oerhp@abyayala> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="f6vgfgiyrh44vgig" Content-Disposition: inline In-Reply-To: <20170726133111.rs52t7bm2t4oerhp@abyayala> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 27790 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: -0.7 (/) --f6vgfgiyrh44vgig Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable ng0 transcribed 2.1K bytes: > Ludovic Court=C3=A8s transcribed 0.5K bytes: > > Heya, > >=20 > > Tobias Geerinckx-Rice skribis: > >=20 > > > ng0 wrote on 22/07/17 at 13:36: > > >> From d1cae87a9b13b5624deb16666a1da3333bd05681 Mon Sep 17 00:00:00 20= 01 > > >> From: ng0 > > >> Date: Sat, 22 Jul 2017 11:31:37 +0000 > > >> Subject: [PATCH] gnu: Add mg. > > >>=20 > > >> * gnu/packages/text-editors.scm (mg): New variable. > >=20 > > This package already exists. I=E2=80=99m moving it from mg.scm to > > text-editors.scm. >=20 > damn, didn't notice it :D >=20 > > ng0, please see if you=E2=80=99d like to make further changes. Otherwi= se we can > > close this issue. >=20 > Yes, 2 things with the in-tree version: >=20 > 1. 20161005 -> needs an update > 2. I think there was a reason why I patched up buffer.c to point to > diff instead of /usr/bin/diff, we could reuse that. One more: source, according to Tobias, is accessible via https. > I can send these two in new patches when you've moved mg to text-editors.= scm, > or do yo uwant to do it? >=20 > > Thanks, > > Ludo=E2=80=99. > >=20 >=20 > --=20 > ng0 > GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588 > GnuPG: https://n0is.noblogs.org/my-keys > https://www.infotropique.org https://krosos.org --=20 ng0 GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588 GnuPG: https://n0is.noblogs.org/my-keys https://www.infotropique.org https://krosos.org --f6vgfgiyrh44vgig Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEqIyK3RKYKNfqwC5S4i+bv+40hYgFAll4owMACgkQ4i+bv+40 hYh1JRAAlJEpjsrijZGUbZVPyvkkXziFtxqqu7nru5hDUSnixrNwgD/Aj+i3tyTp tvhEvrTvSd46WaNobRT9Er/hVCRHgvW3ZPWmWRsvh16WRze5EYNKsbydVkvYoidB SXmSNt7cwvNVSw+G++4H3TQaff2WpqzwdXf9dYe52qNAD6UiTeL23d/EocR8xTxT HNHcA76TXcdx2KjjChMunReJm+XdPfqzo+88Hf2HeuUxKDmh/74lsd7btIyoJhHs 0YvB9KSEDDgE6+v/h88yJzgd+Gqtc4PtermGB7gTMWPUsSDztAw+HFVd5d0Z0y8H bc2RlPaY5Iq0/UhLVb6TrFeYbhwZoA9ndfJoAbcr/LTZAQru+80p9CU6ZEG821VC Gj+S82MsuHx6si1Zfl4OCRLyunM+26Pnj112vfUWRbkJ4HgPAYKPUifKTVqsMPWE Bv5BAWWZta9Pp62St/CCFhEVh23+/YnfvYYeMdYz+TS8VJ5WQI07s4UA0wzBxjhg AhncDc3bI2JdSyrSjKjex9pgJInXXM+HZYxDNMbP9g+yjxK3TqSCx0wVXuY0eRbc x+5nUVzd2bjAG+c413sRIn136jlYbU+WFuHVbTkZwo2rEXpEssmbIQyE607ZEiuj Wm0+7OsweZ+WRvvE47VftvCz+dz/wI3xdINYU8x51E5DpHBJ9GA= =SRE4 -----END PGP SIGNATURE----- --f6vgfgiyrh44vgig-- From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 26 10:30:46 2017 Received: (at 27790) by debbugs.gnu.org; 26 Jul 2017 14:30:46 +0000 Received: from localhost ([127.0.0.1]:57504 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1daNKi-00005f-6l for submit@debbugs.gnu.org; Wed, 26 Jul 2017 10:30:46 -0400 Received: from aibo.runbox.com ([91.220.196.211]:37624) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1daNKc-00005S-Fn for 27790@debbugs.gnu.org; Wed, 26 Jul 2017 10:30:38 -0400 Received: from [10.9.9.210] (helo=mailfront10.runbox.com) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1daNKa-0003P5-9K; Wed, 26 Jul 2017 16:30:32 +0200 Received: from lumumba.torservers.net ([77.247.181.163] helo=localhost) by mailfront10.runbox.com with esmtpsa (uid:892961 ) (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) id 1daNKR-0004s7-UG; Wed, 26 Jul 2017 16:30:24 +0200 Date: Wed, 26 Jul 2017 14:30:20 +0000 From: ng0 To: Ludovic =?utf-8?Q?Court=C3=A8s?= , Tobias Geerinckx-Rice , 27790@debbugs.gnu.org Subject: Re: [bug#27790] text-editor: mg Message-ID: <20170726143020.colgkqoy6yv3oxhc@abyayala> Mail-Followup-To: Ludovic =?utf-8?Q?Court=C3=A8s?= , Tobias Geerinckx-Rice , 27790@debbugs.gnu.org References: <20170722113613.shefcwrn3m2t6suu@abyayala> <0be93d82-ed4c-6024-62c9-426ed6e3a268@tobias.gr> <87zibr8t0j.fsf@gnu.org> <20170726133111.rs52t7bm2t4oerhp@abyayala> <20170726141115.kfd7ghtcdjkemvcn@abyayala> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="lgdpioq3grphcygr" Content-Disposition: inline In-Reply-To: <20170726141115.kfd7ghtcdjkemvcn@abyayala> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 27790 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: 0.0 (/) --lgdpioq3grphcygr Content-Type: multipart/mixed; boundary="3w6g7wb7ivwx2jnz" Content-Disposition: inline --3w6g7wb7ivwx2jnz Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Patches. 1: Update 2: Fetch via https 3: new phase to use our "diff" --=20 ng0 GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588 GnuPG: https://n0is.noblogs.org/my-keys https://www.infotropique.org https://krosos.org --3w6g7wb7ivwx2jnz Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0001-gnu-mg-Update-to-20170401.patch" Content-Transfer-Encoding: quoted-printable =46rom ff4bcddd0eeeb1de283ef0931ac73d698026d6c6 Mon Sep 17 00:00:00 2001 =46rom: ng0 Date: Wed, 26 Jul 2017 14:21:21 +0000 Subject: [PATCH 1/3] gnu: mg: Update to 20170401. * gnu/packages/text-editors.scm (mg): Update to 20170401. --- gnu/packages/text-editors.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gnu/packages/text-editors.scm b/gnu/packages/text-editors.scm index 756c2beab..7b9732ab8 100644 --- a/gnu/packages/text-editors.scm +++ b/gnu/packages/text-editors.scm @@ -3,7 +3,7 @@ ;;; Copyright =C2=A9 2016 Carlo Zancanaro ;;; Copyright =C2=A9 2017 Eric Bavier ;;; Copyright =C2=A9 2017 Feng Shu -;;; Copyright =C2=A9 2017 ng0 +;;; Copyright =C2=A9 2017 ng0 ;;; Copyright =C2=A9 2014 Taylan Ulrich Bay=C4=B1rl=C4=B1/Kammer ;;; ;;; This file is part of GNU Guix. @@ -234,14 +234,14 @@ Wordstar-, EMACS-, Pico, Nedit or vi-like key binding= s. e3 can be used on (define-public mg (package (name "mg") - (version "20161005") + (version "20170401") (source (origin (method url-fetch) (uri (string-append "http://homepage.boetes.org/software/mg/= mg-" version ".tar.gz")) (sha256 (base32 - "0qaydk2cy765n9clghmi5gdnpwn15y2v0fj6r0jcm0v7d89vbz5p")) + "1arasswgdadbb265rahq3867r9s54jva6k4m3p5n0f8mgjqhhdha")) (modules '((guix build utils))) (snippet '(begin --=20 2.13.3 --3w6g7wb7ivwx2jnz Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0002-gnu-mg-Fetch-source-via-HTTPS.patch" Content-Transfer-Encoding: quoted-printable =46rom e21e12416918266b7f3660b62ccd2784012c00f0 Mon Sep 17 00:00:00 2001 =46rom: ng0 Date: Wed, 26 Jul 2017 14:22:54 +0000 Subject: [PATCH 2/3] gnu: mg: Fetch source via HTTPS. * gnu/packages/text-editors.scm (mg)[source]: Use HTTPS. --- gnu/packages/text-editors.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/packages/text-editors.scm b/gnu/packages/text-editors.scm index 7b9732ab8..7357df7fb 100644 --- a/gnu/packages/text-editors.scm +++ b/gnu/packages/text-editors.scm @@ -237,7 +237,7 @@ Wordstar-, EMACS-, Pico, Nedit or vi-like key bindings.= e3 can be used on (version "20170401") (source (origin (method url-fetch) - (uri (string-append "http://homepage.boetes.org/software/mg/= mg-" + (uri (string-append "https://homepage.boetes.org/software/mg= /mg-" version ".tar.gz")) (sha256 (base32 --=20 2.13.3 --3w6g7wb7ivwx2jnz Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-gnu-mg-Add-new-phase-to-find-diff.patch" Content-Transfer-Encoding: quoted-printable =46rom cc80c01c3732f8881a05c6afea0fff363311ffa0 Mon Sep 17 00:00:00 2001 =46rom: ng0 Date: Wed, 26 Jul 2017 14:24:56 +0000 Subject: [PATCH 3/3] gnu: mg: Add new phase to find 'diff'. * gnu/packages/text-editors.scm (mg)[phases]: Add new 'correct-location-of-= difftool'. --- gnu/packages/text-editors.scm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gnu/packages/text-editors.scm b/gnu/packages/text-editors.scm index 7357df7fb..7843c120a 100644 --- a/gnu/packages/text-editors.scm +++ b/gnu/packages/text-editors.scm @@ -261,6 +261,12 @@ Wordstar-, EMACS-, Pico, Nedit or vi-like key bindings= =2E e3 can be used on "CC=3Dgcc") #:phases (modify-phases %standard-phases (delete 'configure) + (add-before 'build 'correct-location-of-difftool + (lambda _ + (substitute* "buffer.c" + (("/usr/bin/diff") + (which "diff"))) + #t)) (add-before 'install 'patch-tutorial-location (lambda* (#:key outputs #:allow-other-keys) (substitute* "mg.1" --=20 2.13.3 --3w6g7wb7ivwx2jnz-- --lgdpioq3grphcygr Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEqIyK3RKYKNfqwC5S4i+bv+40hYgFAll4p3wACgkQ4i+bv+40 hYj+Uw/+IURKHFzKoGD6KNxbkghXofdlND4+efRHS+xcNWkKvlW9jAyn+o/D8ftf s8bcLBYvRLJaRxfm0VCsfN/JFmUuQseo/yUMXYn/V8tDSwHu7yHL8JunNHKcKxw2 2ZTxbGOzV0lXTNdXNpBsbcTjX7RaKKYdWPs0gfgPgrjieky/ioj7kt0HmOTQdfpB ZcgGtjft+uCPhDabkoggPcqlINZjiK037Id2LF2paPVrr8K3SKKDq9VGhEqu31EY 8J5HuRgnYyq1b4rAlTnPqTSYCMNL5e929IlkWlvHRkhWBxp1aHAAbyIdmaYHY1j7 EwuJs119T8wtGqyEiuaKhBqJq/u6DurfE1pO9x8fT8mjBXjT76xhfdZt4PPXeg/a QkTgTE3+CiB8VYKhnrNVCBpVFEJHDM10rWyiJ2MurbRhlvVF1tsjLEn0M0My/BWd IXM+oswHSzCBvgCnLDn2vucRFr5+2KApG1MUHIanHVJYubrGfTqFJII3VJ5FA04/ TvjDLHWmtFLOd2JoyMakxwfLuNtJ4iNAatgmEZI+1sY4YE3TnP7obWqGhrxO8Vr0 I5PGbQDl/6xB9q7gVVc3mk8yszG0YuzOxeEQivXJBg50jyqtlvM0dDcT1Tiba2y1 N8dP8PldNiJlLOSOT+OT3b6d0cEysj9EyQ7tQq2TnBxWB1Xv/Uw= =1Vl0 -----END PGP SIGNATURE----- --lgdpioq3grphcygr-- From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 26 16:35:00 2017 Received: (at 27790-done) by debbugs.gnu.org; 26 Jul 2017 20:35:00 +0000 Received: from localhost ([127.0.0.1]:57705 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1daT1I-000098-6e for submit@debbugs.gnu.org; Wed, 26 Jul 2017 16:35:00 -0400 Received: from eggs.gnu.org ([208.118.235.92]:47932) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1daT1G-00008w-RC for 27790-done@debbugs.gnu.org; Wed, 26 Jul 2017 16:34:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1daT18-0003Fk-Mh for 27790-done@debbugs.gnu.org; Wed, 26 Jul 2017 16:34:53 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:35645) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1daT18-0003FU-JL; Wed, 26 Jul 2017 16:34:50 -0400 Received: from reverse-83.fdn.fr ([80.67.176.83]:44446 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1daT18-0000MZ-0x; Wed, 26 Jul 2017 16:34:50 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Tobias Geerinckx-Rice Subject: Re: [bug#27790] text-editor: mg References: <20170722113613.shefcwrn3m2t6suu@abyayala> <0be93d82-ed4c-6024-62c9-426ed6e3a268@tobias.gr> <87zibr8t0j.fsf@gnu.org> <20170726133111.rs52t7bm2t4oerhp@abyayala> <20170726141115.kfd7ghtcdjkemvcn@abyayala> <20170726143020.colgkqoy6yv3oxhc@abyayala> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 8 Thermidor an 225 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu Date: Wed, 26 Jul 2017 22:34:47 +0200 In-Reply-To: <20170726143020.colgkqoy6yv3oxhc@abyayala> (ng0@infotropique.org's message of "Wed, 26 Jul 2017 14:30:20 +0000") Message-ID: <87h8xz7x94.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 27790-done Cc: 27790-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: -5.0 (-----) ng0 skribis: > Patches. > > 1: Update > 2: Fetch via https > 3: new phase to use our "diff" Applied all three patches, thank you! Ludo=E2=80=99. From unknown Sun Jun 22 07:32:44 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 24 Aug 2017 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator