GNU bug report logs - #31056
[PATCH] gnu: emacs-org: fix byte compilation

Previous Next

Package: guix-patches;

Reported by: Konrad Hinsen <konrad.hinsen <at> fastmail.net>

Date: Wed, 4 Apr 2018 10:03:02 UTC

Severity: normal

Tags: patch

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: ludo <at> gnu.org (Ludovic Courtès)
Cc: tracker <at> debbugs.gnu.org
Subject: bug#31056: closed ([PATCH] gnu: emacs-org: fix byte compilation)
Date: Fri, 08 Jun 2018 14:45:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Fri, 08 Jun 2018 16:44:42 +0200
with message-id <874lidl4md.fsf <at> gnu.org>
and subject line Re: [bug#31056] [PATCH] gnu: emacs-org: fix byte compilation
has caused the debbugs.gnu.org bug report #31056,
regarding [PATCH] gnu: emacs-org: fix byte compilation
to be marked as done.

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


-- 
31056: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=31056
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Konrad Hinsen <konrad.hinsen <at> fastmail.net>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: emacs-org: fix byte compilation
Date: Mon, 26 Mar 2018 18:08:59 +0200
Fixes bug#30961
---
 gnu/packages/emacs.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 4b750b208..4e969cbe7 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -4498,6 +4498,25 @@ passive voice.")
     (description "This Emacs package provides a folder tree view.")
     (license license:gpl3+)))
 
+(define emacs-minimal-for-emacs-org
+  ;; This is the version that you should use for byte-compiling emacs-org
+  (package (inherit emacs-minimal)
+    (name "emacs-minimal-for-emacs-org")
+    (synopsis "The extensible text editor (used only for byte-compilation of emacs-org)")
+    (build-system gnu-build-system)
+    (arguments
+     (substitute-keyword-arguments (package-arguments emacs-minimal)
+       ((#:phases phases)
+        `(modify-phases ,phases
+           (add-before 'configure 'delete-org
+             (lambda _
+               (with-directory-excursion "lisp"
+                 ;; Remove org to prevent it from messing up the
+                 ;; byte compilation of package emacs-org,
+                 (delete-file-recursively "org")
+                 ;; gnus-icalendar depends on org, so remove it as well.
+                 (delete-file "gnus/gnus-icalendar.el"))))))))))
+
 (define-public emacs-org
   (package
     (name "emacs-org")
@@ -4512,6 +4531,8 @@ passive voice.")
                (base32
                 "16yr0srfzsrzv2b1f2wjk8gb2pyhsgj2hxbscixirkxqz674c5cl"))))
     (build-system emacs-build-system)
+    (arguments
+     `(#:emacs ,emacs-minimal-for-emacs-org))
     (home-page "https://orgmode.org/")
     (synopsis "Outline-based notes management and organizer")
     (description "Org is an Emacs mode for keeping notes, maintaining TODO
-- 
2.16.3



[Message part 3 (message/rfc822, inline)]
From: ludo <at> gnu.org (Ludovic Courtès)
To: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
Cc: Konrad Hinsen <konrad.hinsen <at> fastmail.net>, 31056-done <at> debbugs.gnu.org
Subject: Re: [bug#31056] [PATCH] gnu: emacs-org: fix byte compilation
Date: Fri, 08 Jun 2018 16:44:42 +0200
Hello,

Nicolas Goaziou <mail <at> nicolasgoaziou.fr> skribis:

> Konrad Hinsen <konrad.hinsen <at> fastmail.net> writes:
>
>> ludo <at> gnu.org (Ludovic Courtès) writes:
>>
>>> Nicolas, what’s the status of this patch?  What should we do?
>>
>> With the recent update to Emacs 26.1, this patch is no longer of any
>> use.
>
> Oops! I just realized the patch was stalled waiting for my output. Sorry
> about that.

Heh, marking it as ‘done’ now.

Ludo’.


This bug report was last modified 6 years and 349 days ago.

Previous Next


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