From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id aHSuLn2kcmd3IQEA62LTzQ:P1 (envelope-from ) for ; Mon, 30 Dec 2024 13:47:41 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id aHSuLn2kcmd3IQEA62LTzQ (envelope-from ) for ; Mon, 30 Dec 2024 14:47:41 +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=g7Q2RJzg; dkim=fail ("headers rsa verify failed") header.d=163.com header.s=s110527 header.b=We2XSJAW; 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=1735566461; 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=s7FCJ2DW5grW6FG0uVjwAgjfb3WURmvt+lHY4bPsWuI=; b=mh/tFRPyO4k8mguq/RUZVSJ1nFE3ET44PiOi79IX/2g8UCt/gPqsq24IOcPdgXW8C9R4VT etfFBW6NaYUcsfWhLb27rivpX4P0FM3h2Ct6+0mGXxkE/lSElI/5UOVV983mNpZsAF2w9L ZhoMsf+mXoiT+RpAXaMjhtMdTMGznbTyaevWHgAu5tAaM6W6dfRpRZ/6od8ahbBv8j3sv4 oRg/fvMsqu4FDOuHlYvMQdGz//yJzZAuLkgZK7ZWofSAgbc+kxOfsY25OsLhYURTmkMeVp QQEURyEKTxHxIFqdGZ3w+FjtXRZuyaiyWWQlBc0CWY/ypWBrKXWY7yBSIG/I7g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=g7Q2RJzg; dkim=fail ("headers rsa verify failed") header.d=163.com header.s=s110527 header.b=We2XSJAW; 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=1735566461; a=rsa-sha256; cv=none; b=Qd8W95YE+XUqvDjWKoscXFGb4ed0s0OzgLBhLqxBMjDDin90ZRM/WCT/u+5JGq4IWy1VU5 2BWm49Tjwn+u4LNzXUrRro4M91LTCPu8YMzya7V3EPWju0NT9zq8+vi99/BRnr8rvOXzpX 8OLJEeJGqS07HysnGe6vcYwEyg2D42kZRqaLDEU8r7+9VzdK/lXOJ2lBBaoGC7bqyXRPCb HfROXvBEZZlNF1ioUfdeJGIUeAij2eEPMrhGfGrBlev7hxZl4eB1o4LpVg+wL47CViaFt/ 1/gLVEeJUDcZYiAsfCVshi2XRXJMhF5gsr8NoW1lgUjtaNJC07jK8dMNeRiIgw== 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 3418F84544 for ; Mon, 30 Dec 2024 14:47:41 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tSG7B-0006xg-Le; Mon, 30 Dec 2024 08:47:26 -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 1tSG6s-0006wk-Ft for guix-patches@gnu.org; Mon, 30 Dec 2024 08:47:09 -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 1tSG6q-0005jv-KA for guix-patches@gnu.org; Mon, 30 Dec 2024 08:47:06 -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=s7FCJ2DW5grW6FG0uVjwAgjfb3WURmvt+lHY4bPsWuI=; b=g7Q2RJzg4PwZzwl8xIG2ZLtS3f3UBf2hpd0jXcLWRCSulrzz0vpkSjdfeFk+q3W73Z97OfbMaBRqT3tDJso6FPGtpca6f+DC02fuYNat+N7GXj0O3U+T3oc1tXwNhLG0wBljZubDnoGGa17u7kgX7A6J6ZyAOAljG5LOcTdxwqlBG6XXvWbOlv40AbzQ9H2QGTDLKIE5H68JTblxKy976EHfMvt4RLjpUD77diegb1WxpEam78GpUupdRjruDtXTVJA30VimFavDa/CqcBzaTdLPftSsItLHX1jYoZdJARlRoTClrOl5CQ5dZdURqn1yeXBB/1FzMeDknSM0fVw80g==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tSG6n-0002N9-N6; Mon, 30 Dec 2024 08:47:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#75044] [PATCH v3] 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, tumashu@163.com, zhengjunjie@iscas.ac.cn, guix-patches@gnu.org Resent-Date: Mon, 30 Dec 2024 13:47:01 +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 , tumashu@163.com, Zheng Junjie X-Debbugs-Original-Xcc: Feng Shu , tumashu@163.com, Zheng Junjie Received: via spool by 75044-submit@debbugs.gnu.org id=B75044.17355664149103 (code B ref 75044); Mon, 30 Dec 2024 13:47:01 +0000 Received: (at 75044) by debbugs.gnu.org; 30 Dec 2024 13:46:54 +0000 Received: from localhost ([127.0.0.1]:57836 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tSG6f-0002Mk-Dl for submit@debbugs.gnu.org; Mon, 30 Dec 2024 08:46:53 -0500 Received: from m16.mail.163.com ([220.197.31.3]:38902) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tSG6Z-0002MQ-Sz for 75044@debbugs.gnu.org; Mon, 30 Dec 2024 08:46:50 -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=s7FCJ 2DW5grW6FG0uVjwAgjfb3WURmvt+lHY4bPsWuI=; b=We2XSJAWrjaZDPxY35/wl 4UAAUk7NgxmY6+to+kiLNqdKOb6Bz8plIJowthr26l9ItNTpVKLZWMpLv2zyXUqZ OPgJSdjyiYu5tAAZP5flRv6mkrpRhscEUVyeN21EO/o0tKB5rmxbrUSZZO9evDdp s3Bc+oiKkya8ni7WQ1RkHg= Received: from localhost.localdomain (unknown []) by gzga-smtp-mtada-g1-2 (Coremail) with SMTP id _____wDXf8A8pHJnaULsCg--.60220S2; Mon, 30 Dec 2024 21:46:42 +0800 (CST) From: tumashu@163.com Date: Mon, 30 Dec 2024 21:46:29 +0800 Message-ID: <20241230134632.6879-1-tumashu@163.com> X-Mailer: git-send-email 2.47.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-TRANSID: _____wDXf8A8pHJnaULsCg--.60220S2 X-Coremail-Antispam: 1Uf129KBjvJXoWxCryUAF4kCr15Gw17uFWDXFb_yoW5GrWrp3 9Yvry5Gr15Jrs7AFWavFnFga1Yga93Gr4xGw4Iy34xta15WF18urySvFW5GF17J3Z7Ca1U Xa1xJayUuFyUG3DanT9S1TB71UUUUU7qnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDUYxBIdaVFxhVjvjDU0xZFpf9x0JUaQ6QUUUUU= X-Originating-IP: [180.105.150.230] X-CM-SenderInfo: 5wxpt2lkx6il2tof0z/1tbiERDF1GdynS57PAAAsx 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: -2.37 X-Spam-Score: -2.37 X-Migadu-Queue-Id: 3418F84544 X-TUID: WZAXfZInzhFy From: Feng Shu * gnu/packages/display-managers.scm (lightdm-mini-greeter): New variable. Change-Id: I558add1665d79429e2562c2139777002b7a70466 --- gnu/packages/display-managers.scm | 49 +++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/gnu/packages/display-managers.scm b/gnu/packages/display-managers.scm index df5fc0a857..61be09adac 100644 --- a/gnu/packages/display-managers.scm +++ b/gnu/packages/display-managers.scm @@ -543,6 +543,55 @@ (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 + (let ((commit "ead7936993b4e9e067d73fa49dec7edfb46c73a8") + (revision "0")) + (package + (name "lightdm-mini-greeter") + ;; Version 0.5.1 release three years ago, so we use a recent commit. + (version (git-version "0.5.1" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/prikhi/lightdm-mini-greeter") + (commit commit))) + (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.47.1