From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:57125) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvO8r-0001wz-Ds for guix-patches@gnu.org; Sun, 17 Feb 2019 10:14:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gvO8p-0007ok-Hj for guix-patches@gnu.org; Sun, 17 Feb 2019 10:14:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:52179) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gvO8n-0007nu-So for guix-patches@gnu.org; Sun, 17 Feb 2019 10:14:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gvO8n-0002nU-JH for guix-patches@gnu.org; Sun, 17 Feb 2019 10:14:01 -0500 Subject: [bug#34470] [PATCH 4/8] gnu: gdm: Use absolute path for gnome-session. In-Reply-To: <87o97fijyh.fsf@ngyro.com> Resent-Message-ID: From: Timothy Sample References: <87o97fijyh.fsf@ngyro.com> <20190213192221.26599-4-samplet@ngyro.com> <87d0nrhfs9.fsf@gnu.org> Date: Sun, 17 Feb 2019 10:13:12 -0500 Message-ID: <877edyih2v.fsf@ngyro.com> 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: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 34470@debbugs.gnu.org Hi Ludo, Ludovic Court=C3=A8s writes: > Hi! > > Timothy Sample skribis: > >> * gnu/packages/gnome.scm (gdm)[arguments]: Modify the pre-configure >> phase to substitute in the absolute path of gnome-session. >> [inputs]: Add gnome-session. > > This patch means that we=E2=80=99re pulling in GNOME even when we don=E2= =80=99t actually > need it: > > $ guix size gdm |tail -1 > total: 909.4 MiB > $ guix size gdm gnome-session |tail -1 > total: 1011.8 MiB > > Do you think we could avoid that? My understanding is that the login screen is more or less a normal user session brought up by gnome-session for the =E2=80=9Cgdm=E2=80=9D user. Sh= y of re-implementing the parts of gnome-session we need, I don=E2=80=99t have any ideas on how to avoid this dependency. I know that GDM sends it a list of components to initialize (e.g., GNOME Shell), but I don=E2=80=99t know w= hat else it does for GDM. My guess is that it would be possible to trim down some of these packages to recover the space. GDM is very heavy-weight software, but 1G seems like a lot. :( -- Tim