diff --git a/desktop/kde/plasma/plasma-workspace/actions.py b/desktop/kde/plasma/plasma-workspace/actions.py new file mode 100755 index 0000000000..9737c14ca2 --- /dev/null +++ b/desktop/kde/plasma/plasma-workspace/actions.py @@ -0,0 +1,26 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/licenses/gpl.txt + +from pisi.actionsapi import pisitools +from pisi.actionsapi import cmaketools + +def setup(): + cmaketools.configure("-DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release \ + -DLIB_INSTALL_DIR=lib \ + -DLIBEXEC_INSTALL_DIR=lib \ + -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \ + -DBUILD_TESTING=OFF") + +def build(): + cmaketools.make() + +def install(): + cmaketools.install() + pisitools.dosym("/usr/lib/drkonqi", "/usr/lib/libexec/drkonqi") + + pisitools.dodoc("COPYING", "HACKING") + diff --git a/desktop/kde/plasma/plasma-workspace/comar/kde.pam b/desktop/kde/plasma/plasma-workspace/comar/kde.pam new file mode 100644 index 0000000000..1e48de3f18 --- /dev/null +++ b/desktop/kde/plasma/plasma-workspace/comar/kde.pam @@ -0,0 +1,6 @@ +#%PAM-1.0 + +auth include system-login +account include system-login +password include system-login +session include system-login diff --git a/desktop/kde/plasma/plasma-workspace/files/0001-Rename-qdbus-in-startkde.patch b/desktop/kde/plasma/plasma-workspace/files/0001-Rename-qdbus-in-startkde.patch new file mode 100644 index 0000000000..30ed016829 --- /dev/null +++ b/desktop/kde/plasma/plasma-workspace/files/0001-Rename-qdbus-in-startkde.patch @@ -0,0 +1,32 @@ +diff --git a/startkde/startkde.cmake b/startkde/startkde.cmake +index 91c8a3c..0c658bd 100644 +--- a/startkde/startkde.cmake ++++ b/startkde/startkde.cmake +@@ -20,13 +20,13 @@ unset DYLD_FORCE_FLAT_NAMESPACE + bindir=`echo "$0" | sed -n 's,^\(/.*\)/[^/][^/]*$,\1,p'` + if [ -n "$bindir" ]; then + qbindir=`qtpaths --binaries-dir` +- qdbus=$qbindir/qdbus ++ qdbus=$qbindir/qdbus-qt5 + case $PATH in + $bindir|$bindir:*|*:$bindir|*:$bindir:*) ;; + *) PATH=$bindir:$PATH; export PATH;; + esac + else +- qdbus=qdbus ++ qdbus=qdbus-qt5 + fi + + # Check if a KDE session already is running and whether it's possible to connect to X +@@ -300,9 +300,9 @@ fi + if $qdbus >/dev/null 2>/dev/null; then + : # ok + else +- echo 'startkde: Could not start D-Bus. Can you call qdbus?' 1>&2 ++ echo 'startkde: Could not start D-Bus. Can you call qdbus-qt5?' 1>&2 + test -n "$ksplash_pid" && kill "$ksplash_pid" 2>/dev/null +- xmessage -geometry 500x100 "Could not start D-Bus. Can you call qdbus?" ++ xmessage -geometry 500x100 "Could not start D-Bus. Can you call qdbus-qt5?" + exit 1 + fi + diff --git a/desktop/kde/plasma/plasma-workspace/files/0003-Remove-export-of-QT_PLUGIN_PATH.patch b/desktop/kde/plasma/plasma-workspace/files/0003-Remove-export-of-QT_PLUGIN_PATH.patch new file mode 100644 index 0000000000..75950ada26 --- /dev/null +++ b/desktop/kde/plasma/plasma-workspace/files/0003-Remove-export-of-QT_PLUGIN_PATH.patch @@ -0,0 +1,29 @@ +From dde9b1c1930d333d8daff25c73400e1e67f3c630 Mon Sep 17 00:00:00 2001 +From: Hrvoje Senjan +Date: Sun, 7 Sep 2014 22:55:24 +0200 +Subject: [PATCH 3/3] Remove export of QT_PLUGIN_PATH + +--- + startkde/startkde.cmake | 6 ------ + 1 file changed, 6 deletions(-) + +diff --git a/startkde/startkde.cmake b/startkde/startkde.cmake +index 51721d1..1d67be0 100644 +--- a/startkde/startkde.cmake ++++ b/startkde/startkde.cmake +@@ -220,12 +220,6 @@ for prefix in `echo $scriptpath`; do + done + done + +-# Set the path for Qt plugins provided by KDE +-QT_PLUGIN_PATH=${QT_PLUGIN_PATH+$QT_PLUGIN_PATH:}`qtpaths --plugin-dir` +-# TODO: Do we really need this? +-QT_PLUGIN_PATH=$QT_PLUGIN_PATH:$kdehome/lib/kde5/plugins/ +-export QT_PLUGIN_PATH +- + # Activate the kde font directories. + # + # There are 4 directories that may be used for supplying fonts for KDE. +-- +2.1.0 + diff --git a/desktop/kde/plasma/plasma-workspace/files/create_kdehome.patch b/desktop/kde/plasma/plasma-workspace/files/create_kdehome.patch new file mode 100644 index 0000000000..b29f4b163a --- /dev/null +++ b/desktop/kde/plasma/plasma-workspace/files/create_kdehome.patch @@ -0,0 +1,19 @@ +diff --git a/startkde/startkde.cmake b/startkde/startkde.cmake +index 0c658bd..51721d1 100644 +--- a/startkde/startkde.cmake ++++ b/startkde/startkde.cmake +@@ -64,6 +64,14 @@ fi + + mkdir -p $configDir + ++kdehome=$HOME/@KDE_DEFAULT_HOME@ ++test -n "$KDEHOME" && kdehome=`echo "$KDEHOME"|sed "s,^~/,$HOME/,"` ++ ++# see kstartupconfig source for usage ++mkdir -m 700 -p $kdehome ++mkdir -m 700 -p $kdehome/share ++mkdir -m 700 -p $kdehome/share/config ++ + #This is basically setting defaults so we can use them with kstartupconfig5 + cat >$configDir/startupconfigkeys < + + + + plasma-workspace + http://www.kde.org + + Pisi Linux Admins + admins@pisilinux.org + + LGPLv2 + library + app:console + app:gui + The KDE5 Plasma Workspace Components + The KDE5 Plasma Workspace Components + http://download.kde.org/stable/plasma/5.3.2/plasma-workspace-5.3.2.tar.xz + + qt5-base-devel + libkscreen-devel + libksysguard-devel + libqalculate-devel + gpsd-devel + kwayland + baloo-devel + extra-cmake-modules + kdelibs4-support-devel + kdoctools-devel + krunner-devel + kwin-devel + libXcursor-devel + libXrender-devel + xorg-util + xcb-util-keysyms-devel + xcb-util-image-devel + xcb-util-renderutil-devel + networkmanager-qt-devel + kxmlrpcclient-devel + kio-devel + kjs-devel + pam + zlib-devel + libX11-devel + libXau-devel + libgcc + libxcb-devel + kactivities-devel + extra-cmake-modules + + + + + + + + + plasma-workspace + + qt5-base+ + qt5-tools + cln + kio + kjs + pam + zlib + libX11 + libXau + libgcc + libxcb + kactivities + gpsd + libSM + libXi + libICE + kio + kjs + libXfixes + baloo + kauth + kdesu + ki18n + solid + qt5-script + qt5-phonon + qt5-webkit + kcrash + kconfig + kwallet + kxmlgui + kpackage + kservice + qt5-x11extras + kdewebkit + kidletime + wayland-client + wayland-server + kbookmarks + kguiaddons + kitemviews + qt5-declarative + qt5-libdbusmenu + kcompletion + kcoreaddons + kdbusaddons + kiconthemes + kjobwidgets + kdeclarative + kglobalaccel + ktextwidgets + kwindowsystem + kxmlrpcclient + kconfigwidgets + knotifications + kwidgetsaddons + plasma-framework + kde-cli-tools + kjsembed + knewstuff + knotifyconfig + ktexteditor + kwayland + libkscreen + libksysguard + libqalculate + krunner + libksysguard + kdelibs4-support + networkmanager-qt + libXrender + xcb-util-keysyms + + + /etc/pam.d + /etc/xdg + /usr/share + /usr/share/applications + /usr/share/locale + /usr/bin + /usr/lib/qt5/plugins + /usr/lib/qt5/qml + /usr/lib + /usr/share/doc + + + kde-workspace + + + kde-workspace + + + + + plasma-workspace-devel + Development files for kde5 plasma-workspace + + qt5-base-devel + plasma-workspace + + + /usr/include + /usr/lib/cmake + /usr/lib/pkgconfig + + + kde.pam + + + kde-workspace-devel + + + kde-workspace-devel + + + + + drkonqi + KDE crash handler + + kdewebkit + kxmlrpcclient + plasma-workspace + + + /usr/lib/libexec + + + + + + 2015-07-02 + 5.3.2 + Version bump. + Stefan Gronewold(groni) + groni@pisilinux.org + + + 2015-06-12 + 5.3.1 + First Release. + Stefan Gronewold(groni) + groni@pisilinux.org + + +