GNU bug report logs - #37933
gst* plugins in non-default profile not found by webkitgtk browsers (e.g. epiphany)

Previous Next

Package: guix;

Reported by: Pierre Neidhardt <mail <at> ambrevar.xyz>

Date: Sat, 26 Oct 2019 10:49:01 UTC

Severity: normal

To reply to this bug, email your comments to 37933 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#37933; Package guix. (Sat, 26 Oct 2019 10:49:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Pierre Neidhardt <mail <at> ambrevar.xyz>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sat, 26 Oct 2019 10:49:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Pierre Neidhardt <mail <at> ambrevar.xyz>
To: bug-guix <at> gnu.org
Subject: gst* plugins in non-default profile not found by webkitgtk browsers
 (e.g. epiphany)
Date: Sat, 26 Oct 2019 12:48:33 +0200
[Message part 1 (text/plain, inline)]
Recipe that fails:

--8<---------------cut here---------------start------------->8---
guix remove gst-libav gst-plugins-bad gst-plugins-base gst-plugins-good gst-plugins-ugly
guix package -p foo -i gst-libav gst-plugins-bad gst-plugins-base gst-plugins-good gst-plugins-ugly epiphany
foo/bin/epiphany https://archive.org/details/guix-videos 
--8<---------------cut here---------------end--------------->8---

Recipe that works

--8<---------------cut here---------------start------------->8---
guix package -i gst-libav gst-plugins-bad gst-plugins-base gst-plugins-good gst-plugins-ugly epiphany
foo/bin/epiphany https://archive.org/details/guix-videos 
--8<---------------cut here---------------end--------------->8---

-- 
Pierre Neidhardt
https://ambrevar.xyz/
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#37933; Package guix. (Mon, 28 Oct 2019 22:54:01 GMT) Full text and rfc822 format available.

Message #8 received at 37933 <at> debbugs.gnu.org (full text, mbox):

From: Marius Bakke <mbakke <at> fastmail.com>
To: Pierre Neidhardt <mail <at> ambrevar.xyz>, 37933 <at> debbugs.gnu.org
Subject: Re: bug#37933: gst* plugins in non-default profile not found by
 webkitgtk browsers (e.g. epiphany)
Date: Mon, 28 Oct 2019 23:53:05 +0100
[Message part 1 (text/plain, inline)]
Pierre Neidhardt <mail <at> ambrevar.xyz> writes:

> Recipe that fails:
>
> --8<---------------cut here---------------start------------->8---
> guix remove gst-libav gst-plugins-bad gst-plugins-base gst-plugins-good gst-plugins-ugly
> guix package -p foo -i gst-libav gst-plugins-bad gst-plugins-base gst-plugins-good gst-plugins-ugly epiphany
> foo/bin/epiphany https://archive.org/details/guix-videos 
> --8<---------------cut here---------------end--------------->8---
>
> Recipe that works
>
> --8<---------------cut here---------------start------------->8---
> guix package -i gst-libav gst-plugins-bad gst-plugins-base gst-plugins-good gst-plugins-ugly epiphany
> foo/bin/epiphany https://archive.org/details/guix-videos 
> --8<---------------cut here---------------end--------------->8---

This only works when you already have 'gstreamer' in the profile, right?

I don't think the first example can ever work short of wrapping the
executable?
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#37933; Package guix. (Tue, 29 Oct 2019 12:14:01 GMT) Full text and rfc822 format available.

Message #11 received at 37933 <at> debbugs.gnu.org (full text, mbox):

From: Pierre Neidhardt <mail <at> ambrevar.xyz>
To: Marius Bakke <mbakke <at> fastmail.com>, 37933 <at> debbugs.gnu.org
Subject: Re: 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 part 1 (text/plain, inline)]
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.

-- 
Pierre Neidhardt
https://ambrevar.xyz/
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#37933; Package guix. (Tue, 11 May 2021 15:02:03 GMT) Full text and rfc822 format available.

Message #14 received at 37933 <at> debbugs.gnu.org (full text, mbox):

From: Leo Prikler <leo.prikler <at> student.tugraz.at>
To: Pierre Neidhardt <mail <at> ambrevar.xyz>, 37933 <at> debbugs.gnu.org
Subject: Re: gst* plugins in non-default profile not found by webkitgtk
 browsers (e.g. epiphany)
Date: Tue, 11 May 2021 17:00:40 +0200
Am Samstag, den 26.10.2019, 12:48 +0200 schrieb Pierre Neidhardt:
> Recipe that fails:
> 
> --8<---------------cut here---------------start------------->8---
> guix remove gst-libav gst-plugins-bad gst-plugins-base gst-plugins-
> good gst-plugins-ugly
> guix package -p foo -i gst-libav gst-plugins-bad gst-plugins-base
> gst-plugins-good gst-plugins-ugly epiphany
> foo/bin/epiphany https://archive.org/details/guix-videos 
> --8<---------------cut here---------------end--------------->8---
How is this recipe supposed to work?
You ought to source foo/etc/profile first.

> Recipe that works
> 
> --8<---------------cut here---------------start------------->8---
> guix package -i gst-libav gst-plugins-bad gst-plugins-base gst-
> plugins-good gst-plugins-ugly epiphany
> foo/bin/epiphany https://archive.org/details/guix-videos 
> --8<---------------cut here---------------end--------------->8---
> 





Information forwarded to bug-guix <at> gnu.org:
bug#37933; Package guix. (Wed, 12 May 2021 10:35:01 GMT) Full text and rfc822 format available.

Message #17 received at 37933 <at> debbugs.gnu.org (full text, mbox):

From: Pierre Neidhardt <mail <at> ambrevar.xyz>
To: Leo Prikler <leo.prikler <at> student.tugraz.at>, 37933 <at> debbugs.gnu.org
Subject: Re: gst* plugins in non-default profile not found by webkitgtk
 browsers (e.g. epiphany)
Date: Wed, 12 May 2021 12:33:59 +0200
[Message part 1 (text/plain, inline)]
Hi Leo,

> How is this recipe supposed to work?
> You ought to source foo/etc/profile first.

I forgot to mention this, but you are right, the profile must be sourced
first.

Anyways, as hinted above, the issue might be with the GStreamer cache
going stale.

I can't reproduce right now though.

-- 
Pierre Neidhardt
https://ambrevar.xyz/
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 4 years and 30 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.