public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michael Palimaka" <kensington@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/kde:master commit in: kde-base/print-manager/
Date: Mon, 17 Nov 2014 08:39:01 +0000 (UTC)	[thread overview]
Message-ID: <1416213542.ae7cc637ccccba91b776ac282172c6274738d15e.kensington@gentoo> (raw)

commit:     ae7cc637ccccba91b776ac282172c6274738d15e
Author:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 17 08:39:02 2014 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Mon Nov 17 08:39:02 2014 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=ae7cc637

[kde-base/print-manager] Restore 896009a47447bc00c15a7b597152968b34e9f433 which was accidentally never applied to the live ebuild.

Package-Manager: portage-2.2.14

---
 .../print-manager/print-manager-4.14.49.9999.ebuild | 21 +++++++++++++++++++--
 1 file changed, 19 insertions(+), 2 deletions(-)

diff --git a/kde-base/print-manager/print-manager-4.14.49.9999.ebuild b/kde-base/print-manager/print-manager-4.14.49.9999.ebuild
index c436164..4c7ad8c 100644
--- a/kde-base/print-manager/print-manager-4.14.49.9999.ebuild
+++ b/kde-base/print-manager/print-manager-4.14.49.9999.ebuild
@@ -8,7 +8,7 @@ inherit kde4-base
 
 DESCRIPTION="Manage print jobs and printers in KDE"
 KEYWORDS=""
-IUSE="debug"
+IUSE="debug +gtk"
 
 DEPEND="
 	>=net-print/cups-1.5.0[dbus]
@@ -17,5 +17,22 @@ RDEPEND="${DEPEND}
 	!kde-base/printer-applet:4
 	!kde-base/system-config-printer-kde:4
 	!kde-misc/print-manager
-	app-admin/system-config-printer-gnome
+	gtk? ( app-admin/system-config-printer-gnome )
 "
+
+pkg_postinst(){
+	if ! use gtk ; then
+		ewarn
+		ewarn "By switching off \"gtk\" USE flag, you have chosen to do without"
+		ewarn "an important, though optional, runtime dependency:"
+		ewarn
+		ewarn "app-admin/system-config-printer-gnome"
+		ewarn
+		ewarn "${PN} will work nevertheless, but is going to be less comfortable"
+		ewarn "and will show the following error status during runtime:"
+		ewarn
+		ewarn "\"Failed to group devices: 'The name org.fedoraproject.Config.Printing"
+		ewarn "was not provided by any .service files'\""
+		ewarn
+	fi
+}


             reply	other threads:[~2014-11-17  8:39 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-17  8:39 Michael Palimaka [this message]
  -- strict thread matches above, loose matches on Subject: below --
2014-10-25 16:29 [gentoo-commits] proj/kde:master commit in: kde-base/print-manager/ Michael Palimaka
2013-07-03 14:50 Michael Palimaka
2013-06-09  9:14 Andreas Hüttel
2013-04-06 18:05 Andreas Hüttel
2013-03-24  0:33 Andreas Hüttel
2012-09-21  7:28 Johannes Huber
2012-09-20 12:52 Johannes Huber
2012-09-20 12:52 Johannes Huber

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=1416213542.ae7cc637ccccba91b776ac282172c6274738d15e.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