From patchwork Wed Feb 13 19:09:42 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Timothy Sample X-Patchwork-Id: 1076 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id BD86B16C16; Wed, 13 Feb 2019 19:11:17 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 66D1116C14 for ; Wed, 13 Feb 2019 19:11:17 +0000 (GMT) Received: from localhost ([127.0.0.1]:33850 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gtzwC-0007Rp-KC for patchwork@mira.cbaines.net; Wed, 13 Feb 2019 14:11:16 -0500 Received: from eggs.gnu.org ([209.51.188.92]:52283) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gtzw0-0007RZ-DO for guix-patches@gnu.org; Wed, 13 Feb 2019 14:11:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gtzvz-00053L-9C for guix-patches@gnu.org; Wed, 13 Feb 2019 14:11:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:48027) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gtzvz-00052Z-38 for guix-patches@gnu.org; Wed, 13 Feb 2019 14:11:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gtzvy-0001Qt-MC for guix-patches@gnu.org; Wed, 13 Feb 2019 14:11:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#34470] [PATCH 0/8] GDM without GNOME Desktop Resent-From: Timothy Sample Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 13 Feb 2019 19:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 34470 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34470@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15500850025431 (code B ref -1); Wed, 13 Feb 2019 19:11:02 +0000 Received: (at submit) by debbugs.gnu.org; 13 Feb 2019 19:10:02 +0000 Received: from localhost ([127.0.0.1]:47307 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gtzv0-0001PW-0S for submit@debbugs.gnu.org; Wed, 13 Feb 2019 14:10:02 -0500 Received: from eggs.gnu.org ([209.51.188.92]:37692) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gtzuy-0001Oz-7c for submit@debbugs.gnu.org; Wed, 13 Feb 2019 14:10:00 -0500 Received: from lists.gnu.org ([209.51.188.17]:42587) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gtzut-0001Bn-1p for submit@debbugs.gnu.org; Wed, 13 Feb 2019 14:09:55 -0500 Received: from eggs.gnu.org ([209.51.188.92]:52071) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gtzus-0007ET-0O for guix-patches@gnu.org; Wed, 13 Feb 2019 14:09:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gtzuq-00014d-Ux for guix-patches@gnu.org; Wed, 13 Feb 2019 14:09:54 -0500 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:44243) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gtzuo-0000ZO-Ok for guix-patches@gnu.org; Wed, 13 Feb 2019 14:09:51 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id D3BFD24A70 for ; Wed, 13 Feb 2019 14:09:44 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Wed, 13 Feb 2019 14:09:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=P+NjPm BgyVw3Sd0Ju83pSg0N8EGQ5dLSwT8Kz6WfQFk=; b=2UNVrh19b7FBkBlCxZGQ1R tdR12vxKJSj09AlhURh3xi35YALNl4g+KQSVc82Ef1Rtza8HGtJTOcmrRhkCLF2d iO1rkb1oUR7zjXu5rDzAbd8XZdqDf18Daoz0VdDlOstxoRktR8YVcrVCOZRi1isb sbghmaseEbOWMhoc1fPxcZdtngS9uU9nUjfdiHj9+OdXiBXGYyG7Wo+uOQIoNHKB piMX2XJppDYREfGGdkmlMqiPFvPTxJ34LPTtJsh2kZzLBw9TvcgzoYUvJRbc2upx kTTaHOEcm0heiDo0+DpQZjUyT3FtAuuo6lOTTvcHu0jFKJ3KIsEgy+eUOrpCYQZQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedtledruddtfedguddvfecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfhuthenuceurghilhhouhhtmecu fedttdenucenucfjughrpefhvffufffkfgggtgfgsehtqhertddtreejnecuhfhrohhmpe fvihhmohhthhihucfurghmphhlvgcuoehsrghmphhlvghtsehnghihrhhordgtohhmqeen ucffohhmrghinhepghhnuhdrohhrghenucfkphepjeegrdduudeirddukeeirdeggeenuc frrghrrghmpehmrghilhhfrhhomhepshgrmhhplhgvthesnhhghihrohdrtghomhenucev lhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from mrblack (74-116-186-44.qc.dsl.ebox.net [74.116.186.44]) by mail.messagingengine.com (Postfix) with ESMTPA id 144B7100E5 for ; Wed, 13 Feb 2019 14:09:44 -0500 (EST) From: Timothy Sample Date: Wed, 13 Feb 2019 14:09:42 -0500 Message-ID: <87o97fijyh.fsf@ngyro.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches Hi Guix, This patch series fixes up a few things with GDM. The main one is that GDM no longer requires the GNOME Desktop service to be included in the system services. It no longer blindly hopes that everything it needs happens to be in “/run/current-system/profile”. Now it mostly knows where to find its dependencies directly, and in the cases it doesn’t, it makes sure that what it needs is in the system profile. Around this, I did some cleaning. GDM now looks directly at its configuration file in the store rather than at a link in “/etc”, and a repetitive section of messy substitutions is now a loop. I added a D-Bus wrapper script as discussed before [1]. It doesn’t do much, but it is there to be improved if needed. This series also includes the user X session scripts that were recently discussed [2]. -- Tim [1] https://lists.gnu.org/archive/html/guix-devel/2019-01/msg00047.html [2] https://lists.gnu.org/archive/html/guix-devel/2019-02/msg00198.html Timothy Sample (8): services: gdm: Remove etc service. gnu: gnome-session: Use absolute paths in .desktop files. gnu: gdm: Add links to required login-session files. gnu: gdm: Use absolute path for gnome-session. gnu: gdm: Simplify pre-configure phase. gnu: gdm: Run dbus-daemon via a wrapper script. services: gdm: Make dependencies explicit. services: gdm: Allow for custom X session scripts. gnu/packages/gnome.scm | 96 +++++++++++++++++++++------------- gnu/services/xorg.scm | 113 +++++++++++++++++++++++++---------------- 2 files changed, 130 insertions(+), 79 deletions(-)