[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/02: gnu: gnome-shell: Store absolute file name of 'ibus-daemon'.
From: |
guix-commits |
Subject: |
01/02: gnu: gnome-shell: Store absolute file name of 'ibus-daemon'. |
Date: |
Mon, 1 Apr 2019 17:22:02 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 2472cdec25f440802e2c9b2904dd5a9cfce677b4
Author: Ludovic Courtès <address@hidden>
Date: Mon Apr 1 23:00:11 2019 +0200
gnu: gnome-shell: Store absolute file name of 'ibus-daemon'.
* gnu/packages/gnome.scm (gnome-shell)[arguments]: Add
'record-absolute-file-names' phase.
---
gnu/packages/gnome.scm | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index a489137..477a550 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -5764,6 +5764,13 @@ properties, screen resolution, and other GNOME
parameters.")
;; Convert the logo from SVG to PNG.
(invoke "inkscape" "--export-png=data/theme/guix-logo.png"
"data/theme/guix-logo.svg")))
+ (add-before 'build 'record-absolute-file-names
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* "js/misc/ibusManager.js"
+ (("'ibus-daemon'")
+ (string-append "'" (assoc-ref inputs "ibus")
+ "/bin/ibus-daemon'")))
+ #t))
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))