diff mbox series

[bug#36124] Update emacs-realgud to 1.5.0.

Message ID CAAc=MEzDUpvgYGC2nS42=cB728ErbgyCe06-G84eOtzWBWxhRw@mail.gmail.com
State Accepted
Headers show
Series [bug#36124] Update emacs-realgud to 1.5.0. | expand

Checks

Context Check Description
cbaines/applying patch fail Apply failed

Commit Message

Brian Leung June 7, 2019, 4:35 a.m. UTC
See attached.
diff mbox series

Patch

From 09b315116ff014bc76a2b1d27d18dace53b1478c Mon Sep 17 00:00:00 2001
From: Brian Leung <bkleung89@gmail.com>
Date: Fri, 7 Jun 2019 06:31:55 +0200
Subject: [PATCH] gnu: emacs-realgud: Update to 1.5.0.
To: guix-patches@gnu.org

* gnu/packages/emacs-xyz.scm (emacs-realgud): Update to 1.5.0.
[source]: Fetch from git.
---
 gnu/packages/emacs-xyz.scm | 20 ++++++--------------
 1 file changed, 6 insertions(+), 14 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 543ac5b2c6..9356878599 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -4305,19 +4305,16 @@  after buffer changes.")
 (define-public emacs-realgud
   (package
     (name "emacs-realgud")
-    (version "1.4.5")
+    (version "1.5.0")
     (source
      (origin
-       (method url-fetch)
-       (uri (string-append "https://elpa.gnu.org/packages/realgud-"
-                           version ".tar"))
+       (method git-fetch)
+       (uri (git-reference
+                    (url "https://github.com/realgud/realgud/")
+                    (commit version)))
        (sha256
         (base32
-         "108wgxg7fb4byaiasgvbxv2hq7b00biq9f0mh9hy6vw4160y5w24"))
-       (patches
-        ;; Patch awaiting inclusion upstream (see:
-        ;; https://github.com/realgud/realgud/pull/226).
-        (search-patches "emacs-realgud-fix-configure-ac.patch"))))
+         "0xnick9016wxrgi8v0lycvxhyz8l2k4nfvdpjc5yq476vwrjfzbz"))))
     (build-system emacs-build-system)
     (arguments
      `(#:tests? #t
@@ -4336,11 +4333,6 @@  after buffer changes.")
              (setenv "HOME" (getenv "TMPDIR"))))
          (add-before 'patch-el-files 'remove-realgud-pkg.el
            (lambda _
-             ;; XXX: This file is auto-generated at some point and causes
-             ;; substitute* to crash during the `patch-el-files' phase with:
-             ;; ERROR: In procedure stat: No such file or directory:
-             ;; "./realgud-pkg.el"
-             (delete-file "./realgud-pkg.el")
              ;; FIXME: `patch-el-files' crashes on this file with error:
              ;; unable to locate "bashdb".
              (delete-file "./test/test-regexp-bashdb.el"))))
-- 
2.21.0