1 |
commit: 0232c5a0654a17f9693d9c27fb4592081563f395 |
2 |
Author: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Mar 27 17:11:46 2013 +0000 |
4 |
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Mar 27 17:11:46 2013 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=0232c5a0 |
7 |
|
8 |
[eclass] Work around upstream by always pulling in certain dependencies for kde-workspace. |
9 |
|
10 |
--- |
11 |
eclass/kde4-base.eclass | 22 ++++++++++++++++++++++ |
12 |
1 files changed, 22 insertions(+), 0 deletions(-) |
13 |
|
14 |
diff --git a/eclass/kde4-base.eclass b/eclass/kde4-base.eclass |
15 |
index 3d76ac3..0eba2aa 100644 |
16 |
--- a/eclass/kde4-base.eclass |
17 |
+++ b/eclass/kde4-base.eclass |
18 |
@@ -376,6 +376,28 @@ case ${KDE_SELINUX_MODULE} in |
19 |
;; |
20 |
esac |
21 |
|
22 |
+# These dependencies are added as they are unconditionally required by kde-workspace. |
23 |
+# They are not necessarily required by individual applications but are pulled in to prevent |
24 |
+# bugs like bug #444438. This list is subject to change in the future so do not rely on it |
25 |
+# in ebuilds - always set correct dependencies. |
26 |
+case ${KMNAME} in |
27 |
+ kde-workspace) |
28 |
+ kdedepend+=" |
29 |
+ x11-libs/xcb-util |
30 |
+ x11-libs/libX11 |
31 |
+ x11-libs/libXcomposite |
32 |
+ x11-libs/libXcursor |
33 |
+ x11-libs/libXdamage |
34 |
+ x11-libs/libXfixes |
35 |
+ x11-libs/libxkbfile |
36 |
+ x11-libs/libXrandr |
37 |
+ x11-libs/libXrender |
38 |
+ " |
39 |
+ ;; |
40 |
+ *) |
41 |
+ ;; |
42 |
+esac |
43 |
+ |
44 |
# We always need the aqua useflag because otherwise we cannot = refer to it inside |
45 |
# add_kdebase_dep. This was always kind of a bug, but came to light with EAPI=5 |
46 |
# (where referring to a use flag not in IUSE masks the ebuild). |