From: "Michael Palimaka" <kensington@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/qt:master commit in: x11-misc/sddm/files/, x11-misc/sddm/
Date: Fri, 28 Oct 2016 15:31:41 +0000 (UTC) [thread overview]
Message-ID: <1477668692.2224a25412ba0fc7d3007b0384c912829971f181.kensington@gentoo> (raw)
commit: 2224a25412ba0fc7d3007b0384c912829971f181
Author: Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 28 15:26:04 2016 +0000
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Fri Oct 28 15:31:32 2016 +0000
URL: https://gitweb.gentoo.org/proj/qt.git/commit/?id=2224a254
x11-misc/sddm: sync with main tree
Package-Manager: portage-2.3.2
.../sddm/files/sddm-9999-respect-user-flags.patch | 4 +-
x11-misc/sddm/sddm-9999.ebuild | 57 ++++++++++++----------
2 files changed, 33 insertions(+), 28 deletions(-)
diff --git a/x11-misc/sddm/files/sddm-9999-respect-user-flags.patch b/x11-misc/sddm/files/sddm-9999-respect-user-flags.patch
index 67a6621..fc45016 100644
--- a/x11-misc/sddm/files/sddm-9999-respect-user-flags.patch
+++ b/x11-misc/sddm/files/sddm-9999-respect-user-flags.patch
@@ -1,6 +1,6 @@
diff -u CMakeLists.txt CMakeLists.txt
---- CMakeLists.txt 2015-09-05 22:40:50.000000000 +0200
-+++ CMakeLists.txt 2015-09-07 12:15:33.419530808 +0200
+--- a/CMakeLists.txt 2015-09-05 22:40:50.000000000 +0200
++++ b/CMakeLists.txt 2015-09-07 12:15:33.419530808 +0200
@@ -35,22 +35,6 @@
# Definitions
add_definitions(-Wall -std=c++11 -DQT_NO_CAST_FROM_ASCII)
diff --git a/x11-misc/sddm/sddm-9999.ebuild b/x11-misc/sddm/sddm-9999.ebuild
index 869ae35..44740c2 100644
--- a/x11-misc/sddm/sddm-9999.ebuild
+++ b/x11-misc/sddm/sddm-9999.ebuild
@@ -2,8 +2,8 @@
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI=5
-inherit cmake-utils git-r3 toolchain-funcs user
+EAPI=6
+inherit cmake-utils git-r3 user
DESCRIPTION="Simple Desktop Display Manager"
HOMEPAGE="https://github.com/sddm/sddm"
@@ -14,12 +14,11 @@ LICENSE="GPL-2+ MIT CC-BY-3.0 CC-BY-SA-3.0 public-domain"
SLOT="0"
IUSE="consolekit +pam systemd"
-RDEPEND="dev-qt/qtcore:5
- dev-qt/qtdbus:5
- dev-qt/qtgui:5
- dev-qt/qtdeclarative:5
- dev-qt/qtnetwork:5
- dev-qt/qttest:5
+RDEPEND=">=dev-qt/qtcore-5.6:5
+ >=dev-qt/qtdbus-5.6:5
+ >=dev-qt/qtgui-5.6:5
+ >=dev-qt/qtdeclarative-5.6:5
+ >=dev-qt/qtnetwork-5.6:5
>=x11-base/xorg-server-1.15.1
x11-libs/libxcb[xkb(-)]
consolekit? ( >=sys-auth/consolekit-0.9.4 )
@@ -29,7 +28,9 @@ RDEPEND="dev-qt/qtcore:5
DEPEND="${RDEPEND}
dev-python/docutils
- dev-qt/linguist-tools:5
+ >=dev-qt/linguist-tools-5.6:5
+ >=dev-qt/qttest-5.6:5
+ kde-frameworks/extra-cmake-modules
virtual/pkgconfig"
pkg_pretend() {
@@ -41,27 +42,17 @@ pkg_pretend() {
}
src_prepare() {
- cmake-utils_src_prepare
-
- epatch "${FILESDIR}/${P}-respect-user-flags.patch"
- use consolekit && epatch "${FILESDIR}/${P}-consolekit.patch"
-}
-
-src_configure() {
- local mycmakeargs=(
- $(cmake-utils_use_no pam PAM)
- $(cmake-utils_use_no systemd SYSTEMD)
- -DBUILD_MAN_PAGES=ON
- -DDBUS_CONFIG_FILENAME="org.freedesktop.sddm.conf"
- )
+ # fix for flags handling and bug 563108
+ eapply "${FILESDIR}/${P}-respect-user-flags.patch"
+ use consolekit && eapply "${FILESDIR}/${P}-consolekit.patch"
- cmake-utils_src_configure
+ cmake-utils_src_prepare
}
src_configure() {
local mycmakeargs=(
- $(cmake-utils_use_no pam PAM)
- $(cmake-utils_use_no systemd SYSTEMD)
+ -DENABLE_PAM=$(usex pam)
+ -DNO_SYSTEMD=$(usex '!systemd')
-DBUILD_MAN_PAGES=ON
-DDBUS_CONFIG_FILENAME="org.freedesktop.sddm.conf"
)
@@ -71,5 +62,19 @@ src_configure() {
pkg_postinst() {
enewgroup ${PN}
- enewuser ${PN} -1 -1 /var/lib/${PN} ${PN} video
+ enewuser ${PN} -1 -1 /var/lib/${PN} ${PN},video
+
+ if use consolekit && use pam && [[ -e "${ROOT}"/etc/pam.d/system-login ]]; then
+ local line=$(grep "pam_ck_connector.*nox11" "${ROOT}"/etc/pam.d/system-login)
+ if [[ -z ${line} ]]; then
+ ewarn
+ ewarn "Erroneous /etc/pam.d/system-login settings detected!"
+ ewarn "Please restore 'nox11' option in the line containing pam_ck_connector:"
+ ewarn
+ ewarn "session optional pam_ck_connector.so nox11"
+ ewarn
+ ewarn "or 'emerge -1 sys-auth/pambase' and run etc-update."
+ ewarn
+ fi
+ fi
}
next reply other threads:[~2016-10-28 15:31 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-28 15:31 Michael Palimaka [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-02-22 11:32 [gentoo-commits] proj/qt:master commit in: x11-misc/sddm/files/, x11-misc/sddm/ Andreas Sturmlechner
2024-01-10 9:13 Andreas Sturmlechner
2023-02-10 19:18 Andreas Sturmlechner
2023-02-04 13:00 Andreas Sturmlechner
2021-01-01 18:58 Andreas Sturmlechner
2015-09-24 19:25 Michael Palimaka
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=1477668692.2224a25412ba0fc7d3007b0384c912829971f181.kensington@gentoo \
--to=kensington@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