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 714F31389F5 for ; Mon, 17 Nov 2014 08:39:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 42D20E0E24; Mon, 17 Nov 2014 08:39:04 +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 A724CE0E24 for ; Mon, 17 Nov 2014 08:39:03 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D00F733F8DF for ; Mon, 17 Nov 2014 08:39:02 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7C1AFA4C5 for ; Mon, 17 Nov 2014 08:39:01 +0000 (UTC) From: "Michael Palimaka" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michael Palimaka" Message-ID: <1416213542.ae7cc637ccccba91b776ac282172c6274738d15e.kensington@gentoo> Subject: [gentoo-commits] proj/kde:master commit in: kde-base/print-manager/ X-VCS-Repository: proj/kde X-VCS-Files: kde-base/print-manager/print-manager-4.14.49.9999.ebuild X-VCS-Directories: kde-base/print-manager/ X-VCS-Committer: kensington X-VCS-Committer-Name: Michael Palimaka X-VCS-Revision: ae7cc637ccccba91b776ac282172c6274738d15e X-VCS-Branch: master Date: Mon, 17 Nov 2014 08:39:01 +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: 42cdc7de-8014-46e0-a28c-ec6d7ef742aa X-Archives-Hash: a8e8f69202eb9bcd7d866b5c6d929a7a commit: ae7cc637ccccba91b776ac282172c6274738d15e Author: Michael Palimaka gentoo org> AuthorDate: Mon Nov 17 08:39:02 2014 +0000 Commit: Michael Palimaka gentoo 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 +}