summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Huber <johu@gentoo.org>2012-02-21 15:42:32 +0000
committerJohannes Huber <johu@gentoo.org>2012-02-21 15:42:32 +0000
commit6396d23a82ffe818d3c60c959e557b097c71f652 (patch)
treede08c74dd2cd9efea6ba238ca476b1202a254277 /kde-base/kdebase-startkde/files
parentremove dev-php/PEAR-PHP_Archive (bug #399317) (diff)
downloadhistorical-6396d23a82ffe818d3c60c959e557b097c71f652.tar.gz
historical-6396d23a82ffe818d3c60c959e557b097c71f652.tar.bz2
historical-6396d23a82ffe818d3c60c959e557b097c71f652.zip
Remove old.
Package-Manager: portage-2.2.0_alpha86/cvs/Linux x86_64
Diffstat (limited to 'kde-base/kdebase-startkde/files')
-rw-r--r--kde-base/kdebase-startkde/files/gentoo-startkde4-3.patch71
1 files changed, 0 insertions, 71 deletions
diff --git a/kde-base/kdebase-startkde/files/gentoo-startkde4-3.patch b/kde-base/kdebase-startkde/files/gentoo-startkde4-3.patch
deleted file mode 100644
index 36829fd17f4c..000000000000
--- a/kde-base/kdebase-startkde/files/gentoo-startkde4-3.patch
+++ /dev/null
@@ -1,71 +0,0 @@
---- startkde.cmake.old 2011-03-24 13:07:04.919889148 +0100
-+++ startkde.cmake 2011-03-24 13:14:42.033174445 +0100
-@@ -13,6 +13,40 @@
- # because we still need to do some cleanup.
- trap 'echo GOT SIGHUP' HUP
-
-+_KDEDIR=@GENTOO_PORTAGE_EPREFIX@@REPLACE_PREFIX@
-+if [ "$_KDEDIR" != "@GENTOO_PORTAGE_EPREFIX@/usr" ]; then
-+ export PATH=${_KDEDIR}/bin:$(echo ${PATH} | sed 's/$/:/g;s#@GENTOO_PORTAGE_EPREFIX@/usr/kde/[^/]*/s\?bin/\?:##g;s/:$//g')
-+ export ROOTPATH=${_KDEDIR}/sbin:${_KDEDIR}/bin:$(echo ${PATH} | sed 's/$/:/g;s#@GENTOO_PORTAGE_EPREFIX@/usr/kde/[^/]*/s\?bin/\?:##g;s/:$//g')
-+fi
-+@REPLACE_LDPATH@
-+export STRIGI_PLUGIN_PATH="${_KDEDIR}/@REPLACE_LIBDIR@/strigi:${STRIGI_PLUGIN_PATH}"
-+xdgs=$(echo ${XDG_DATA_DIRS} | sed 's/$/:/g;s#@GENTOO_PORTAGE_EPREFIX@/usr/kde/[^/]*/share/\?:##g;s/:$//g')
-+if [ $(echo $xdgs |grep -c -E "(:|^)${_KDEDIR}/share(:|$)") -eq 0 ]; then
-+ xdgs="${_KDEDIR}/share:${xdgs}"
-+fi
-+export XDG_DATA_DIRS=${xdgs}
-+unset xdgs
-+
-+if [ -z "$HOME" ]; then
-+ xmessage "HOME is unset. Your user config seems to be broken. Aborting."
-+ exit 1
-+fi
-+
-+# Gentoo: handle the possible home directory layout for config directory
-+# Note that we change the default KDEHOME in kdelibs to .kde4 or .kde${SLOT}
-+# for -kdeprefix and +kdeprefix respectively.
-+if [ "${_KDEDIR}" = "@GENTOO_PORTAGE_EPREFIX@/usr" ]; then
-+ # If the directory doesn't exist make it
-+ [ -e "${HOME}/.kde4" ] || mkdir "$HOME/.kde4"
-+else
-+ # Use multiple directories based upon the KDE directory
-+ [ -e "$HOME/.kde$(basename $_KDEDIR)" ] || mkdir "$HOME/.kde$(basename $_KDEDIR)"
-+ if [ ! -d "$HOME/.kde$(basename $_KDEDIR)" ]; then
-+ xmessage "$HOME/.kde$(basename $_KDEDIR) exists but is not a dir. Aborting."
-+ exit 1
-+ fi
-+fi
-+
- # Check if a KDE session already is running and whether it's possible to connect to X
- kcheckrunning
- kcheckrunning_result=$?
-@@ -187,6 +221,13 @@
- done
- done
-
-+# Gentoo part for FHS installs
-+if [ "${_KDEDIR}" = "@GENTOO_PORTAGE_EPREFIX@/usr" ]; then
-+ for file in "@GENTOO_PORTAGE_EPREFIX@/etc/kde/startup/"*.sh; do
-+ test -r "${file}" && . "${file}"
-+ done
-+fi
-+
- # Set the path for Qt plugins provided by KDE
- if test -n "$QT_PLUGIN_PATH"; then
- QT_PLUGIN_PATH="$QT_PLUGIN_PATH:`kde4-config --path qtplugins`"
-@@ -400,6 +441,13 @@
- done
- done
-
-+# Gentoo part for FHS installs
-+if [ "${_KDEDIR}" = "@GENTOO_PORTAGE_EPREFIX@/usr" ]; then
-+ for file in "@GENTOO_PORTAGE_EPREFIX@/etc/kde/shutdown/"*.sh; do
-+ test -r "${file}" && . "${file}"
-+ done
-+fi
-+
- unset KDE_FULL_SESSION
- xprop -root -remove KDE_FULL_SESSION
- unset KDE_SESSION_VERSION