unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / Atom feed
* [bug#48159] [PATCH] gnu: pioneers: Patch path to beep.
@ 2021-05-02 12:41 Michael Rohleder
  2021-05-03 16:03 ` bug#48159: " Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Rohleder @ 2021-05-02 12:41 UTC (permalink / raw)
  To: 48159; +Cc: Michael Rohleder

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





^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#48159: [PATCH] gnu: pioneers: Patch path to beep.
  2021-05-02 12:41 [bug#48159] [PATCH] gnu: pioneers: Patch path to beep Michael Rohleder
@ 2021-05-03 16:03 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2021-05-03 16:03 UTC (permalink / raw)
  To: Michael Rohleder; +Cc: 48159-done

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!




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-05-03 16:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-02 12:41 [bug#48159] [PATCH] gnu: pioneers: Patch path to beep Michael Rohleder
2021-05-03 16:03 ` bug#48159: " Ludovic Courtès

unofficial mirror of guix-patches@gnu.org 

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://yhetil.org/guix-patches/1 guix-patches/git/1.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 guix-patches guix-patches/ https://yhetil.org/guix-patches \
		guix-patches@gnu.org
	public-inbox-index guix-patches

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://news.yhetil.org/yhetil.gnu.guix.patches


AGPL code for this site: git clone http://ou63pmih66umazou.onion/public-inbox.git