public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Johannes Huber" <johu@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/kde:master commit in: kde-base/kdm/
Date: Mon, 24 Jun 2013 22:14:03 +0000 (UTC)	[thread overview]
Message-ID: <1372112022.ff677e258d6b137844460197de5853634ad5d538.johu@gentoo> (raw)

commit:     ff677e258d6b137844460197de5853634ad5d538
Author:     Johannes Huber <johu <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 24 22:13:42 2013 +0000
Commit:     Johannes Huber <johu <AT> gentoo <DOT> org>
CommitDate: Mon Jun 24 22:13:42 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=ff677e25

[kde-base/kdm] Restore consolekit use flag.

Package-Manager: portage-2.2.0_alpha184

---
 kde-base/kdm/kdm-4.10.80.ebuild | 16 +++++++++-------
 kde-base/kdm/kdm-9999.ebuild    | 16 +++++++++-------
 2 files changed, 18 insertions(+), 14 deletions(-)

diff --git a/kde-base/kdm/kdm-4.10.80.ebuild b/kde-base/kdm/kdm-4.10.80.ebuild
index 5d0b7d3..9483027 100644
--- a/kde-base/kdm/kdm-4.10.80.ebuild
+++ b/kde-base/kdm/kdm-4.10.80.ebuild
@@ -10,7 +10,9 @@ inherit systemd kde4-meta flag-o-matic user
 
 DESCRIPTION="KDE login manager, similar to xdm and gdm"
 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="debug kerberos pam systemd"
+IUSE="debug +consolekit kerberos pam systemd"
+
+REQUIRED_USE="systemd? ( !consolekit )"
 
 DEPEND="
 	$(add_kdebase_dep libkworkspace)
@@ -18,16 +20,16 @@ DEPEND="
 	x11-libs/libXau
 	x11-libs/libXdmcp
 	x11-libs/libXtst
+	consolekit? (
+		>=sys-apps/dbus-1.0.2
+		sys-auth/consolekit
+	)
 	kerberos? ( virtual/krb5 )
 	pam? (
 		$(add_kdebase_dep kcheckpass)
 		virtual/pam
 	)
 	systemd? ( sys-apps/systemd )
-	!systemd? (
-		>=sys-apps/dbus-1.0.2
-		sys-auth/consolekit
-	)
 "
 RDEPEND="${DEPEND}
 	$(add_kdebase_dep kdepasswd)
@@ -56,7 +58,7 @@ src_configure() {
 	mycmakeargs=(
 		$(cmake-utils_use kerberos KDE4_KRB5AUTH)
 		$(cmake-utils_use_with pam)
-		$(cmake-utils_use_with !systemd CkConnector)
+		$(cmake-utils_use_with consolekit CkConnector)
 	)
 
 	kde4-meta_src_configure
@@ -150,7 +152,7 @@ pkg_postinst() {
 	use prefix || chown root:kdm "${EROOT}${KDM_HOME}"
 	chmod 1770 "${EROOT}${KDM_HOME}"
 
-	if use !systemd; then
+	if use consolekit; then
 		echo
 		elog "You have compiled 'kdm' with consolekit support. If you want to use kdm,"
 		elog "make sure consolekit daemon is running and started at login time"

diff --git a/kde-base/kdm/kdm-9999.ebuild b/kde-base/kdm/kdm-9999.ebuild
index defbac9..3e6ec0c 100644
--- a/kde-base/kdm/kdm-9999.ebuild
+++ b/kde-base/kdm/kdm-9999.ebuild
@@ -10,7 +10,9 @@ inherit systemd kde4-meta flag-o-matic user
 
 DESCRIPTION="KDE login manager, similar to xdm and gdm"
 KEYWORDS=""
-IUSE="debug kerberos pam systemd"
+IUSE="debug +consolekit kerberos pam systemd"
+
+REQUIRED_USE="systemd? ( !consolekit )"
 
 DEPEND="
 	$(add_kdebase_dep libkworkspace)
@@ -18,16 +20,16 @@ DEPEND="
 	x11-libs/libXau
 	x11-libs/libXdmcp
 	x11-libs/libXtst
+	consolekit? (
+		>=sys-apps/dbus-1.0.2
+		sys-auth/consolekit
+	)
 	kerberos? ( virtual/krb5 )
 	pam? (
 		$(add_kdebase_dep kcheckpass)
 		virtual/pam
 	)
 	systemd? ( sys-apps/systemd )
-	!systemd? (
-		>=sys-apps/dbus-1.0.2
-		sys-auth/consolekit
-	)
 "
 RDEPEND="${DEPEND}
 	$(add_kdebase_dep kdepasswd)
@@ -56,7 +58,7 @@ src_configure() {
 	mycmakeargs=(
 		$(cmake-utils_use kerberos KDE4_KRB5AUTH)
 		$(cmake-utils_use_with pam)
-		$(cmake-utils_use_with !systemd CkConnector)
+		$(cmake-utils_use_with consolekit CkConnector)
 	)
 
 	kde4-meta_src_configure
@@ -150,7 +152,7 @@ pkg_postinst() {
 	use prefix || chown root:kdm "${EROOT}${KDM_HOME}"
 	chmod 1770 "${EROOT}${KDM_HOME}"
 
-	if use !systemd; then
+	if use consolekit; then
 		echo
 		elog "You have compiled 'kdm' with consolekit support. If you want to use kdm,"
 		elog "make sure consolekit daemon is running and started at login time"


             reply	other threads:[~2013-06-24 22:14 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-24 22:14 Johannes Huber [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-03-15 13:27 [gentoo-commits] proj/kde:master commit in: kde-base/kdm/ Johannes Huber
2014-03-16  9:10 Michael Palimaka
2014-03-15  9:08 Johannes Huber
2013-08-21 18:41 Michael Palimaka
2013-08-18 10:25 Andreas Hüttel
2013-07-25 22:16 Johannes Huber
2013-06-24 21:51 Johannes Huber
2013-04-28 23:59 David Heidelberger
2013-04-09 14:30 Michael Palimaka
2012-06-26 11:38 Michael Palimaka
2012-06-15 11:31 Michael Palimaka
2012-05-22 20:52 Michael Palimaka
2012-05-01 11:21 Johannes Huber
2011-11-20 21:53 Andreas Hüttel
2011-10-28 17:43 Andreas Hüttel
2011-09-07 21:43 Alexey Shvetsov
2011-07-25 20:54 Andreas Hüttel
2011-07-12 20:53 Andreas Hüttel
2011-05-24  5:57 Jorge Manuel B. S. Vicetto
2011-05-19 16:20 Jonathan Callen
2011-04-01  8:41 Andreas K. Huettel
2011-02-27 13:32 Andreas K. Huettel

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=1372112022.ff677e258d6b137844460197de5853634ad5d538.johu@gentoo \
    --to=johu@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