Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 165521 Details for
Bug 237718
kde-base/kdebase-startkde's patched startkde does not set XDG_DATA_DIRS appropriately resulting in mixed kde3/kde4 sessions
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
kde4 startkde
gentoo-startkde4.patch (text/plain), 1.74 KB, created by
Matthias Dahl
on 2008-09-15 18:19:24 UTC
(
hide
)
Description:
kde4 startkde
Filename:
MIME Type:
Creator:
Matthias Dahl
Created:
2008-09-15 18:19:24 UTC
Size:
1.74 KB
patch
obsolete
>--- startkde.cmake.orig 2008-07-15 21:49:02.000000000 +0200 >+++ startkde.cmake 2008-09-15 14:45:48.000000000 +0200 >@@ -7,6 +7,40 @@ > # because we still need to do some cleanup. > trap 'echo GOT SIGHUP' HUP > >+# Gentoo: setup environment, filter other slotted KDE installs from PATH >+export KDEDIR=@REPLACE_PREFIX@ >+export KDEDIRS=/usr:/usr/local:${KDEDIR} >+export PATH=${KDEDIR}/bin:$(echo ${PATH} | sed 's/$/:/g;s#/usr/kde/[^/]*/s\?bin/\?:##g;s/:$//g') >+export ROOTPATH=${KDEDIR}/sbin:${KDEDIR}/bin:$(echo ${PATH} | sed 's/$/:/g;s#/usr/kde/[^/]*/s\?bin/\?:##g;s/:$//g') >+export LDPATH=@REPLACE_LIBS@:${LDPATH} >+export STRIGI_PLUGIN_PATH="${KDEDIR}/@REPLACE_LIBDIR@/strigi:${STRIGI_PLUGIN_PATH}" >+export XDG_DATA_DIRS=${KDEDIR}/share:$(echo ${XDG_DATA_DIRS} | sed 's/$/:/g;s#/usr/kde/[^/]*/share/\?:##g;s/:$//g') >+ >+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 >+if [ "${KDEDIR}" == "/usr" ]; then >+ # If the directory doesn't exist make it >+ [ -e "${HOME}/.kde4" ] || mkdir "$HOME/.kde4" >+ # If the directory is a link remove it and create the directory >+ if [ -L "$HOME/.kde4" ]; then >+ rm "$HOME/.kde4" >+ mkdir "$HOME/.kde4" >+ fi >+ export KDEHOME="${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 >+ export KDEHOME="${HOME}/.kde$(basename $KDEDIR)" >+fi >+ > # Check if a KDE session already is running and whether it's possible to connect to X > kcheckrunning > kcheckrunning_result=$?
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 237718
:
165484
|
165485
| 165521 |
165523