emacs-bug-tracker
[Top][All Lists]
Advanced

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

bug#48159: closed ([PATCH] gnu: pioneers: Patch path to beep.)


From: GNU bug Tracking System
Subject: bug#48159: closed ([PATCH] gnu: pioneers: Patch path to beep.)
Date: Mon, 03 May 2021 16:04:03 +0000

Your message dated Mon, 03 May 2021 18:03:48 +0200
with message-id <87h7jjyfbv.fsf@gnu.org>
and subject line Re: bug#48159: [PATCH] gnu: pioneers: Patch path to beep.
has caused the debbugs.gnu.org bug report #48159,
regarding [PATCH] gnu: pioneers: Patch path to beep.
to be marked as done.

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


-- 
48159: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=48159
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH] gnu: pioneers: Patch path to beep. Date: Sun, 2 May 2021 14:41:12 +0200
Fixes <https://issues.guix.gnu.org/47131>

* gnu/packages/games.scm (pioneers): Patch path to beep.
[inputs]: Add beep.
[arguments]: Add phase patch-beep-path.
---
 gnu/packages/games.scm | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 3227b3e6fc..efdf4b4edb 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -4700,7 +4700,18 @@ are only two levels to play with, but they are very 
addictive.")
                (base32
                 "07b3xdd81n8ybsb4fzc5lx0813y9crzp1hj69khncf4faj48sdcs"))))
     (build-system gnu-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         ;; Fixes https://issues.guix.gnu.org/47131.
+         (add-after 'unpack 'patch-beep-path
+           (lambda* (#:key inputs #:allow-other-keys)
+             (substitute* "client/gtk/audio.c"
+               (("\"beep\"")
+                (string-append "\"" (assoc-ref inputs "beep") "/bin/beep\"")))
+             #t)))))
     (inputs `(("avahi" ,avahi)
+              ("beep" ,beep)
               ("gtk+" ,gtk+)
               ("librsvg" ,librsvg)))
     (native-inputs `(("intltool" ,intltool)
-- 
2.31.1




--- End Message ---
--- Begin Message --- Subject: Re: bug#48159: [PATCH] gnu: pioneers: Patch path to beep. Date: Mon, 03 May 2021 18:03:48 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
Michael Rohleder <mike@rohleder.de> skribis:

> Fixes <https://issues.guix.gnu.org/47131>
>
> * gnu/packages/games.scm (pioneers): Patch path to beep.
> [inputs]: Add beep.
> [arguments]: Add phase patch-beep-path.

Applied, thanks!


--- End Message ---

reply via email to

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