unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#42284] [PATCH] gnu: icecat: Add libxscrnsaver to runtime LD_LIBRARY_PATH
@ 2020-07-08 22:00 Ivan Kozlov
  2020-07-26 11:14 ` bug#42284: " Jakub Kądziołka
  0 siblings, 1 reply; 2+ messages in thread
From: Ivan Kozlov @ 2020-07-08 22:00 UTC (permalink / raw)
  To: 42284

IceCat loads libXss.so at runtime to inhibit screen locking if other interfaces are unavailable.

diff --git a/gnu/packages/gnuzilla.scm b/gnu/packages/gnuzilla.scm
index fa430837f9..123e8bd889 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")





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

* bug#42284: [PATCH] gnu: icecat: Add libxscrnsaver to runtime LD_LIBRARY_PATH
  2020-07-08 22:00 [bug#42284] [PATCH] gnu: icecat: Add libxscrnsaver to runtime LD_LIBRARY_PATH Ivan Kozlov
@ 2020-07-26 11:14 ` Jakub Kądziołka
  0 siblings, 0 replies; 2+ messages in thread
From: Jakub Kądziołka @ 2020-07-26 11:14 UTC (permalink / raw)
  To: Ivan Kozlov; +Cc: 42284-done

[-- Attachment #1: Type: text/plain, Size: 2087 bytes --]

On Thu, Jul 09, 2020 at 01:00:05AM +0300, Ivan Kozlov wrote:
> IceCat loads libXss.so at runtime to inhibit screen locking if other interfaces are unavailable.
> 
> diff --git a/gnu/packages/gnuzilla.scm b/gnu/packages/gnuzilla.scm
> index fa430837f9..123e8bd889 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")

Hi Ivan,

I gave your patch a test ride and playing videos in IceCat now correctly
inhibits the screensaver. Thanks!

I adjusted the commit message a bit and pushed the patch to master:

commit f11d429071e9350f671bc75cb899fb464c147092 (HEAD -> master, upstream/master)
Author: Ivan Kozlov <kanichos@yandex.ru>
Date:   Thu Jul 9 01:00:05 2020 +0300

    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>

Regards,
Jakub Kądziołka

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

end of thread, other threads:[~2020-07-26 11:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-08 22:00 [bug#42284] [PATCH] gnu: icecat: Add libxscrnsaver to runtime LD_LIBRARY_PATH Ivan Kozlov
2020-07-26 11:14 ` bug#42284: " Jakub Kądziołka

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).