diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2015-12-17 14:29:37 +0100 |
---|---|---|
committer | Sören Tempel <soeren+git@soeren-tempel.net> | 2015-12-17 15:49:14 +0100 |
commit | a467f4e760d7c517a58b92146651d722dd4921ee (patch) | |
tree | 9e551cb6c5f013efc38740df9d8031e926800397 /unmaintained | |
parent | c19681d5659d62243951090ec659679ecd968094 (diff) | |
download | aports-a467f4e760d7c517a58b92146651d722dd4921ee.tar.bz2 aports-a467f4e760d7c517a58b92146651d722dd4921ee.tar.xz |
unmaintained/kde-workspace: moved from testing
Diffstat (limited to 'unmaintained')
-rw-r--r-- | unmaintained/kde-workspace/APKBUILD | 86 | ||||
-rw-r--r-- | unmaintained/kde-workspace/fix-headers-4.11.11.patch | 10 | ||||
-rw-r--r-- | unmaintained/kde-workspace/kde-np.pam | 10 | ||||
-rw-r--r-- | unmaintained/kde-workspace/kde-workspace.pre-install | 6 | ||||
-rw-r--r-- | unmaintained/kde-workspace/kde.pam | 10 | ||||
-rwxr-xr-x | unmaintained/kde-workspace/kdm.initd | 10 | ||||
-rw-r--r-- | unmaintained/kde-workspace/kscreensaver.pam | 3 | ||||
-rw-r--r-- | unmaintained/kde-workspace/uint-fadeeffect-4.11.11.patch | 11 |
8 files changed, 146 insertions, 0 deletions
diff --git a/unmaintained/kde-workspace/APKBUILD b/unmaintained/kde-workspace/APKBUILD new file mode 100644 index 0000000000..6cf3cf3849 --- /dev/null +++ b/unmaintained/kde-workspace/APKBUILD @@ -0,0 +1,86 @@ +# Contributor: k0r10n <k0r10n.dev@gmail.com> +# Maintainer: +pkgname=kde-workspace +pkgver=4.13.3 +pkgrel=2 +pkgdesc="base kde applications" +url="http://www.kde.org/" +arch="x86 x86_64" +license="GPL" +depends= +options="suid" +depends_dev="kde-runtime-dev qimageblitz-dev libxkbfile-dev + consolekit-dev libxcursor-dev libxrandr-dev libraw1394-dev + libxcomposite-dev libxtst-dev libxcb-dev xcb-util-dev + xcb-util-image-dev xcb-util-keysyms-dev xcb-util-renderutil-dev + pciutils-dev linux-pam-dev libusb-compat-dev lm_sensors-dev" +makedepends="$depends_dev cmake automoc4" +install="$pkgname.pre-install" +subpackages="$pkgname-dev $pkgname-doc" +source="http://download.kde.org/stable/${pkgver}/src/${pkgname}-4.11.11.tar.xz + uint-fadeeffect-4.11.11.patch + fix-headers-4.11.11.patch + kdm.initd + kde.pam + kde-np.pam + kscreensaver.pam" + +_builddir="$srcdir"/${pkgname}-4.11.11 +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done + mkdir -p "$_builddir"/build +} + +build() { + cd "$_builddir"/build + cmake -DCMAKE_INSTALL_PREFIX=/usr \ + -DSYSCONF_INSTALL_DIR=/etc \ + -DKDE4_BUILD_TESTS:BOOL=OFF \ + -DWITH_Xmms:BOOL=OFF \ + -DWITH_libgps:BOOL=OFF \ + -DWITH_NepomukCore:BOOL=OFF \ + -DWITH_Soprano:BOOL=OFF \ + -DWITH_CkConnector:BOOL=OFF \ + -DCMAKE_BUILD_TYPE=Release \ + -DPYTHON_EXECUTABLE=/usr/bin/python2 \ + -DINSTALL_PYTHON_FILES_IN_PYTHON_PREFIX=TRUE \ + -Wno-dev "$_builddir" || return 1 + make || return 1 +} + +package() { + cd "$_builddir"/build + make DESTDIR="$pkgdir" install || return 1 + mkdir -p "$pkgdir"/usr/share/xsessions || return 1 + ln -sf /usr/share/apps/kdm/sessions/kde-plasma.desktop \ + "$pkgdir"/usr/share/xsessions/kde-plasma.desktop || return 1 + install -Dm755 "$srcdir"/kdm.initd "$pkgdir"/etc/init.d/kdm || return 1 +} + +md5sums="cbd3311713b42d4856c66281fbe7a212 kde-workspace-4.11.11.tar.xz +1f4ee19c55cc52371219c170806c65ad uint-fadeeffect-4.11.11.patch +33775f5785b5fc70569e9d27dd33052d fix-headers-4.11.11.patch +c7f28b898cb1a3916105c5919e7e7b5b kdm.initd +83d73eb700bcf6d3bbc93008ed7e43e4 kde.pam +fd2a1c362a1e3c7f2f1e81773599b9cf kde-np.pam +c2bd6228bd83ef8e7ab43866b70842fc kscreensaver.pam" +sha256sums="f188b003c56d2a40f71d4eea8c91b7ae0febcf25c252c383913281fce73c4d73 kde-workspace-4.11.11.tar.xz +ca14056388ec4ebe08af105c52ae63e983b0959608e528814c91ed7da063ba99 uint-fadeeffect-4.11.11.patch +191b08a7e556d31be927e23aeab7e811d0123a55d53bfb4bb06d843da4c79051 fix-headers-4.11.11.patch +088283e0b36be851a1081f9c7bb42d05a6754b4cf92aabf0c850f9c8593cfca3 kdm.initd +d3a77d44ba510b7dc5aab6f8ebbd642c77513aec21079f817220d31f3dda8417 kde.pam +f00127469095832ef665732d505e7df146dc060fa15aadf44197da53cbb464ee kde-np.pam +c71bb9071cb0f51db9bd4a19a1cc3d50048b012389c4b543fef48e202f227aad kscreensaver.pam" +sha512sums="0f8076150f498e84875da1b18f8d596b0c16a3f5ddf5a838133fc9345f79c10faa7ff9c0f627c17b5dac5058af39c367d8a62b51d212ccbd07a0faded390d5f7 kde-workspace-4.11.11.tar.xz +355ad1d959ded30e2556faa5a2c6583466ccc550277c1e5db1dea6724d23612723b4f951f35e43bc447c6de4bcfff10f0f1d2eece5f7dcba9b08ba4c47cc1e39 uint-fadeeffect-4.11.11.patch +e452a9ea35193045fa11bb0e2cb1017b43051ca0b3d439144ce2bedb2ce48da9391031db2c99166db208d1cd3667c81e62c31a1d5d3169ea5d39cea43a24a9a5 fix-headers-4.11.11.patch +4de002fd46f97e7e94e989c4f69ec6a967aa11446c8c3d0ce0b3bef2006809b2d6c05d56f2c65cececcffd8310cb5c7f54235f5bd8c0954d258a1d45425be2fb kdm.initd +a3a69852c7479c826a6502a81ed41e182e8dbb1b8ecf672e0b7229c7f385cbe7467b3d60f98d0fdf96d50fb476cbf7d5952d16750294d47addfcbbbd3456ae99 kde.pam +41dbf4c4e31d3139fcea3d27c459e013c045a73e35b1dc3534791705a18ec30b3659ba734258313eff407bf9c803845f609e1426d09df78a1ee578dff10c210f kde-np.pam +91e19415db832a67dcf9494af869c07f5cbfe8e16a74f3857c2b1940a17a1317c1b074446428f5f5d7b5aaf10eee8274e3b9df02935101d7fc73d8e01dc03e76 kscreensaver.pam" diff --git a/unmaintained/kde-workspace/fix-headers-4.11.11.patch b/unmaintained/kde-workspace/fix-headers-4.11.11.patch new file mode 100644 index 0000000000..32813a0cb0 --- /dev/null +++ b/unmaintained/kde-workspace/fix-headers-4.11.11.patch @@ -0,0 +1,10 @@ +--- kde-workspace-4.11.11/ksysguard/ksysguardd/Linux/netstat.c.orig ++++ kde-workspace-4.11.11/ksysguard/ksysguardd/Linux/netstat.c +@@ -26,6 +26,7 @@ + #include <stdlib.h> + #include <string.h> + #include <time.h> ++#include <sys/types.h> + + #include "ksysguardd.h" + #include "Command.h" diff --git a/unmaintained/kde-workspace/kde-np.pam b/unmaintained/kde-workspace/kde-np.pam new file mode 100644 index 0000000000..022ebf024f --- /dev/null +++ b/unmaintained/kde-workspace/kde-np.pam @@ -0,0 +1,10 @@ +#%PAM-1.0 +auth requisite pam_nologin.so +auth required pam_env.so + +auth required pam_succeed_if.so uid >= 1000 quiet +auth required pam_permit.so + +account include system-account +password include system-password +session include system-session diff --git a/unmaintained/kde-workspace/kde-workspace.pre-install b/unmaintained/kde-workspace/kde-workspace.pre-install new file mode 100644 index 0000000000..84921ba86e --- /dev/null +++ b/unmaintained/kde-workspace/kde-workspace.pre-install @@ -0,0 +1,6 @@ +#!/bin/sh + +name=kdm +addgroup -S $name 2>/dev/null +adduser -S -H -h /var/run/kdm -s /bin/false -D -G $name $name 2>/dev/null +exit 0 diff --git a/unmaintained/kde-workspace/kde.pam b/unmaintained/kde-workspace/kde.pam new file mode 100644 index 0000000000..a723cbdecd --- /dev/null +++ b/unmaintained/kde-workspace/kde.pam @@ -0,0 +1,10 @@ +#%PAM-1.0 +auth requisite pam_nologin.so +auth required pam_env.so + +auth required pam_succeed_if.so uid >= 1000 quiet +auth include system-auth + +account include system-account +password include system-password +session include system-session diff --git a/unmaintained/kde-workspace/kdm.initd b/unmaintained/kde-workspace/kdm.initd new file mode 100755 index 0000000000..b32a804d32 --- /dev/null +++ b/unmaintained/kde-workspace/kdm.initd @@ -0,0 +1,10 @@ +#!/sbin/runscript + +depends() { + needs localmount dbus +} + +description="K Display Manager" +command="/usr/bin/kdm -nodaemon" +pidfile="/var/run/kdm.pid" + diff --git a/unmaintained/kde-workspace/kscreensaver.pam b/unmaintained/kde-workspace/kscreensaver.pam new file mode 100644 index 0000000000..3bd270ad51 --- /dev/null +++ b/unmaintained/kde-workspace/kscreensaver.pam @@ -0,0 +1,3 @@ +#%PAM-1.0 +auth include system-auth +account include system-account diff --git a/unmaintained/kde-workspace/uint-fadeeffect-4.11.11.patch b/unmaintained/kde-workspace/uint-fadeeffect-4.11.11.patch new file mode 100644 index 0000000000..f4f5f48686 --- /dev/null +++ b/unmaintained/kde-workspace/uint-fadeeffect-4.11.11.patch @@ -0,0 +1,11 @@ +--- kde-workspace-4.11.11/ksmserver/fadeeffect.cpp.orig ++++ kde-workspace-4.11.11/ksmserver/fadeeffect.cpp +@@ -237,7 +237,7 @@ + __m128i *result, uint length) + { + length = (length + 15) >> 4; +- register const __m128i alpha = _mm_set1_epi16(__uint16_t (a)); ++ register const __m128i alpha = _mm_set1_epi16(uint16_t (a)); + register const __m128i negalpha = _mm_xor_si128(alpha, _mm_set1_epi16 (0x00ff)); + + for (uint i = 0; i < length; i++) |