GNU bug report logs - #61421
[PATCH] gnu: Add emacs-with-motif

Previous Next

Package: guix-patches;

Reported by: Andy Tai <atai <at> atai.org>

Date: Sat, 11 Feb 2023 10:07:01 UTC

Severity: normal

Tags: patch

Done: Christopher Baines <mail <at> cbaines.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 61421 in the body.
You can then email your comments to 61421 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#61421; Package guix-patches. (Sat, 11 Feb 2023 10:07:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Andy Tai <atai <at> atai.org>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sat, 11 Feb 2023 10:07:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Andy Tai <atai <at> atai.org>
To: guix-patches <at> gnu.org
Cc: Andy Tai <atai <at> atai.org>
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





Information forwarded to guix-patches <at> gnu.org:
bug#61421; Package guix-patches. (Sun, 12 Feb 2023 23:56:01 GMT) Full text and rfc822 format available.

Message #8 received at 61421 <at> debbugs.gnu.org (full text, mbox):

From: Andy Tai <atai <at> atai.org>
To: 61421 <at> debbugs.gnu.org
Cc: Andy Tai <atai <at> atai.org>
Subject: [PATCH] gnu: Add emacs-with-motif
Date: Sun, 12 Feb 2023 15:54:49 -0800
* 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





Information forwarded to guix-patches <at> gnu.org:
bug#61421; Package guix-patches. (Sun, 12 Feb 2023 23:56:02 GMT) Full text and rfc822 format available.

Message #11 received at 61421 <at> debbugs.gnu.org (full text, mbox):

From: Andy Tai <atai <at> atai.org>
To: 61421 <at> debbugs.gnu.org
Cc: Andy Tai <atai <at> atai.org>
Subject: [PATCH v3] gnu: Add emacs-with-motif
Date: Sun, 12 Feb 2023 15:55:31 -0800
* 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





Information forwarded to guix-patches <at> gnu.org:
bug#61421; Package guix-patches. (Wed, 01 Mar 2023 15:57:01 GMT) Full text and rfc822 format available.

Message #14 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Christopher Baines <mail <at> cbaines.net>
To: Andy Tai <atai <at> atai.org>
Cc: 61421-done <at> debbugs.gnu.org, guix-patches <at> gnu.org
Subject: Re: [bug#61421] [PATCH v3] gnu: Add emacs-with-motif
Date: Wed, 01 Mar 2023 15:56:03 +0000
[Message part 1 (text/plain, inline)]
Andy Tai <atai <at> 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
[signature.asc (application/pgp-signature, inline)]

Reply sent to Christopher Baines <mail <at> cbaines.net>:
You have taken responsibility. (Wed, 01 Mar 2023 15:57:02 GMT) Full text and rfc822 format available.

Notification sent to Andy Tai <atai <at> atai.org>:
bug acknowledged by developer. (Wed, 01 Mar 2023 15:57:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 30 Mar 2023 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 21 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.