New package: kde-workspace-4.10.4.

This commit is contained in:
Juan RP 2013-06-17 10:45:17 +02:00
parent 59aa09689c
commit 2f81681cad
12 changed files with 182 additions and 0 deletions

View file

@ -1290,6 +1290,19 @@ libkpty.so.4 kdelibs-4.10.4_1
libkmediaplayer.so.4 kdelibs-4.10.4_1 libkmediaplayer.so.4 kdelibs-4.10.4_1
libknotifyconfig.so.4 kdelibs-4.10.4_1 libknotifyconfig.so.4 kdelibs-4.10.4_1
libkde3support.so.4 kdelibs-4.10.4_1 libkde3support.so.4 kdelibs-4.10.4_1
libkdefakes.so.5 kdelibs-4.10.4_1
libkunitconversion.so.4 kdelibs-4.10.4_1
libkrosscore.so.4 kdelibs-4.10.4_1
libktexteditor.so.4 kdelibs-4.10.4_1
libkholidays.so.4 kdepimlibs-4.10.4_1
libkcalcore.so.4 kdepimlibs-4.10.4_1
libkcalutils.so.4 kdepimlibs-4.10.4_1
libakonadi-kde.so.4 kdepimlibs-4.10.4_1
libkmime.so.4 kdepimlibs-4.10.4_1
libakonadi-kmime.so.4 kdepimlibs-4.10.4_1
libkabc.so.4 kdepimlibs-4.10.4_1
libmicroblog.so.4 kdepimlibs-4.10.4_1
libsyndication.so.4 kdepimlibs-4.10.4_1
libnepomukcore.so.4 nepomuk-core-4.10.4_1 libnepomukcore.so.4 nepomuk-core-4.10.4_1
libssh.so.4 libssh-0.5.4_1 libssh.so.4 libssh-0.5.4_1
libssh_threads.so.4 libssh-0.5.4_1 libssh_threads.so.4 libssh-0.5.4_1

1
srcpkgs/kde-workspace-devel Symbolic link
View file

@ -0,0 +1 @@
kde-workspace

View file

@ -0,0 +1,5 @@
case "$ACTION" in
post)
genkdmconf --no-old --no-backup >/dev/null 2>&1
;;
esac

View file

@ -0,0 +1,7 @@
case "$ACTION" in
post)
if [ -d usr/share/apps/kdm/faces ]; then
rm -rf usr/share/apps/kdm/faces
fi
;;
esac

View file

@ -0,0 +1,20 @@
#%PAM-1.0
auth required pam_tally.so onerr=succeed
auth required pam_shells.so
auth requisite pam_nologin.so
auth required pam_env.so
auth optional pam_permit.so
account required pam_access.so
account required pam_unix.so
session required pam_env.so
session required pam_motd.so
session optional pam_mail.so dir=/var/mail standard
session optional pam_lastlog.so
session required pam_unix.so
session required pam_loginuid.so
session required pam_systemd.so kill-session-processes=1
session required pam_limits.so
password required pam_unix.so sha512 shadow nullok try_first_pass use_auth_ok

View file

@ -0,0 +1,18 @@
#%PAM-1.0
auth requisite pam_nologin.so
auth required pam_securetty.so
auth required pam_unix.so
account required pam_access.so
account required pam_unix.so
session required pam_env.so
session required pam_motd.so
session optional pam_mail.so dir=/var/mail standard
session optional pam_lastlog.so
session required pam_unix.so
session required pam_loginuid.so
session required pam_systemd.so kill-session-processes=1
session required pam_limits.so
password required pam_unix.so sha512 shadow nullok try_first_pass use_auth_ok

View file

@ -0,0 +1,9 @@
[Unit]
Description=K Display Manager
After=systemd-user-sessions.service
[Service]
ExecStart=/usr/bin/kdm -nodaemon
[Install]
Alias=display-manager.service

View file

@ -0,0 +1 @@
auth required pam_unix_auth.so

View file

@ -0,0 +1,11 @@
--- startkde.cmake.orig 2009-01-15 14:24:44.000000000 +0100
+++ startkde.cmake 2009-01-15 14:33:08.000000000 +0100
@@ -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

View file

@ -0,0 +1,18 @@
--- kdm/kfrontend/genkdmconf.c~ 2011-10-04 22:11:24.787771512 +0000
+++ kdm/kfrontend/genkdmconf.c 2011-10-04 22:13:58.612702824 +0000
@@ -742,6 +742,15 @@
"[ -f /etc/xprofile ] && . /etc/xprofile\n"
"[ -f $HOME/.xprofile ] && . $HOME/.xprofile\n"
"\n"
+"# run all system xinitrc shell scripts.\n"
+"if [ -d /etc/X11/xinit/xinitrc.d ]; then\n"
+" for i in /etc/X11/xinit/xinitrc.d/* ; do\n"
+" if [ -x \"$i\" ]; then\n"
+" . \"$i\"\n"
+" fi\n"
+" done\n"
+"fi\n"
+"\n"
"if [ -d /etc/X11/Xresources ]; then\n"
" for i in /etc/X11/Xresources/*; do\n"
" [ -f $i ] && xrdb -merge $i\n"

View file

@ -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

View file

@ -0,0 +1,68 @@
# Template file for 'kde-workspace'
pkgname=kde-workspace
version=4.10.4
revision=1
short_desc="Provides the interface and basic tools for the KDE workspace"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL, LGPL, FDL"
homepage="http://www.kde.org"
distfiles="http://download.kde.org/stable/${version}/src/${pkgname}-${version}.tar.xz"
checksum=55b9c79829fbbe781653951eb0b94dcfbb21fa46102c0c15db40521c143f22d1
build_style=cmake
configure_args="-DKDE4_BUILD_TESTS=OFF -DWITH_Xmms=OFF -DWITH_Googlegadgets=OFF
-DWITH_libgps=OFF -DWITH_CkConnector=OFF -DSYSCONFDIR=/etc"
# XXX raw1394, qalculate, prison.
hostmakedepends="cmake automoc4 pkg-config"
makedepends="openssl-devel qt-devel phonon-devel libdbusmenu-qt-devel strigi-devel
soprano-devel kdelibs-devel>=${version} kactivities-devel>=${version}
qimageblitz-devel xcb-util-image-devel xcb-util-renderutil-devel boost-devel
libjpeg-turbo-devel libpng-devel libXcursor-devel libXi-devel libxkbfile-devel
libXrandr-devel libXfixes-devel libSM-devel libXcomposite-devel libXdamage-devel
libXtst-devel libXft-devel glib-devel fontconfig-devel nepomuk-core-devel>=${version}
akonadi-devel kdepimlibs-devel>=${version} qjson-devel libsensors-devel
NetworkManager-devel pciutils-devel MesaLib-devel pam-devel libusb-compat-devel
kde-wallpapers>=${version} kde-base-artwork>=${version}"
post_install() {
vmkdir etc/pam.d
for f in kde kde-np kscreensaver; do
install -m644 ${FILESDIR}/${f}.pam ${DESTDIR}/etc/pam.d/${f}
done
vinstall ${FILESDIR}/kdm.service 644 usr/lib/systemd/system
vmkdir usr/share/xsessions
ln -sf /usr/share/apps/kdm/sessions/kde-plasma{,-safe}.desktop \
${DESTDIR}/usr/share/xsessions
}
kde-workspace-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove usr/share/apps/cmake
}
}
kde-workspace_package() {
depends="python kde-wallpapers>=${version} kde-base-artwork>=${version}"
conf_files="
/etc/ksysguarddrc
/etc/pam.d/kde-np.pam
/etc/pam.d/kde.pam
/etc/pam.d/kscreensaver.pam
/usr/share/config/kdm/kdmrc"
system_accounts="kdm"
kdm_homedir="/var/lib/kdm"
make_dirs="
/etc/kde/env 0755 root root
/etc/kde/shutdown 0755 root root
/var/lib/kdm 0755 kdm kdm"
pycompile_module="PyKDE4"
pkg_install() {
vmove all
}
}