summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorIvan Kozlov <kanichos@yandex.ru>2020-07-09 01:00:05 +0300
committerJakub Kądziołka <kuba@kadziolka.net>2020-07-26 13:11:43 +0200
commitf11d429071e9350f671bc75cb899fb464c147092 (patch)
tree09bd0179df28fd61edced8e6eb4a2c07fc4baf8d /gnu
parentce9c5bb79c3208162bb87c1bcbc90464601d28ba (diff)
downloadguix-f11d429071e9350f671bc75cb899fb464c147092.tar.gz
gnu: icecat: Add libxscrnsaver to runtime LD_LIBRARY_PATH
IceCat loads libXss.so at runtime to inhibit screen locking if other interfaces are unavailable.

* gnu/packages/gnuzilla.scm (icecat)[arguments]: Add libxscrnsaver to
wrap-program arguments.

Signed-off-by: Jakub Kądziołka <kuba@kadziolka.net>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/gnuzilla.scm6
1 files changed, 4 insertions, 2 deletions
diff --git a/gnu/packages/gnuzilla.scm b/gnu/packages/gnuzilla.scm
index 5da18a22b5..a525f70618 100644
--- a/gnu/packages/gnuzilla.scm
+++ b/gnu/packages/gnuzilla.scm
@@ -1115,10 +1115,12 @@ from forcing GEXP-PROMISE."
                     (mesa (assoc-ref inputs "mesa"))
                     (mesa-lib (string-append mesa "/lib"))
                     (pulseaudio (assoc-ref inputs "pulseaudio"))
-                    (pulseaudio-lib (string-append pulseaudio "/lib")))
+                    (pulseaudio-lib (string-append pulseaudio "/lib"))
+                    (libxscrnsaver (assoc-ref inputs "libxscrnsaver"))
+                    (libxscrnsaver-lib (string-append libxscrnsaver "/lib")))
                (wrap-program (car (find-files lib "^icecat$"))
                  `("XDG_DATA_DIRS" prefix (,gtk-share))
-                 `("LD_LIBRARY_PATH" prefix (,pulseaudio-lib ,mesa-lib)))
+                 `("LD_LIBRARY_PATH" prefix (,pulseaudio-lib ,mesa-lib ,libxscrnsaver-lib)))
                #t))))))
     (home-page "https://www.gnu.org/software/gnuzilla/")
     (synopsis "Entirely free browser derived from Mozilla Firefox")