From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id yN3mCSNOp2IMVwEAbAwnHQ (envelope-from ) for ; Mon, 13 Jun 2022 16:48:03 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id wFvuCSNOp2L4JgAAauVa8A (envelope-from ) for ; Mon, 13 Jun 2022 16:48:03 +0200 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 BA8761E168 for ; Mon, 13 Jun 2022 16:48:02 +0200 (CEST) Received: from localhost ([::1]:47680 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o0lMH-0001f2-HH for larch@yhetil.org; Mon, 13 Jun 2022 10:48:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52034) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o0lLN-000126-DI for guix-patches@gnu.org; Mon, 13 Jun 2022 10:47:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:37964) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o0lLL-0001aA-KY for guix-patches@gnu.org; Mon, 13 Jun 2022 10:47:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o0lLL-0006wY-JS for guix-patches@gnu.org; Mon, 13 Jun 2022 10:47:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49969] [PATCH v11 6/8] gnu: admin: Add libseat 0.8.0 and move seatd. Resent-From: muradm Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 13 Jun 2022 14:47:03 +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.165513157023970 (code B ref 49969); Mon, 13 Jun 2022 14:47:03 +0000 Received: (at 49969) by debbugs.gnu.org; 13 Jun 2022 14:46:10 +0000 Received: from localhost ([127.0.0.1]:60086 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o0lKT-0006Dw-V3 for submit@debbugs.gnu.org; Mon, 13 Jun 2022 10:46:10 -0400 Received: from nomad-cl1.staging.muradm.net ([139.162.159.157]:43540 helo=nomad-cl1.muradm.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o0lKF-00063P-Cv for 49969@debbugs.gnu.org; Mon, 13 Jun 2022 10:45:56 -0400 Received: from localhost ([127.0.0.1]:35062) by nomad-cl1.muradm.net with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1o0lI6-0003jT-2T for 49969@debbugs.gnu.org; Mon, 13 Jun 2022 14:43:42 +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=po1J4ShuM0sOY+4h1QcvWtZw4wM1NBH6QqFVX7ESczI=; b=Yx0dvDFuyFn8ewNHEcF+1JQ8rQ oQL30t3ZAWXuyWGBl+XhCZbnQWZhdyyp9sRvQfhIcBbFzXpx8Jr4Ww7mtVwzOonF0bbXz/CfcqigS uqcsdQFE7Q/r5XcsHOogB4Bd30SXjrJRZwbYasiInP7wEnSil69oX8udtfITi0KeZaJMOEI+XJ8WD gSgWSqekPiaHVkKoL+3Ngwnd2qO23eRYbTS95JxAVGl9BD0k00aDPin8RxWD/7YrE5l3cU11QIDJY dRIZb4EmlpVXNF1EGiNDd0zJHC4R+8BXPEjDMoWpeZOwNyqagzkQ3k10sFSKQIMZBFd+ozasD1EAL cBga6W5zU8iiQ7XtGiDZm5zIyjP5FGsspXMK93+eY92jbi0YIGMK0FTxPFwv+mnV9o7GSdiKlqiEm FchIlsElVd6frkvfGBRgrZO/DyYxXCkayJm+n+vzk6hidQIFXjBk+ojOP0lwAlykNwgfEXPM9YEzG Z/cssevmE9U3kQPkgIPT4q94; Received: from muradm by localhost with local (Exim 4.95) (envelope-from ) id 1o0lKD-0002x7-R9 for 49969@debbugs.gnu.org; Mon, 13 Jun 2022 17:45:53 +0300 From: muradm Date: Mon, 13 Jun 2022 17:45:44 +0300 Message-Id: <20220613144546.11306-7-mail@muradm.net> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220613144546.11306-1-mail@muradm.net> References: <6e4bf02cf382ff003951fc2f2bdf96289384ece2.camel@telenet.be> <20220613144546.11306-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 X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1655131682; 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=po1J4ShuM0sOY+4h1QcvWtZw4wM1NBH6QqFVX7ESczI=; b=q+4TpEv3xBai2k/lXR8yqjLb0NZnkhKhFYLMQ86tXXHzojHVUu0UWPUfGltzjZvA0hm/IJ HN6BxoB6McexDQew1DaZhwYKWdwhZYMXo+u9qdYXI2Kp3tloPr/8WixaRBv1cwQGlPJ6gF oHouO04YPRdngqkgigvgzR4t6HCkIqHeh0/m20+2FODzG3qV/Isr4iPzI8bhNEMXV61+wN ItoZZg51vYgVRCy3mXi9nW+xetjaHMjeLqFaMfUtvmqpYFuVk+lqAFJLKtTL4JX6Abpyre IPO2fvtR1RXDFxUE7eA7yyFhu5CkanJfjQscvGUjnkFe3YxNzHVCPo8kfBuIzQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1655131682; a=rsa-sha256; cv=none; b=CnrHr5XpgVqHe9Sh+cr3wMgvyDnx6L/ChzQG0xpYkymvvwZsB2Xd4aXTT7Y/IkUE5N5knd v+iVanyrpj692svBWNLDncsiIwF5+CKw2WS8nedUPxc8MHjM9AYxXbNXrROq+u+D5WxrVx NrwRhAT5uoWBx+iiLl8riHU+3C4seatwmk5GmRdT2bs89EfACyPKFvoLeTPU0IFGYkpzuf 0WXDkXQVyL/mVWRLAU9r9H0eh1QTzECppeWk+y+nBUtmQtVcQn/AaaMgf5IwRDlDVemFAe CuVBDAoTeTV1sO1p3ylMLI11cOaPZKaJEDD+WvqMjCwUqQR+xBrCmQcW3W5m2g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=muradm.net header.s=mail header.b=Yx0dvDFu; dmarc=none; 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" X-Migadu-Spam-Score: 1.51 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=muradm.net header.s=mail header.b=Yx0dvDFu; dmarc=none; 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" X-Migadu-Queue-Id: BA8761E168 X-Spam-Score: 1.51 X-Migadu-Scanner: scn0.migadu.com X-TUID: Zhl6HebX53VO * gnu/packages/admin.scm (libseat): New variable * gnu/packages/admin.scm (seatd): New variable * gnu/packages/freedesktop.scm (seatd): Remove variable * gnu/packages/wm.scm (wlroots): Replace seatd input with libseat --- gnu/packages/admin.scm | 53 ++++++++++++++++++++++++++++++++++++ gnu/packages/freedesktop.scm | 29 -------------------- gnu/packages/wm.scm | 4 ++- 3 files changed, 56 insertions(+), 30 deletions(-) diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index d6e1d819ab..eb6450b4da 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -46,6 +46,7 @@ ;;; Copyright © 2021 Maxim Cournoyer ;;; Copyright © 2021 Maxime Devos ;;; Copyright © 2021 muradm +;;; Copyright © 2021 pineapples ;;; Copyright © 2021 Petr Hodina ;;; Copyright © 2021 Artyom V. Poptsov ;;; Copyright © 2022 Wamm K. D. @@ -104,6 +105,7 @@ (define-module (gnu packages admin) #: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) @@ -5097,3 +5099,54 @@ (define-public greetd-pam-mount greetd-pam-mount is used in configuration of greetd to provide auto-(mounting/unmounting) of XDG_RUNTIME_DIR in the way that it will not interfere with default pam-mount configuration."))) + +(define-public libseat + (package + (name "libseat") + (version "0.7.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 + "10f8387yy5as547xjjhl0cna6iywdgjmw0iq2nvcs8q6vlpnik4v")))) + (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))) diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm index fc2c45c1f1..309876867a 100644 --- a/gnu/packages/freedesktop.scm +++ b/gnu/packages/freedesktop.scm @@ -849,35 +849,6 @@ (define (source-file regexp) 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 - (list pkg-config scdoc)) - (propagated-inputs - (list 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") diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm index 123e6ca7e7..24d95ba86c 100644 --- a/gnu/packages/wm.scm +++ b/gnu/packages/wm.scm @@ -54,6 +54,7 @@ ;;; Copyright © 2022 Daniel Meißner ;;; Copyright © 2022 Pier-Hugues Pellerin ;;; Copyright © 2022 Maxim Cournoyer +;;; Copyright © 2022 muradm ;;; ;;; This file is part of GNU Guix. ;;; @@ -88,6 +89,7 @@ (define-module (gnu packages wm) #:use-module (guix utils) #:use-module (gnu packages) #:use-module (gnu packages bash) + #:use-module (gnu packages admin) #:use-module (gnu packages autotools) #:use-module (gnu packages base) #:use-module (gnu packages bison) @@ -1537,7 +1539,7 @@ (define-public wlroots libxkbcommon mesa pixman - seatd + libseat wayland wayland-protocols xcb-util-errors -- 2.36.1