emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#61421: closed ([PATCH] gnu: Add emacs-with-motif)


From: GNU bug Tracking System
Subject: bug#61421: closed ([PATCH] gnu: Add emacs-with-motif)
Date: Wed, 01 Mar 2023 15:57:02 +0000

Your message dated Wed, 01 Mar 2023 15:56:03 +0000
with message-id <87a60wwjlv.fsf@cbaines.net>
and subject line Re: [bug#61421] [PATCH v3] gnu: Add emacs-with-motif
has caused the debbugs.gnu.org bug report #61421,
regarding [PATCH] gnu: Add emacs-with-motif
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
61421: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=61421
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH] gnu: Add emacs-with-motif Date: Sat, 11 Feb 2023 02:06:01 -0800
* 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




--- End Message ---
--- Begin Message --- Subject: Re: [bug#61421] [PATCH v3] gnu: Add emacs-with-motif Date: Wed, 01 Mar 2023 15:56:03 +0000 User-agent: mu4e 1.8.13; emacs 28.2
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: signature.asc
Description: PGP signature


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]