unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#37933: gst* plugins in non-default profile not found by webkitgtk browsers (e.g. epiphany)
@ 2019-10-26 10:48 Pierre Neidhardt
  2019-10-28 22:53 ` Marius Bakke
  2021-05-11 15:00 ` Leo Prikler
  0 siblings, 2 replies; 5+ messages in thread
From: Pierre Neidhardt @ 2019-10-26 10:48 UTC (permalink / raw)
  To: 37933

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

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/

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

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

* bug#37933: gst* plugins in non-default profile not found by webkitgtk browsers (e.g. epiphany)
  2019-10-26 10:48 bug#37933: gst* plugins in non-default profile not found by webkitgtk browsers (e.g. epiphany) Pierre Neidhardt
@ 2019-10-28 22:53 ` Marius Bakke
  2019-10-29 12:13   ` Pierre Neidhardt
  2021-05-11 15:00 ` Leo Prikler
  1 sibling, 1 reply; 5+ messages in thread
From: Marius Bakke @ 2019-10-28 22:53 UTC (permalink / raw)
  To: Pierre Neidhardt, 37933

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

Pierre Neidhardt <mail@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?

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

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

* bug#37933: gst* plugins in non-default profile not found by webkitgtk browsers (e.g. epiphany)
  2019-10-28 22:53 ` Marius Bakke
@ 2019-10-29 12:13   ` Pierre Neidhardt
  0 siblings, 0 replies; 5+ messages in thread
From: Pierre Neidhardt @ 2019-10-29 12:13 UTC (permalink / raw)
  To: Marius Bakke, 37933

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

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/

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

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

* bug#37933: gst* plugins in non-default profile not found by webkitgtk browsers (e.g. epiphany)
  2019-10-26 10:48 bug#37933: gst* plugins in non-default profile not found by webkitgtk browsers (e.g. epiphany) Pierre Neidhardt
  2019-10-28 22:53 ` Marius Bakke
@ 2021-05-11 15:00 ` Leo Prikler
  2021-05-12 10:33   ` Pierre Neidhardt
  1 sibling, 1 reply; 5+ messages in thread
From: Leo Prikler @ 2021-05-11 15:00 UTC (permalink / raw)
  To: Pierre Neidhardt, 37933

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---
> 





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

* bug#37933: gst* plugins in non-default profile not found by webkitgtk browsers (e.g. epiphany)
  2021-05-11 15:00 ` Leo Prikler
@ 2021-05-12 10:33   ` Pierre Neidhardt
  0 siblings, 0 replies; 5+ messages in thread
From: Pierre Neidhardt @ 2021-05-12 10:33 UTC (permalink / raw)
  To: Leo Prikler, 37933

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

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/

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

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

end of thread, other threads:[~2021-05-12 10:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-26 10:48 bug#37933: gst* plugins in non-default profile not found by webkitgtk browsers (e.g. epiphany) Pierre Neidhardt
2019-10-28 22:53 ` Marius Bakke
2019-10-29 12:13   ` Pierre Neidhardt
2021-05-11 15:00 ` Leo Prikler
2021-05-12 10:33   ` Pierre Neidhardt

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).