From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 85CED1382C5 for ; Mon, 18 Jan 2021 21:10:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D55ACE0895; Mon, 18 Jan 2021 21:10:21 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BDCAFE0895 for ; Mon, 18 Jan 2021 21:10:21 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AAA96340BB9 for ; Mon, 18 Jan 2021 21:10:16 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 919BA4AE for ; Mon, 18 Jan 2021 21:10:11 +0000 (UTC) From: "Matt Turner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matt Turner" Message-ID: <1611004199.625bc2d99ab7bc3285b889ca4e69beb2395ca1ed.mattst88@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: gnome-base/gdm/ X-VCS-Repository: repo/gentoo X-VCS-Files: gnome-base/gdm/gdm-3.36.4.ebuild X-VCS-Directories: gnome-base/gdm/ X-VCS-Committer: mattst88 X-VCS-Committer-Name: Matt Turner X-VCS-Revision: 625bc2d99ab7bc3285b889ca4e69beb2395ca1ed X-VCS-Branch: master Date: Mon, 18 Jan 2021 21:10:11 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: cd7cbc92-eeb7-4b62-8f9f-93beb0f8648f X-Archives-Hash: 00ced59830c9be32cfc78cfad338ca0b commit: 625bc2d99ab7bc3285b889ca4e69beb2395ca1ed Author: David Michael gmail com> AuthorDate: Mon Dec 28 03:24:27 2020 +0000 Commit: Matt Turner gentoo org> CommitDate: Mon Jan 18 21:09:59 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=625bc2d9 gnome-base/gdm: GLEP 81, EAPI 7 Also replace pam_fprint with pam_fprintd since that is the only version of the PAM module referenced in the code. Signed-off-by: David Michael gmail.com> Signed-off-by: Matt Turner gentoo.org> gnome-base/gdm/gdm-3.36.4.ebuild | 43 +++++++++++----------------------------- 1 file changed, 12 insertions(+), 31 deletions(-) diff --git a/gnome-base/gdm/gdm-3.36.4.ebuild b/gnome-base/gdm/gdm-3.36.4.ebuild index 8a86e224747..484f7ecbf18 100644 --- a/gnome-base/gdm/gdm-3.36.4.ebuild +++ b/gnome-base/gdm/gdm-3.36.4.ebuild @@ -1,11 +1,10 @@ # Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 -GNOME2_LA_PUNT="yes" +EAPI=7 GNOME2_EAUTORECONF="yes" -inherit eutils gnome2 pam readme.gentoo-r1 systemd toolchain-funcs udev user +inherit gnome2 pam readme.gentoo-r1 systemd toolchain-funcs udev DESCRIPTION="GNOME Display Manager for managing graphical display servers and user logins" HOMEPAGE="https://wiki.gnome.org/Projects/GDM" @@ -72,6 +71,8 @@ COMMON_DEPEND=" # fprintd is used via dbus by gdm-fingerprint-extension # gnome-session-3.6 needed to avoid freezing with orca RDEPEND="${COMMON_DEPEND} + acct-group/gdm + acct-user/gdm >=gnome-base/gnome-session-3.6 >=gnome-base/gnome-shell-3.1.90 x11-apps/xhost @@ -79,18 +80,19 @@ RDEPEND="${COMMON_DEPEND} accessibility? ( >=app-accessibility/orca-3.10 gnome-extra/mousetweaks ) - fprint? ( - sys-auth/fprintd - sys-auth/pam_fprint ) + fprint? ( sys-auth/fprintd[pam] ) " DEPEND="${COMMON_DEPEND} + x11-base/xorg-proto +" +BDEPEND=" app-text/docbook-xml-dtd:4.1.2 dev-util/gdbus-codegen dev-util/glib-utils dev-util/itstool + >=gnome-base/dconf-0.20 >=sys-devel/gettext-0.19.8 virtual/pkgconfig - x11-base/xorg-proto test? ( >=dev-libs/check-0.9.4 ) app-text/yelp-tools " # yelp-tools needed for eautoreconf to not lose help docs (m4_ifdeffed YELP_HELP_INIT call and setup) @@ -111,23 +113,6 @@ DOC_CONTENTS=" for smartcard support " -pkg_setup() { - enewgroup gdm - enewgroup video # Just in case it hasn't been created yet - enewuser gdm -1 -1 /var/lib/gdm gdm,video - - # For compatibility with certain versions of nvidia-drivers, etc., need to - # ensure that gdm user is in the video group - if ! egetent group video | grep -q gdm; then - # FIXME XXX: is this at all portable, ldap-safe, etc.? - # XXX: egetent does not have a 1-argument form, so we can't use it to - # get the list of gdm's groups - local g=$(groups gdm) - elog "Adding user gdm to video group" - usermod -G video,${g// /,} gdm || die "Adding user gdm to video group failed" - fi -} - src_prepare() { # ssh-agent handling must be done at xinitrc.d, bug #220603 eapply "${FILESDIR}/${PN}-2.32.0-xinitrc-ssh-agent.patch" @@ -209,10 +194,6 @@ src_install() { newexe "${FILESDIR}/49-keychain-r1" 49-keychain newexe "${FILESDIR}/50-ssh-agent-r1" 50-ssh-agent - # gdm user's home directory - keepdir /var/lib/gdm - fowners gdm:gdm /var/lib/gdm - if ! use bluetooth-sound ; then # Workaround https://gitlab.freedesktop.org/pulseaudio/pulseaudio/merge_requests/10 # bug #679526 @@ -235,9 +216,9 @@ pkg_postinst() { # bug #669146; gdm may crash if /var/lib/gdm subdirs are not owned by gdm:gdm ret=0 - ebegin "Fixing "${EROOT}"var/lib/gdm ownership" - chown --no-dereference gdm:gdm "${EROOT}var/lib/gdm" || ret=1 - for d in "${EROOT}var/lib/gdm/"{.cache,.color,.config,.dbus,.local}; do + ebegin "Fixing "${EROOT}"/var/lib/gdm ownership" + chown --no-dereference gdm:gdm "${EROOT}/var/lib/gdm" || ret=1 + for d in "${EROOT}/var/lib/gdm/"{.cache,.color,.config,.dbus,.local}; do [[ ! -e "${d}" ]] || chown --no-dereference -R gdm:gdm "${d}" || ret=1 done eend ${ret}