From 0232c5a0654a17f9693d9c27fb4592081563f395 Mon Sep 17 00:00:00 2001 From: Michael Palimaka Date: Thu, 28 Mar 2013 04:11:46 +1100 Subject: [eclass] Work around upstream by always pulling in certain dependencies for kde-workspace. --- eclass/kde4-base.eclass | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'eclass/kde4-base.eclass') diff --git a/eclass/kde4-base.eclass b/eclass/kde4-base.eclass index 3d76ac30f6d..0eba2aa355f 100644 --- a/eclass/kde4-base.eclass +++ b/eclass/kde4-base.eclass @@ -376,6 +376,28 @@ case ${KDE_SELINUX_MODULE} in ;; esac +# These dependencies are added as they are unconditionally required by kde-workspace. +# They are not necessarily required by individual applications but are pulled in to prevent +# bugs like bug #444438. This list is subject to change in the future so do not rely on it +# in ebuilds - always set correct dependencies. +case ${KMNAME} in + kde-workspace) + kdedepend+=" + x11-libs/xcb-util + x11-libs/libX11 + x11-libs/libXcomposite + x11-libs/libXcursor + x11-libs/libXdamage + x11-libs/libXfixes + x11-libs/libxkbfile + x11-libs/libXrandr + x11-libs/libXrender + " + ;; + *) + ;; +esac + # We always need the aqua useflag because otherwise we cannot = refer to it inside # add_kdebase_dep. This was always kind of a bug, but came to light with EAPI=5 # (where referring to a use flag not in IUSE masks the ebuild). -- cgit v1.2.3