[arch-commits] Commit in kdebase-workspace (9 files)
Andrea Scarpino
andrea at archlinux.org
Sat Dec 12 15:46:54 UTC 2009
Date: Saturday, December 12, 2009 @ 10:46:54
Author: andrea
Revision: 61156
prepare kde-unstable repo
Added:
kdebase-workspace/kde-unstable/
kdebase-workspace/kde-unstable/PKGBUILD
kdebase-workspace/kde-unstable/fixpath.patch
kdebase-workspace/kde-unstable/kde-np.pam
kdebase-workspace/kde-unstable/kde.pam
kdebase-workspace/kde-unstable/kdm
kdebase-workspace/kde-unstable/kdm-zsh-profile.patch
kdebase-workspace/kde-unstable/kscreensaver.pam
kdebase-workspace/kde-unstable/terminate-server.patch
------------------------+
PKGBUILD | 69 +++++++++++++++++++++++++++++++++++++++++++++++
fixpath.patch | 34 +++++++++++++++++++++++
kde-np.pam | 7 ++++
kde.pam | 7 ++++
kdm | 37 +++++++++++++++++++++++++
kdm-zsh-profile.patch | 11 +++++++
kscreensaver.pam | 1
terminate-server.patch | 11 +++++++
8 files changed, 177 insertions(+)
Added: kde-unstable/PKGBUILD
===================================================================
--- kde-unstable/PKGBUILD (rev 0)
+++ kde-unstable/PKGBUILD 2009-12-12 15:46:54 UTC (rev 61156)
@@ -0,0 +1,69 @@
+# $Id: PKGBUILD 59826 2009-11-28 01:40:21Z andrea $
+# Maintainer: Pierre Schmitz <pierre at archlinux.de>
+
+pkgname=kdebase-workspace
+pkgver=4.3.80
+pkgrel=1
+pkgdesc="KDE Base Workspace"
+arch=('i686' 'x86_64')
+url='http://www.kde.org'
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde')
+# note on libxdamage:
+# not detected by namcap because libgl depends on it
+# but nvidia providing libgl does not depend on libxdamage
+depends=('kdelibs' 'kdepimlibs' 'kdebase-runtime' 'libxxf86misc' 'libxcomposite'
+ 'libxss' 'lm_sensors' 'libxklavier' 'qimageblitz' 'polkit-qt' 'libxft' 'libxdamage')
+makedepends=('pkgconfig' 'cmake' 'automoc4' 'networkmanager' 'bluez' 'kdebindings-python')
+replaces=('kdmtheme' 'kde-common' 'guidance-power-manager' 'policykit-kde')
+conflicts=('kde-common' 'guidance-power-manager' 'policykit-kde')
+optdepends=('kdebindings-python: plasma scriptengine for Python')
+install='kdebase-workspace.install'
+backup=('usr/share/config/kdm/kdmrc'
+ 'etc/pam.d/kde'
+ 'etc/pam.d/kde-np'
+ 'etc/pam.d/kscreensaver')
+source=("http://download.kde.org/unstable/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2"
+ 'kdm-zsh-profile.patch' 'kdm' 'kde.pam' 'kde-np.pam' 'kscreensaver.pam'
+ 'fixpath.patch' 'terminate-server.patch')
+md5sums=('68177b5c0dd8ab4bebe682393871f82c'
+ '721e97031b62aee8914e8617e86f9235'
+ '5d80164932e0d44d8b802d3929a004ab'
+ '10a490653b002e6f9e7476ff9d37c011'
+ '552337fd9a3982d809ea16c7f0033d42'
+ '367a3538f54db71f108b34cfa31088ac'
+ '47a1f12673f66e62e2463efd7037a26a'
+ '814350c52c135d6f7bdada1e29223d38')
+
+build() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ patch -p0 -i ${srcdir}/kdm-zsh-profile.patch || return 1
+ patch -p0 -i ${srcdir}/fixpath.patch || return 1
+ patch -p0 -i ${srcdir}/terminate-server.patch || return 1
+
+ cd ${srcdir}
+ mkdir build
+ cd build
+ cmake ../${pkgname}-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_SKIP_RPATH=ON \
+ -DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed' \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DWITH_Xmms=OFF \
+ -DWITH_Googlegadgets=OFF \
+ -DWITH_QEdje=OFF
+ make || return 1
+}
+
+package() {
+ cd $srcdir/build
+ make DESTDIR=$pkgdir install
+
+ install -D -m755 ${srcdir}/kdm ${pkgdir}/etc/rc.d/kdm
+ install -D -m644 ${srcdir}/kde.pam ${pkgdir}/etc/pam.d/kde
+ install -D -m644 ${srcdir}/kde-np.pam ${pkgdir}/etc/pam.d/kde-np
+ install -D -m644 ${srcdir}/kscreensaver.pam ${pkgdir}/etc/pam.d/kscreensaver
+ install -d -m755 ${pkgdir}/etc/X11/sessions/
+ ln -sf /usr/share/apps/kdm/sessions/kde{,-safe}.desktop ${pkgdir}/etc/X11/sessions/
+ install -d -m755 ${pkgdir}/etc/kde/{env,shutdown}
+}
Added: kde-unstable/fixpath.patch
===================================================================
--- kde-unstable/fixpath.patch (rev 0)
+++ kde-unstable/fixpath.patch 2009-12-12 15:46:54 UTC (rev 61156)
@@ -0,0 +1,34 @@
+--- startkde.cmake.orig 2009-01-15 14:24:44.000000000 +0100
++++ startkde.cmake 2009-01-15 14:33:08.000000000 +0100
+@@ -34,22 +34,6 @@
+ MALLOC_CHECK_=2
+ export MALLOC_CHECK_
+
+-# in case we have been started with full pathname spec without being in PATH
+-bindir=`echo "$0" | sed -n 's,^\(/.*\)/[^/][^/]*$,\1,p'`
+-if [ -n "$bindir" ]; then
+- qbindir=`$bindir/kde4-config --qt-binaries`
+- if [ -n "$qbindir" ]; then
+- case $PATH in
+- $qbindir|$qbindir:*|*:$qbindir|*:$qbindir:*) ;;
+- *) PATH=$qbindir:$PATH; export PATH;;
+- esac
+- fi
+- case $PATH in
+- $bindir|$bindir:*|*:$bindir|*:$bindir:*) ;;
+- *) PATH=$bindir:$PATH; export PATH;;
+- esac
+-fi
+-
+ # Boot sequence:
+ #
+ # kdeinit is used to fork off processes which improves memory usage
+@@ -206,7 +190,7 @@
+ # For anything else (that doesn't set env vars, or that needs a window manager),
+ # better use the Autostart folder.
+
+-libpath=`kde4-config --path lib | tr : '\n'`
++libpath=`kde4-config --path lib | tr : '\n'`$(echo -e '\n/etc/kde/lib/')
+
+ for prefix in `echo "$libpath" | sed -n -e 's,/lib[^/]*/,/env/,p'`; do
+ for file in "$prefix"*.sh; do
Added: kde-unstable/kde-np.pam
===================================================================
--- kde-unstable/kde-np.pam (rev 0)
+++ kde-unstable/kde-np.pam 2009-12-12 15:46:54 UTC (rev 61156)
@@ -0,0 +1,7 @@
+#%PAM-1.0
+auth required pam_nologin.so
+auth required pam_permit.so
+account required pam_unix.so
+password required pam_unix.so
+session required pam_unix.so
+session required pam_limits.so
\ No newline at end of file
Added: kde-unstable/kde.pam
===================================================================
--- kde-unstable/kde.pam (rev 0)
+++ kde-unstable/kde.pam 2009-12-12 15:46:54 UTC (rev 61156)
@@ -0,0 +1,7 @@
+#%PAM-1.0
+auth required pam_unix.so
+auth required pam_nologin.so
+account required pam_unix.so
+password required pam_unix.so
+session required pam_unix.so
+session required pam_limits.so
\ No newline at end of file
Added: kde-unstable/kdm
===================================================================
--- kde-unstable/kdm (rev 0)
+++ kde-unstable/kdm 2009-12-12 15:46:54 UTC (rev 61156)
@@ -0,0 +1,37 @@
+#!/bin/bash
+
+. /etc/rc.conf
+. /etc/rc.d/functions
+
+PID=`pidof -o %PPID /usr/bin/kdm`
+case "$1" in
+ start)
+ stat_busy "Starting KDE Desktop Manager"
+ [ -z "$PID" ] && /usr/bin/kdm &>/dev/null
+ if [ $? -gt 0 ]; then
+ stat_fail
+ else
+ echo $PID > /var/run/kdm.pid
+ add_daemon kdm
+ stat_done
+ fi
+ ;;
+ stop)
+ stat_busy "Stopping KDE Desktop Manager"
+ [ ! -z "$PID" ] && kill $PID &> /dev/null
+ if [ $? -gt 0 ]; then
+ stat_fail
+ else
+ rm_daemon kdm
+ stat_done
+ fi
+ ;;
+ restart)
+ $0 stop
+ sleep 3
+ $0 start
+ ;;
+ *)
+ echo "usage: $0 {start|stop|restart}"
+esac
+exit 0
Added: kde-unstable/kdm-zsh-profile.patch
===================================================================
--- kde-unstable/kdm-zsh-profile.patch (rev 0)
+++ kde-unstable/kdm-zsh-profile.patch 2009-12-12 15:46:54 UTC (rev 61156)
@@ -0,0 +1,11 @@
+--- kdm/kfrontend/genkdmconf.c 2008-02-13 09:40:49.000000000 +0000
++++ kdm/kfrontend/genkdmconf.c 2008-05-16 12:47:36.000000000 +0000
+@@ -662,7 +662,7 @@
+ " [ -d /etc/zsh ] && zdir=/etc/zsh || zdir=/etc\n"
+ " zhome=${ZDOTDIR:-$HOME}\n"
+ " # zshenv is always sourced automatically.\n"
+-" [ -f $zdir/zprofile ] && . $zdir/zprofile\n"
++" [ -f /etc/profile ] && . /etc/profile\n"
+ " [ -f $zhome/.zprofile ] && . $zhome/.zprofile\n"
+ " [ -f $zdir/zlogin ] && . $zdir/zlogin\n"
+ " [ -f $zhome/.zlogin ] && . $zhome/.zlogin\n"
Added: kde-unstable/kscreensaver.pam
===================================================================
--- kde-unstable/kscreensaver.pam (rev 0)
+++ kde-unstable/kscreensaver.pam 2009-12-12 15:46:54 UTC (rev 61156)
@@ -0,0 +1 @@
+auth required pam_unix_auth.so
Added: kde-unstable/terminate-server.patch
===================================================================
--- kde-unstable/terminate-server.patch (rev 0)
+++ kde-unstable/terminate-server.patch 2009-12-12 15:46:54 UTC (rev 61156)
@@ -0,0 +1,11 @@
+--- kdm/config.def 2009-08-27 10:17:39.000000000 +0200
++++ kdm/config.def 2009-10-31 00:40:21.000000000 +0100
+@@ -1448,7 +1448,7 @@
+
+ Key: TerminateServer
+ Type: bool
+-Default: false
++Default: true
+ User: core
+ Instance: #:*/!
+ Merge: xdm
More information about the arch-commits
mailing list