From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?B?5a6L5paH5q2m?= Subject: Re: [PATCH] gnu: rhythmbox: Add gst-plugins-ugly dependency. Date: Tue, 25 Aug 2015 21:35:43 +0800 Message-ID: <87oahvze1c.fsf@gmail.com> References: <87bne0elu3.fsf@igalia.com> <874mjscqs9.fsf@netris.org> <8737z9b08k.fsf@igalia.com> <87bndwoe9e.fsf@netris.org> <87vbc47ivp.fsf@igalia.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57627) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZUENI-0002qU-Ie for guix-devel@gnu.org; Tue, 25 Aug 2015 09:34:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZUENF-0007jl-6F for guix-devel@gnu.org; Tue, 25 Aug 2015 09:34:52 -0400 Received: from mail-pa0-x22c.google.com ([2607:f8b0:400e:c03::22c]:34751) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZUENE-0007jR-UU for guix-devel@gnu.org; Tue, 25 Aug 2015 09:34:49 -0400 Received: by pabzx8 with SMTP id zx8so33912371pab.1 for ; Tue, 25 Aug 2015 06:34:47 -0700 (PDT) In-Reply-To: <87vbc47ivp.fsf@igalia.com> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Andy Wingo , Mark H Weaver Cc: guix-devel@gnu.org Andy Wingo writes: > Hi Mark :) > > Thank you for being patient with an idiot :) > > On Mon 24 Aug 2015 18:14, Mark H Weaver 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..