From 97d60fd2d26507176e0a8c5f1985be8747280b73 Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Sun, 27 Jul 2025 14:53:51 -0300 Subject: [PATCH] gnu: moe: Transplant to text-editors. Because GNU Moe is a text editor, and there is few to no reason to keep it in a dedicated file. * gnu/local.mk: Remove reference to moe.scm. * gnu/packages/moe.scm (moe): Transplant it to ... * gnu/packages/text-editors.scm: ... here. * gnu/packages/moe.scm: Delete file. * po/packages/POTFILES.in: Remove reference to moe.scm. Change-Id: Ide3b33f177b91157ec730aff72d38da1d5114a18 Signed-off-by: Sharlatan Hellseher --- gnu/local.mk | 1 - gnu/packages/moe.scm | 54 ----------------------------------- gnu/packages/text-editors.scm | 33 +++++++++++++++++++-- po/packages/POTFILES.in | 1 - 4 files changed, 30 insertions(+), 59 deletions(-) delete mode 100644 gnu/packages/moe.scm diff --git a/gnu/local.mk b/gnu/local.mk index 1c520549eb1..9396310e141 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -480,7 +480,6 @@ GNU_SYSTEM_MODULES = \ %D%/packages/minetest.scm \ %D%/packages/mingw.scm \ %D%/packages/microcom.scm \ - %D%/packages/moe.scm \ %D%/packages/mold.scm \ %D%/packages/motti.scm \ %D%/packages/monitoring.scm \ diff --git a/gnu/packages/moe.scm b/gnu/packages/moe.scm deleted file mode 100644 index aa121431be9..00000000000 --- a/gnu/packages/moe.scm +++ /dev/null @@ -1,54 +0,0 @@ -;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2014, 2015, 2017 Eric Bavier -;;; Copyright © 2016, 2019, 2021, 2023 Efraim Flashner -;;; Copyright © 2024 Andy Tai -;;; -;;; This file is part of GNU Guix. -;;; -;;; GNU Guix is free software; you can redistribute it and/or modify it -;;; under the terms of the GNU General Public License as published by -;;; the Free Software Foundation; either version 3 of the License, or (at -;;; your option) any later version. -;;; -;;; GNU Guix is distributed in the hope that it will be useful, but -;;; WITHOUT ANY WARRANTY; without even the implied warranty of -;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -;;; GNU General Public License for more details. -;;; -;;; You should have received a copy of the GNU General Public License -;;; along with GNU Guix. If not, see . - -(define-module (gnu packages moe) - #:use-module ((guix licenses) #:select (gpl2+)) - #:use-module (gnu packages ncurses) - #:use-module (gnu packages compression) - #:use-module (guix packages) - #:use-module (guix download) - #:use-module (guix build-system gnu)) - -(define-public moe - (package - (name "moe") - (version "1.15") - (source - (origin - (method url-fetch) - (uri (string-append "mirror://gnu/moe/moe-" - version ".tar.lz")) - (sha256 - (base32 "0rhakw6qpnhj98cqq9mv7z3yjhwj1nk9gq54bja4fc6fk6qciy21")))) - (build-system gnu-build-system) - (native-inputs (list lzip)) - (inputs (list ncurses)) - (home-page "https://www.gnu.org/software/moe/moe.html") - (synopsis "Modeless, multiple-buffer, user-friendly 8-bit text editor") - (description - "GNU Moe is a powerful-but-simple-to-use text editor. It works in a -modeless manner, and features an intuitive set of key-bindings that -assign a degree of severity to each key; for example, key -combinations with the Alt key are for harmless commands like cursor -movements while combinations with the Control key are for commands -that will modify the text. Moe features multiple windows, unlimited -undo/redo, unlimited line length, global search and replace, and -more.") - (license gpl2+))) diff --git a/gnu/packages/text-editors.scm b/gnu/packages/text-editors.scm index ee37f2970ee..7221a3bcff6 100644 --- a/gnu/packages/text-editors.scm +++ b/gnu/packages/text-editors.scm @@ -5,12 +5,12 @@ ;;; Copyright © 2016 José Miguel Sánchez García ;;; Copyright © 2016 Carlo Zancanaro ;;; Copyright © 2016 Rene Saavedra -;;; Copyright © 2017, 2018, 2020, 2022 Eric Bavier +;;; Copyright © 2014, 2015, 2017, 2018, 2020, 2022 Eric Bavier ;;; Copyright © 2017 Feng Shu ;;; Copyright © 2017 Nikita ;;; Copyright © 2014 Taylan Ulrich Bayırlı/Kammer ;;; Copyright © 2017–2021 Tobias Geerinckx-Rice -;;; Copyright © 2019, 2022 Efraim Flashner +;;; Copyright © 2016, 2019, 2021, 2022, 2023 Efraim Flashner ;;; Copyright © 2019 Andreas Enge ;;; Copyright © 2019-2024 Nicolas Goaziou ;;; Copyright © 2020-2022 Marius Bakke @@ -26,7 +26,7 @@ ;;; Copyright © 2022 zamfofex ;;; Copyright © 2022 Jai Vetrivelan ;;; Copyright © 2022, 2024-2025 jgart -;;; Copyright © 2022 Andy Tai +;;; Copyright © 2022, 2024 Andy Tai ;;; Copyright © 2022 ( ;;; Copyright © 2023 Eidvilas Markevičius ;;; Copyright © 2023 Maxim Cournoyer @@ -1269,6 +1269,33 @@ Octave. TeXmacs is completely extensible via Guile.") qtwayland-5 sqlite)))) +(define-public moe + (package + (name "moe") + (version "1.15") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://gnu/moe/moe-" + version ".tar.lz")) + (sha256 + (base32 "0rhakw6qpnhj98cqq9mv7z3yjhwj1nk9gq54bja4fc6fk6qciy21")))) + (build-system gnu-build-system) + (native-inputs (list lzip)) + (inputs (list ncurses)) + (synopsis "Modeless, multiple-buffer, user-friendly 8-bit text editor") + (description + "GNU Moe is a powerful-but-simple-to-use text editor. It works in a +modeless manner, and features an intuitive set of key-bindings that +assign a degree of severity to each key; for example, key +combinations with the Alt key are for harmless commands like cursor +movements while combinations with the Control key are for commands +that will modify the text. Moe features multiple windows, unlimited +undo/redo, unlimited line length, global search and replace, and +more.") + (home-page "https://www.gnu.org/software/moe/moe.html") + (license license:gpl2+))) + (define-public mogan (package (inherit texmacs) diff --git a/po/packages/POTFILES.in b/po/packages/POTFILES.in index 12bda0342bd..0f64bb319e9 100644 --- a/po/packages/POTFILES.in +++ b/po/packages/POTFILES.in @@ -451,7 +451,6 @@ gnu/packages/mercury.scm gnu/packages/mes.scm gnu/packages/messaging.scm gnu/packages/mingw.scm -gnu/packages/moe.scm gnu/packages/mold.scm gnu/packages/mp3.scm gnu/packages/mtools.scm