- actually install kde4.sh and kde4.csh

- sync KDE_IS_PRELINKED setting in kde4.sh and kde4.csh with kdelibs 3 (workaround for #244065 no longer needed, fixed in 3.93.0)
This commit is contained in:
Kevin Kofler 2007-09-13 08:04:47 +00:00
parent 63b57aa8e0
commit ef77584645
3 changed files with 21 additions and 3 deletions

View File

@ -5,7 +5,12 @@
if ( ! $?KDEDIRS ) setenv KDEDIRS /usr
## When/if using prelinking, avoids use of kdeinit
if ( ! $?KDE_IS_PRELINKED ) setenv KDE_IS_PRELINKED 1
if ( -f /etc/sysconfig/prelink ) then
set PRELINKING = `grep "^PRELINKING=" /etc/sysconfig/prelink | cut -d"=" -f2`
if ( "$PRELINKING" == "yes" ) then
if ( ! $?KDE_IS_PRELINKED ) setenv KDE_IS_PRELINKED 1
endif
endif
## if not using IP6, speeds DNS operations
# # if ( ! $?KDE_NO_IPV6 ) setenv KDE_NO_IPV6 1

View File

@ -5,7 +5,11 @@
[ -z "$KDEDIRS" ] && KDEDIRS="/usr" && export KDEDIRS
## When/if using prelinking, avoids (some) use of kdeinit
[ -z "$KDE_IS_PRELINKED" ] && KDE_IS_PRELINKED=1 && export KDE_IS_PRELINKED
if [ -f /etc/sysconfig/prelink ]; then
if [ `grep '^PRELINKING=yes' /etc/sysconfig/prelink` ] ; then
[ -z "$KDE_IS_PRELINKED" ] && KDE_IS_PRELINKED=1 && export KDE_IS_PRELINKED
fi
fi
## if not using IP6, speeds DNS operations
# [ -z "$KDE_NO_IPV6" ] && KDE_NO_IPV6=1 && export KDE_NO_IPV6

View File

@ -4,7 +4,7 @@
Summary: K Desktop Environment 4 - Libraries
Version: 3.93.0
Release: 6%{?dist}
Release: 7%{?dist}
%if 0%{?fedora} > 8
Name: kdelibs
@ -166,6 +166,9 @@ do
done
popd
install -p -m 755 -D %{SOURCE1} %{buildroot}%{_sysconfdir}/profile.d/kde4.sh
install -p -m 755 -D %{SOURCE2} %{buildroot}%{_sysconfdir}/profile.d/kde4.csh
%post
/sbin/ldconfig ||:
@ -186,6 +189,7 @@ rm -rf %{buildroot}
%defattr(-,root,root,-)
%doc AUTHORS README TODO
%doc COPYING COPYING-DOCS COPYING.LIB
%config(noreplace) %{_sysconfdir}/profile.d/*
%{_kde4_bindir}/*
%exclude %{_kde4_bindir}/kconfig_compiler4
%{_kde4_appsdir}/*
@ -222,6 +226,11 @@ rm -rf %{buildroot}
%changelog
* Thu Sep 13 2007 Kevin Kofler <Kevin@tigcc.ticalc.org> 3.93.0-7
- actually install kde4.sh and kde4.csh
- sync KDE_IS_PRELINKED setting in kde4.sh and kde4.csh with kdelibs 3
(workaround for #244065 no longer needed, fixed in 3.93.0)
* Thu Sep 13 2007 Kevin Kofler <Kevin@tigcc.ticalc.org> 3.93.0-6
- set QT_PLUGIN_PATH in kde4.sh and kde4.csh