Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: kde-plasma/plasma-desktop/, kde-plasma/plasma-desktop/files/
Date: Thu, 29 Nov 2018 10:09:16
Message-Id: 1543486131.26d1b1c744d967ff7b6645ba473f6e12ff87d9d5.asturm@gentoo
1 commit: 26d1b1c744d967ff7b6645ba473f6e12ff87d9d5
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Thu Nov 29 10:01:40 2018 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Thu Nov 29 10:08:51 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26d1b1c7
7
8 kde-plasma/plasma-desktop: Fix taskbar crash on grouped windows
9
10 Package-Manager: Portage-2.3.52, Repoman-2.3.12
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 .../plasma-desktop-5.14.4-taskbar-crash.patch | 39 ++++++
14 .../plasma-desktop/plasma-desktop-5.14.4-r1.ebuild | 146 +++++++++++++++++++++
15 2 files changed, 185 insertions(+)
16
17 diff --git a/kde-plasma/plasma-desktop/files/plasma-desktop-5.14.4-taskbar-crash.patch b/kde-plasma/plasma-desktop/files/plasma-desktop-5.14.4-taskbar-crash.patch
18 new file mode 100644
19 index 00000000000..1a0a8957ef0
20 --- /dev/null
21 +++ b/kde-plasma/plasma-desktop/files/plasma-desktop-5.14.4-taskbar-crash.patch
22 @@ -0,0 +1,39 @@
23 +From ed34cc5f181e61d1fc98872866c5d7300a90af86 Mon Sep 17 00:00:00 2001
24 +From: Eike Hein <hein@×××.org>
25 +Date: Thu, 29 Nov 2018 00:22:17 +0900
26 +Subject: [PATCH] Fix group popup dialog
27 +
28 +Summary:
29 +Fixes regression introduced with ab26ebb18b74: That diff contained
30 +a change unrelated to the original submission, swapping a || out for
31 +&& in response to a review note. This turns out to have broken things.
32 +
33 +BUG:401508
34 +
35 +Reviewers: davidedmundson
36 +
37 +Subscribers: plasma-devel
38 +
39 +Tags: #plasma
40 +
41 +Differential Revision: https://phabricator.kde.org/D17219
42 +---
43 + applets/taskmanager/package/contents/ui/GroupDialog.qml | 2 +-
44 + 1 file changed, 1 insertion(+), 1 deletion(-)
45 +
46 +diff --git a/applets/taskmanager/package/contents/ui/GroupDialog.qml b/applets/taskmanager/package/contents/ui/GroupDialog.qml
47 +index 6f592756..28238dce 100644
48 +--- a/applets/taskmanager/package/contents/ui/GroupDialog.qml
49 ++++ b/applets/taskmanager/package/contents/ui/GroupDialog.qml
50 +@@ -262,7 +262,7 @@ PlasmaCore.Dialog {
51 + // Setting VisualDataModel.rootIndex drops groupRepeater.count to 0
52 + // before the actual row count. updateSize is therefore invoked twice;
53 + // only update size once the repeater count matches the model role.
54 +- } else if (!groupRepeater.aboutToPopulate && visualParent.childCount == groupRepeater.count) {
55 ++ } else if (!groupRepeater.aboutToPopulate || visualParent.childCount == groupRepeater.count) {
56 + var task;
57 + var maxWidth = 0;
58 + var maxHeight = 0;
59 +--
60 +2.19.2
61 +
62
63 diff --git a/kde-plasma/plasma-desktop/plasma-desktop-5.14.4-r1.ebuild b/kde-plasma/plasma-desktop/plasma-desktop-5.14.4-r1.ebuild
64 new file mode 100644
65 index 00000000000..c8d04a38a96
66 --- /dev/null
67 +++ b/kde-plasma/plasma-desktop/plasma-desktop-5.14.4-r1.ebuild
68 @@ -0,0 +1,146 @@
69 +# Copyright 1999-2018 Gentoo Authors
70 +# Distributed under the terms of the GNU General Public License v2
71 +
72 +EAPI=6
73 +
74 +KDE_HANDBOOK="forceoptional"
75 +KDE_TEST="true"
76 +VIRTUALX_REQUIRED="test"
77 +inherit kde5
78 +
79 +DESCRIPTION="KDE Plasma desktop"
80 +KEYWORDS="~amd64 ~arm ~x86"
81 +IUSE="appstream +fontconfig ibus +mouse scim +semantic-desktop touchpad"
82 +
83 +COMMON_DEPEND="
84 + $(add_frameworks_dep attica)
85 + $(add_frameworks_dep kactivities)
86 + $(add_frameworks_dep kactivities-stats)
87 + $(add_frameworks_dep karchive)
88 + $(add_frameworks_dep kauth)
89 + $(add_frameworks_dep kbookmarks)
90 + $(add_frameworks_dep kcmutils)
91 + $(add_frameworks_dep kcodecs)
92 + $(add_frameworks_dep kcompletion)
93 + $(add_frameworks_dep kconfig)
94 + $(add_frameworks_dep kconfigwidgets)
95 + $(add_frameworks_dep kcoreaddons)
96 + $(add_frameworks_dep kdbusaddons)
97 + $(add_frameworks_dep kdeclarative)
98 + $(add_frameworks_dep kded)
99 + $(add_frameworks_dep kdelibs4support)
100 + $(add_frameworks_dep kemoticons)
101 + $(add_frameworks_dep kglobalaccel)
102 + $(add_frameworks_dep kguiaddons)
103 + $(add_frameworks_dep ki18n)
104 + $(add_frameworks_dep kiconthemes)
105 + $(add_frameworks_dep kio)
106 + $(add_frameworks_dep kitemmodels)
107 + $(add_frameworks_dep kitemviews)
108 + $(add_frameworks_dep kjobwidgets)
109 + $(add_frameworks_dep knewstuff)
110 + $(add_frameworks_dep knotifications)
111 + $(add_frameworks_dep knotifyconfig)
112 + $(add_frameworks_dep kparts)
113 + $(add_frameworks_dep kpeople)
114 + $(add_frameworks_dep krunner)
115 + $(add_frameworks_dep kservice)
116 + $(add_frameworks_dep kwallet)
117 + $(add_frameworks_dep kwidgetsaddons)
118 + $(add_frameworks_dep kwindowsystem)
119 + $(add_frameworks_dep kxmlgui)
120 + $(add_frameworks_dep plasma)
121 + $(add_frameworks_dep solid)
122 + $(add_frameworks_dep sonnet)
123 + $(add_plasma_dep kwin)
124 + $(add_plasma_dep plasma-workspace)
125 + $(add_qt_dep qtconcurrent)
126 + $(add_qt_dep qtdbus)
127 + $(add_qt_dep qtdeclarative)
128 + $(add_qt_dep qtgui)
129 + $(add_qt_dep qtnetwork)
130 + $(add_qt_dep qtprintsupport)
131 + $(add_qt_dep qtsql)
132 + $(add_qt_dep qtsvg)
133 + $(add_qt_dep qtwidgets)
134 + $(add_qt_dep qtx11extras)
135 + $(add_qt_dep qtxml)
136 + media-libs/phonon[qt5(+)]
137 + x11-libs/libX11
138 + x11-libs/libXcursor
139 + x11-libs/libXfixes
140 + x11-libs/libXi
141 + x11-libs/libxcb
142 + x11-libs/libxkbfile
143 + appstream? ( >=dev-libs/appstream-0.12.2[qt5] )
144 + fontconfig? (
145 + media-libs/fontconfig
146 + media-libs/freetype
147 + x11-libs/libXft
148 + x11-libs/xcb-util-image
149 + )
150 + ibus? (
151 + $(add_qt_dep qtx11extras)
152 + app-i18n/ibus
153 + dev-libs/glib:2
154 + x11-libs/libxcb
155 + x11-libs/xcb-util-keysyms
156 + )
157 + scim? ( app-i18n/scim )
158 + semantic-desktop? ( $(add_frameworks_dep baloo) )
159 + touchpad? ( x11-drivers/xf86-input-synaptics )
160 +"
161 +DEPEND="${COMMON_DEPEND}
162 + dev-libs/boost
163 + x11-base/xorg-proto
164 + fontconfig? ( x11-libs/libXrender )
165 + mouse? (
166 + x11-drivers/xf86-input-evdev
167 + x11-drivers/xf86-input-libinput
168 + )
169 +"
170 +RDEPEND="${COMMON_DEPEND}
171 + $(add_frameworks_dep qqc2-desktop-style)
172 + $(add_plasma_dep breeze)
173 + $(add_plasma_dep kde-cli-tools)
174 + $(add_plasma_dep oxygen)
175 + $(add_qt_dep qtgraphicaleffects)
176 + sys-apps/util-linux
177 + x11-apps/setxkbmap
178 + !kde-apps/kcontrol
179 + !<kde-apps/kde4-l10n-17.08.1-r1
180 + !kde-apps/knetattach[handbook]
181 + !kde-misc/kcm-touchpad
182 + !kde-plasma/plasma-desktop:4
183 + !kde-plasma/plasma-workspace:4
184 + !kde-plasma/solid-actions-kcm:4
185 + !kde-plasma/systemsettings:4
186 +"
187 +
188 +PATCHES=( "${FILESDIR}/${P}-taskbar-crash.patch" )
189 +
190 +src_configure() {
191 + local mycmakeargs=(
192 + $(cmake-utils_use_find_package appstream AppStreamQt)
193 + $(cmake-utils_use_find_package fontconfig Fontconfig)
194 + $(cmake-utils_use_find_package ibus IBus)
195 + $(cmake-utils_use_find_package mouse Evdev)
196 + $(cmake-utils_use_find_package mouse XorgLibinput)
197 + $(cmake-utils_use_find_package scim SCIM)
198 + $(cmake-utils_use_find_package semantic-desktop KF5Baloo)
199 + $(cmake-utils_use_find_package touchpad Synaptics)
200 + )
201 +
202 + kde5_src_configure
203 +}
204 +
205 +src_test() {
206 + # parallel tests fail, foldermodeltest,positionertest hang, bug #646890
207 + # needs D-Bus, bug #634166
208 + local myctestargs=(
209 + -j1
210 + -E "(foldermodeltest|positionertest|test_kio_fonts)"
211 + )
212 +
213 + kde5_src_test
214 +}