From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id +FB6N7d/EWHOCgAAgWs5BA (envelope-from ) for ; Mon, 09 Aug 2021 21:19:19 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id cCAFM7d/EWHERgAAB5/wlQ (envelope-from ) for ; Mon, 09 Aug 2021 19:19:19 +0000 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 3B1229CBF for ; Mon, 9 Aug 2021 21:19:19 +0200 (CEST) Received: from localhost ([::1]:60804 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mDAnu-0002kj-9o for larch@yhetil.org; Mon, 09 Aug 2021 15:19:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33784) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mDAnf-0002J1-5K for guix-patches@gnu.org; Mon, 09 Aug 2021 15:19:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46302) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mDAne-0000RT-Uj for guix-patches@gnu.org; Mon, 09 Aug 2021 15:19:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mDAne-0004X0-QO for guix-patches@gnu.org; Mon, 09 Aug 2021 15:19:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49969] [PATCH 3/7] gnu: greetd: Add greetd 0.7.0 Resent-From: muradm Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 09 Aug 2021 19:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49969 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49969@debbugs.gnu.org Cc: muradm Received: via spool by 49969-submit@debbugs.gnu.org id=B49969.162853670917332 (code B ref 49969); Mon, 09 Aug 2021 19:19:02 +0000 Received: (at 49969) by debbugs.gnu.org; 9 Aug 2021 19:18:29 +0000 Received: from localhost ([127.0.0.1]:57835 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mDAn3-0004V3-7G for submit@debbugs.gnu.org; Mon, 09 Aug 2021 15:18:28 -0400 Received: from mail-ed1-f47.google.com ([209.85.208.47]:41499) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mDAn0-0004UT-I8 for 49969@debbugs.gnu.org; Mon, 09 Aug 2021 15:18:23 -0400 Received: by mail-ed1-f47.google.com with SMTP id n12so2390478edx.8 for <49969@debbugs.gnu.org>; Mon, 09 Aug 2021 12:18:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=muradm-net.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=DurSoItcA3PmRePSK7BRS1VgYCzKGuaxsQ11ZInsKbw=; b=o0q08QVds8vLoCUHAx7DXSsdbJrcFpq3BKvC1HFeYwhmbg97YmG6sMnKAYtra35T9N sVNsHpECYV5hEprnrlYiR3CYqSQTG+D0LT+QJFnaZHBwURrgAP2sLLrO/tlgYQcldpQT buYQvfUfog9OA0BzxC/eCG6I2Es9qoOrsmIrPuIQjRxB+Fq9MNbh7mUATFSu/kKGYLpj PTh7smjiYlfFOQchyVrT+DiPOfyjGLFlcTG3GaY2PYEN+foUs1U0a+sL0xcvF0LBHNzy /ETd9idwdTC12T07Y0JfqU7NqaVUvWns/pB1ilw/jDvhbMHaB7nznYym24FtbZl2J9vW 3kNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=DurSoItcA3PmRePSK7BRS1VgYCzKGuaxsQ11ZInsKbw=; b=Zs5v0Fety/3zQ8TVTagck1MGOUPX9b6wQK/gAP+9SUOSetuQYTJPds7NG2zb1vKyeE z5h+4BWOejPqhIP/Oqzr27Ye4lXiuJkQCsYTJgCzi0Xtr8Yvry5z5MoBnn86EDuHkyJz 37ofaRvmW9eNII+M91uxOqV6ldprSjnjxjWyTK1NWI+z7dIGFzMbGxdzUum0RPXzlPDw 1AyuAT4JmoNjcP7aQbSgUeWWrzhr3MSpM6dRhA11/SbJb4MA1hJK0WPVRDk8w9nyrxsl eDh82ef5djk7UulLT9h7Fjo1Wvi8FLPVesVFUuGBi3mfbE+wbGf9BMyY+jtK+mi6/Sow jOWA== X-Gm-Message-State: AOAM533wZiA5lKco4PKpmXfB9t8yaJ3Wq0h7KY6bkZhYphvPQDHaetqE vtPq8DRFNxbbGam3nCvhRhUVovuLLf2IVg== X-Google-Smtp-Source: ABdhPJytdKMVDpDiXYOhpU7jQwpzj6B0g3XdNk9IoVaRm7bPwrVeyHwZz0OxCv+Ji0b3nyRO07s2/w== X-Received: by 2002:aa7:c4d4:: with SMTP id p20mr31693036edr.382.1628536696619; Mon, 09 Aug 2021 12:18:16 -0700 (PDT) Received: from localhost.localdomain ([31.142.122.131]) by smtp.gmail.com with ESMTPSA id gv7sm6167100ejc.5.2021.08.09.12.18.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Aug 2021 12:18:16 -0700 (PDT) From: muradm Date: Mon, 9 Aug 2021 22:17:59 +0300 Message-Id: <20210809191803.7833-3-mail@muradm.net> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210809190257.7280-1-mail@muradm.net> References: <20210809190257.7280-1-mail@muradm.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1628536759; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: 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=DurSoItcA3PmRePSK7BRS1VgYCzKGuaxsQ11ZInsKbw=; b=CsBp1XNyJfxLVEfGxB8E+M1+lpOdaDKXfmqTfQy0q6ldXq7Pi9pruwQFog0mTL+73PNjYl P8Eflyp97tTE72useLSV7HPNM2OlofQubxawa08WadAUqTF/9d+CBsZHXvwXTIBzMVbJzU WyXI2tjm0cQIxSG17Vqm5lHB6gD7SZJxSbLwGoUcvOmvvKWFDPq7F0+fAqHRpKePxrdvKo WfAEOxJfnN5CmTTjZS/s7iMI0cRPMjcDYGA8UdkHMQnd8EG6WGV0r3DzRwvfTU2/9zFVPk T1RkjjP7X3l56IlAYEWSztu7u3vXFlmyoWpDt6QCEHfCnsNwSebFaSXEgVn6Ew== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1628536759; a=rsa-sha256; cv=none; b=HeNt9Iz/RQLlrgGdrfpnKUgBC0DNXkN13PsQsm3IGWhTeCK6eKQyuNerGB89WDKWZzRGOv kFUosAfRPSpEl+c2EXFBSqmufoFSTnKYUGl5DQXgg54j3BHbXQPAypQW1lBqBI6Nr0v4dV fWKe8kPzQFfWQGP6zTGouwxF0avxSwx/EqGCFt6DlnBAHp/J1t7S69Bs1Z1P49whPec6Ok VbPZeLHeBXmrLhqxgD94HaJ0h+SPdDZt7NsAsHMK9hJvvHS/JV4pWqefYT54hK98RYdq5f SnCDLZIeXc3AZlntPl/YzscIsCmVhx0INPpUHE4loOcuH/VL3XrHgsg1EdnMYw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=muradm-net.20150623.gappssmtp.com header.s=20150623 header.b=o0q08QVd; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -0.41 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=muradm-net.20150623.gappssmtp.com header.s=20150623 header.b=o0q08QVd; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 3B1229CBF X-Spam-Score: -0.41 X-Migadu-Scanner: scn0.migadu.com X-TUID: 4fe+WIfMe/Bd * gnu/packages/freedesktop.scm (greetd): Add greetd 0.7.0 --- gnu/packages/freedesktop.scm | 71 ++++++++++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm index 693a79c738..62c47ad70e 100644 --- a/gnu/packages/freedesktop.scm +++ b/gnu/packages/freedesktop.scm @@ -24,6 +24,7 @@ ;;; Copyright © 2020 Raghav Gururajan ;;; Copyright © 2021 Brendan Tildesley ;;; Copyright © 2021 pineapples +;;; Copyright © 2021 muradm ;;; ;;; This file is part of GNU Guix. ;;; @@ -46,6 +47,7 @@ #:use-module (guix packages) #:use-module (guix download) #:use-module (guix git-download) + #:use-module (guix build-system cargo) #:use-module (guix build-system cmake) #:use-module (guix build-system gnu) #:use-module (guix build-system meson) @@ -62,6 +64,7 @@ #:use-module (gnu packages check) #:use-module (gnu packages cmake) #:use-module (gnu packages compression) + #:use-module (gnu packages crates-io) #:use-module (gnu packages cryptsetup) #:use-module (gnu packages databases) #:use-module (gnu packages disk) @@ -862,6 +865,74 @@ that require it. It also provides a universal seat management library that allows applications to use whatever seat management is available.") (license license:expat))) +(define-public greetd + (package + (name "greetd") + (version "0.7.0") + (home-page "https://git.sr.ht/~kennylevinsen/greetd") + (source (origin + (method git-fetch) + (uri (git-reference + (url home-page) + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0lmwr5ld9x2wlq00i7mjgm9by8zndiq9girj8g93k0kww9zbgr3g")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-nix" ,rust-nix-0.17) + ("rust-pam-sys" ,rust-pam-sys-0.5.6) + ("rust-rpassword" ,rust-rpassword-4) + ("rust-users" ,rust-users-0.9) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-tokio" ,rust-tokio-0.2) + ("rust-getopts" ,rust-getopts-0.2) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-async-trait" ,rust-async-trait-0.1) + ("rust-enquote" ,rust-enquote-1)) + #:phases + (modify-phases %standard-phases + (delete 'package) + (replace 'install + (lambda* (#:key inputs outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (bin (string-append out "/bin")) + (sbin (string-append out "/sbin")) + (share (string-append out "/share")) + (man (string-append share "/man")) + (man1 (string-append man "/man1")) + (man5 (string-append man "/man5")) + (man7 (string-append man "/man7")) + (release "target/release") + (greetd-bin (string-append release "/greetd")) + (agreety-bin (string-append release "/agreety"))) + (install-file greetd-bin sbin) + (install-file agreety-bin bin) + (mkdir-p man1) + (mkdir-p man5) + (mkdir-p man7) + (with-directory-excursion "man" + (system "scdoc < greetd-1.scd > greetd.1") + (system "scdoc < greetd-5.scd > greetd.5") + (system "scdoc < greetd-ipc-7.scd > greetd-ipc.7") + (system "scdoc < agreety-1.scd > agreety.1")) + (install-file "man/greetd.1" man1) + (install-file "man/greetd.5" man5) + (install-file "man/greetd-ipc.7" man7) + (install-file "man/agreety.1" man1) + #t)))))) + (native-inputs + `(("linux-pam" ,linux-pam) + ("scdoc" ,scdoc))) + (synopsis "minimal and flexible login manager daemon") + (description + "greetd is a minimal and flexible login manager daemon +that makes no assumptions about what you want to launch.") + (license license:gpl3+))) + (define-public packagekit (package (name "packagekit") -- 2.32.0