public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Conrad Kostecki" <conikost@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/lightdm/
Date: Fri, 13 May 2022 22:50:23 +0000 (UTC)	[thread overview]
Message-ID: <1652482193.4385185bd024aac89dcfb48c11ecce3bb556cf4e.conikost@gentoo> (raw)

commit:     4385185bd024aac89dcfb48c11ecce3bb556cf4e
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sat Apr  2 11:26:08 2022 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Fri May 13 22:49:53 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4385185b

x11-misc/lightdm: migrate to glep-81, change use flag

Use flag 'non_root' renamed to 'non-root', as underscore is not allowed
any more.

Closes: https://bugs.gentoo.org/781554
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/24863
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 ...ightdm-1.30.0-r2.ebuild => lightdm-1.30.0-r3.ebuild} | 17 +++++++----------
 x11-misc/lightdm/metadata.xml                           |  2 +-
 2 files changed, 8 insertions(+), 11 deletions(-)

diff --git a/x11-misc/lightdm/lightdm-1.30.0-r2.ebuild b/x11-misc/lightdm/lightdm-1.30.0-r3.ebuild
similarity index 88%
rename from x11-misc/lightdm/lightdm-1.30.0-r2.ebuild
rename to x11-misc/lightdm/lightdm-1.30.0-r3.ebuild
index bd8fd0cb9b0a..5f13b6bcc1a0 100644
--- a/x11-misc/lightdm/lightdm-1.30.0-r2.ebuild
+++ b/x11-misc/lightdm/lightdm-1.30.0-r3.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-inherit autotools pam qmake-utils readme.gentoo-r1 systemd user vala xdg-utils
+inherit autotools pam qmake-utils readme.gentoo-r1 systemd vala xdg-utils
 
 DESCRIPTION="A lightweight display manager"
 HOMEPAGE="https://github.com/CanonicalLtd/lightdm"
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/CanonicalLtd/lightdm/releases/download/${PV}/${P}.ta
 LICENSE="GPL-3 LGPL-3"
 SLOT="0"
 KEYWORDS="~alpha amd64 arm arm64 ppc ppc64 ~riscv x86"
-IUSE="audit +gnome +gtk +introspection non_root qt5 vala"
+IUSE="audit +gnome +gtk +introspection non-root qt5 vala"
 
 COMMON_DEPEND="
 	>=dev-libs/glib-2.44.0:2
@@ -31,6 +31,9 @@ COMMON_DEPEND="
 	)
 "
 RDEPEND="${COMMON_DEPEND}
+	acct-group/lightdm
+	acct-group/video
+	acct-user/lightdm
 	>=sys-auth/pambase-20101024-r2"
 DEPEND="${COMMON_DEPEND}
 	gnome? ( gnome-base/gnome-common )
@@ -50,12 +53,6 @@ REQUIRED_USE="vala? ( introspection )"
 
 pkg_setup() {
 	export LIGHTDM_USER=${LIGHTDM_USER:-lightdm}
-	if use non_root ; then
-		enewgroup ${LIGHTDM_USER}
-		enewgroup video # Just in case it hasn't been created yet
-		enewuser ${LIGHTDM_USER} -1 -1 /var/lib/${LIGHTDM_USER} ${LIGHTDM_USER},video
-		esethome ${LIGHTDM_USER} /var/lib/${LIGHTDM_USER}
-	fi
 }
 
 src_prepare() {
@@ -92,7 +89,7 @@ src_configure() {
 	local _greeter _session _user
 	_greeter=${LIGHTDM_GREETER:=lightdm-gtk-greeter}
 	_session=${LIGHTDM_SESSION:=gnome}
-	_user="$(usex non_root "${LIGHTDM_USER}" root)"
+	_user="$(usex non-root "${LIGHTDM_USER}" root)"
 	# Let user know how lightdm is configured
 	einfo "Gentoo configuration"
 	einfo "Default greeter: ${_greeter}"

diff --git a/x11-misc/lightdm/metadata.xml b/x11-misc/lightdm/metadata.xml
index eb41c0a7d705..0dbf6a9da96c 100644
--- a/x11-misc/lightdm/metadata.xml
+++ b/x11-misc/lightdm/metadata.xml
@@ -7,7 +7,7 @@
 	</maintainer>
 	<use>
 		<flag name="gtk">Pull in the gtk+ greeter</flag>
-		<flag name="non_root">Use non-root user by default</flag>
+		<flag name="non-root">Use non-root user by default</flag>
 	</use>
 	<upstream>
 		<remote-id type="github">CanonicalLtd/lightdm</remote-id>


             reply	other threads:[~2022-05-13 22:50 UTC|newest]

Thread overview: 118+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-13 22:50 Conrad Kostecki [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-08-05  6:07 [gentoo-commits] repo/gentoo:master commit in: x11-misc/lightdm/ Viorel Munteanu
2024-06-29 18:24 Viorel Munteanu
2024-06-28 12:01 Viorel Munteanu
2023-05-06  9:49 Arthur Zamarin
2023-05-03 18:58 Sam James
2023-03-30 16:09 Arthur Zamarin
2023-03-26  1:04 Sam James
2023-03-26  1:03 Sam James
2023-03-26  1:03 Sam James
2023-01-20  9:37 Marek Szuba
2023-01-20  9:37 Marek Szuba
2022-11-18 16:44 Arthur Zamarin
2022-11-18  7:07 Jakov Smolić
2022-11-18  7:04 Jakov Smolić
2022-11-11  4:25 Sam James
2022-11-10 18:18 Arthur Zamarin
2022-11-10 18:18 Arthur Zamarin
2022-10-04  0:53 Marek Szuba
2022-09-27 15:09 Marek Szuba
2022-09-27 12:22 Marek Szuba
2022-09-01 12:27 Marek Szuba
2022-08-09 12:39 Marek Szuba
2022-08-09 12:39 Marek Szuba
2022-07-02 23:23 WANG Xuerui
2022-06-29 11:08 Marek Szuba
2021-08-01 18:27 Sam James
2021-07-26  7:40 Yixun Lan
2020-06-25  8:57 Lars Wendler
2020-06-03 15:12 Agostino Sarubbo
2020-05-28 15:45 Agostino Sarubbo
2020-05-25  9:36 Sergei Trofimovich
2020-05-24  8:09 Agostino Sarubbo
2020-05-22  8:02 Sergei Trofimovich
2019-10-15 14:21 Lars Wendler
2019-10-12 17:55 Mikle Kolyada
2019-08-17 16:10 Matt Turner
2019-07-28 10:59 Mikle Kolyada
2019-07-22 23:19 Aaron Bauman
2019-06-24 13:08 Lars Wendler
2019-06-22  9:38 Sergei Trofimovich
2019-06-22  9:32 Sergei Trofimovich
2019-06-20  9:05 Mikle Kolyada
2019-06-18 18:24 Thomas Deutschmann
2019-05-28  2:35 Aaron Bauman
2019-05-20  9:24 Lars Wendler
2019-03-28  9:14 Lars Wendler
2018-10-20 12:16 Sergei Trofimovich
2018-10-04  8:51 Mikle Kolyada
2018-09-24  1:50 Thomas Deutschmann
2018-09-15 18:26 Sergei Trofimovich
2018-09-15 12:42 Mikle Kolyada
2018-09-03 12:54 Lars Wendler
2018-07-19  8:44 Lars Wendler
2018-05-31 19:27 Andreas Sturmlechner
2018-04-29  7:39 Lars Wendler
2018-03-23 22:02 Lars Wendler
2018-03-09  8:18 Lars Wendler
2018-02-26 22:04 Mike Gilbert
2018-01-20 23:00 Andreas Sturmlechner
2018-01-20 23:00 Andreas Sturmlechner
2017-12-21 14:40 Andreas Sturmlechner
2017-12-21 14:40 Andreas Sturmlechner
2017-10-04  9:17 Michał Górny
2017-09-06  8:24 Lars Wendler
2017-09-06  8:24 Lars Wendler
2017-06-05 10:48 Andreas Sturmlechner
2017-03-24  8:57 Lars Wendler
2017-03-24  8:57 Lars Wendler
2017-02-24 11:14 Lars Wendler
2017-02-24 11:14 Lars Wendler
2017-02-23 16:38 Michael Weber
2017-02-15 17:02 Lars Wendler
2017-02-15 17:02 Lars Wendler
2016-12-24  9:27 Markus Meier
2016-12-21  9:51 Tobias Klausmann
2016-12-10 19:51 Markos Chandras
2016-12-10 19:51 Markos Chandras
2016-12-10 19:51 Markos Chandras
2016-11-25 12:37 Lars Wendler
2016-11-25 12:37 Lars Wendler
2016-11-23 17:20 Markos Chandras
2016-11-22 13:12 Aaron Bauman
2016-11-20  8:37 Michał Górny
2016-11-18 11:59 Lars Wendler
2016-11-17 18:55 Lars Wendler
2016-11-17 18:55 Lars Wendler
2016-11-10 20:21 Markus Meier
2016-10-17  9:05 Lars Wendler
2016-10-17  9:05 Lars Wendler
2016-10-15  5:34 Jeroen Roovers
2016-09-28 17:27 Michael Palimaka
2016-09-28 17:27 Michael Palimaka
2016-09-28 17:27 Michael Palimaka
2016-09-28 17:27 Michael Palimaka
2016-09-03  0:08 Lars Wendler
2016-09-03  0:08 Lars Wendler
2016-07-13 10:16 Lars Wendler
2016-05-05 19:57 Lars Wendler
2016-05-05 19:57 Lars Wendler
2016-04-09 13:46 Agostino Sarubbo
2016-04-07 14:45 Lars Wendler
2016-04-04  9:41 Lars Wendler
2016-03-06 10:04 Markos Chandras
2016-03-04  3:59 Stephen Klimaszewski
2016-01-13 22:52 Manuel Rüger
2015-11-26 18:25 Markos Chandras
2015-11-14 10:51 Markos Chandras
2015-11-07 13:31 Markos Chandras
2015-11-04 21:09 Markos Chandras
2015-10-06 16:30 Markos Chandras
2015-09-30 19:21 Markos Chandras
2015-09-27 12:37 Markos Chandras
2015-09-16 13:15 Lars Wendler
2015-09-12  9:07 Markos Chandras
2015-09-12  9:07 Markos Chandras
2015-09-12  9:07 Markos Chandras
2015-08-27 17:39 Markos Chandras

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=1652482193.4385185bd024aac89dcfb48c11ecce3bb556cf4e.conikost@gentoo \
    --to=conikost@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