diff options
author | Ingmar Vanhassel <ingmar@gentoo.org> | 2008-01-17 22:39:22 +0000 |
---|---|---|
committer | Ingmar Vanhassel <ingmar@gentoo.org> | 2008-01-17 22:39:22 +0000 |
commit | 620a7a1009a5f6a55aeb3a23f0f67cb83c575221 (patch) | |
tree | 2538c60df300651e7efa742507d2e485dd137b19 /eclass | |
parent | Added local USE flags for KDE4. (diff) | |
download | gentoo-2-620a7a1009a5f6a55aeb3a23f0f67cb83c575221.tar.gz gentoo-2-620a7a1009a5f6a55aeb3a23f0f67cb83c575221.tar.bz2 gentoo-2-620a7a1009a5f6a55aeb3a23f0f67cb83c575221.zip |
Make sure that KDE programs from the :kde-4 or :kde-svn SLOT don't show up in the K-menu for KDE 3.5.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/kde-functions.eclass | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/eclass/kde-functions.eclass b/eclass/kde-functions.eclass index d0c82affda99..a9fe777eb7f9 100644 --- a/eclass/kde-functions.eclass +++ b/eclass/kde-functions.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/kde-functions.eclass,v 1.159 2007/12/16 16:28:41 philantrop Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/kde-functions.eclass,v 1.160 2008/01/17 22:39:22 ingmar Exp $ # # Author Dan Armak <danarmak@gentoo.org> # @@ -905,6 +905,10 @@ buildsycoca() { chmod 0755 /usr/share/services ebegin "Running kbuildsycoca to build global database" + # Filter all KDEDIRs not belonging to the current SLOT from XDG_DATA_DIRS + # before running kbuildsycoca. This makes sure they don't show up in the + # 3.5 K-menu unless the user manually adds them. + XDG_DATA_DIRS="/usr/share:${KDEDIR}/share:/usr/local/share" ${KDEDIR}/bin/kbuildsycoca --global --noincremental &> /dev/null eend $? fi |