guix-commits
[Top][All Lists]
Advanced

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

branch master updated: gnu: emacs-org: Work around missing version numbe


From: guix-commits
Subject: branch master updated: gnu: emacs-org: Work around missing version number.
Date: Mon, 28 Dec 2020 11:32:20 -0500

This is an automated email from the git hooks/post-receive script.

planglois pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new cd11f6a  gnu: emacs-org: Work around missing version number.
cd11f6a is described below

commit cd11f6a2bd703f0859aec05c0873186b734d6d74
Author: Pierre Langlois <pierre.langlois@gmx.com>
AuthorDate: Mon Dec 28 10:49:19 2020 +0000

    gnu: emacs-org: Work around missing version number.
    
    Partly fixes <https://bugs.gnu.org/45448>.
    
    * gnu/packages/emacs-xyz.scm (emacs-org)[arguments]: New
    'fix-org-version phase.
---
 gnu/packages/emacs-xyz.scm | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index eaa0fc8..f85ae60 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -10296,6 +10296,15 @@ passive voice.")
     (arguments
      `(#:phases
        (modify-phases %standard-phases
+         ;; FIXME: The elpa tarball upstream does not include the version
+         ;; number, remove this phase when this is fixed.
+         ;; 
https://lists.gnu.org/archive/html/emacs-orgmode/2020-12/msg00729.html
+         (add-after 'unpack 'fix-org-version
+           (lambda _
+             (substitute* "org-version.el"
+               (("org-release \"\"")
+                (string-append "org-release \"" ,version "\"")))
+             #t))
          (add-after 'install 'install-documentation
            (lambda* (#:key outputs #:allow-other-keys)
              (let* ((share (string-append (assoc-ref outputs "out") "/share"))



reply via email to

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