unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Mark H Weaver <mhw@netris.org>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH] gnu: rhythmbox: Add gst-plugins-ugly dependency.
Date: Thu, 15 Oct 2015 23:12:55 +0200	[thread overview]
Message-ID: <87vba7zvhk.fsf@gnu.org> (raw)
In-Reply-To: <87r3mrjsz4.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Tue, 25 Aug 2015 17:19:43 +0200")

ludo@gnu.org (Ludovic Courtès) skribis:

> Mark H Weaver <mhw@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’.

      reply	other threads:[~2015-10-15 21:13 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-21 14:51 [PATCH] gnu: rhythmbox: Add gst-plugins-ugly dependency Andy Wingo
2015-08-21 20:47 ` Mark H Weaver
2015-08-24  7:43   ` Andy Wingo
2015-08-24 16:14     ` Mark H Weaver
2015-08-24 16:26       ` Andy Wingo
2015-08-25 13:35         ` 宋文武
2015-08-25 15:19   ` Ludovic Courtès
2015-10-15 21:12     ` Ludovic Courtès [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87vba7zvhk.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=guix-devel@gnu.org \
    --cc=mhw@netris.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).