[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: gnu: emacs-realgud: Fix realgud:run-process probl
From: |
guix-commits |
Subject: |
branch master updated: gnu: emacs-realgud: Fix realgud:run-process problem. |
Date: |
Sun, 07 Jun 2020 00:52:29 -0400 |
This is an automated email from the git hooks/post-receive script.
apteryx pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new 99d27a1 gnu: emacs-realgud: Fix realgud:run-process problem.
99d27a1 is described below
commit 99d27a1353209c9a33f9c3ba6bd658ae1b1cc617
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Sun Jun 7 00:23:13 2020 -0400
gnu: emacs-realgud: Fix realgud:run-process problem.
* gnu/packages/emacs-xyz.scm (emacs-realgud)[phases]
{fix-realgud:run-process-void-error}: New phase.
{fix-autogen-script}: Return #t.
{autogen}: Likewise.
{set-home}: Likewise.
{remove-realgud-pkg.el}: Likewise.
---
gnu/packages/emacs-xyz.scm | 19 ++++++++++++++++---
1 file changed, 16 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 2387693..c149f9d 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -6010,22 +6010,35 @@ after buffer changes.")
`(#:tests? #t
#:phases
(modify-phases %standard-phases
+ (add-after 'unpack 'fix-realgud:run-process-void-error
+ ;; See: https://github.com/realgud/realgud/issues/269.
+ (lambda _
+ (substitute* '("realgud/debugger/gdb/gdb.el"
+ "realgud/debugger/gub/gub.el")
+ (("^\\(require 'load-relative\\).*" anchor)
+ (string-append anchor
+ "(require-relative-list \
+'(\"../../common/run\") \"realgud:\")\n")))
+ #t))
(add-after 'unpack 'fix-autogen-script
(lambda _
(substitute* "autogen.sh"
- (("./configure") "sh configure"))))
+ (("./configure") "sh configure"))
+ #t))
(add-after 'fix-autogen-script 'autogen
(lambda _
(setenv "CONFIG_SHELL" "sh")
(invoke "sh" "autogen.sh")))
(add-after 'fix-autogen-script 'set-home
(lambda _
- (setenv "HOME" (getenv "TMPDIR"))))
+ (setenv "HOME" (getenv "TMPDIR"))
+ #t))
(add-before 'patch-el-files 'remove-realgud-pkg.el
(lambda _
;; FIXME: `patch-el-files' crashes on this file with error:
;; unable to locate "bashdb".
- (delete-file "./test/test-regexp-bashdb.el"))))
+ (delete-file "./test/test-regexp-bashdb.el")
+ #t)))
#:include (cons* ".*\\.el$" %default-include)))
(native-inputs
`(("autoconf" ,autoconf)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: gnu: emacs-realgud: Fix realgud:run-process problem.,
guix-commits <=