From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Hashe Subject: Re: How to handle required plugins and dbus services for GNOME Programs? Date: Thu, 25 Jun 2015 00:00:06 -0500 Message-ID: References: <87d20padyz.fsf@netris.org> <87pp4na6me.fsf@gnu.org> <87d20lk5ps.fsf_-_@netris.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=e89a8ff1c5103bcecc0519507f13 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55232) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7zGj-00032f-Mu for guix-devel@gnu.org; Thu, 25 Jun 2015 01:00:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z7zGi-0001DP-GX for guix-devel@gnu.org; Thu, 25 Jun 2015 01:00:09 -0400 Received: from mail-pd0-x231.google.com ([2607:f8b0:400e:c02::231]:34529) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7zGi-00018a-4h for guix-devel@gnu.org; Thu, 25 Jun 2015 01:00:08 -0400 Received: by pdbep18 with SMTP id ep18so23361370pdb.1 for ; Wed, 24 Jun 2015 22:00:06 -0700 (PDT) In-Reply-To: <87d20lk5ps.fsf_-_@netris.org> 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: Mark H Weaver Cc: guix-devel@gnu.org --e89a8ff1c5103bcecc0519507f13 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable It's worth noting that these same questions appear in the Rhythmbox patch I submitted earlier this week, so I'll be watching what we decide here for guidance on how to improve that patch. Thanks, David On Wed, Jun 24, 2015 at 12:58 AM, Mark H Weaver wrote: > ludo@gnu.org (Ludovic Court=C3=A8s) writes: > > > Mark H Weaver skribis: > > > >> A few caveats: in order for totem to work properly, you must have > >> several other packages installed in your profile. I'm not entirely su= re > >> of the full set needed, but I guess it includes: > >> > >> grilo > >> grilo-plugins > >> gstreamer > >> gst-plugins-base > >> gst-plugins-good > >> dconf > >> > >> You will also need to set the GRL_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PA= TH > >> environment variables as advised by "guix package --search-paths". > > > > I can imagine why the plugins package need to be in the profile, but I > > find the others more surprising. Do you know what happens? Are Grilo, > > GStreamer, and DConf dlopened, or is it just to get the right search > > path recommendation that they are needed? > > Actually, it turns out that 'grilo' doesn't need to be in the profile, > although if you don't have it you won't get the search path > recommendation which is crucial for Totem to work properly. > > 'gstreamer' is a propagated-input of 'gst-plugins-base', so you don't > need to explicitly install it and I'm not sure what would happen if it > were removed. > > 'dconf' apparently needs to be in the profile for both GNOME Terminal > and Totem because of the session dbus service(s) it provides. Without > it, modern GNOME programs behave quite badly. They have no way to > access or change their own configuration settings, e.g. if you go into > their preferences, you see checkboxes that do not change their state > when clicked. > > I'm not sure how best to deal with issues like this, and also with > things like grilo-plugins and gst-plugins-* that are needed for the > proper functioning of Totem. Should we make them propagated-inputs? > > Or perhaps they should be normal inputs and we should use a wrapper to > add those directories as suffixes to GRL_PLUGIN_PATH and > GST_PLUGIN_SYSTEM_PATH automatically? > > What do you think? > > Mark > > --e89a8ff1c5103bcecc0519507f13 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
It's worth noting that these same questions = appear in the Rhythmbox patch I submitted earlier this week, so I'll be= watching what we decide here for guidance on how to improve that patch.
Thanks,
David

<= div class=3D"gmail_quote">On Wed, Jun 24, 2015 at 12:58 AM, Mark H Weaver <= span dir=3D"ltr"><mh= w@netris.org> wrote:
ludo@gnu.org (Ludovic Court=C3=A8s) writes:
> Mark H Weaver <mhw@netris.org= > skribis:
>
>> A few caveats: in order for totem to work properly, you must have<= br> >> several other packages installed in your profile.=C2=A0 I'm no= t entirely sure
>> of the full set needed, but I guess it includes:
>>
>>=C2=A0 =C2=A0grilo
>>=C2=A0 =C2=A0grilo-plugins
>>=C2=A0 =C2=A0gstreamer
>>=C2=A0 =C2=A0gst-plugins-base
>>=C2=A0 =C2=A0gst-plugins-good
>>=C2=A0 =C2=A0dconf
>>
>> You will also need to set the GRL_PLUGIN_PATH and GST_PLUGIN_SYSTE= M_PATH
>> environment variables as advised by "guix package --search-pa= ths".
>
> I can imagine why the plugins package need to be in the profile, but I=
> find the others more surprising.=C2=A0 Do you know what happens?=C2=A0= Are Grilo,
> GStreamer, and DConf dlopened, or is it just to get the right search > path recommendation that they are needed?

Actually, it turns out that 'grilo' doesn't need to be in the p= rofile,
although if you don't have it you won't get the search path
recommendation which is crucial for Totem to work properly.

'gstreamer' is a propagated-input of 'gst-plugins-base', so= you don't
need to explicitly install it and I'm not sure what would happen if it<= br> were removed.

'dconf' apparently needs to be in the profile for both GNOME Termin= al
and Totem because of the session dbus service(s) it provides.=C2=A0 Without=
it, modern GNOME programs behave quite badly.=C2=A0 They have no way to
access or change their own configuration settings, e.g. if you go into
their preferences, you see checkboxes that do not change their state
when clicked.

I'm not sure how best to deal with issues like this, and also with
things like grilo-plugins and gst-plugins-* that are needed for the
proper functioning of Totem.=C2=A0 Should we make them propagated-inputs?
Or perhaps they should be normal inputs and we should use a wrapper to
add those directories as suffixes to GRL_PLUGIN_PATH and
GST_PLUGIN_SYSTEM_PATH automatically?

What do you think?

=C2=A0 =C2=A0 =C2=A0 Mark


--e89a8ff1c5103bcecc0519507f13--