From patchwork Sat Aug 13 06:54:26 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Cournoyer X-Patchwork-Id: 41593 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 E762C27BBEB; Sat, 13 Aug 2022 07:56:32 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 889B227BBE9 for ; Sat, 13 Aug 2022 07:56:32 +0100 (BST) Received: from localhost ([::1]:43214 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oMl4R-00052t-Jc for patchwork@mira.cbaines.net; Sat, 13 Aug 2022 02:56:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45504) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oMl32-0004LW-Rl for guix-patches@gnu.org; Sat, 13 Aug 2022 02:55:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41532) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oMl31-0006GJ-UL for guix-patches@gnu.org; Sat, 13 Aug 2022 02:55:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oMl31-0006p8-Q2 for guix-patches@gnu.org; Sat, 13 Aug 2022 02:55:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57168] [PATCH 07/14] gnu: lightdm-gtk-greeter: Adjust default config file path. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 13 Aug 2022 06:55:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57168 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57168@debbugs.gnu.org Cc: Maxim Cournoyer Received: via spool by 57168-submit@debbugs.gnu.org id=B57168.166037369526156 (code B ref 57168); Sat, 13 Aug 2022 06:55:03 +0000 Received: (at 57168) by debbugs.gnu.org; 13 Aug 2022 06:54:55 +0000 Received: from localhost ([127.0.0.1]:59505 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMl2s-0006nd-Vq for submit@debbugs.gnu.org; Sat, 13 Aug 2022 02:54:55 -0400 Received: from mail-qt1-f173.google.com ([209.85.160.173]:37426) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMl2p-0006mI-FE for 57168@debbugs.gnu.org; Sat, 13 Aug 2022 02:54:52 -0400 Received: by mail-qt1-f173.google.com with SMTP id l5so2290426qtv.4 for <57168@debbugs.gnu.org>; Fri, 12 Aug 2022 23:54:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc; bh=wvlB1B3EF2YpB3FYyPKW0WvJy0NKo+gH+22KddR8qbQ=; b=mfMp3DWi76LyGYDF5T3VEtJC+iIMNy5EApXAbG3/nYE4aPbOJOX4uVJge8xXfHicBo EpZuj9k926HUoBVeZJ2E00ZmsHYIwxGynUPgZYjRdXXwhq9wjt/gXeWnfrozWBS4tZKn AzIkxBFfownffGXwQHqM9Fk9NhUd/9I6Uvl8yUGtxo4/y/AkhKw0W6snNTeCq6WCITZ2 luPVns1U5WgMEQO+C815HttpFsafaed0Wc/2YpE/7xht6cYvXT2buM2TfrSdekg3lgLU z0Q+dmKDPHSWDZZlz3W+Zh2aEsC8JmJO1X1d4BHzroukiZdoOMQvgv1rtMyPKFDENAVW oxuA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=wvlB1B3EF2YpB3FYyPKW0WvJy0NKo+gH+22KddR8qbQ=; b=QWWvWnl+I//82uNydxkrVE4Vy58u+EDzjnsfU+nivy1kAfetUSpapEYrSa9rQbh/5M QHpuCxjfDEWPC1Sr633YDjP2PMseJGly8l+ojPKTEQoZoAAKMOnhilgAkTWk5+11KMc0 LsoWq7URSGlubKXxZ1gHLP58T0nHqT0He2yhIIvh+ViYNXWJqPxbTHYPaJrRf52u//2i qVR2fSGPoCZ1dpwpX7ot6+EA8i77luAiIjEnvUchCDv1zKSogbYNtF4Dli5YLMTgCi+S xx/uvD1bNys8KlljrOlm/S+FOWYUdLibhcRDmuCWa2pLBWNBD8F3Ygna7mmkD+bTpxEI shGg== X-Gm-Message-State: ACgBeo0vn9W+Brky/NY4DNC406WTrkclk8/izs2AQ5ghjnZPkMIFu5zA j0132PWH3iehFGwDJE6DirbrA8pJhwM= X-Google-Smtp-Source: AA6agR5ieAq3ZzwBGdMNP6RDlWJJK863bzyiOBsLWOE7vWg8mLfXrEIk4P+amhGUx428GVpq0cVCPQ== X-Received: by 2002:a05:622a:589:b0:342:fd8c:9786 with SMTP id c9-20020a05622a058900b00342fd8c9786mr6412519qtb.150.1660373685774; Fri, 12 Aug 2022 23:54:45 -0700 (PDT) Received: from localhost.localdomain (dsl-205-233-125-72.b2b2c.ca. [205.233.125.72]) by smtp.gmail.com with ESMTPSA id s12-20020a05620a29cc00b006b6757a11fcsm3734441qkp.36.2022.08.12.23.54.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Aug 2022 23:54:45 -0700 (PDT) From: Maxim Cournoyer Date: Sat, 13 Aug 2022 02:54:26 -0400 Message-Id: <20220813065433.27319-7-maxim.cournoyer@gmail.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220813065433.27319-1-maxim.cournoyer@gmail.com> References: <20220813065433.27319-1-maxim.cournoyer@gmail.com> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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/display-managers.scm (lightdm-gtk-greeter) [phases]{customize-default-config-path}: New phase. --- gnu/packages/display-managers.scm | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/gnu/packages/display-managers.scm b/gnu/packages/display-managers.scm index e8f7f68c46..6fbefafe7d 100644 --- a/gnu/packages/display-managers.scm +++ b/gnu/packages/display-managers.scm @@ -364,6 +364,14 @@ (define-public lightdm-gtk-greeter #:phases #~(modify-phases %standard-phases + (add-after 'unpack 'customize-default-config-path + (lambda _ + (substitute* "src/Makefile.in" + ;; Have the default config directory sourced from + ;; /etc/lightdm/lightdm-gtk-greeter.conf, which is where the + ;; lightdm service writes it. + (("\\$\\(sysconfdir)/lightdm/lightdm-gtk-greeter.conf") + "/etc/lightdm/lightdm-gtk-greeter.conf")))) (add-after 'install 'fix-.desktop-file (lambda* (#:key outputs #:allow-other-keys) (substitute* (search-input-file