From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id sHJZLr5lHV+0GAAA0tVLHw (envelope-from ) for ; Sun, 26 Jul 2020 11:15:10 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id iAspKr5lHV+BWQAAbx9fmQ (envelope-from ) for ; Sun, 26 Jul 2020 11:15:10 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id ECF0D9403C9 for ; Sun, 26 Jul 2020 11:15:09 +0000 (UTC) Received: from localhost ([::1]:52166 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jzecV-0007T0-Kt for larch@yhetil.org; Sun, 26 Jul 2020 07:15:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46192) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jzecR-0007S5-GY for guix-patches@gnu.org; Sun, 26 Jul 2020 07:15:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:40312) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jzecQ-0006Gz-7l for guix-patches@gnu.org; Sun, 26 Jul 2020 07:15:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jzecQ-00016a-2u for guix-patches@gnu.org; Sun, 26 Jul 2020 07:15:02 -0400 Subject: bug#42284: [PATCH] gnu: icecat: Add libxscrnsaver to runtime LD_LIBRARY_PATH Resent-From: Jakub =?UTF-8?Q?K=C4=85dzio=C5=82ka?= Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Sun, 26 Jul 2020 11:15:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 42284 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ivan Kozlov Cc: 42284-done@debbugs.gnu.org Mail-Followup-To: 42284@debbugs.gnu.org, kuba@kadziolka.net, kanichos@yandex.ru Received: via spool by 42284-done@debbugs.gnu.org id=D42284.15957620804197 (code D ref 42284); Sun, 26 Jul 2020 11:15:01 +0000 Received: (at 42284-done) by debbugs.gnu.org; 26 Jul 2020 11:14:40 +0000 Received: from localhost ([127.0.0.1]:51858 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jzec3-00015c-WC for submit@debbugs.gnu.org; Sun, 26 Jul 2020 07:14:40 -0400 Received: from pat.zlotemysli.pl ([37.59.186.212]:41444) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jzeby-00015P-5e for 42284-done@debbugs.gnu.org; Sun, 26 Jul 2020 07:14:38 -0400 Received: (qmail 32415 invoked by uid 1009); 26 Jul 2020 13:14:32 +0200 Received: from 83.22.51.66.ipv4.supernova.orange.pl (kuba@kadziolka.net@83.22.51.66.ipv4.supernova.orange.pl) by pat.zlotemysli.pl (envelope-from , uid 1002) with qmail-scanner-2.08st (clamdscan: 0.98.6/25884. spamassassin: 3.4.0. perlscan: 2.08st. Clear:RC:1(83.22.51.66):. Processed in 0.046087 secs); 26 Jul 2020 11:14:32 -0000 Received: from 83.22.51.66.ipv4.supernova.orange.pl (HELO gravity) (kuba@kadziolka.net@83.22.51.66) by pat.zlotemysli.pl with SMTP; 26 Jul 2020 13:14:32 +0200 Date: Sun, 26 Jul 2020 13:14:30 +0200 From: Jakub =?UTF-8?Q?K=C4=85dzio=C5=82ka?= Message-ID: <20200726111430.7jdh7ye3itmxtvvt@gravity> References: <821791594245227@mail.yandex.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="unaklaeifo635o35" Content-Disposition: inline In-Reply-To: <821791594245227@mail.yandex.ru> X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: -2.61 X-TUID: j10e5fU9hXLX --unaklaeifo635o35 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 inte= rfaces are unavailable. >=20 > 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 "/li= b"))) > (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/m= aster) Author: Ivan Kozlov 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 in= terfaces are unavailable. * gnu/packages/gnuzilla.scm (icecat)[arguments]: Add libxscrnsaver to wrap-program arguments. Signed-off-by: Jakub K=C4=85dzio=C5=82ka Regards, Jakub K=C4=85dzio=C5=82ka --unaklaeifo635o35 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE5Xa/ss9usT31cTO54xWnWEYTFWQFAl8dZZYACgkQ4xWnWEYT FWT10Q/+L2bYBz2xEJQbBkHajvKL5Ue2hacPSwXdBUQ1nXxfnQ6ywxL8vC6KXMF0 khVRZgJhaZRDCqV9EkkXDtGkOSVqk3TJCfRpEI32ri3/s2Y1j/Fvj+cHe1DZ9T1g HgWKF84lnwXWVvReYzbqA3j0B6xwVMYw/OanWxTLkdcfqCUca1c5Re/BOzRerOjh sNv/w9Z6jVzh59oF+r0Gg2n6NmQFIF4hVkjlTFx1kF48lLimSyo/HxWrKb7kCNGK SRTsEZ0etcp63Y3hxHCQsvKLJUsafZhPW3VZaj22UgALicYPEHsJT6i2iXtxgIDs x8bTCSEGuLNbpMZlHurkU+nhPn8Qiodns3frUdP/920nmtDoyTZ5D/OgqldRM8UD T9LA05x1Zw9GDQZ3djb8ObydaPKaAWdu3Vq7Jpe4QqjoEVpNwV7EE1+x/Wn6Gucq HYqCs9XI+ymvmo9ueE0kDDX3WodeGJiBHKsAE2GzEtGCFyq8dOwY5/XMtOHgknIi ksoIzK+XPKpdw8bkbGMane8VvnbnX42uXZybIJXLtFxfxUDUhk1f2iXeRY4tGwcS wM/jfoVV+CtVAanVdggE0xg8AaM5aYVnu8AS8xvWqsq+buCWrZnyUTJ5U3OhCjlT tnZEm2bzgiXqw3Bn7QWEpBxrPoV5Q9uPDoGC4Zl3nAM3CRWtPco= =tAww -----END PGP SIGNATURE----- --unaklaeifo635o35--