[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] gnu: rhythmbox: Add gst-plugins-ugly dependency.

From: 宋文武
Subject: Re: [PATCH] gnu: rhythmbox: Add gst-plugins-ugly dependency.
Date: Tue, 25 Aug 2015 21:35:43 +0800
User-agent: Notmuch/0.19 ( Emacs/24.5.1 (x86_64-unknown-linux-gnu)

Andy Wingo <address@hidden> writes:

> Hi Mark :)
> Thank you for being patient with an idiot :)
> On Mon 24 Aug 2015 18:14, Mark H Weaver <address@hidden> 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 via email to

[Prev in Thread] Current Thread [Next in Thread]