- fix #178323, add KDE_IS_PRELINKED/KDE_NO_IPV6

This commit is contained in:
Than Ngo 2006-05-16 14:56:43 +00:00
parent b09bdacc8f
commit 3969fb92d5
3 changed files with 21 additions and 1 deletions

View File

@ -1,3 +1,11 @@
# When/if using prelinking, avoids (some) use of kdeinit
if ( -f /etc/sysconfig/prelink ) then
set PRELINKING = `cat /etc/sysconfig/prelink | grep "^PRELINKING=" | cut -d"=" -f2`
if ( "$PRELINKING" == "yes" ) then
if ( ! $?KDE_IS_PRELINKED ) setenv KDE_IS_PRELINKED 1
endif
endif
# Make sure KDEDIR is set
if ( $?KDEDIR ) then
exit

8
kde.sh
View File

@ -1,3 +1,11 @@
# When/if using prelinking, avoids (some) use of kdeinit
if [ -f /etc/sysconfig/prelink ] ; then
source /etc/sysconfig/prelink
if [ "$PRELINKING" == yes ] ; then
[ -z "$KDE_IS_PRELINKED" ] && KDE_IS_PRELINKED=1 && export KDE_IS_PRELINKED
fi
fi
# Make sure KDEDIR is set
[ -z "$KDEDIR" ] && KDEDIR="/usr"
export KDEDIR

View File

@ -24,7 +24,7 @@
%define disable_gcc_check_and_hidden_visibility 1
Version: 3.5.2
Release: 3
Release: 4
Summary: K Desktop Environment - Libraries
Name: kdelibs
Url: http://www.kde.org/
@ -391,6 +391,10 @@ fi
%doc %{_docdir}/HTML/en/kdelibs*
%changelog
* Tue May 16 2006 Than Ngo <than@redhat.com> 6:3.5.2-4
- rebuild against new qt to fix multilib issue
- fix #178323, add KDE_IS_PRELINKED/KDE_NO_IPV60
* Wed May 03 2006 Than Ngo <than@redhat.com> 6:3.5.2-3
- fix #173235, disable kmail debug info #173235
- use XDG_CONFIG_DIRS for kde menu #178320