set QT_PLUGIN_PATH in kde4.sh and kde4.csh
This commit is contained in:
parent
d005c4b966
commit
63b57aa8e0
4
kde4.csh
4
kde4.csh
@ -14,3 +14,7 @@ if ( ! $?KDE_IS_PRELINKED ) setenv KDE_IS_PRELINKED 1
|
|||||||
# don't enable until http://bugs.kde.org/88557 is fixed
|
# don't enable until http://bugs.kde.org/88557 is fixed
|
||||||
# if ( ! $?KDE_FORK_SLAVES ) setenv KDE_FORK_SLAVES 1
|
# if ( ! $?KDE_FORK_SLAVES ) setenv KDE_FORK_SLAVES 1
|
||||||
|
|
||||||
|
if ( ! $?QT_PLUGIN_PATH ) then
|
||||||
|
set KDE4_LIBDIR = `/bin/rpm --eval %\{\?_kde4_libdir\}%\{\!\?_kde4_libdir:%\{_libdir\}\}`
|
||||||
|
setenv QT_PLUGIN_PATH ${KDE4_LIBDIR}/kde4/plugins
|
||||||
|
endif
|
||||||
|
4
kde4.sh
4
kde4.sh
@ -14,3 +14,7 @@
|
|||||||
# don't enable until http://bugs.kde.org/88557 is fixed
|
# don't enable until http://bugs.kde.org/88557 is fixed
|
||||||
# [ -z "$KDE_FORK_SLAVES" ] && KDE_FORK_SLAVES=1 && export KDE_FORK_SLAVES
|
# [ -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
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
Summary: K Desktop Environment 4 - Libraries
|
Summary: K Desktop Environment 4 - Libraries
|
||||||
Version: 3.93.0
|
Version: 3.93.0
|
||||||
Release: 5%{?dist}
|
Release: 6%{?dist}
|
||||||
|
|
||||||
%if 0%{?fedora} > 8
|
%if 0%{?fedora} > 8
|
||||||
Name: kdelibs
|
Name: kdelibs
|
||||||
@ -222,6 +222,9 @@ rm -rf %{buildroot}
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Sep 13 2007 Kevin Kofler <Kevin@tigcc.ticalc.org> 3.93.0-6
|
||||||
|
- set QT_PLUGIN_PATH in kde4.sh and kde4.csh
|
||||||
|
|
||||||
* Wed Sep 12 2007 Kevin Kofler <Kevin@tigcc.ticalc.org> 3.93.0-5
|
* Wed Sep 12 2007 Kevin Kofler <Kevin@tigcc.ticalc.org> 3.93.0-5
|
||||||
- fix strange coloring due to incomplete changes to KColorScheme
|
- fix strange coloring due to incomplete changes to KColorScheme
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user