From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 2IIpOr2fQ2Gn2wAAgWs5BA (envelope-from ) for ; Thu, 16 Sep 2021 21:49:17 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id qKfUNb2fQ2HKEAAA1q6Kng (envelope-from ) for ; Thu, 16 Sep 2021 19:49:17 +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 904E558B8 for ; Thu, 16 Sep 2021 21:49:17 +0200 (CEST) Received: from localhost ([::1]:34954 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mQxNk-0004dc-LR for larch@yhetil.org; Thu, 16 Sep 2021 15:49:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38192) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mQxMc-0003YB-1t for guix-patches@gnu.org; Thu, 16 Sep 2021 15:48:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45114) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mQxMa-0001lx-VD for guix-patches@gnu.org; Thu, 16 Sep 2021 15:48:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mQxMa-0005AY-Su for guix-patches@gnu.org; Thu, 16 Sep 2021 15:48:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49969] [PATCH v8 5/7] gnu: admin: Add libseat 0.6.2 and move seatd. Resent-From: muradm Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 16 Sep 2021 19:48:04 +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 Received: via spool by 49969-submit@debbugs.gnu.org id=B49969.163182167819808 (code B ref 49969); Thu, 16 Sep 2021 19:48:04 +0000 Received: (at 49969) by debbugs.gnu.org; 16 Sep 2021 19:47:58 +0000 Received: from localhost ([127.0.0.1]:56652 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mQxMU-00059J-4F for submit@debbugs.gnu.org; Thu, 16 Sep 2021 15:47:58 -0400 Received: from nomad-cl1.staging.muradm.net ([139.162.159.157]:58080 helo=nomad-cl1.muradm.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mQxMC-00057b-AY for 49969@debbugs.gnu.org; Thu, 16 Sep 2021 15:47:43 -0400 Received: from [176.234.10.27] (port=7122 helo=localhost) by nomad-cl1.muradm.net with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1mQxMC-0000YQ-Sn for 49969@debbugs.gnu.org; Thu, 16 Sep 2021 19:47:40 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=muradm.net; s=mail; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References: In-Reply-To:Message-Id:Date:Subject:To:From:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=c5uCMRzt6UGeHZ2V3Rkbiwy2VEC1LzbNDcL4i4Gux3I=; b=YBau56MOO6r3ogMeTrW3Yb7lbG jZwYP/t7julZUZAlQDmDAKdYh0mVCvlvQvazzGjgKjHNGJPVBogBBej1YzTloCLMC4OCJAEzGih6t AQN3GHCi3WuNsRkxKxbfODaGRv3+10gXHLmv6bE1OQeJf26F5Hvdw18YynlxkpC5O9pbBm5CcQ8Uv AVDmzdaSboeKzDtICNDyhQtRUvSe7r6fJ2n6wsgUWXDytWRqX5xu4vlmGOqjvbih7HVMdX4ZXx9G6 drsvF01MSIKocrqglbL7bLy+vQ3Q0OQsWQcKqh3ALJWWUlWVRjdeHSyUsPBA7R9m18Sqi6JhuO7xE HNaTtIL45lNFeiB0VL0rVwDF2H9Aqvlke7SC/dxmMzQbI8sBKD68YxGvSm8OFWy6ERznBnzUkOyqs KEwY02L5wCWfQO4eYP0uMTuE8CNAD+Zf8+p0e4Ij3/OzuGQYH7CVXFIXrNIErT7sYHxo1UrNQtUCB g728Qz30USn1VQphHNaCUDAV; Received: from muradm by localhost with local (Exim 4.94.2) (envelope-from ) id 1mQxMA-00005s-6x for 49969@debbugs.gnu.org; Thu, 16 Sep 2021 22:47:38 +0300 From: muradm Date: Thu, 16 Sep 2021 22:47:26 +0300 Message-Id: <20210916194728.324-6-mail@muradm.net> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210916194728.324-1-mail@muradm.net> References: <20210915162958.28398-1-mail@muradm.net> <20210916194728.324-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=1631821757; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=c5uCMRzt6UGeHZ2V3Rkbiwy2VEC1LzbNDcL4i4Gux3I=; b=rfsMR5mfDQvI6RVupyhqrImwPtAEe15Lv9wXdB1UzxuTQNSmmeyxdFJoLvD1/BdBtqgF62 6/wbJZlfnfhG83ONGdnwCuNTYa7emY4Milom4borBHYITlzMsk+aA+soqNJXrIXfDrrvOv bLIIEBqZBWX36Ne9/Mj5Z5dtVhRv4luvaLqSyjARKQlNAlqStoS+ARkjfrOzWFtg9DTZQ9 6U87Pm0WpdbrBRXzWH5LPc51ZGxb9pkT/oiqoKgEZyoEx/qcp6MY0cLuhbB7GqBMsHau1F T5/pLzdYMWhlivUGH7uh8oeP1dN1d1fenluyGUQYeRdNR/NCFtDE4EwISqgDSQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1631821757; a=rsa-sha256; cv=none; b=gFvOU/fDGwdyVUejExV8K3zZSPQ2NU2aJbRxNcSn9l5RCRzvEIP7FdRJ88T8u93wUjZsVW +kGt74t9UJ7TSXe5LXMTO6ZNXRLXrNW35NueE7A/mFsava8NJ1E0pG7M/OWlF5WF6iN/OB d9z0ajj4zZkYvnGxBvArk6U1ayslbv6CrMpfde165YLVIjkxLpzUSjzGmKICtTFFgfN4Ae ozMzZCpkYaH3aFDyJ8XnDHpUYdnaZbtkYgw6PVGsZ771Gqp4b/wjLohqom8ZsnY4pefg1z zVMXJDMTjmOGL2dWwfjJjvNNEMTw/l5b8aSiG3s+Sa6ErsAT3Gt9123o2mDRWA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=muradm.net header.s=mail header.b=YBau56MO; 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: 1.10 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=muradm.net header.s=mail header.b=YBau56MO; 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: 904E558B8 X-Spam-Score: 1.10 X-Migadu-Scanner: scn0.migadu.com X-TUID: cFy16XFeyq6e * gnu/packages/admin.scm (libseat): New variable * gnu/packages/admin.scm (seatd): New variable * gnu/packages/freedesktop.scm (seatd): Remove variable --- gnu/packages/admin.scm | 53 ++++++++++++++++++++++++++++++++++++ gnu/packages/freedesktop.scm | 30 -------------------- 2 files changed, 53 insertions(+), 30 deletions(-) diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index e46d21844b..c5b719996f 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -45,6 +45,7 @@ ;;; Copyright © 2021 Brice Waegeneire ;;; Copyright © 2021 Maxim Cournoyer ;;; Copyright © 2021 Maxime Devos +;;; Copyright © 2021 pineapples ;;; Copyright © 2021 muradm ;;; ;;; This file is part of GNU Guix. @@ -99,6 +100,7 @@ #:use-module (gnu packages elf) #:use-module (gnu packages file) #:use-module (gnu packages flex) + #:use-module (gnu packages freedesktop) #:use-module (gnu packages gawk) #:use-module (gnu packages gettext) #:use-module (gnu packages gl) @@ -4817,6 +4819,57 @@ setup, maintenance, supervision, or any long-running processes.") FIFO and UNIX interprocess communication.") (license license:bsd-2)))) +(define-public libseat + (package + (name "libseat") + (version "0.6.2") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://git.sr.ht/~kennylevinsen/seatd") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0c07i1nq0k60xmcsnr37ryqs7nzbg4qfq6fzbnzwbh1yhr8kypcm")))) + (build-system meson-build-system) + (arguments + `(#:configure-flags '("-Dlibseat-logind=elogind" + "-Dserver=disabled"))) + (native-inputs + `(("pkg-config" ,pkg-config))) + (propagated-inputs + `(("elogind" ,elogind))) + (home-page "https://sr.ht/~kennylevinsen/seatd") + (synopsis "Seat management library") + (description + "This package provides a universal seat management library that +allows applications to use whatever seat management is available.") + (license license:expat))) + +(define-public seatd + (package + (inherit libseat) + (name "seatd") + (arguments + `(#:configure-flags '("-Dlibseat-logind=elogind") + #:phases + (modify-phases %standard-phases + (add-after 'install 'remove-libs + (lambda* (#:key outputs #:allow-other-keys) + (with-directory-excursion (assoc-ref outputs "out") + (for-each delete-file-recursively '("lib" "include")))))))) + (native-inputs + `(("pkg-config" ,pkg-config) + ("scdoc" ,scdoc))) + (inputs '()) + (synopsis "Seat management daemon") + (description + "This package provides a minimal seat management daemon whose task is to +mediate access to shared devices, such as graphics and input, for applications +that require it.") + (license license:expat))) + (define-public greetd (package (name "greetd") diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm index 85d9697460..d7b411b5d1 100644 --- a/gnu/packages/freedesktop.scm +++ b/gnu/packages/freedesktop.scm @@ -834,36 +834,6 @@ GNOME Shell. The @command{localectl} command-line tool allows you to interact with localed. This package is extracted from the broader systemd package.") (license license:lgpl2.1+))) -(define-public seatd - (package - (name "seatd") - (version "0.5.0") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://git.sr.ht/~kennylevinsen/seatd") - (commit version))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "1kglq8v4rnr3415mfaghyv2s2f8mxsy5s881gmm2908ig4n4j297")))) - (build-system meson-build-system) - (arguments - `(#:configure-flags '("-Dlogind=enabled"))) - (native-inputs - `(("pkg-config" ,pkg-config) - ("scdoc" ,scdoc))) - (inputs - `(("elogind" ,elogind))) - (home-page "https://sr.ht/~kennylevinsen/seatd") - (synopsis "Seat management daemon and library") - (description - "This package provides a minimal seat management daemon whose task is to -mediate access to shared devices, such as graphics and input, for applications -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 packagekit (package (name "packagekit") -- 2.33.0