diff options
Diffstat (limited to 'source/kde/post-install')
20 files changed, 0 insertions, 342 deletions
diff --git a/source/kde/post-install/baloo.post-install b/source/kde/post-install/baloo.post-install deleted file mode 100644 index 9239a3e5..00000000 --- a/source/kde/post-install/baloo.post-install +++ /dev/null @@ -1,2 +0,0 @@ -# Move the polkit dbus configuration files to the proper place: -mv $PKG/etc/kde/dbus-1 $PKG/etc/ diff --git a/source/kde/post-install/k3b.post-install b/source/kde/post-install/k3b.post-install deleted file mode 100644 index 88101148..00000000 --- a/source/kde/post-install/k3b.post-install +++ /dev/null @@ -1,2 +0,0 @@ -# Move the dbus configuration files to the proper place: -mv $PKG/etc/kde/dbus-1 $PKG/etc/ diff --git a/source/kde/post-install/kde-baseapps.post-install b/source/kde/post-install/kde-baseapps.post-install deleted file mode 100644 index 8dda6366..00000000 --- a/source/kde/post-install/kde-baseapps.post-install +++ /dev/null @@ -1,9 +0,0 @@ -# Add profile scripts -mkdir -p $PKG/etc/profile.d -cat $CWD/post-install/kde-baseapps/profile.d/kde.sh \ - | sed -e "s#/lib/#/lib${LIBDIRSUFFIX}/#" \ - > $PKG/etc/profile.d/kde.sh -cat $CWD/post-install/kde-baseapps/profile.d/kde.csh \ - | sed -e "s#/lib/#/lib${LIBDIRSUFFIX}/#" \ - > $PKG/etc/profile.d/kde.csh -chmod 0755 $PKG/etc/profile.d/* diff --git a/source/kde/post-install/kde-baseapps/profile.d/kde.csh b/source/kde/post-install/kde-baseapps/profile.d/kde.csh deleted file mode 100644 index a09579bf..00000000 --- a/source/kde/post-install/kde-baseapps/profile.d/kde.csh +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/csh -# KDE additions: -if ( ! $?KDEDIRS ) then - setenv KDEDIRS /usr -endif -setenv PATH ${PATH}:/usr/lib/kde4/libexec - -if ( $?XDG_CONFIG_DIRS ) then - setenv XDG_CONFIG_DIRS ${XDG_CONFIG_DIRS}:/etc/kde/xdg -else - setenv XDG_CONFIG_DIRS /etc/xdg:/etc/kde/xdg -endif diff --git a/source/kde/post-install/kde-baseapps/profile.d/kde.sh b/source/kde/post-install/kde-baseapps/profile.d/kde.sh deleted file mode 100644 index 6f0199e2..00000000 --- a/source/kde/post-install/kde-baseapps/profile.d/kde.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh -# KDE additions: -KDEDIRS=/usr -export KDEDIRS -PATH="$PATH:/usr/lib/kde4/libexec" -export PATH -if [ ! "$XDG_CONFIG_DIRS" = "" ]; then - XDG_CONFIG_DIRS=$XDG_CONFIG_DIRS:/etc/kde/xdg -else - XDG_CONFIG_DIRS=/etc/xdg:/etc/kde/xdg -fi -export XDG_CONFIG_DIRS - diff --git a/source/kde/post-install/kde-runtime.post-install b/source/kde/post-install/kde-runtime.post-install deleted file mode 100644 index fbdacfab..00000000 --- a/source/kde/post-install/kde-runtime.post-install +++ /dev/null @@ -1,9 +0,0 @@ -# Create a symlink in /usr/bin to the kdesu binary -( cd $PKG/usr/bin ; ln -s /usr/lib${LIBDIRSUFFIX}/kde4/libexec/kdesu . ) - -# Remove the hicolor icon theme index.theme so it doesn't clobber the real one -rm -f $PKG/usr/share/icons/hicolor/index.theme - -# Move the dbus configuration files to the proper place: -mv $PKG/etc/kde/dbus-1 $PKG/etc/ - diff --git a/source/kde/post-install/kde-workspace.post-install b/source/kde/post-install/kde-workspace.post-install deleted file mode 100644 index 915587ee..00000000 --- a/source/kde/post-install/kde-workspace.post-install +++ /dev/null @@ -1,62 +0,0 @@ - -# Use ck-launch-session in runlevel 3, -# to start and attach a ConsoleKit session to the X session: -mkdir -p $PKG/etc/X11/xinit -cat $CWD/post-install/kde-workspace/xinit/xinitrc.kde > $PKG/etc/X11/xinit/xinitrc.kde -chmod 0755 $PKG/etc/X11/xinit/xinitrc.kde - -# Setup config files for KDM: -$PKG/usr/bin/genkdmconf --no-old --no-old-scripts --no-backup --in $PKG/usr/share/config/kdm - -# Add Slackware's standard xsessions path to kdmrc and remove the redundant -# xsession files for XFCE (those are installed by the xcfe package): -if ! grep -q "SessionsDirs=/usr/share/xsessions" $PKG/usr/share/config/kdm/kdmrc ; then - sed -i -e "/SessionsDirs=/s#SessionsDirs=\(.*\)\$#SessionsDirs=/usr/share/xsessions,\1#" $PKG/usr/share/config/kdm/kdmrc -fi -rm $PKG/usr/share/apps/kdm/sessions/xfce*.desktop - -# Similarly, allow other login managers to show KDE Plasma desktop sessions: -mkdir -p $PKG/usr/share/xsessions -mv $PKG/usr/share/apps/kdm/sessions/kde-plasma*.desktop \ - $PKG/usr/share/xsessions/ - -# Not allowing root to login at the console is just plain silly. If they -# have physical access to the machine, what's the point of trying to stop -# this? Even the kdmrc file says this is supposed to be the default. -sed -i 's/AllowRootLogin=false/AllowRootLogin=true/' \ - $PKG/usr/share/config/kdm/kdmrc -# We are also not ready to create a separate 'kdm' non-root user: -sed -i 's/GreeterUID=kdm/#&/' \ - $PKG/usr/share/config/kdm/kdmrc - -# Add a .new suffix so we don't mangle an existing file: -mv $PKG/usr/share/config/kdm/kdmrc $PKG/usr/share/config/kdm/kdmrc.new - -cp -a $PKG/usr/share/config/kdm/Xsession $PKG/usr/share/config/kdm/Xsession.orig -cat $CWD/post-install/kde-workspace/config/Xsession | sed -e "s#/lib#/lib${LIBDIRSUFFIX}#" \ - > $PKG/usr/share/config/kdm/Xsession - -# Add a .new suffix so we don't mangle an existing file: -mv $PKG/usr/share/config/kdm/backgroundrc $PKG/usr/share/config/kdm/backgroundrc.new - -# Add config file if PAM is installed: -if [ -L /lib${LIBDIRSUFFIX}/libpam.so.? ]; then - mkdir -p $PKG/etc/pam.d - cp -a $CWD/post-install/kde-workspace/config/kde.pamd $PKG/etc/pam.d/kde.new - chown root:root $PKG/etc/pam.d/kde.new - chmod 644 $PKG/etc/pam.d/kde.new - cp -a $CWD/post-install/kde-workspace/config/kde-np.pamd $PKG/etc/pam.d/kde-np.new - chown root:root $PKG/etc/pam.d/kde-np.new - chmod 644 $PKG/etc/pam.d/kde-np.new -fi - -# Move the KDM files someplace FHS compliant: -mkdir -p $PKG/etc/kde -mv $PKG/usr/share/config/kdm $PKG/etc/kde -( cd $PKG/usr/share/config ; ln -sf ../../../etc/kde/kdm . ) - -# Move the polkit dbus configuration files to the proper place: -mv $PKG/etc/kde/dbus-1 $PKG/etc/ - -# This is fubar: -rm -f $PKG/usr/share/icons/hicolor/index.theme diff --git a/source/kde/post-install/kde-workspace/config/Xsession b/source/kde/post-install/kde-workspace/config/Xsession deleted file mode 100644 index 736f5d5c..00000000 --- a/source/kde/post-install/kde-workspace/config/Xsession +++ /dev/null @@ -1,88 +0,0 @@ -#! /bin/sh -# Xsession - run as user - -# Merged in parts of the old Xsession to load defaults from -# Xresources and Xmodmap files, 2006-02-09 volkerdi -# Merged with the new Xsession (original) from KDE4, 20071220 rworkman - - session=$1 - -# This section is borrowed from the old X11 Xsession file: -userresources=$HOME/.Xresources -usermodmap=$HOME/.Xmodmap -sysresources=/usr/lib/X11/xinit/.Xresources -sysmodmap=/usr/lib/X11/xinit/.Xmodmap -# merge in defaults and keymaps -if [ -r $sysresources ]; then - /usr/bin/xrdb -merge $sysresources -fi -if [ -r $sysmodmap ]; then - /usr/bin/xmodmap $sysmodmap -fi -if [ -r $userresources ]; then - /usr/bin/xrdb -merge $userresources -fi -if [ -r $usermodmap ]; then - /usr/bin/xmodmap $usermodmap -fi - -# Note that the respective logout scripts are not sourced. -case $SHELL in - */bash) - [ -z "$BASH" ] && exec $SHELL $0 "$@" - set +o posix - [ -f /etc/profile ] && . /etc/profile - if [ -f $HOME/.bash_profile ]; then - . $HOME/.bash_profile - elif [ -f $HOME/.bash_login ]; then - . $HOME/.bash_login - elif [ -f $HOME/.profile ]; then - . $HOME/.profile - fi - ;; - */zsh) - [ -z "$ZSH_NAME" ] && exec $SHELL $0 "$@" - emulate -R zsh - [ -d /etc/zsh ] && zdir=/etc/zsh || zdir=/etc - zhome=${ZDOTDIR:-$HOME} - # zshenv is always sourced automatically. - [ -f $zdir/zprofile ] && . $zdir/zprofile - [ -f $zhome/.zprofile ] && . $zhome/.zprofile - [ -f $zdir/zlogin ] && . $zdir/zlogin - [ -f $zhome/.zlogin ] && . $zhome/.zlogin - ;; - */csh|*/tcsh) - # [t]cshrc is always sourced automatically. - # Note that sourcing csh.login after .cshrc is non-standard. - xsess_tmp=`mktemp /tmp/xsess-env-XXXXXX` - $SHELL -c "if (-f /etc/csh.login) source /etc/csh.login; if (-f ~/.login) source ~/.login; /bin/sh -c export -p >! $xsess_tmp" - . $xsess_tmp - rm -f $xsess_tmp - ;; - *) # Plain sh, ksh, and anything we do not know. - [ -f /etc/profile ] && . /etc/profile - [ -f $HOME/.profile ] && . $HOME/.profile - ;; -esac - -[ -f /etc/xprofile ] && . /etc/xprofile -[ -f $HOME/.xprofile ] && . $HOME/.xprofile - -case $session in - "") - exec xmessage -center -buttons OK:0 -default OK "Sorry, $DESKTOP_SESSION is no valid session." - ;; - failsafe) - exec xterm -geometry 80x24-0-0 - ;; - custom) - exec $HOME/.xsession - ;; - default) - exec /usr/bin/startkde - ;; - *) - eval exec "$session" - ;; -esac -exec xmessage -center -buttons OK:0 -default OK "Sorry, cannot execute $session. Check $DESKTOP_SESSION.desktop." diff --git a/source/kde/post-install/kde-workspace/config/Xsession.orig b/source/kde/post-install/kde-workspace/config/Xsession.orig deleted file mode 100644 index 43d78b8d..00000000 --- a/source/kde/post-install/kde-workspace/config/Xsession.orig +++ /dev/null @@ -1,65 +0,0 @@ -#! /bin/sh -# Xsession - run as user - -session=$1 - -# Note that the respective logout scripts are not sourced. -case $SHELL in - */bash) - [ -z "$BASH" ] && exec $SHELL $0 "$@" - set +o posix - [ -f /etc/profile ] && . /etc/profile - if [ -f $HOME/.bash_profile ]; then - . $HOME/.bash_profile - elif [ -f $HOME/.bash_login ]; then - . $HOME/.bash_login - elif [ -f $HOME/.profile ]; then - . $HOME/.profile - fi - ;; - */zsh) - [ -z "$ZSH_NAME" ] && exec $SHELL $0 "$@" - emulate -R zsh - [ -d /etc/zsh ] && zdir=/etc/zsh || zdir=/etc - zhome=${ZDOTDIR:-$HOME} - # zshenv is always sourced automatically. - [ -f $zdir/zprofile ] && . $zdir/zprofile - [ -f $zhome/.zprofile ] && . $zhome/.zprofile - [ -f $zdir/zlogin ] && . $zdir/zlogin - [ -f $zhome/.zlogin ] && . $zhome/.zlogin - ;; - */csh|*/tcsh) - # [t]cshrc is always sourced automatically. - # Note that sourcing csh.login after .cshrc is non-standard. - xsess_tmp=`mktemp /tmp/xsess-env-XXXXXX` - $SHELL -c "if (-f /etc/csh.login) source /etc/csh.login; if (-f ~/.login) source ~/.login; /bin/sh -c export -p >! $xsess_tmp" - . $xsess_tmp - rm -f $xsess_tmp - ;; - *) # Plain sh, ksh, and anything we do not know. - [ -f /etc/profile ] && . /etc/profile - [ -f $HOME/.profile ] && . $HOME/.profile - ;; -esac - -[ -f /etc/xprofile ] && . /etc/xprofile -[ -f $HOME/.xprofile ] && . $HOME/.xprofile - -case $session in - "") - exec xmessage -center -buttons OK:0 -default OK "Sorry, $DESKTOP_SESSION is no valid session." - ;; - failsafe) - exec xterm -geometry 80x24-0-0 - ;; - custom) - exec $HOME/.xsession - ;; - default) - exec /usr/bin/startkde - ;; - *) - eval exec "$session" - ;; -esac -exec xmessage -center -buttons OK:0 -default OK "Sorry, cannot execute $session. Check $DESKTOP_SESSION.desktop." diff --git a/source/kde/post-install/kde-workspace/config/kde-np.pamd b/source/kde/post-install/kde-workspace/config/kde-np.pamd deleted file mode 100644 index 198af45f..00000000 --- a/source/kde/post-install/kde-workspace/config/kde-np.pamd +++ /dev/null @@ -1,12 +0,0 @@ -#%PAM-1.0 -auth requisite pam_nologin.so -auth required pam_env.so - -# Uncomment this line to restrict autologin to users with a UID greater -# than 999 (in other words, don't allow autologin for root): -#auth required pam_succeed_if.so uid >= 1000 quiet -auth required pam_permit.so - -account include system-auth -password include system-auth -session include system-auth diff --git a/source/kde/post-install/kde-workspace/config/kde.pamd b/source/kde/post-install/kde-workspace/config/kde.pamd deleted file mode 100644 index 7acfd901..00000000 --- a/source/kde/post-install/kde-workspace/config/kde.pamd +++ /dev/null @@ -1,9 +0,0 @@ -#%PAM-1.0 -auth include system-auth -auth include postlogin -account include system-auth -password include system-auth -session include system-auth -session required pam_loginuid.so -session optional pam_ck_connector.so nox11 -session include postlogin diff --git a/source/kde/post-install/kde-workspace/xinit/xinitrc.kde b/source/kde/post-install/kde-workspace/xinit/xinitrc.kde deleted file mode 100644 index a33eb06c..00000000 --- a/source/kde/post-install/kde-workspace/xinit/xinitrc.kde +++ /dev/null @@ -1,32 +0,0 @@ -#!/bin/sh -# $XConsortium: xinitrc.cpp,v 1.4 91/08/22 11:41:34 rws Exp $ - -userresources=$HOME/.Xresources -usermodmap=$HOME/.Xmodmap -sysresources=/etc/X11/xinit/.Xresources -sysmodmap=/etc/X11/xinit/.Xmodmap - -# merge in defaults and keymaps - -if [ -f $sysresources ]; then - xrdb -merge $sysresources -fi - -if [ -f $sysmodmap ]; then - xmodmap $sysmodmap -fi - -if [ -f $userresources ]; then - xrdb -merge $userresources -fi - -if [ -f $usermodmap ]; then - xmodmap $usermodmap -fi - -# Start the window manager: -if [ -z "$DESKTOP_SESSION" -a -x /usr/bin/ck-launch-session ]; then - ck-launch-session startkde -else - startkde -fi diff --git a/source/kde/post-install/kdelibs.post-install b/source/kde/post-install/kdelibs.post-install deleted file mode 100644 index 9239a3e5..00000000 --- a/source/kde/post-install/kdelibs.post-install +++ /dev/null @@ -1,2 +0,0 @@ -# Move the polkit dbus configuration files to the proper place: -mv $PKG/etc/kde/dbus-1 $PKG/etc/ diff --git a/source/kde/post-install/kdepim.post-install b/source/kde/post-install/kdepim.post-install deleted file mode 100644 index 88101148..00000000 --- a/source/kde/post-install/kdepim.post-install +++ /dev/null @@ -1,2 +0,0 @@ -# Move the dbus configuration files to the proper place: -mv $PKG/etc/kde/dbus-1 $PKG/etc/ diff --git a/source/kde/post-install/kdev-python.post-install b/source/kde/post-install/kdev-python.post-install deleted file mode 100644 index 396f7f50..00000000 --- a/source/kde/post-install/kdev-python.post-install +++ /dev/null @@ -1,2 +0,0 @@ -# Make sure shared libraries are executable: -chmod 755 $PKG/usr/lib${LIBDIRSUFFIX}/lib*.so.* diff --git a/source/kde/post-install/konsole.post-install b/source/kde/post-install/konsole.post-install deleted file mode 100644 index 6104e9f2..00000000 --- a/source/kde/post-install/konsole.post-install +++ /dev/null @@ -1,13 +0,0 @@ -# "konsole -ls" is no longer valid syntax for konsole, even though it's -# still documented in the help manual. Here's a way to get the same -# thing, and it works here, but I honestly don't know how it will act -# everywhere with every shell. I just know it works with bash and ksh -# Removed in KDE 4.9.4 package because it does not work: -#sed -i -e 's/^Exec=konsole/Exec=konsole -e $SHELL -l/' \ -# $PKG/usr/share/applications/kde4/konsole.desktop - -## I find this a little bit too bright... <change by pjv> -## Change the konsole defaults to look like the real Linux console: -#sed -i 's/ColorScheme=Linux/ColorScheme=WhiteOnBlack/' \ -# $PKG/usr/share/apps/konsole/Shell.profile - diff --git a/source/kde/post-install/ktorrent.post-install b/source/kde/post-install/ktorrent.post-install deleted file mode 100644 index a1e19162..00000000 --- a/source/kde/post-install/ktorrent.post-install +++ /dev/null @@ -1,2 +0,0 @@ -mkdir $PKG/usr/share/apps/ktorrent/GeoIP -zcat $CWD/patch/ktorrent/geoip.dat.gz > $PKG/usr/share/apps/ktorrent/GeoIP/geoip.dat diff --git a/source/kde/post-install/kwalletmanager.post-install b/source/kde/post-install/kwalletmanager.post-install deleted file mode 100644 index 9239a3e5..00000000 --- a/source/kde/post-install/kwalletmanager.post-install +++ /dev/null @@ -1,2 +0,0 @@ -# Move the polkit dbus configuration files to the proper place: -mv $PKG/etc/kde/dbus-1 $PKG/etc/ diff --git a/source/kde/post-install/nepomuk-core.post-install b/source/kde/post-install/nepomuk-core.post-install deleted file mode 100644 index 88101148..00000000 --- a/source/kde/post-install/nepomuk-core.post-install +++ /dev/null @@ -1,2 +0,0 @@ -# Move the dbus configuration files to the proper place: -mv $PKG/etc/kde/dbus-1 $PKG/etc/ diff --git a/source/kde/post-install/wicd-kde.post-install b/source/kde/post-install/wicd-kde.post-install deleted file mode 100644 index 88101148..00000000 --- a/source/kde/post-install/wicd-kde.post-install +++ /dev/null @@ -1,2 +0,0 @@ -# Move the dbus configuration files to the proper place: -mv $PKG/etc/kde/dbus-1 $PKG/etc/ |