From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 26B20138335 for ; Thu, 13 Dec 2018 22:24:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A26E5E0DFF; Thu, 13 Dec 2018 22:24:16 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 79B7FE0DFC for ; Thu, 13 Dec 2018 22:24:16 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3CF00335CF2 for ; Thu, 13 Dec 2018 22:24:15 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BEBCB4F6 for ; Thu, 13 Dec 2018 22:24:10 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1544739839.7ace383745f78f291af29cb75d5dc7a48e690d67.asturm@gentoo> Subject: [gentoo-commits] proj/kde:master commit in: kde-apps/print-manager/ X-VCS-Repository: proj/kde X-VCS-Files: kde-apps/print-manager/print-manager-18.12.49.9999.ebuild kde-apps/print-manager/print-manager-9999.ebuild X-VCS-Directories: kde-apps/print-manager/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 7ace383745f78f291af29cb75d5dc7a48e690d67 X-VCS-Branch: master Date: Thu, 13 Dec 2018 22:24:10 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 8bb10b9a-7519-4ff0-b8b6-7bfa3216ce74 X-Archives-Hash: 7c7a708f96dbb316b345277e4cb7bace commit: 7ace383745f78f291af29cb75d5dc7a48e690d67 Author: Andreas Sturmlechner gentoo org> AuthorDate: Thu Dec 13 21:28:35 2018 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Thu Dec 13 22:23:59 2018 +0000 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=7ace3837 kde-apps/print-manager: Reduce pkg_postinst spam Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner gentoo.org> kde-apps/print-manager/print-manager-18.12.49.9999.ebuild | 6 +++--- kde-apps/print-manager/print-manager-9999.ebuild | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/kde-apps/print-manager/print-manager-18.12.49.9999.ebuild b/kde-apps/print-manager/print-manager-18.12.49.9999.ebuild index e96a8048fe..4580a2dc8f 100644 --- a/kde-apps/print-manager/print-manager-18.12.49.9999.ebuild +++ b/kde-apps/print-manager/print-manager-18.12.49.9999.ebuild @@ -36,8 +36,9 @@ RDEPEND="${DEPEND} " pkg_postinst(){ - if ! use gtk ; then - ewarn + kde5_pkg_postinst + + if [[ -z "${REPLACING_VERSIONS}" ]] && ! use gtk ; then ewarn "By switching off \"gtk\" USE flag, you have chosen to do without" ewarn "an important, though optional, runtime dependency:" ewarn @@ -48,6 +49,5 @@ pkg_postinst(){ ewarn ewarn "\"Failed to group devices: 'The name org.fedoraproject.Config.Printing" ewarn "was not provided by any .service files'\"" - ewarn fi } diff --git a/kde-apps/print-manager/print-manager-9999.ebuild b/kde-apps/print-manager/print-manager-9999.ebuild index 783158c405..4580a2dc8f 100644 --- a/kde-apps/print-manager/print-manager-9999.ebuild +++ b/kde-apps/print-manager/print-manager-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2018 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -36,8 +36,9 @@ RDEPEND="${DEPEND} " pkg_postinst(){ - if ! use gtk ; then - ewarn + kde5_pkg_postinst + + if [[ -z "${REPLACING_VERSIONS}" ]] && ! use gtk ; then ewarn "By switching off \"gtk\" USE flag, you have chosen to do without" ewarn "an important, though optional, runtime dependency:" ewarn @@ -48,6 +49,5 @@ pkg_postinst(){ ewarn ewarn "\"Failed to group devices: 'The name org.fedoraproject.Config.Printing" ewarn "was not provided by any .service files'\"" - ewarn fi }