l...@gnu.org (Ludovic Courtès) skribis: > Mark H Weaver <m...@netris.org> skribis: > >> I don't think we should apply this patch. Instead, please set >> GST_PLUGIN_SYSTEM_PATH to ~/.guix-profile/lib/gstreamer-1.0 and then >> all gstreamer plugins installed in your profile should be available >> to programs based on gstreamer. Works for me with totem, anyway. >> >> Note that we have a 'native-search-paths' specification on the >> 'gstreamer' package, so if you install that package in your profile, it >> should remind you to set GST_PLUGIN_SYSTEM_PATH. Unfortunately, this is >> not very satisfactory because there's usually no reason to install >> gstreamer in your profile. > > Right. > > As an interim solution, I would suggest this: > > diff --git a/gnu/system.scm b/gnu/system.scm > index ea6e9c1..2c1387e 100644 > --- a/gnu/system.scm > +++ b/gnu/system.scm > @@ -511,6 +511,9 @@ export DBUS_FATAL_WARNINGS=0 > # Allow Aspell to find dictionaries installed in the user profile. > export ASPELL_CONF=\"dict-dir $HOME/.guix-profile/lib/aspell\" > > +# Allow GStreamer-based applications to find plugins. > +export GST_PLUGIN_PATH=\"$HOME/.guix-profile/lib/gstreamer-1.0\" > + > if [ -n \"$BASH_VERSION\" -a -f /etc/bashrc ] > then > # Load Bash-specific initialization code. > > This is inelegant, but better than broken software IMO.
Done in 4af7c83bc7010b23735c40e074c7d581dad8212e. Ludo’.