X-Loop: help-debbugs@HIDDEN Subject: [bug#75186] [PATCH] gnu: Add lightdm-pantheon-greeter. Resent-From: tumashu@HIDDEN Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: guix-patches@HIDDEN Resent-Date: Mon, 30 Dec 2024 07:06:02 +0000 Resent-Message-ID: <handler.75186.B.173554236129169 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 75186 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 75186 <at> debbugs.gnu.org Cc: Feng Shu <tumashu@HIDDEN> X-Debbugs-Original-To: guix-patches@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.173554236129169 (code B ref -1); Mon, 30 Dec 2024 07:06:02 +0000 Received: (at submit) by debbugs.gnu.org; 30 Dec 2024 07:06:01 +0000 Received: from localhost ([127.0.0.1]:57143 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tS9qj-0007aJ-8Y for submit <at> debbugs.gnu.org; Mon, 30 Dec 2024 02:06:01 -0500 Received: from lists.gnu.org ([209.51.188.17]:43028) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <tumashu@HIDDEN>) id 1tS9qb-0007a5-E4 for submit <at> debbugs.gnu.org; Mon, 30 Dec 2024 02:05:59 -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 <tumashu@HIDDEN>) id 1tS9qb-0004hp-80 for guix-patches@HIDDEN; Mon, 30 Dec 2024 02:05:53 -0500 Received: from m16.mail.163.com ([220.197.31.4]) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from <tumashu@HIDDEN>) id 1tS9qY-0003Sk-9E for guix-patches@HIDDEN; Mon, 30 Dec 2024 02:05:53 -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=fmN+8 DOi7YlAdO5YYzavaxdUxSHeebuzYAvGTsRazDo=; b=KgS+pq2FSVtYD3cQS0g1I JfT1MhMqs5bxotwhwqEYRDGU6SBUR0+zdMTsROQ/Jsm8jKaSidt0M9dutuBzzFuE SxZOcY/lH/XDm+KwrYaXpGUZ0O5fyGDRWCY+G3ZjgAkrnmPyYYHjdx/j3d0+B5BY M5MeX6mNhVeq/eTQLBhd2w= Received: from localhost.localdomain (unknown []) by gzga-smtp-mtada-g1-4 (Coremail) with SMTP id _____wC38iw9RnJnorguCg--.52781S2; Mon, 30 Dec 2024 15:05:34 +0800 (CST) From: tumashu@HIDDEN Date: Mon, 30 Dec 2024 15:05:16 +0800 Message-ID: <20241230070516.44067-1-tumashu@HIDDEN> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-TRANSID: _____wC38iw9RnJnorguCg--.52781S2 X-Coremail-Antispam: 1Uf129KBjvJXoWxCryUtF15Kr1UKw47Aw4rAFb_yoWrJrW3pF WFk3W5Kwn5J3s3Z3yxX3W7KF4Yv393tFyDt3s3ur13Kw45u340vrW2v39xArn7J3Z7Ca4D Ww4Ut3WUCFyDCrJanT9S1TB71UUUUU7qnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDUYxBIdaVFxhVjvjDU0xZFpf9x0JUnNVDUUUUU= X-Originating-IP: [218.92.14.78] X-CM-SenderInfo: 5wxpt2lkx6il2tof0z/1tbiRRjF1GdyQ9lWJAAAsx Received-SPF: pass client-ip=220.197.31.4; envelope-from=tumashu@HIDDEN; helo=m16.mail.163.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.4 (--) From: Feng Shu <tumashu@HIDDEN> * gnu/packages/display-managers.scm (lightdm-pantheon-greeter): New variable. Change-Id: I31611965f4e09d083b1ab9fe39465c31fdb7d638 --- gnu/packages/display-managers.scm | 77 +++++++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) diff --git a/gnu/packages/display-managers.scm b/gnu/packages/display-managers.scm index 16d0339701..1c337ad9c7 100644 --- a/gnu/packages/display-managers.scm +++ b/gnu/packages/display-managers.scm @@ -64,6 +64,7 @@ (define-module (gnu packages display-managers) #:use-module (gnu packages kde-frameworks) #:use-module (gnu packages libcanberra) #:use-module (gnu packages linux) + #:use-module (gnu packages pantheon) #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) #:use-module (gnu packages qt) @@ -366,6 +367,82 @@ (define-public sugar-light-sddm-theme experience for your users, your family and yourself") (license license:gpl3+))) +(define-public lightdm-pantheon-greeter + (package + (name "lightdm-pantheon-greeter") + ;; Versiton 8.0.0 can not build for mutter < 46 in guix, see: + ;; https://github.com/elementary/greeter/issues/778 + (version "7.0.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/elementary/greeter") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1gz42852j50jk2apk16lxl34zw39knwy6fgkjyhqlgl0q1l6xz4v")))) + (build-system meson-build-system) + (arguments + (list + #:glib-or-gtk? #t + #:parallel-build? #f ; Enable this option will build fail. + #:configure-flags + #~(list + ;; Put the binary under /bin rather than /sbin, so that it gets + ;; wrapped by the glib-or-gtk-wrap phase. + (string-append "--sbindir=" #$output "/bin")) + #:phases + #~(modify-phases %standard-phases + (add-after 'glib-or-gtk-wrap 'custom-wrap + (lambda _ + (for-each (lambda (prog) + (wrap-script (string-append #$output prog) + ;; Wrap GDK_PIXBUF_MODULE_FILE, so that the SVG loader is + ;; available at all times even outside of profiles, such as + ;; when used in the lightdm-service-type. Otherwise, it + ;; wouldn't be able to display its own icons. + `("GDK_PIXBUF_MODULE_FILE" = + (,(string-append #$output "lib/gdk-pixbuf-2.0/2.10.0/loaders.cache"))) + `("XDG_DATA_DIRS" ":" prefix + (,(string-append "/run/current-system/profile/share:" + (getenv "XDG_DATA_DIRS")))) + '("XCURSOR_PATH" ":" prefix + ("/run/current-system/profile/share/icons")))) + '("/bin/io.elementary.greeter" + "/bin/io.elementary.greeter-compositor")))) + (add-after 'install 'fix-.desktop-file + (lambda _ + (substitute* (string-append #$output + "/share/xgreeters/io.elementary.greeter.desktop") + (("Exec=io.elementary.greeter") + ;; NOTE: io.elementary.greeter-compositor do not work in guix + ;; at the moment, for it use wayland. + (string-append "Exec=" #$output "/bin/io.elementary.greeter")))))))) + (native-inputs + (list gettext-minimal + (list glib "bin") + pkg-config + vala)) + (inputs + (list accountsservice + desktop-file-utils + glib + gnome-desktop + gnome-settings-daemon + granite-6 + gtk+ + guile-3.0 + libhandy + libx11 + lightdm + mutter)) + (synopsis "A greeter from the elementary OS project") + (home-page "https://github.com/elementary/greeter") + (description "Login and Lock Screen greeter for elementary OS and +Pantheon, using LightDM.") + (license license:gpl3))) + (define-public lightdm (package (name "lightdm") -- 2.45.2
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: tumashu@HIDDEN Subject: bug#75186: Acknowledgement ([PATCH] gnu: Add lightdm-pantheon-greeter.) Message-ID: <handler.75186.B.173554236129169.ack <at> debbugs.gnu.org> References: <20241230070516.44067-1-tumashu@HIDDEN> X-Gnu-PR-Message: ack 75186 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 75186 <at> debbugs.gnu.org Date: Mon, 30 Dec 2024 07:06:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): guix-patches@HIDDEN If you wish to submit further information on this problem, please send it to 75186 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 75186: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D75186 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: [bug#75186] [PATCH v2] gnu: Add lightdm-pantheon-greeter. References: <20241230070516.44067-1-tumashu@HIDDEN> In-Reply-To: <20241230070516.44067-1-tumashu@HIDDEN> Resent-From: tumashu@HIDDEN Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: tumashu@HIDDEN, guix-patches@HIDDEN Resent-Date: Mon, 30 Dec 2024 09:09:02 +0000 Resent-Message-ID: <handler.75186.B75186.173554970920123 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 75186 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 75186 <at> debbugs.gnu.org Cc: Feng Shu <tumashu@HIDDEN>, tumashu@HIDDEN X-Debbugs-Original-Xcc: tumashu@HIDDEN Received: via spool by 75186-submit <at> debbugs.gnu.org id=B75186.173554970920123 (code B ref 75186); Mon, 30 Dec 2024 09:09:02 +0000 Received: (at 75186) by debbugs.gnu.org; 30 Dec 2024 09:08:29 +0000 Received: from localhost ([127.0.0.1]:57298 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tSBlE-0005EU-Mj for submit <at> debbugs.gnu.org; Mon, 30 Dec 2024 04:08:29 -0500 Received: from m16.mail.163.com ([220.197.31.3]:33612) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <tumashu@HIDDEN>) id 1tSBlB-0005EG-G2 for 75186 <at> debbugs.gnu.org; Mon, 30 Dec 2024 04:08:27 -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=pWJXT eSYY5N0XTTJ/pUcJAhDqaK2qq2MYgTBpW/mF7k=; b=B6vc4LCv2ZDi0OQTjTTTE 0OHdw72M5bWa5wdjcKBidmt7E06Jx6gECju4McYoAHMitaJwc1Ljs6mM6a5YsT2G 1vjyIBSVllc1RL/LN0ozpd8mVS5BxYFXTmkqw3EebrcR7YHHiES9pu+Z0DRzXOi0 18P/H+yhkVaJ+gyS7bLazI= Received: from localhost.localdomain (unknown []) by gzga-smtp-mtada-g1-2 (Coremail) with SMTP id _____wD3d5ICY3Jnneq_Cg--.48443S2; Mon, 30 Dec 2024 17:08:19 +0800 (CST) From: tumashu@HIDDEN Date: Mon, 30 Dec 2024 17:08:03 +0800 Message-ID: <20241230090806.49024-1-tumashu@HIDDEN> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-TRANSID: _____wD3d5ICY3Jnneq_Cg--.48443S2 X-Coremail-Antispam: 1Uf129KBjvJXoWxCr4kuw1fWFyktrW8tryDAwb_yoWrJrWUpF WFkF15Kwn5J3s3Z3yxX3W2kF4Yva93tFyUt3s3ur1akw45u340vrW2y398Ar1xJ3Z7CayD Ww4jq3W7CFyDCrJanT9S1TB71UUUUU7qnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDUYxBIdaVFxhVjvjDU0xZFpf9x0JU-a9sUUUUU= X-Originating-IP: [218.92.14.78] X-CM-SenderInfo: 5wxpt2lkx6il2tof0z/1tbiRQjF1GdyX5VakAAAsJ X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) From: Feng Shu <tumashu@HIDDEN> * gnu/packages/display-managers.scm (lightdm-pantheon-greeter): New variable. Change-Id: I91b55faee57ba866551a7f92d73e25bd2281efdf --- gnu/packages/display-managers.scm | 77 +++++++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) diff --git a/gnu/packages/display-managers.scm b/gnu/packages/display-managers.scm index df5fc0a857..bb639e9e06 100644 --- a/gnu/packages/display-managers.scm +++ b/gnu/packages/display-managers.scm @@ -60,6 +60,7 @@ (define-module (gnu packages display-managers) #:use-module (gnu packages image) #:use-module (gnu packages kde-frameworks) #:use-module (gnu packages linux) + #:use-module (gnu packages pantheon) #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) #:use-module (gnu packages qt) @@ -362,6 +363,82 @@ (define-public sugar-light-sddm-theme experience for your users, your family and yourself") (license license:gpl3+))) +(define-public lightdm-pantheon-greeter + (package + (name "lightdm-pantheon-greeter") + ;; Versiton 8.0.0 can not build for mutter < 46 in guix, see: + ;; https://github.com/elementary/greeter/issues/778 + (version "7.0.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/elementary/greeter") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1gz42852j50jk2apk16lxl34zw39knwy6fgkjyhqlgl0q1l6xz4v")))) + (build-system meson-build-system) + (arguments + (list + #:glib-or-gtk? #t + #:parallel-build? #f ; Enable this option will build fail. + #:configure-flags + #~(list + ;; Put the binary under /bin rather than /sbin, so that it gets + ;; wrapped by the glib-or-gtk-wrap phase. + (string-append "--sbindir=" #$output "/bin")) + #:phases + #~(modify-phases %standard-phases + (add-after 'glib-or-gtk-wrap 'custom-wrap + (lambda _ + (for-each (lambda (prog) + (wrap-script (string-append #$output prog) + ;; Wrap GDK_PIXBUF_MODULE_FILE, so that the SVG loader is + ;; available at all times even outside of profiles, such as + ;; when used in the lightdm-service-type. Otherwise, it + ;; wouldn't be able to display its own icons. + `("GDK_PIXBUF_MODULE_FILE" = + (,(string-append #$output "lib/gdk-pixbuf-2.0/2.10.0/loaders.cache"))) + `("XDG_DATA_DIRS" ":" prefix + (,(string-append "/run/current-system/profile/share:" + (getenv "XDG_DATA_DIRS")))) + '("XCURSOR_PATH" ":" prefix + ("/run/current-system/profile/share/icons")))) + '("/bin/io.elementary.greeter" + "/bin/io.elementary.greeter-compositor")))) + (add-after 'install 'fix-.desktop-file + (lambda _ + (substitute* (string-append #$output + "/share/xgreeters/io.elementary.greeter.desktop") + (("Exec=io.elementary.greeter") + ;; NOTE: io.elementary.greeter-compositor do not work in guix + ;; at the moment, for it use wayland. + (string-append "Exec=" #$output "/bin/io.elementary.greeter")))))))) + (native-inputs + (list gettext-minimal + (list glib "bin") + pkg-config + vala)) + (inputs + (list accountsservice + desktop-file-utils + glib + gnome-desktop + gnome-settings-daemon + granite-6 + gtk+ + guile-3.0 + libhandy + libx11 + lightdm + mutter)) + (synopsis "A greeter from the elementary OS project") + (home-page "https://github.com/elementary/greeter") + (description "Login and Lock Screen greeter for elementary OS and +Pantheon, using LightDM.") + (license license:gpl3))) + (define-public lightdm (package (name "lightdm") -- 2.45.2
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.