kdelibs/kde4.sh

21 lines
824 B
Bash
Raw Normal View History

## http://kde.ground.cz/tiki-index.php?page=Environment+Variables
## for possible entries here
## Make sure KDEDIRS is set
2007-07-24 13:03:58 +00:00
[ -z "$KDEDIRS" ] && KDEDIRS="/usr" && export KDEDIRS
2006-09-07 11:01:04 +00:00
## When/if using prelinking, avoids (some) use of kdeinit
2007-07-24 13:03:58 +00:00
[ -z "$KDE_IS_PRELINKED" ] && KDE_IS_PRELINKED=1 && export KDE_IS_PRELINKED
## if not using IP6, speeds DNS operations
2007-07-24 13:03:58 +00:00
# [ -z "$KDE_NO_IPV6" ] && KDE_NO_IPV6=1 && export KDE_NO_IPV6
## fork io slaves from prog, not kdeinit. may help selinux (experimetal)
# don't enable until http://bugs.kde.org/88557 is fixed
# [ -z "$KDE_FORK_SLAVES" ] && KDE_FORK_SLAVES=1 && export KDE_FORK_SLAVES
if [ -z "$QT_PLUGIN_PATH" ]; then
KDE4_LIBDIR=`/bin/rpm --eval '%{?_kde4_libdir}%{!?_kde4_libdir:%{_libdir}}' 2>/dev/null`
QT_PLUGIN_PATH=${KDE4_LIBDIR}/kde4/plugins && export QT_PLUGIN_PATH
fi