From patchwork Sun Dec 30 02:42:01 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Timothy Sample X-Patchwork-Id: 590 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 90279169D8; Sun, 30 Dec 2018 02:59:37 +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 listsout.gnu.org (listsout.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 34F81169B9 for ; Sun, 30 Dec 2018 02:59:37 +0000 (GMT) Received: from localhost ([127.0.0.1]:42516 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gdRKC-0003XB-Ni for patchwork@mira.cbaines.net; Sat, 29 Dec 2018 21:59:36 -0500 Received: from eggs.gnu.org ([208.118.235.92]:48765) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gdRJw-0003JF-W7 for guix-patches@gnu.org; Sat, 29 Dec 2018 21:59:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gdR4B-00042U-2n for guix-patches@gnu.org; Sat, 29 Dec 2018 21:43:07 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:46130) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gdR49-00041K-Vq for guix-patches@gnu.org; Sat, 29 Dec 2018 21:43:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gdR49-0004vR-Ri for guix-patches@gnu.org; Sat, 29 Dec 2018 21:43:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#33916] [PATCH 1/4] gnu: gdm: Pass XDG_DATA_DIRS into session environment. Resent-From: Timothy Sample Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 30 Dec 2018 02:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33916 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 33916@debbugs.gnu.org Received: via spool by 33916-submit@debbugs.gnu.org id=B33916.154613775118854 (code B ref 33916); Sun, 30 Dec 2018 02:43:01 +0000 Received: (at 33916) by debbugs.gnu.org; 30 Dec 2018 02:42:31 +0000 Received: from localhost ([127.0.0.1]:41755 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gdR3f-0004u2-27 for submit@debbugs.gnu.org; Sat, 29 Dec 2018 21:42:31 -0500 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:48861) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gdR3c-0004tm-Gw for 33916@debbugs.gnu.org; Sat, 29 Dec 2018 21:42:28 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 1559E21609; Sat, 29 Dec 2018 21:42:23 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Sat, 29 Dec 2018 21:42:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=NRfgJeDKle4I1o4Bafk2y/MCSAGOEdbVT0vFq5t/B bc=; b=A9rg0mcMUDFuYbjwfbeXljY8m1EpHdZzQI4+AaKZ6/PBwVnimIfIH+Vfr rnoj9HH1eIR/uY8mZaWfl47/j2SXmJPRQPNElufP4LMoPhfl7sgACT6NmRTgDgT3 +LDcUEyzdooKuK7AZpGmglh8mQ7+AeDABkJttvcvFs2WLgdYNa3OQI4LpDMlzKiA /CK/yGQBiwPOmTnroWntNL9pTeRLQmDO2A+/j2AJcFngg3AsjNqRtgbIklUcmf5Q Ri9+dbwMHTKgFc7x2gchKo2TwyGo7gkl6HWkgRQcvqlM3OoOFN05gxpoDgMAsowW pOKwkqcZxCT/osja30OP2kLiYJ1Hg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedtledrtdelgdegleculddtuddrgedtkedrtddtmd cutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfhuthen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkofgjfhggtgfgsehtke ertdertdejnecuhfhrohhmpefvihhmohhthhihucfurghmphhlvgcuoehsrghmphhlvght sehnghihrhhordgtohhmqeenucfkphepjeegrdduudeirddukeeirdeggeenucfrrghrrg hmpehmrghilhhfrhhomhepshgrmhhplhgvthesnhhghihrohdrtghomhenucevlhhushht vghrufhiiigvpedt X-ME-Proxy: Received: from mrblack.lan (74-116-186-44.qc.dsl.ebox.net [74.116.186.44]) by mail.messagingengine.com (Postfix) with ESMTPA id 1E8B8100E5; Sat, 29 Dec 2018 21:42:22 -0500 (EST) From: Timothy Sample Date: Sat, 29 Dec 2018 21:42:01 -0500 Message-Id: <20181230024204.4230-1-samplet@ngyro.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <87bm53n3iu.fsf@ngyro.com> References: <87bm53n3iu.fsf@ngyro.com> MIME-Version: 1.0 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: 208.118.235.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 * gnu/packages/gnome.scm (gdm)[arguments]: Update the pre-configure phase so that GDM preserves the XDG_DATA_DIRS variable when setting up the session environment. --- gnu/packages/gnome.scm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 415398eee..da12a2987 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -32,6 +32,7 @@ ;;; Copyright © 2018 Jovany Leandro G.C ;;; Copyright © 2018 Vasile Dumitrascu ;;; Copyright © 2018 Björn Höfling +;;; Copyright © 2018 Timothy Sample ;;; ;;; This file is part of GNU Guix. ;;; @@ -5399,6 +5400,11 @@ libxml2.") ;; are met (provided GNOME is installed of course). "gdm_session_set_environment_variable (self, \"XDG_CONFIG_DIRS\",\n" " \"/run/current-system/profile/etc/xdg\");\n" + ;; The session bus (which GDM will initialize from the this + ;; session environment) needs to know where to find the system + ;; service files. + "gdm_session_set_environment_variable (self, \"XDG_DATA_DIRS\",\n" + " \"/run/current-system/profile/share\");\n" ))) ;; Look for custom GDM conf in /run/current-system. (substitute* '("common/gdm-settings-desktop-backend.c")