* [bug#61421] [PATCH] gnu: Add emacs-with-motif
@ 2023-02-11 10:06 Andy Tai
2023-02-12 23:54 ` Andy Tai
2023-02-12 23:55 ` [bug#61421] [PATCH v3] " Andy Tai
0 siblings, 2 replies; 4+ messages in thread
From: Andy Tai @ 2023-02-11 10:06 UTC (permalink / raw)
To: 61421; +Cc: Andy Tai
* gnu/packages/text-editors.scm (emacs-with-motif): New variable
---
gnu/packages/emacs.scm | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 4ce41deb88..3bdfbef093 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -66,6 +66,7 @@ (define-module (gnu packages emacs)
#:use-module (gnu packages gtk)
#:use-module (gnu packages guile)
#:use-module (gnu packages image)
+ #:use-module (gnu packages lesstif) ; motif
#:use-module (gnu packages linux) ; alsa-lib, gpm
#:use-module (gnu packages mail) ; for mailutils
#:use-module (gnu packages multiprecision)
@@ -475,6 +476,25 @@ (define-public emacs-xwidgets
(modify-inputs (package-inputs emacs)
(prepend webkitgtk-with-libsoup2 libxcomposite)))))
+(define-public emacs-with-motif
+ (package/inherit emacs
+ (name "emacs-with-motif")
+ (synopsis "The extensible, customizable, self-documenting text
+editor (without an X toolkit)" )
+ (build-system gnu-build-system)
+ (inputs (modify-inputs (package-inputs emacs)
+ (delete "gtk+")
+ (prepend inotify-tools motif)))
+ (arguments
+ (substitute-keyword-arguments (package-arguments emacs)
+ ((#:configure-flags flags #~'())
+ #~(cons "--with-x-toolkit=motif" #$flags))
+ ((#:modules _) (%emacs-modules build-system))
+ ((#:phases phases)
+ #~(modify-phases #$phases
+ (delete 'restore-emacs-pdmp)
+ (delete 'strip-double-wrap)))))))
+
(define-public emacs-no-x
(package/inherit emacs
(name "emacs-no-x")
--
2.39.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [bug#61421] [PATCH] gnu: Add emacs-with-motif
2023-02-11 10:06 [bug#61421] [PATCH] gnu: Add emacs-with-motif Andy Tai
@ 2023-02-12 23:54 ` Andy Tai
2023-02-12 23:55 ` [bug#61421] [PATCH v3] " Andy Tai
1 sibling, 0 replies; 4+ messages in thread
From: Andy Tai @ 2023-02-12 23:54 UTC (permalink / raw)
To: 61421; +Cc: Andy Tai
* gnu/packages/text-editors.scm (emacs-with-motif): New variable
---
gnu/packages/emacs.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 4ce41deb88..08e2361987 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -66,6 +66,7 @@ (define-module (gnu packages emacs)
#:use-module (gnu packages gtk)
#:use-module (gnu packages guile)
#:use-module (gnu packages image)
+ #:use-module (gnu packages lesstif) ; motif
#:use-module (gnu packages linux) ; alsa-lib, gpm
#:use-module (gnu packages mail) ; for mailutils
#:use-module (gnu packages multiprecision)
@@ -475,6 +476,29 @@ (define-public emacs-xwidgets
(modify-inputs (package-inputs emacs)
(prepend webkitgtk-with-libsoup2 libxcomposite)))))
+(define-public emacs-with-motif
+ (package/inherit emacs
+ (name "emacs-with-motif")
+ (synopsis
+ "The extensible, customizable, self-documenting text
+editor (with Motif toolkit)")
+ (build-system gnu-build-system)
+ (inputs (modify-inputs (package-inputs emacs)
+ (delete "gtk+")
+ (prepend inotify-tools motif)))
+ (arguments (substitute-keyword-arguments (package-arguments
+ emacs)
+ ((#:configure-flags flags
+ #~'())
+ #~(cons "--with-x-toolkit=motif"
+ #$flags))
+ ((#:modules _)
+ (%emacs-modules build-system))
+ ((#:phases phases)
+ #~(modify-phases #$phases
+ (delete 'restore-emacs-pdmp)
+ (delete 'strip-double-wrap)))))))
+
(define-public emacs-no-x
(package/inherit emacs
(name "emacs-no-x")
--
2.39.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [bug#61421] [PATCH v3] gnu: Add emacs-with-motif
2023-02-11 10:06 [bug#61421] [PATCH] gnu: Add emacs-with-motif Andy Tai
2023-02-12 23:54 ` Andy Tai
@ 2023-02-12 23:55 ` Andy Tai
2023-03-01 15:56 ` bug#61421: " Christopher Baines
1 sibling, 1 reply; 4+ messages in thread
From: Andy Tai @ 2023-02-12 23:55 UTC (permalink / raw)
To: 61421; +Cc: Andy Tai
* gnu/packages/text-editors.scm (emacs-with-motif): New variable
---
gnu/packages/emacs.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 4ce41deb88..08e2361987 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -66,6 +66,7 @@ (define-module (gnu packages emacs)
#:use-module (gnu packages gtk)
#:use-module (gnu packages guile)
#:use-module (gnu packages image)
+ #:use-module (gnu packages lesstif) ; motif
#:use-module (gnu packages linux) ; alsa-lib, gpm
#:use-module (gnu packages mail) ; for mailutils
#:use-module (gnu packages multiprecision)
@@ -475,6 +476,29 @@ (define-public emacs-xwidgets
(modify-inputs (package-inputs emacs)
(prepend webkitgtk-with-libsoup2 libxcomposite)))))
+(define-public emacs-with-motif
+ (package/inherit emacs
+ (name "emacs-with-motif")
+ (synopsis
+ "The extensible, customizable, self-documenting text
+editor (with Motif toolkit)")
+ (build-system gnu-build-system)
+ (inputs (modify-inputs (package-inputs emacs)
+ (delete "gtk+")
+ (prepend inotify-tools motif)))
+ (arguments (substitute-keyword-arguments (package-arguments
+ emacs)
+ ((#:configure-flags flags
+ #~'())
+ #~(cons "--with-x-toolkit=motif"
+ #$flags))
+ ((#:modules _)
+ (%emacs-modules build-system))
+ ((#:phases phases)
+ #~(modify-phases #$phases
+ (delete 'restore-emacs-pdmp)
+ (delete 'strip-double-wrap)))))))
+
(define-public emacs-no-x
(package/inherit emacs
(name "emacs-no-x")
--
2.39.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* bug#61421: [PATCH v3] gnu: Add emacs-with-motif
2023-02-12 23:55 ` [bug#61421] [PATCH v3] " Andy Tai
@ 2023-03-01 15:56 ` Christopher Baines
0 siblings, 0 replies; 4+ messages in thread
From: Christopher Baines @ 2023-03-01 15:56 UTC (permalink / raw)
To: Andy Tai; +Cc: 61421-done, guix-patches
[-- Attachment #1: Type: text/plain, Size: 429 bytes --]
Andy Tai <atai@atai.org> writes:
> * gnu/packages/text-editors.scm (emacs-with-motif): New variable
> ---
> gnu/packages/emacs.scm | 24 ++++++++++++++++++++++++
> 1 file changed, 24 insertions(+)
I've pushed this to master as c05adaddb14064f0d2817e331fe5d0618f218bb9,
with a few changes. I've fixed the indentation, and renamed the package
to emacs-motif to be more consistent with the other emacs variants.
Thanks,
Chris
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 987 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-03-01 15:57 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-11 10:06 [bug#61421] [PATCH] gnu: Add emacs-with-motif Andy Tai
2023-02-12 23:54 ` Andy Tai
2023-02-12 23:55 ` [bug#61421] [PATCH v3] " Andy Tai
2023-03-01 15:56 ` bug#61421: " Christopher Baines
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).