commit: 847549cb62c20083bf23ddb340280f1544db08b4
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 1 12:23:30 2018 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Thu Mar 1 12:23:30 2018 +0000
URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=847549cb
kde-plasma/plasma-desktop: Add informational pkg_postinst messages
USE legacy-systray moved into plasma-meta. Users of minimal plasma-desktop
setups can figure out on their own, but let's reward attention to elog.
Package-Manager: Portage-2.3.24, Repoman-2.3.6
.../plasma-desktop/plasma-desktop-5.12.49.9999.ebuild | 14 ++++++++++++++
kde-plasma/plasma-desktop/plasma-desktop-9999.ebuild | 14 ++++++++++++++
2 files changed, 28 insertions(+)
diff --git a/kde-plasma/plasma-desktop/plasma-desktop-5.12.49.9999.ebuild
b/kde-plasma/plasma-desktop/plasma-desktop-5.12.49.9999.ebuild
index d9d9a78858..dd5f103944 100644
--- a/kde-plasma/plasma-desktop/plasma-desktop-5.12.49.9999.ebuild
+++ b/kde-plasma/plasma-desktop/plasma-desktop-5.12.49.9999.ebuild
@@ -147,3 +147,17 @@ src_test() {
kde5_src_test
}
+
+pkg_postinst() {
+ kde5_pkg_postinst
+
+ if has_version "dev-qt/qtcore:4" && ! has_version "dev-libs/sni-qt" ;
then
+ elog "For Qt4 applications legacy-systray support, please
install dev-libs/sni-qt."
+ fi
+ if has_version "x11-libs/gtk+:2" && ! has_version
"dev-libs/libappindicator:2"; then
+ elog "For GTK+2 applications legacy-systray support, please
install dev-libs/libappindicator:2."
+ fi
+ if has_version "x11-libs/gtk+:3" && ! has_version
"dev-libs/libappindicator:3"; then
+ elog "For GTK+3 applications legacy-systray support, please
install dev-libs/libappindicator:3."
+ fi
+}
diff --git a/kde-plasma/plasma-desktop/plasma-desktop-9999.ebuild
b/kde-plasma/plasma-desktop/plasma-desktop-9999.ebuild
index d9d9a78858..dd5f103944 100644
--- a/kde-plasma/plasma-desktop/plasma-desktop-9999.ebuild
+++ b/kde-plasma/plasma-desktop/plasma-desktop-9999.ebuild
@@ -147,3 +147,17 @@ src_test() {
kde5_src_test
}
+
+pkg_postinst() {
+ kde5_pkg_postinst
+
+ if has_version "dev-qt/qtcore:4" && ! has_version "dev-libs/sni-qt" ;
then
+ elog "For Qt4 applications legacy-systray support, please
install dev-libs/sni-qt."
+ fi
+ if has_version "x11-libs/gtk+:2" && ! has_version
"dev-libs/libappindicator:2"; then
+ elog "For GTK+2 applications legacy-systray support, please
install dev-libs/libappindicator:2."
+ fi
+ if has_version "x11-libs/gtk+:3" && ! has_version
"dev-libs/libappindicator:3"; then
+ elog "For GTK+3 applications legacy-systray support, please
install dev-libs/libappindicator:3."
+ fi
+}