Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/kde:master commit in: kde-plasma/plasma-desktop/
Date: Thu, 01 Mar 2018 12:25:08
Message-Id: 1519907010.847549cb62c20083bf23ddb340280f1544db08b4.asturm@gentoo
1 commit: 847549cb62c20083bf23ddb340280f1544db08b4
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Thu Mar 1 12:23:30 2018 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Thu Mar 1 12:23:30 2018 +0000
6 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=847549cb
7
8 kde-plasma/plasma-desktop: Add informational pkg_postinst messages
9
10 USE legacy-systray moved into plasma-meta. Users of minimal plasma-desktop
11 setups can figure out on their own, but let's reward attention to elog.
12
13 Package-Manager: Portage-2.3.24, Repoman-2.3.6
14
15 .../plasma-desktop/plasma-desktop-5.12.49.9999.ebuild | 14 ++++++++++++++
16 kde-plasma/plasma-desktop/plasma-desktop-9999.ebuild | 14 ++++++++++++++
17 2 files changed, 28 insertions(+)
18
19 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
20 index d9d9a78858..dd5f103944 100644
21 --- a/kde-plasma/plasma-desktop/plasma-desktop-5.12.49.9999.ebuild
22 +++ b/kde-plasma/plasma-desktop/plasma-desktop-5.12.49.9999.ebuild
23 @@ -147,3 +147,17 @@ src_test() {
24
25 kde5_src_test
26 }
27 +
28 +pkg_postinst() {
29 + kde5_pkg_postinst
30 +
31 + if has_version "dev-qt/qtcore:4" && ! has_version "dev-libs/sni-qt" ; then
32 + elog "For Qt4 applications legacy-systray support, please install dev-libs/sni-qt."
33 + fi
34 + if has_version "x11-libs/gtk+:2" && ! has_version "dev-libs/libappindicator:2"; then
35 + elog "For GTK+2 applications legacy-systray support, please install dev-libs/libappindicator:2."
36 + fi
37 + if has_version "x11-libs/gtk+:3" && ! has_version "dev-libs/libappindicator:3"; then
38 + elog "For GTK+3 applications legacy-systray support, please install dev-libs/libappindicator:3."
39 + fi
40 +}
41
42 diff --git a/kde-plasma/plasma-desktop/plasma-desktop-9999.ebuild b/kde-plasma/plasma-desktop/plasma-desktop-9999.ebuild
43 index d9d9a78858..dd5f103944 100644
44 --- a/kde-plasma/plasma-desktop/plasma-desktop-9999.ebuild
45 +++ b/kde-plasma/plasma-desktop/plasma-desktop-9999.ebuild
46 @@ -147,3 +147,17 @@ src_test() {
47
48 kde5_src_test
49 }
50 +
51 +pkg_postinst() {
52 + kde5_pkg_postinst
53 +
54 + if has_version "dev-qt/qtcore:4" && ! has_version "dev-libs/sni-qt" ; then
55 + elog "For Qt4 applications legacy-systray support, please install dev-libs/sni-qt."
56 + fi
57 + if has_version "x11-libs/gtk+:2" && ! has_version "dev-libs/libappindicator:2"; then
58 + elog "For GTK+2 applications legacy-systray support, please install dev-libs/libappindicator:2."
59 + fi
60 + if has_version "x11-libs/gtk+:3" && ! has_version "dev-libs/libappindicator:3"; then
61 + elog "For GTK+3 applications legacy-systray support, please install dev-libs/libappindicator:3."
62 + fi
63 +}