From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:56539) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hP5Mf-0005Dx-OY for guix-patches@gnu.org; Fri, 10 May 2019 09:15:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hP5Md-0008Dq-TM for guix-patches@gnu.org; Fri, 10 May 2019 09:15:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52138) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hP5Mc-0008DM-Q2 for guix-patches@gnu.org; Fri, 10 May 2019 09:15:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hP5Mc-0007qL-FF for guix-patches@gnu.org; Fri, 10 May 2019 09:15:02 -0400 Subject: [bug#35641] [PATCH] services: gdm: Include user profile in D-Bus paths. Resent-Message-ID: From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87v9yksrfd.fsf@ngyro.com> Date: Fri, 10 May 2019 15:14:06 +0200 In-Reply-To: <87v9yksrfd.fsf@ngyro.com> (Timothy Sample's message of "Wed, 08 May 2019 14:59:50 -0400") Message-ID: <87v9yizc2p.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Timothy Sample Cc: 35641@debbugs.gnu.org Hi, Timothy Sample skribis: > I avoided doing this when fixing up GDM because it seemed a little > ham-fisted (clumsy). However, I think it is better than all the ink > that would be spilled on help-guix without it. The e-ink, you mean. > In short, the point is to make sure that D-Bus services included in a > user=E2=80=99s profile can be found and started by the session bus. This= means > that if you are using GDM and install =E2=80=9Cevolution-data-server=E2= =80=9D and > =E2=80=9Cgnome-calendar=E2=80=9D (for example), the session bus will be a= ble to start > all of the services that GNOME Calendar needs to function correctly. > There are a handful of major GNOME applications that need this. > > Furthermore, I think we should add =E2=80=9Cevolution-data-server=E2=80= =9D as a > propagated input for packages that require it. This way, things like > =E2=80=9Cguix install evolution=E2=80=9D will just work the way one expec= ts. Sounds like a worthy goal. :-) > Is it okay to assume that =E2=80=9C.guix-profile=E2=80=9D is the user=E2= =80=99s profile like > this? If it isn=E2=80=99t okay in general, is it okay enough for now? In this particular case, I=E2=80=99d say it=E2=80=99s OK. Do we have any other option on the table anyway? >>>From e32c27dfa950d250520c3c8ecccba90add863639 Mon Sep 17 00:00:00 2001 > From: Timothy Sample > Date: Wed, 8 May 2019 09:13:14 -0400 > Subject: [PATCH] services: gdm: Include user profile in D-Bus paths. > > This partially addresses . > > * gnu/services/xorg.scm (dbus-daemon-wrapper): When '$HOME' is set, > include directories from '$HOME/.guix-profile' in the search paths of > the D-Bus daemon. [...] > + (program-file > + "gdm-dbus-wrapper" > + #~(begin > + (use-modules (srfi srfi-26)) Same thing with a few comment explaining what you wrote above would be great. LGTM! Thanks, Ludo=E2=80=99.