public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ionen Wolkens" <ionen@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-auth/seatd/
Date: Sat,  7 Aug 2021 08:25:21 +0000 (UTC)	[thread overview]
Message-ID: <1628324690.9968e5f499f170ea40abe8996cb63f94e2e52a8c.ionen@gentoo> (raw)

commit:     9968e5f499f170ea40abe8996cb63f94e2e52a8c
Author:     Greg Depoire--Ferrer <greg.depoire <AT> gmail <DOT> com>
AuthorDate: Wed Aug  4 10:37:52 2021 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Sat Aug  7 08:24:50 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9968e5f4

sys-auth/seatd: Add builtin and server IUSE flags

The builtin flag is for enabling the embedded server backend in libseat that
doesn't require starting a standalone server. It was disabled in the package
previously but some users might want to enable it.

The `server` flag is for enabling the standalone server. It was enabled in
the package previously but some users might want to disable it.

Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Greg Depoire--Ferrer <greg.depoire <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/21877
Acked-by: Haelwenn (lanodan) Monnier <contact <AT> hacktivis.me>
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 sys-auth/seatd/metadata.xml                               |  4 ++++
 .../seatd/{seatd-9999.ebuild => seatd-0.5.0-r1.ebuild}    | 15 ++++++++++-----
 sys-auth/seatd/seatd-9999.ebuild                          | 13 +++++++++----
 3 files changed, 23 insertions(+), 9 deletions(-)

diff --git a/sys-auth/seatd/metadata.xml b/sys-auth/seatd/metadata.xml
index 260cfe0a1e1..dad3217f8ee 100644
--- a/sys-auth/seatd/metadata.xml
+++ b/sys-auth/seatd/metadata.xml
@@ -9,4 +9,8 @@
 	<email>proxy-maint@gentoo.org</email>
 	<name>Proxy Maintainers</name>
 </maintainer>
+<use>
+	<flag name="builtin">Enable embedded server in libseat</flag>
+	<flag name="server">Enable standalone seatd server</flag>
+</use>
 </pkgmetadata>

diff --git a/sys-auth/seatd/seatd-9999.ebuild b/sys-auth/seatd/seatd-0.5.0-r1.ebuild
similarity index 74%
copy from sys-auth/seatd/seatd-9999.ebuild
copy to sys-auth/seatd/seatd-0.5.0-r1.ebuild
index ab311a6c598..ea510f9db2a 100644
--- a/sys-auth/seatd/seatd-9999.ebuild
+++ b/sys-auth/seatd/seatd-0.5.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2020 Gentoo Authors
+# Copyright 2020-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -11,12 +11,12 @@ if [[ ${PV} == 9999 ]]; then
 	inherit git-r3
 	EGIT_REPO_URI="https://git.sr.ht/~kennylevinsen/seatd"
 else
-	KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+	KEYWORDS="amd64 arm64 ~ppc64 ~riscv x86"
 	SRC_URI="https://git.sr.ht/~kennylevinsen/seatd/archive/${PV}.tar.gz -> ${P}.tar.gz"
 fi
 LICENSE="MIT"
 SLOT="0/1"
-IUSE="elogind systemd"
+IUSE="builtin elogind +server systemd"
 REQUIRED_USE="?? ( elogind systemd )"
 
 DEPEND="
@@ -30,6 +30,8 @@ src_configure() {
 	local emesonargs=(
 		-Dman-pages=enabled
 		-Dwerror=false
+		$(meson_feature builtin)
+		$(meson_feature server)
 	)
 
 	if use elogind || use systemd; then
@@ -43,6 +45,9 @@ src_configure() {
 
 src_install() {
 	meson_src_install
-	newinitd "${FILESDIR}/seatd.initd" seatd
-	systemd_dounit contrib/systemd/seatd.service
+
+	if use server; then
+		newinitd "${FILESDIR}/seatd.initd" seatd
+		systemd_dounit contrib/systemd/seatd.service
+	fi
 }

diff --git a/sys-auth/seatd/seatd-9999.ebuild b/sys-auth/seatd/seatd-9999.ebuild
index ab311a6c598..c826e115f27 100644
--- a/sys-auth/seatd/seatd-9999.ebuild
+++ b/sys-auth/seatd/seatd-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2020 Gentoo Authors
+# Copyright 2020-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -16,7 +16,7 @@ else
 fi
 LICENSE="MIT"
 SLOT="0/1"
-IUSE="elogind systemd"
+IUSE="builtin elogind +server systemd"
 REQUIRED_USE="?? ( elogind systemd )"
 
 DEPEND="
@@ -30,6 +30,8 @@ src_configure() {
 	local emesonargs=(
 		-Dman-pages=enabled
 		-Dwerror=false
+		$(meson_feature builtin libseat-builtin)
+		$(meson_feature server)
 	)
 
 	if use elogind || use systemd; then
@@ -43,6 +45,9 @@ src_configure() {
 
 src_install() {
 	meson_src_install
-	newinitd "${FILESDIR}/seatd.initd" seatd
-	systemd_dounit contrib/systemd/seatd.service
+
+	if use server; then
+		newinitd "${FILESDIR}/seatd.initd" seatd
+		systemd_dounit contrib/systemd/seatd.service
+	fi
 }


             reply	other threads:[~2021-08-07  8:25 UTC|newest]

Thread overview: 63+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-07  8:25 Ionen Wolkens [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-23  6:21 [gentoo-commits] repo/gentoo:master commit in: sys-auth/seatd/ Arthur Zamarin
2023-12-05  7:53 Arthur Zamarin
2023-08-23 20:05 Arthur Zamarin
2023-08-23 20:05 Arthur Zamarin
2023-08-23 20:05 Arthur Zamarin
2023-08-23 20:05 Arthur Zamarin
2023-07-21 11:00 Arthur Zamarin
2023-07-21 11:00 Arthur Zamarin
2023-07-21 11:00 Arthur Zamarin
2023-05-31  8:37 Arthur Zamarin
2022-11-13 11:39 Sam James
2022-11-13 11:39 Sam James
2022-11-12 12:13 Arthur Zamarin
2022-11-12 12:13 Arthur Zamarin
2022-11-12 12:13 Arthur Zamarin
2022-09-28 21:27 Sam James
2022-09-28 19:05 Arthur Zamarin
2022-09-28 19:05 Arthur Zamarin
2022-09-28 16:29 Arthur Zamarin
2022-09-15 16:41 Arthur Zamarin
2022-09-15 16:41 Arthur Zamarin
2022-08-19  6:16 Arthur Zamarin
2022-08-19  5:19 Arthur Zamarin
2022-08-18 23:08 Sam James
2022-08-18 23:08 Sam James
2022-08-18 23:08 Sam James
2022-08-18 23:08 Sam James
2022-08-14 20:06 Sam James
2022-05-26  1:12 Sam James
2022-05-17  8:37 WANG Xuerui
2022-05-17  8:37 WANG Xuerui
2022-05-17  5:59 Sam James
2022-04-30 12:06 Arthur Zamarin
2022-04-30 12:00 Arthur Zamarin
2022-02-25 21:03 Arthur Zamarin
2022-02-25 18:27 Sam James
2022-02-25 17:56 Arthur Zamarin
2022-02-25 17:56 Arthur Zamarin
2022-02-25 15:46 Arthur Zamarin
2022-02-23 21:38 Arthur Zamarin
2022-02-05 17:01 James Le Cuirot
2021-12-07  2:17 Sam James
2021-12-06 11:31 Agostino Sarubbo
2021-12-06  7:08 Agostino Sarubbo
2021-10-23 13:00 Arthur Zamarin
2021-10-23 13:00 Arthur Zamarin
2021-10-23 13:00 Arthur Zamarin
2021-10-15  6:55 Arthur Zamarin
2021-09-17  1:52 Ionen Wolkens
2021-09-17  1:52 Ionen Wolkens
2021-09-13  9:58 Arthur Zamarin
2021-09-13  6:41 Arthur Zamarin
2021-09-13  6:41 Arthur Zamarin
2021-08-07  8:25 Ionen Wolkens
2021-07-02  7:38 Joonas Niilola
2021-06-13 11:12 Sam James
2021-06-13 11:12 Sam James
2021-03-17  6:44 Joonas Niilola
2020-12-11 18:02 Matthew Thode
2020-12-11  7:58 Joonas Niilola
2020-11-13 20:53 Aaron Bauman
2020-11-11 17:24 Aaron Bauman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1628324690.9968e5f499f170ea40abe8996cb63f94e2e52a8c.ionen@gentoo \
    --to=ionen@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox