Skip to content
Snippets Groups Projects
Unverified Commit 22ec8997 authored by Liliana Marie Prikler's avatar Liliana Marie Prikler Committed by Ludovic Courtès
Browse files

gnu: mumble: Fix mumble-overlay.


The canonical mumble-overlay script searches for libmumble.so.1 in various
directories, none of which are relevant in Guix installations and
additionally does some work to match the architecture of the library to that
of the command that will be executed.
This work is unnecessary in Guix and only causes the script to fail, so we
instead just hardcode the path.

* gnu/packages/telephony.scm (mumble)[#:phases]: Add fix-mumble-overlay.

Signed-off-by: default avatarLudovic Courtès <ludo@gnu.org>
parent ead5c461
No related branches found
No related tags found
No related merge requests found
...@@ -588,6 +588,16 @@ (define-public mumble ...@@ -588,6 +588,16 @@ (define-public mumble
(substitute* "src/mumble/Settings.cpp" (substitute* "src/mumble/Settings.cpp"
(("bUsage = true;") "bUsage = false;")) (("bUsage = true;") "bUsage = false;"))
#t)) #t))
(add-before 'configure 'fix-mumble-overlay
(lambda* (#:key outputs #:allow-other-keys)
(with-output-to-file "scripts/mumble-overlay"
(lambda ()
(format #t "#!~a~%" (which "bash"))
(format #t "export LD_PRELOAD=\"~a $LD_PRELOAD\"~%"
(string-append (assoc-ref outputs "out")
"/lib/mumble/libmumble.so.1"))
(format #t "exec \"${@}\"")))
#t))
(add-before 'install 'disable-murmur-ice (add-before 'install 'disable-murmur-ice
(lambda _ (lambda _
(substitute* "scripts/murmur.ini.system" (substitute* "scripts/murmur.ini.system"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment