From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id gBBCGXB2a2fnaAAAqHPOHw:P1 (envelope-from ) for ; Wed, 25 Dec 2024 03:05:20 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id gBBCGXB2a2fnaAAAqHPOHw (envelope-from ) for ; Wed, 25 Dec 2024 04:05:20 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=WMrADLh+; dkim=fail ("headers rsa verify failed") header.d=163.com header.s=s110527 header.b=L5sy7gj1; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=163.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1735095920; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=irKlwrp+TELG0h1fL5gkAabtGTmtJ3sguYU1QQE5ztM=; b=TS6vJgwO1xCadsWCXHNG/F3qS8u4UwjgiWpL8/3CMzDCGL/8uckHtnuEuD+2qn6d2qWnWQ p4U9wx43dipRIHzL5TKr4NcrmMXMwX1Ewu2LqVxdcNRWYHiz6JaIdU81LFGn5/4bo6KAYj FvDrzT528JDbb/pQ80be7eWLRqdo6AGxo86sbYHh1VSispmdlcv0pLKpAZ14OEJfpSwE9D p0Wvh+yq3cmAwvFwabnpWIAgd3l5ZwyqZdIPHQluplrPZI38nniG2CoUgKlCgk0doHR0qT BZhJY5mc+EKM92dB32ZmV/hYkRKpHrFaquolMIbBF4nU3WV9FT2i5t8W2YQIZw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=WMrADLh+; dkim=fail ("headers rsa verify failed") header.d=163.com header.s=s110527 header.b=L5sy7gj1; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=163.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1735095920; a=rsa-sha256; cv=none; b=Heynlz7A4txKQqzJ8lNvMeBgQQ6Vte0XGczqcT78GtujzTXvWV0SCL/21E6aLRmQIIzqxO CV41jvNIjjdEZAC/hDRDZrKzbGHkPXw8NFkrumCK2FQIN3TDHzrCpydt3JDO3TEo4Bmh/4 79yAOSu+50UqermKE9f/kI4yObXHgwDtdQ5+FabpuHya3Ul6OBiRXkXcHhz+LUCk+BsGcW qOBhJ9cjaaovop7S2nUkH3Fm+i+tQN4V0+xh933w9klbegr/VTgkhebXklnkyx7+6+Bg2t HDUQOUjRjzaDF5Sxk4BKMEHqNaHuHhEQhvlq1L7rNYgNlMZe4dKvQps/mA6fug== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 9F30195C6F for ; Wed, 25 Dec 2024 04:05:19 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tQHhp-0006DU-TT; Tue, 24 Dec 2024 22:05:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tQHhn-0006BU-TF for guix-patches@gnu.org; Tue, 24 Dec 2024 22:05:04 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tQHhn-0004fa-Hf for guix-patches@gnu.org; Tue, 24 Dec 2024 22:05:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:In-Reply-To:References:Subject; bh=irKlwrp+TELG0h1fL5gkAabtGTmtJ3sguYU1QQE5ztM=; b=WMrADLh+ROOMI9CAr7knLWFqGVRjrqoKDJRuCrEYdaiofNAbCGOzrNM9q27529JXavf2bJzBkLHYOJhWJvCqQrUXoNtaGLPvB4Tp1+FtRHEPvVwS8tlF6u8sTIvnDJf6LIjdBspM7o3xHcbqk6ycvAHx6Pafo7448WoIHo6I0GtKRCE0meEAvv4/W1M8eK672HoeM4e2VgUhnqEM15fivAZM5ffs5e7ypx83oIybVJN8Et33eXu9Ra451kRSFpKjJ8+SSqwgSiUVVeWrTic75x08nvhyIokAmNmIdPWoB74MbJVPDy437E0rHIxnfdTTzqqQaof4Q6AboowsLuJtig==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tQHhm-0007cR-AI; Tue, 24 Dec 2024 22:05:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#75044] [PATCH v2] gnu: Add lightdm-mini-greeter. References: <87h66uvj1w.fsf@163.com> In-Reply-To: <87h66uvj1w.fsf@163.com> Resent-From: tumashu@163.com Original-Sender: "Debbugs-submit" Resent-CC: tumashu@163.com, guix-patches@gnu.org Resent-Date: Wed, 25 Dec 2024 03:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75044 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 75044@debbugs.gnu.org Cc: Feng Shu , Feng Shu X-Debbugs-Original-Xcc: Feng Shu Received: via spool by 75044-submit@debbugs.gnu.org id=B75044.173509590029275 (code B ref 75044); Wed, 25 Dec 2024 03:05:02 +0000 Received: (at 75044) by debbugs.gnu.org; 25 Dec 2024 03:05:00 +0000 Received: from localhost ([127.0.0.1]:35640 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tQHhj-0007c6-Ny for submit@debbugs.gnu.org; Tue, 24 Dec 2024 22:05:00 -0500 Received: from m16.mail.163.com ([117.135.210.4]:36820) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tQHhf-0007bq-5n for 75044@debbugs.gnu.org; Tue, 24 Dec 2024 22:04:58 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-ID:MIME-Version; bh=irKlw rp+TELG0h1fL5gkAabtGTmtJ3sguYU1QQE5ztM=; b=L5sy7gj1Mge4p+0XDZNhB CvQqQ/AyuunYMIC8FClFb0OzI7/LwaPkFzh7bPkdm8ASIS1IJ/0S0tI69c3QrTrt gDtE1s8z8q1PcR6EQYPRatHmD0dsxUIv5nsvOxClDMRCLwL8HFDdxA0x3gO1ObA1 Dt1YQ1SDIjB8MicOJPyyxA= Received: from localhost.localdomain (unknown [218.92.14.78]) by gzsmtp1 (Coremail) with SMTP id PCgvCgDnS4hSdmtnCLP1Dg--.13568S2; Wed, 25 Dec 2024 11:04:50 +0800 (CST) From: tumashu@163.com Date: Wed, 25 Dec 2024 11:04:42 +0800 Message-ID: <20241225030445.14655-1-tumashu@163.com> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-TRANSID: PCgvCgDnS4hSdmtnCLP1Dg--.13568S2 X-Coremail-Antispam: 1Uf129KBjvJXoW7CF4xZF1ruFyxKFy5XF4fKrg_yoW5JryUp3 9Yvry5Gr15JF4xJFWavFnFgF1Yga93Jr4xGw4Iyw1xta15WF1UuryI9FW5GF17J3WxCa1U Xa1xJayUuFyUK3DanT9S1TB71UUUUU7qnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDUYxBIdaVFxhVjvjDU0xZFpf9x0JUI388UUUUU= X-Originating-IP: [218.92.14.78] X-CM-SenderInfo: 5wxpt2lkx6il2tof0z/1tbiYBTA1GdrdXkc4AAAsc 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+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -2.37 X-Spam-Score: -2.37 X-Migadu-Queue-Id: 9F30195C6F X-Migadu-Scanner: mx10.migadu.com X-TUID: iH8m3jJifB1G From: Feng Shu * gnu/packages/display-managers.scm (lightdm-mini-greeter): New variable. Change-Id: I558add1665d79429e2562c2139777002b7a70466 --- gnu/packages/display-managers.scm | 46 +++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/gnu/packages/display-managers.scm b/gnu/packages/display-managers.scm index df5fc0a857..b70f8101e6 100644 --- a/gnu/packages/display-managers.scm +++ b/gnu/packages/display-managers.scm @@ -543,6 +543,52 @@ (define-public lightdm-gtk-greeter GTK+, lets you select a desktop session and log in to it.") (license license:gpl3+))) +(define-public lightdm-mini-greeter + (package + (name "lightdm-mini-greeter") + (version "0.5.1-ead793") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/prikhi/lightdm-mini-greeter") + (commit "ead7936993b4e9e067d73fa49dec7edfb46c73a8"))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "17iy1jkllmi2xc95csb18wcfvbk44gyva2in2k5f29fy362ppz25")))) + (build-system glib-or-gtk-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'customize-default-config-path + (lambda _ + (substitute* "Makefile.am" + ;; Have the default config directory sourced from + ;; /etc/lightdm/lightdm-mini-greeter.conf, which is where the + ;; lightdm service writes it. + (("\\$\\(sysconfdir)/lightdm/lightdm-mini-greeter.conf") + "/etc/lightdm/lightdm-mini-greeter.conf")))) + (add-after 'install 'fix-.desktop-file + (lambda* (#:key outputs #:allow-other-keys) + (substitute* (search-input-file + outputs + "share/xgreeters/lightdm-mini-greeter.desktop") + (("Exec=lightdm-mini-greeter") + (string-append "Exec=" + (search-input-file + outputs "bin/lightdm-mini-greeter"))))))))) + (native-inputs + (list autoconf automake pkg-config)) + (inputs + (list gtk+ lightdm)) + (synopsis "Mini Greeter for LightDM") + (home-page "https://github.com/prikhi/lightdm-mini-greeter") + (description "This package provide a minimal but highly configurable single-user GTK3 +greeter for LightDM, this greeter is inspired by the SLiM Display Manager and +LightDM GTK3 Greeter.") + (license license:gpl3))) + (define-public slim (package (name "slim") -- 2.45.2