From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id TN51EKwzNmFrkQAAgWs5BA (envelope-from ) for ; Mon, 06 Sep 2021 17:28:44 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id QHqUC6wzNmFleQAAB5/wlQ (envelope-from ) for ; Mon, 06 Sep 2021 15:28:44 +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 D8829115CC for ; Mon, 6 Sep 2021 17:28:43 +0200 (CEST) Received: from localhost ([::1]:49612 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mNGY6-0002Zk-U7 for larch@yhetil.org; Mon, 06 Sep 2021 11:28:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58956) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mNGXT-0000xY-86 for guix-patches@gnu.org; Mon, 06 Sep 2021 11:28:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42701) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mNGXS-000706-Sn for guix-patches@gnu.org; Mon, 06 Sep 2021 11:28:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mNGXS-0006nz-Pt for guix-patches@gnu.org; Mon, 06 Sep 2021 11:28:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49969] [PATCH v6 6/8] gnu: admin: Add libseat 0.5.0 and move seatd. Resent-From: muradm Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 06 Sep 2021 15:28: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 Received: via spool by 49969-submit@debbugs.gnu.org id=B49969.163094202526045 (code B ref 49969); Mon, 06 Sep 2021 15:28:02 +0000 Received: (at 49969) by debbugs.gnu.org; 6 Sep 2021 15:27:05 +0000 Received: from localhost ([127.0.0.1]:54239 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mNGWX-0006m1-F4 for submit@debbugs.gnu.org; Mon, 06 Sep 2021 11:27:05 -0400 Received: from mail-wm1-f54.google.com ([209.85.128.54]:33790) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mNGWS-0006k1-9j for 49969@debbugs.gnu.org; Mon, 06 Sep 2021 11:27:04 -0400 Received: by mail-wm1-f54.google.com with SMTP id 192-20020a1c04c9000000b002f7a4ab0a49so165702wme.0 for <49969@debbugs.gnu.org>; Mon, 06 Sep 2021 08:27:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=muradm-net.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=4mZtYHzSGxDT/1cWU1R9cOsdqEjO9CpUULIb7Fu5ak4=; b=03N/Puqnoio5C/1xf4l3he+QZQHQvwqSz7YiFuIQTYMfnAnjN+xIooSfv8YpJPenLe pdzMSSlj3HZ5iFW7SmF2XV3bPFkqi7ZDYbZ6so/+YksC8O4ufmePNuO9Pk1nP/MXsJBq b0fkp6ibwvrXP+iwBLJqMqpCpKYTEgxE8J6HUY6LqsgAwoMi4fnnDS+NCaGOXsmpyr5b QMYlVYeMVbawSn7h2V3SGAv8o/girwuxS0h6Y+8XDONK9x4f0fCQx+KNjix5Q1h/GAms DKjjgkYw6CBU6SP5dkWRAnmUDmes9QnvddMJLCaL6cqPgAu+nADiWgnrSTeN65IVvdFu BKww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=4mZtYHzSGxDT/1cWU1R9cOsdqEjO9CpUULIb7Fu5ak4=; b=N1gIppHDHwyQi0j0E/fwSTLQ+FSIednJg9GW/LlnaBU6s3VWJ7AuPfPQ3tNkqAscYR fXS6CIUGrI8J4byP9HbfD4SJ5faTdR+444WGEpQGSa/V1WG1OlVGwh6Pdr6p1eCfvT5l Z4NkHyd2JLwccYAdAd/cPgM9aNsrjHvWUSmhom4yaXca8kG98cTXn21UebPLqtvr35cK flNfJ94q1wci7VxbCt9drVXqZwIaZTed8FqaIR0LeC/2Pn2taJlI9AkIlKUbM7pfInSb smMdi7oP8IRnxpv5ZeKFYmc9Z6Yyqbeni7rsisPh+H/S/mMNX+ibU+ayUgOoc+M7P4F8 TDiA== X-Gm-Message-State: AOAM532dfa3UgvBah1l132eWb6evZop3JibF4JeCaSkjhRoScWGEZ0ys m8dyZuzE+V+MzK74+2C9N0QBkvNbOMcsbzuW X-Google-Smtp-Source: ABdhPJye1pJuNT7q2p8054XFo85nGTRn+NUZyLot9oAFt8m8zz6BjgucjZulg8gS0yVwXWhh9IOP1w== X-Received: by 2002:a05:600c:a05:: with SMTP id z5mr11746212wmp.73.1630942014206; Mon, 06 Sep 2021 08:26:54 -0700 (PDT) Received: from localhost.localdomain ([176.234.10.27]) by smtp.gmail.com with ESMTPSA id m4sm7687896wml.28.2021.09.06.08.26.53 for <49969@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Sep 2021 08:26:53 -0700 (PDT) From: muradm Date: Mon, 6 Sep 2021 18:26:39 +0300 Message-Id: <20210906152641.11020-7-mail@muradm.net> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210906152641.11020-1-mail@muradm.net> References: <20210822215048.20480-1-mail@muradm.net> <20210906152641.11020-1-mail@muradm.net> MIME-Version: 1.0 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=1630942124; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=4mZtYHzSGxDT/1cWU1R9cOsdqEjO9CpUULIb7Fu5ak4=; b=J8qQYNHazYmMbLy1tglx/NVrm3VROJ8zOaRDf2ls2zk8aU1BWzoV7Cy0z8ZhhESo2d6boc 0u8LD3NNlF0HhQO+2zEBWb84LCqzu5XiCPWjUaFLfqx68KzYiVg4GlfOn3CJ1vTXwGEA7D e9CFdhhNXTuE9Mad5xHRbqN0V/B85vTeaTyJc0VLCgdKU8QmDOvn4b6C5oFa3YLINdVnpB izfPJ60Utk8wAB0+Z4dUD1f+8M/iOkasO1HF3EpEJ6WUXeseH8FWcypSkKD/lPu36WJIub MLus+Y4qIH3udywuEyDh/RaCM7RtUo+Nf5qA7t0wxaTya20jRWgxsP6uv2VhKw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1630942124; a=rsa-sha256; cv=none; b=tTjInvTeoxx9uASJuDuv04MvvuZYg0OXNJa6+gVmHuKb6XpEEjtExAoHOYTaiV4wyy8UbW usSra4Dy/Lz5QBAM9Wx9JHkFv55UF1iimAOCcI/Yqu/9JPAx2LxYi5V6Z1sMkMqOP/G2Zf xm58gg6bQICbeuyQhq/QzpE5l20hqupZXeUdx0EoMzxC7YFzbrMI0oWynYefw/gALfGaAA S1DYIXv3HtQHk0Mp+/Zf9ofGx18jutlJ/hhSohIYloPcoPNBtvvOs+3R1l3fJT0IlXb17s oF2j9XkGbFBj7szC6Vug2WBU4LzpFhsw+g81Nj3fskykpSb5+iNvhba2+WQfEg== 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="03N/Puqn"; 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: 3.58 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=muradm-net.20150623.gappssmtp.com header.s=20150623 header.b="03N/Puqn"; 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: D8829115CC X-Spam-Score: 3.58 X-Migadu-Scanner: scn0.migadu.com X-TUID: 1DbuW4EJ+UeN * gnu/packages/admin.scm (libseat): New variable * gnu/packages/admin.scm (seatd): New variable * gnu/packages/freedesktop.scm (seatd): Removed 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 90cc1d62da..3a8efa50fe 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -98,6 +98,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) @@ -4803,6 +4804,58 @@ 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.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 '("-Dlibseat-logind=enabled" + "-Dserver=disabled"))) + (native-inputs + `(("pkg-config" ,pkg-config))) + (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=disabled" + "-Dlibseat-seatd=disabled") + #: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 086707d51a..76a16454b1 100644 --- a/gnu/packages/freedesktop.scm +++ b/gnu/packages/freedesktop.scm @@ -833,36 +833,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