From: "Jakub Kądziołka" <kuba@kadziolka.net>
To: Ivan Kozlov <kanichos@yandex.ru>
Cc: 42284-done@debbugs.gnu.org
Subject: bug#42284: [PATCH] gnu: icecat: Add libxscrnsaver to runtime LD_LIBRARY_PATH
Date: Sun, 26 Jul 2020 13:14:30 +0200 [thread overview]
Message-ID: <20200726111430.7jdh7ye3itmxtvvt@gravity> (raw)
In-Reply-To: <821791594245227@mail.yandex.ru>
[-- 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 --]
prev parent reply other threads:[~2020-07-26 11:15 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200726111430.7jdh7ye3itmxtvvt@gravity \
--to=kuba@kadziolka.net \
--cc=42284-done@debbugs.gnu.org \
--cc=kanichos@yandex.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.