From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pierre Neidhardt Subject: bug#37933: gst* plugins in non-default profile not found by webkitgtk browsers (e.g. epiphany) Date: Tue, 29 Oct 2019 13:13:16 +0100 Message-ID: <874kzru4v7.fsf@ambrevar.xyz> References: <87mudnaike.fsf@ambrevar.xyz> <87ftjctrce.fsf@devup.no> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:44814) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iPQNv-0005Ov-TR for bug-guix@gnu.org; Tue, 29 Oct 2019 08:14:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iPQNu-0004zM-L9 for bug-guix@gnu.org; Tue, 29 Oct 2019 08:14:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:38176) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iPQNt-0004yz-QH for bug-guix@gnu.org; Tue, 29 Oct 2019 08:14:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iPQNt-0007Ij-Ic for bug-guix@gnu.org; Tue, 29 Oct 2019 08:14:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87ftjctrce.fsf@devup.no> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Marius Bakke , 37933@debbugs.gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi Marius! > This only works when you already have 'gstreamer' in the profile, right? `gstreamer' is propagated by the gst plugins. > I don't think the first example can ever work short of wrapping the > executable? WebKitGTK-based browsers look for the plugins in the GST_PLUGIN_PATH and the GST_PLUGIN_SYSTEM_PATH environment variables. I retested today: actually I realized that it works if I clear ~/.cache/gstreamer-1.0 :p The problem is that the cache goes stale when the path to the plugins changes. It's a rather general problem with Guix, I think it's been discussed before. If we had a way to test for the cache staleness, we could add some code to the Epiphany wrapper that clears the cache if stale. =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl24LNwACgkQm9z0l6S7 zH9HFQf+P+YHpKwYFPPFt1VwXZvClb5Le7kudmOAL0nz+rzmw29nyO+43M/96W+3 SMe3RRhWWqs6Ppy1RO4bOCG+xV8ovDsy7nvv8E47nJrprobUpOJjFua3+BbhYyUm QdG/JwhYCoEobaeQt8oYDj7ln7kG7FoNH1Hrs4ZrG+XyAtquV965bf4ecI5LR9wj Bix+bycgOsjeg9aqP8/qAXqqMHPE0+pGohjZTmdOEovcsLoj0jWoixF5tZB0xC1i HBolpA2aglf5Z5TYBSLVP9S+0LIjJaRssmeZwkcMp9XgB1hxfIBYT2BDuzp0s6Li IZ0nbJa+MJn+BmQLaeOTO21hYR+2uw== =uoKV -----END PGP SIGNATURE----- --=-=-=--