GNU bug report logs - #48159
[PATCH] gnu: pioneers: Patch path to beep.

Previous Next

Package: guix-patches;

Reported by: Michael Rohleder <mike <at> rohleder.de>

Date: Sun, 2 May 2021 12:42:01 UTC

Severity: normal

Tags: patch

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

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 48159 in the body.
You can then email your comments to 48159 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#48159; Package guix-patches. (Sun, 02 May 2021 12:42:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Michael Rohleder <mike <at> rohleder.de>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sun, 02 May 2021 12:42:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Michael Rohleder <mike <at> rohleder.de>
To: guix-patches <at> gnu.org
Cc: Michael Rohleder <mike <at> rohleder.de>
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





Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Mon, 03 May 2021 16:04:03 GMT) Full text and rfc822 format available.

Notification sent to Michael Rohleder <mike <at> rohleder.de>:
bug acknowledged by developer. (Mon, 03 May 2021 16:04:03 GMT) Full text and rfc822 format available.

Message #10 received at 48159-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Michael Rohleder <mike <at> rohleder.de>
Cc: 48159-done <at> debbugs.gnu.org
Subject: Re: bug#48159: [PATCH] gnu: pioneers: Patch path to beep.
Date: Mon, 03 May 2021 18:03:48 +0200
Michael Rohleder <mike <at> 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!




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 01 Jun 2021 11:24:09 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 344 days ago.

Previous Next


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