all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: 宋文武 <iyzsong@gmail.com>
To: Andy Wingo <wingo@igalia.com>, Mark H Weaver <mhw@netris.org>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH] gnu: rhythmbox: Add gst-plugins-ugly dependency.
Date: Tue, 25 Aug 2015 21:35:43 +0800	[thread overview]
Message-ID: <87oahvze1c.fsf@gmail.com> (raw)
In-Reply-To: <87vbc47ivp.fsf@igalia.com>

Andy Wingo <wingo@igalia.com> writes:

> Hi Mark :)
>
> Thank you for being patient with an idiot :)
>
> On Mon 24 Aug 2015 18:14, Mark H Weaver <mhw@netris.org> writes:
>
>> For the same reason that I explained in my last email in this thread,
>> although I forgot to mention ~/.guix-profile/etc/profile:
>>
>>   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.
>>
>> So, if you install 'gstreamer' in your profile, then I guess that a
>> proper setting should appear in ~/.guix-profile/etc/profile.  Quoting
>> myself again:
>>
>>   Unfortunately, this is not very satisfactory because there's usually
>>   no reason to install gstreamer in your profile.
>>
>>   It would be good to find a better solution to this more general problem.
>>   Ideally, it would be good to remind the user about 'native-search-paths'
>>   for all *run-time* dependencies of the packages in the user's profile.
>
> You are right!  I guess my experience was that would install things,
> even gstreamer, but run rhythmbox from Alt-F2 so I wouldn't get the
> environment of the newly installed profile, whereas if I had run from a
> shell I would.  I didn't know what was going on.
Yes, I agree it's a bad experience.
The problem is:
  We installed rhythmbox, it can't play mp3 files.
  OK, let's installed gst-plugins-ugly (and gstreamer if necessary).
  Now start a new rhythmbox by menu, launch, etc. from the DE.
  It won't work!
The desktop users have to logout and login again.
>
>> I agree.  I think we should populate ~/.guix-profile/etc/profile with
>> 'native-search-paths' not only from the transitive propagated-inputs of
>> the user's profile, as we currently do, but from the transitive
>> *run-time* dependencies.  That should solve many problems like this.
>>
>> It may be tricky to implement, however, since the run-time dependencies
>> are not known in advance, and I guess it would involve getting the
>> information from the daemon.  This is an area where my knowledge is
>> quite weak, so I'm hoping that Ludovic will take an interest in this.
>
> What would happen if we made gst-plugins-ugly also add the same
> native-search-paths?  Multiple packages can add the same paths, right?
> In that case you wouldn't have to install gstreamer.
It's fine, but the previous problem still exist.

How about add the 'runtime-search-paths' to rhythmbox, when
a matched plugin package installed into the same profile,
we update rhythmbox by wrap it?
when the matched package get removed, we need to unwrap it..

  reply	other threads:[~2015-08-25 13:34 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         ` 宋文武 [this message]
2015-08-25 15:19   ` Ludovic Courtès
2015-10-15 21:12     ` Ludovic Courtès

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

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

  git send-email \
    --in-reply-to=87oahvze1c.fsf@gmail.com \
    --to=iyzsong@gmail.com \
    --cc=guix-devel@gnu.org \
    --cc=mhw@netris.org \
    --cc=wingo@igalia.com \
    /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 external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.