From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 185521381FA for ; Wed, 4 Jun 2014 13:41:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9E084E0983; Wed, 4 Jun 2014 13:41:51 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 28B40E0941 for ; Wed, 4 Jun 2014 13:41:51 +0000 (UTC) Received: from spoonbill.gentoo.org (spoonbill.gentoo.org [81.93.255.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1328033FEFF for ; Wed, 4 Jun 2014 13:41:50 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id A04B5182D4 for ; Wed, 4 Jun 2014 13:41:48 +0000 (UTC) From: "Davide Pesavento" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Davide Pesavento" Message-ID: <1401886852.ad0f4ea7cb3de48727eb6b9397e5c424a3b4c658.pesa@gentoo> Subject: [gentoo-commits] proj/qt:master commit in: x11-misc/sddm/ X-VCS-Repository: proj/qt X-VCS-Files: x11-misc/sddm/metadata.xml x11-misc/sddm/sddm-9999.ebuild X-VCS-Directories: x11-misc/sddm/ X-VCS-Committer: pesa X-VCS-Committer-Name: Davide Pesavento X-VCS-Revision: ad0f4ea7cb3de48727eb6b9397e5c424a3b4c658 X-VCS-Branch: master Date: Wed, 4 Jun 2014 13:41:48 +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-Archives-Salt: 0a0d78c0-b667-4c07-9b87-c86bf6a223c2 X-Archives-Hash: defaad3ab3f19087a66e9ca3f659ef2a commit: ad0f4ea7cb3de48727eb6b9397e5c424a3b4c658 Author: Jauhien Piatlicki gentoo org> AuthorDate: Wed Jun 4 13:00:52 2014 +0000 Commit: Davide Pesavento gentoo org> CommitDate: Wed Jun 4 13:00:52 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/qt.git;a=commit;h=ad0f4ea7 x11-misc/sddm: add warnings for users/ fix metadata.xml --- x11-misc/sddm/metadata.xml | 4 +++- x11-misc/sddm/sddm-9999.ebuild | 14 +++++++++++++- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/x11-misc/sddm/metadata.xml b/x11-misc/sddm/metadata.xml index d2d2be4..adf6fc4 100644 --- a/x11-misc/sddm/metadata.xml +++ b/x11-misc/sddm/metadata.xml @@ -6,7 +6,9 @@ Jauhien Piatlicki - Use sys-power/upower for power management + Use sys-power/upower for power + management + Enable ConsoleKit support SDDM is a modern display manager for X11 aiming to be fast, simple diff --git a/x11-misc/sddm/sddm-9999.ebuild b/x11-misc/sddm/sddm-9999.ebuild index b5bf554..67d6ec6 100644 --- a/x11-misc/sddm/sddm-9999.ebuild +++ b/x11-misc/sddm/sddm-9999.ebuild @@ -29,7 +29,7 @@ DEPEND="${RDEPEND} virtual/pkgconfig" src_prepare() { - use consolekit && epatch "${FILESDIR}/${P}-consolekit.patch" + use consolekit && epatch "${FILESDIR}/${P}-consolekit.patch" # respect user's cflags sed -e 's|-Wall -march=native||' \ @@ -51,6 +51,18 @@ src_configure() { cmake-utils_src_configure } +pkg_postinst() { + if use consolekit; then + ewarn "This display manager doesn't have native built-in ConsoleKit support." + ewarn "In order to use ConsoleKit pam module with this display manager," + ewarn "you should remove the \"nox11\" parameter from pm_ck_connector.so" + ewarn "line in /etc/pam.d/system-login" + fi + ewarn "Add the sddm user manually to the video group" + ewarn "if you experience flickering or other rendering issues of sddm-greeter" + ewarn "see https://github.com/gentoo/qt/pull/52" +} + pkg_setup() { enewgroup ${PN} enewuser ${PN} -1 -1 /var/lib/sddm ${PN}