public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Davide Pesavento" <pesa@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/qt:master commit in: x11-misc/sddm/
Date: Wed,  4 Jun 2014 13:41:48 +0000 (UTC)	[thread overview]
Message-ID: <1401886852.ad0f4ea7cb3de48727eb6b9397e5c424a3b4c658.pesa@gentoo> (raw)

commit:     ad0f4ea7cb3de48727eb6b9397e5c424a3b4c658
Author:     Jauhien Piatlicki <jauhien <AT> gentoo <DOT> org>
AuthorDate: Wed Jun  4 13:00:52 2014 +0000
Commit:     Davide Pesavento <pesa <AT> gentoo <DOT> 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 @@
     <name>Jauhien Piatlicki</name>
   </maintainer>
   <use>
-    <flag name="upower">Use <pkg>sys-power/upower</pkg> for power management</flag>
+    <flag name="upower">Use <pkg>sys-power/upower</pkg> for power
+    management</flag>
+    <flag name="consolekit">Enable ConsoleKit support</flag>
   </use>
   <longdescription lang="en">
     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}


             reply	other threads:[~2014-06-04 13:41 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-04 13:41 Davide Pesavento [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-07-01 21:49 [gentoo-commits] proj/qt:master commit in: x11-misc/sddm/ Andreas Sturmlechner
2024-07-01 21:49 Andreas Sturmlechner
2024-07-01 21:49 Andreas Sturmlechner
2024-05-27 22:18 Andreas Sturmlechner
2024-03-08 23:03 Andreas Sturmlechner
2024-02-22 11:32 Andreas Sturmlechner
2023-11-27 10:51 Andreas Sturmlechner
2023-03-22 19:24 Andreas Sturmlechner
2023-03-10 22:08 Andreas Sturmlechner
2023-02-13  7:53 Andreas Sturmlechner
2023-02-08 19:33 Andreas Sturmlechner
2023-02-05 16:24 Andreas Sturmlechner
2023-02-04 13:00 Andreas Sturmlechner
2023-02-04 13:00 Andreas Sturmlechner
2023-02-04 13:00 Andreas Sturmlechner
2022-10-08 10:52 Andreas Sturmlechner
2021-09-22 17:41 Andreas Sturmlechner
2021-08-13 15:13 Jimi Huotari
2019-12-31 16:44 Andreas Sturmlechner
2017-08-27  5:52 [gentoo-commits] proj/qt:qtbase59 " Michael Palimaka
2017-08-27  5:50 ` [gentoo-commits] proj/qt:master " Michael Palimaka
2015-10-01 14:27 Michael Palimaka
2014-09-22  0:08 Davide Pesavento
2014-08-04 12:47 Jauhien Piatlicki
2014-08-04 10:44 Jauhien Piatlicki
2014-07-26  9:03 Davide Pesavento
2014-07-24 17:01 Michael Palimaka
2014-06-18 13:00 Michael Palimaka
2014-05-31 16:02 Davide Pesavento
2014-02-14 19:48 Johannes Huber
2013-07-22 15:17 Ben de Groot
2013-04-29  9:09 Michael Palimaka
2013-03-24  6:58 Ben de Groot
2013-03-19 12:46 Ben de Groot
2013-03-18 14:32 Ben de Groot
2013-03-18 11:31 Ben de Groot
2013-03-18 11:04 Ben de Groot
2013-02-08 12:55 Michael Palimaka
2013-01-27 14:56 Ben de Groot

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=1401886852.ad0f4ea7cb3de48727eb6b9397e5c424a3b4c658.pesa@gentoo \
    --to=pesa@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