all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / Atom feed
* [bug#48215] [PATCH 0/1] Fix broken crm114 package
@ 2021-05-04  5:01 Arun Isaac
  2021-05-04  5:06 ` [bug#48215] [PATCH] gnu: crm114: Use emacs-build-system install phase Arun Isaac
  0 siblings, 1 reply; 3+ messages in thread
From: Arun Isaac @ 2021-05-04  5:01 UTC (permalink / raw)
  To: 48215; +Cc: Arun Isaac

Hi,

Our crm114 package broke due to the recent change in the emacs-build-system
installing emacs lisp files in their own subdirectories. This patch fixes the
build and makes it more robust to any future changes in the
emacs-build-system.

Arun Isaac (1):
  gnu: crm114: Install emacs mode using emacs-build-system install
    phase.

 gnu/packages/mail.scm | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

-- 
2.31.0





^ permalink raw reply	[flat|nested] 3+ messages in thread

* [bug#48215] [PATCH] gnu: crm114: Use emacs-build-system install phase.
  2021-05-04  5:01 [bug#48215] [PATCH 0/1] Fix broken crm114 package Arun Isaac
@ 2021-05-04  5:06 ` Arun Isaac
  2021-05-05  8:11   ` bug#48215: " Leo Prikler
  0 siblings, 1 reply; 3+ messages in thread
From: Arun Isaac @ 2021-05-04  5:06 UTC (permalink / raw)
  To: 48215; +Cc: Arun Isaac

* gnu/packages/mail.scm (crm114)[arguments]: Install the crm114 emacs mode
using the install phase from emacs-build-system, instead of in the custom
pre-install phase. Run the make-autoloads phase after this new
install-emacs-mode phase.
---
 gnu/packages/mail.scm | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index e4ddf5ee9b..ea5a3d2b1e 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -4432,12 +4432,11 @@ score.")
                ;; Install mail related crm scripts.
                (for-each (lambda (file)
                            (install-file file (string-append out "/bin")))
-                         (list "mailfilter.crm" "mailreaver.crm" "mailtrainer.crm"))
-               ;; Create emacs site-lisp directory so that the install phase
-               ;; can install crm-mode.
-               (mkdir-p (string-append out "/share/emacs/site-lisp")))))
+                         (list "mailfilter.crm" "mailreaver.crm" "mailtrainer.crm")))))
+         (add-after 'install 'install-emacs-mode
+           (assoc-ref emacs:%standard-phases 'install))
          ;; Run phases from the emacs build system.
-         (add-after 'install 'make-autoloads
+         (add-after 'install-emacs-mode 'make-autoloads
            (assoc-ref emacs:%standard-phases 'make-autoloads))
          (add-after 'make-autoloads 'enable-autoloads-compilation
            (assoc-ref emacs:%standard-phases 'enable-autoloads-compilation))
-- 
2.31.0





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#48215: [PATCH] gnu: crm114: Use emacs-build-system install phase.
  2021-05-04  5:06 ` [bug#48215] [PATCH] gnu: crm114: Use emacs-build-system install phase Arun Isaac
@ 2021-05-05  8:11   ` Leo Prikler
  0 siblings, 0 replies; 3+ messages in thread
From: Leo Prikler @ 2021-05-05  8:11 UTC (permalink / raw)
  To: Arun Isaac, 48215-done

Pushed as c1036042a52ea25fa833b5b30d18b9f198b74727.
Thanks!





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-05-05  8:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-04  5:01 [bug#48215] [PATCH 0/1] Fix broken crm114 package Arun Isaac
2021-05-04  5:06 ` [bug#48215] [PATCH] gnu: crm114: Use emacs-build-system install phase Arun Isaac
2021-05-05  8:11   ` bug#48215: " Leo Prikler

all messages for Guix-related lists mirrored at yhetil.org

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://yhetil.org/guix

Example config snippet for mirrors.


AGPL code for this site: git clone http://ou63pmih66umazou.onion/public-inbox.git