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 EA0DF59CAF for ; Thu, 7 Apr 2016 13:30:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2E1F621C04B; Thu, 7 Apr 2016 13:30:21 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8D0AA21C04B for ; Thu, 7 Apr 2016 13:30:20 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9B1A2340CA5 for ; Thu, 7 Apr 2016 13:30:19 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B516020E for ; Thu, 7 Apr 2016 13:30:15 +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: <1460035805.28ec150a82a01be385fc26d07995a9fd30cbf45c.kensington@gentoo> Subject: [gentoo-commits] proj/kde:master commit in: eclass/ X-VCS-Repository: proj/kde X-VCS-Files: eclass/kde5.eclass X-VCS-Directories: eclass/ X-VCS-Committer: kensington X-VCS-Committer-Name: Michael Palimaka X-VCS-Revision: 28ec150a82a01be385fc26d07995a9fd30cbf45c X-VCS-Branch: master Date: Thu, 7 Apr 2016 13:30:15 +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: a7b621f7-ad77-4aac-8441-97dc5d1e3e5e X-Archives-Hash: c56a37889fa2198d8758ceee3914795b commit: 28ec150a82a01be385fc26d07995a9fd30cbf45c Author: Andreas Sturmlechner gmail com> AuthorDate: Thu Apr 7 12:32:01 2016 +0000 Commit: Michael Palimaka gentoo org> CommitDate: Thu Apr 7 13:30:05 2016 +0000 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=28ec150a kde5.eclass: Add warning for kf5 applications in Plasma-4 Copied and adapted from kde4-base.eclass. eclass/kde5.eclass | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/eclass/kde5.eclass b/eclass/kde5.eclass index ed426b5..4c264d0 100644 --- a/eclass/kde5.eclass +++ b/eclass/kde5.eclass @@ -709,6 +709,23 @@ kde5_pkg_postinst() { gnome2_icon_cache_update xdg_pkg_postinst + + if [[ -z ${I_KNOW_WHAT_I_AM_DOING} ]]; then + if [[ ${KDE_BUILD_TYPE} = live ]]; then + echo + einfo "WARNING! This is an experimental live ebuild of ${CATEGORY}/${PN}" + einfo "Use it at your own risk." + einfo "Do _NOT_ file bugs at bugs.gentoo.org because of this ebuild!" + fi + # for kf5-based applications tell user that he SHOULD NOT be using kde-base/plasma-workspace + if [[ ${KDEBASE} != kde-base || ${CATEGORY} = kde-apps ]] && \ + has_version 'kde-base/plasma-workspace'; then + echo + ewarn "WARNING! Your system configuration still contains \"kde-base/plasma-workspace\"," + ewarn "indicating a Plasma 4 setup. With this setting you are unsupported by KDE team." + ewarn "Please consider upgrading to Plasma 5." + fi + fi } # @FUNCTION: kde5_pkg_postrm