[arch-commits] Commit in plasma-workspace/repos (12 files)
Jan Steffens
heftig at archlinux.org
Fri Sep 25 18:57:45 UTC 2015
Date: Friday, September 25, 2015 @ 20:57:44
Author: heftig
Revision: 247495
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
plasma-workspace/repos/testing-i686/PKGBUILD
(from rev 247493, plasma-workspace/trunk/PKGBUILD)
plasma-workspace/repos/testing-i686/dbus-update-environment.patch
(from rev 247493, plasma-workspace/trunk/dbus-update-environment.patch)
plasma-workspace/repos/testing-i686/kde.pam
(from rev 247493, plasma-workspace/trunk/kde.pam)
plasma-workspace/repos/testing-x86_64/PKGBUILD
(from rev 247493, plasma-workspace/trunk/PKGBUILD)
plasma-workspace/repos/testing-x86_64/dbus-update-environment.patch
(from rev 247494, plasma-workspace/trunk/dbus-update-environment.patch)
plasma-workspace/repos/testing-x86_64/kde.pam
(from rev 247494, plasma-workspace/trunk/kde.pam)
Deleted:
plasma-workspace/repos/testing-i686/PKGBUILD
plasma-workspace/repos/testing-i686/dbus-update-environment.patch
plasma-workspace/repos/testing-i686/kde.pam
plasma-workspace/repos/testing-x86_64/PKGBUILD
plasma-workspace/repos/testing-x86_64/dbus-update-environment.patch
plasma-workspace/repos/testing-x86_64/kde.pam
----------------------------------------------+
/PKGBUILD | 150 +++++++++++++++++++++++++
/dbus-update-environment.patch | 108 ++++++++++++++++++
/kde.pam | 18 +++
testing-i686/PKGBUILD | 75 ------------
testing-i686/dbus-update-environment.patch | 24 ----
testing-i686/kde.pam | 9 -
testing-x86_64/PKGBUILD | 75 ------------
testing-x86_64/dbus-update-environment.patch | 24 ----
testing-x86_64/kde.pam | 9 -
9 files changed, 276 insertions(+), 216 deletions(-)
Deleted: testing-i686/PKGBUILD
===================================================================
--- testing-i686/PKGBUILD 2015-09-25 18:57:35 UTC (rev 247494)
+++ testing-i686/PKGBUILD 2015-09-25 18:57:44 UTC (rev 247495)
@@ -1,75 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Andrea Scarpino <andrea at archlinux.org>
-# Contributor: Antonio Rojas
-# Contributor: Alexey D. <lq07829icatm at rambler.ru>
-
-pkgbase=plasma-workspace
-pkgname=('plasma-workspace' 'drkonqi')
-pkgver=5.4.1
-pkgrel=3
-pkgdesc='KDE Plasma Workspace'
-arch=('i686' 'x86_64')
-url='https://projects.kde.org/projects/kde/workspace/plasma-workspace'
-license=('LGPL')
-# note on libxdamage:
-# not detected by namcap because libgl depends on it
-# but nvidia providing libgl does not depend on libxdamage
-depends=('knewstuff' 'kjsembed' 'knotifyconfig' 'libxdamage' 'kwayland'
- 'libksysguard' 'libkscreen' 'ktexteditor' 'libqalculate'
- 'qt5-tools' 'kded' 'kde-cli-tools' 'xorg-xrdb' 'xorg-xsetroot'
- 'xorg-xmessage' 'xorg-xprop' 'milou' 'breeze' 'prison-frameworks')
-makedepends=('extra-cmake-modules' 'kdoctools' 'kwin' 'gpsd' 'baloo'
- 'krunner' 'kxmlrpcclient' 'networkmanager-qt')
-groups=('plasma')
-source=("http://download.kde.org/stable/plasma/${pkgver}/${pkgbase}-${pkgver}.tar.xz"
- 'kde.pam' 'dbus-update-environment.patch')
-md5sums=('0675ac84f739218cd1a17cfdc3d91e22'
- '378ee33a9ec2870a1a899f2e05ee00d4'
- '93414bae74d99b1ded7e8d7bd65b8882')
-
-prepare() {
- mkdir build
-
- cd ${pkgbase}-${pkgver}
- # sends env vars to existing dbus
- patch -p1 -i "${srcdir}"/dbus-update-environment.patch
- # be sure to use the Qt5 version of qtpaths
- sed -i 's:qtpaths:qtpaths-qt5:' startkde/startkde.cmake
-}
-
-build() {
- cd build
- cmake ../${pkgbase}-${pkgver} \
- -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
- make
-}
-
-package_plasma-workspace() {
- optdepends=('plasma-workspace-wallpapers: additional wallpapers'
- 'gpsd: GPS based geolocation' 'networkmanager-qt: IP based geolocation')
- conflicts=('kdebase-workspace')
-
- cd build
- make DESTDIR="${pkgdir}" install
-
- install -Dm644 "${srcdir}"/kde.pam \
- "${pkgdir}"/etc/pam.d/kde
-
- # Remove conflicts with drkonqi
- rm "${pkgdir}"/usr/lib/drkonqi
- rm -r "${pkgdir}"/usr/share/drkonqi
-}
-
-package_drkonqi() {
- pkgdesc='KDE crash handler'
- depends=('kdewebkit' 'kxmlrpcclient' 'gdb')
-
- cd build/drkonqi
- make DESTDIR="${pkgdir}" install
-}
Copied: plasma-workspace/repos/testing-i686/PKGBUILD (from rev 247493, plasma-workspace/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2015-09-25 18:57:44 UTC (rev 247495)
@@ -0,0 +1,75 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Antonio Rojas
+# Contributor: Alexey D. <lq07829icatm at rambler.ru>
+
+pkgbase=plasma-workspace
+pkgname=('plasma-workspace' 'drkonqi')
+pkgver=5.4.1
+pkgrel=4
+pkgdesc='KDE Plasma Workspace'
+arch=('i686' 'x86_64')
+url='https://projects.kde.org/projects/kde/workspace/plasma-workspace'
+license=('LGPL')
+# note on libxdamage:
+# not detected by namcap because libgl depends on it
+# but nvidia providing libgl does not depend on libxdamage
+depends=('knewstuff' 'kjsembed' 'knotifyconfig' 'libxdamage' 'kwayland'
+ 'libksysguard' 'libkscreen' 'ktexteditor' 'libqalculate'
+ 'qt5-tools' 'kded' 'kde-cli-tools' 'xorg-xrdb' 'xorg-xsetroot'
+ 'xorg-xmessage' 'xorg-xprop' 'milou' 'breeze' 'prison-frameworks')
+makedepends=('extra-cmake-modules' 'kdoctools' 'kwin' 'gpsd' 'baloo'
+ 'krunner' 'kxmlrpcclient' 'networkmanager-qt')
+groups=('plasma')
+source=("http://download.kde.org/stable/plasma/${pkgver}/${pkgbase}-${pkgver}.tar.xz"
+ 'kde.pam' 'dbus-update-environment.patch')
+md5sums=('0675ac84f739218cd1a17cfdc3d91e22'
+ '378ee33a9ec2870a1a899f2e05ee00d4'
+ '5ca1a098128753c12b23ee316d9ee78e')
+
+prepare() {
+ mkdir build
+
+ cd ${pkgbase}-${pkgver}
+ # sends env vars to existing dbus
+ patch -p1 -i "${srcdir}"/dbus-update-environment.patch
+ # be sure to use the Qt5 version of qtpaths
+ sed -i 's:qtpaths:qtpaths-qt5:' startkde/startkde.cmake
+}
+
+build() {
+ cd build
+ cmake ../${pkgbase}-${pkgver} \
+ -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
+ make
+}
+
+package_plasma-workspace() {
+ optdepends=('plasma-workspace-wallpapers: additional wallpapers'
+ 'gpsd: GPS based geolocation' 'networkmanager-qt: IP based geolocation')
+ conflicts=('kdebase-workspace')
+
+ cd build
+ make DESTDIR="${pkgdir}" install
+
+ install -Dm644 "${srcdir}"/kde.pam \
+ "${pkgdir}"/etc/pam.d/kde
+
+ # Remove conflicts with drkonqi
+ rm "${pkgdir}"/usr/lib/drkonqi
+ rm -r "${pkgdir}"/usr/share/drkonqi
+}
+
+package_drkonqi() {
+ pkgdesc='KDE crash handler'
+ depends=('kdewebkit' 'kxmlrpcclient' 'gdb')
+
+ cd build/drkonqi
+ make DESTDIR="${pkgdir}" install
+}
Deleted: testing-i686/dbus-update-environment.patch
===================================================================
--- testing-i686/dbus-update-environment.patch 2015-09-25 18:57:35 UTC (rev 247494)
+++ testing-i686/dbus-update-environment.patch 2015-09-25 18:57:44 UTC (rev 247495)
@@ -1,24 +0,0 @@
-diff -u -r plasma-workspace-5.4.1/startkde/startkde.cmake plasma-workspace-5.4.1-dbus/startkde/startkde.cmake
---- plasma-workspace-5.4.1/startkde/startkde.cmake 2015-09-25 19:12:09.630988076 +0200
-+++ plasma-workspace-5.4.1-dbus/startkde/startkde.cmake 2015-09-25 19:15:07.320598595 +0200
-@@ -286,6 +286,8 @@
- # D-Bus autolaunch is broken
- if test -z "$DBUS_SESSION_BUS_ADDRESS" ; then
- eval `dbus-launch --sh-syntax --exit-with-session`
-+elif which dbus-update-activation-environment >/dev/null 2>/dev/null ; then
-+ dbus-update-activation-environment --systemd --all
- fi
- if $qdbus >/dev/null 2>/dev/null; then
- : # ok
-diff -u -r plasma-workspace-5.4.1/startkde/startplasmacompositor.cmake plasma-workspace-5.4.1-dbus/startkde/startplasmacompositor.cmake
---- plasma-workspace-5.4.1/startkde/startplasmacompositor.cmake 2015-09-03 12:26:33.000000000 +0200
-+++ plasma-workspace-5.4.1-dbus/startkde/startplasmacompositor.cmake 2015-09-25 19:15:17.150577050 +0200
-@@ -163,6 +163,8 @@
- # D-Bus autolaunch is broken
- if test -z "$DBUS_SESSION_BUS_ADDRESS" ; then
- eval `dbus-launch --sh-syntax --exit-with-session`
-+elif which dbus-update-activation-environment >/dev/null 2>/dev/null ; then
-+ dbus-update-activation-environment --systemd --all
- fi
- if $qdbus >/dev/null 2>/dev/null; then
- : # ok
Copied: plasma-workspace/repos/testing-i686/dbus-update-environment.patch (from rev 247493, plasma-workspace/trunk/dbus-update-environment.patch)
===================================================================
--- testing-i686/dbus-update-environment.patch (rev 0)
+++ testing-i686/dbus-update-environment.patch 2015-09-25 18:57:44 UTC (rev 247495)
@@ -0,0 +1,54 @@
+From 195a2f24ea87d642c654ad6e06f3fede4fb66c64 Mon Sep 17 00:00:00 2001
+From: "Jan Alexander Steffens (heftig)" <jan.steffens at gmail.com>
+Date: Fri, 25 Sep 2015 19:27:29 +0200
+Subject: [PATCH] [startkde] Use dbus-update-activation-environment
+
+The difference to ksyncdbusenv is that d-u-a-e can update systemd's
+environment, too. This is only important if a userspace (dbus-daemon) bus
+is used and service files make use of SystemdService to have dbus-daemon
+tell systemd to start the service.
+
+In the kernel bus (kdbus) case, systemd's environment gets updated when
+org.freedesktop.dbus.UpdateActivationEnvironment is called.
+---
+ startkde/startkde.cmake | 6 +++++-
+ startkde/startplasmacompositor.cmake | 6 +++++-
+ 2 files changed, 10 insertions(+), 2 deletions(-)
+
+diff --git a/startkde/startkde.cmake b/startkde/startkde.cmake
+index b034b96..f5748dc 100644
+--- a/startkde/startkde.cmake
++++ b/startkde/startkde.cmake
+@@ -343,7 +343,11 @@ if test -n "$PAM_KWALLET5_LOGIN" ; then
+ fi
+
+ # At this point all environment variables are set, let's send it to the DBus session server to update the activation environment
+- at CMAKE_INSTALL_FULL_LIBEXECDIR@/ksyncdbusenv
++if which dbus-update-activation-environment >/dev/null 2>/dev/null ; then
++ dbus-update-activation-environment --systemd --all
++else
++ @CMAKE_INSTALL_FULL_LIBEXECDIR@/ksyncdbusenv
++fi
+ if test $? -ne 0; then
+ # Startup error
+ echo 'startkde: Could not sync environment to dbus.' 1>&2
+diff --git a/startkde/startplasmacompositor.cmake b/startkde/startplasmacompositor.cmake
+index d8ed68e..17f5881 100644
+--- a/startkde/startplasmacompositor.cmake
++++ b/startkde/startplasmacompositor.cmake
+@@ -212,7 +212,11 @@ QT_QPA_PLATFORM=wayland
+ export QT_QPA_PLATFORM
+
+ # At this point all environment variables are set, let's send it to the DBus session server to update the activation environment
+- at CMAKE_INSTALL_FULL_LIBEXECDIR@/ksyncdbusenv
++if which dbus-update-activation-environment >/dev/null 2>/dev/null ; then
++ dbus-update-activation-environment --systemd --all
++else
++ @CMAKE_INSTALL_FULL_LIBEXECDIR@/ksyncdbusenv
++fi
+ if test $? -ne 0; then
+ # Startup error
+ echo 'startplasmacompositor: Could not sync environment to dbus.' 1>&2
+--
+2.4.6
+
Deleted: testing-i686/kde.pam
===================================================================
--- testing-i686/kde.pam 2015-09-25 18:57:35 UTC (rev 247494)
+++ testing-i686/kde.pam 2015-09-25 18:57:44 UTC (rev 247495)
@@ -1,9 +0,0 @@
-#%PAM-1.0
-
-auth include system-login
-
-account include system-login
-
-password include system-login
-
-session include system-login
Copied: plasma-workspace/repos/testing-i686/kde.pam (from rev 247493, plasma-workspace/trunk/kde.pam)
===================================================================
--- testing-i686/kde.pam (rev 0)
+++ testing-i686/kde.pam 2015-09-25 18:57:44 UTC (rev 247495)
@@ -0,0 +1,9 @@
+#%PAM-1.0
+
+auth include system-login
+
+account include system-login
+
+password include system-login
+
+session include system-login
Deleted: testing-x86_64/PKGBUILD
===================================================================
--- testing-x86_64/PKGBUILD 2015-09-25 18:57:35 UTC (rev 247494)
+++ testing-x86_64/PKGBUILD 2015-09-25 18:57:44 UTC (rev 247495)
@@ -1,75 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Andrea Scarpino <andrea at archlinux.org>
-# Contributor: Antonio Rojas
-# Contributor: Alexey D. <lq07829icatm at rambler.ru>
-
-pkgbase=plasma-workspace
-pkgname=('plasma-workspace' 'drkonqi')
-pkgver=5.4.1
-pkgrel=3
-pkgdesc='KDE Plasma Workspace'
-arch=('i686' 'x86_64')
-url='https://projects.kde.org/projects/kde/workspace/plasma-workspace'
-license=('LGPL')
-# note on libxdamage:
-# not detected by namcap because libgl depends on it
-# but nvidia providing libgl does not depend on libxdamage
-depends=('knewstuff' 'kjsembed' 'knotifyconfig' 'libxdamage' 'kwayland'
- 'libksysguard' 'libkscreen' 'ktexteditor' 'libqalculate'
- 'qt5-tools' 'kded' 'kde-cli-tools' 'xorg-xrdb' 'xorg-xsetroot'
- 'xorg-xmessage' 'xorg-xprop' 'milou' 'breeze' 'prison-frameworks')
-makedepends=('extra-cmake-modules' 'kdoctools' 'kwin' 'gpsd' 'baloo'
- 'krunner' 'kxmlrpcclient' 'networkmanager-qt')
-groups=('plasma')
-source=("http://download.kde.org/stable/plasma/${pkgver}/${pkgbase}-${pkgver}.tar.xz"
- 'kde.pam' 'dbus-update-environment.patch')
-md5sums=('0675ac84f739218cd1a17cfdc3d91e22'
- '378ee33a9ec2870a1a899f2e05ee00d4'
- '93414bae74d99b1ded7e8d7bd65b8882')
-
-prepare() {
- mkdir build
-
- cd ${pkgbase}-${pkgver}
- # sends env vars to existing dbus
- patch -p1 -i "${srcdir}"/dbus-update-environment.patch
- # be sure to use the Qt5 version of qtpaths
- sed -i 's:qtpaths:qtpaths-qt5:' startkde/startkde.cmake
-}
-
-build() {
- cd build
- cmake ../${pkgbase}-${pkgver} \
- -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
- make
-}
-
-package_plasma-workspace() {
- optdepends=('plasma-workspace-wallpapers: additional wallpapers'
- 'gpsd: GPS based geolocation' 'networkmanager-qt: IP based geolocation')
- conflicts=('kdebase-workspace')
-
- cd build
- make DESTDIR="${pkgdir}" install
-
- install -Dm644 "${srcdir}"/kde.pam \
- "${pkgdir}"/etc/pam.d/kde
-
- # Remove conflicts with drkonqi
- rm "${pkgdir}"/usr/lib/drkonqi
- rm -r "${pkgdir}"/usr/share/drkonqi
-}
-
-package_drkonqi() {
- pkgdesc='KDE crash handler'
- depends=('kdewebkit' 'kxmlrpcclient' 'gdb')
-
- cd build/drkonqi
- make DESTDIR="${pkgdir}" install
-}
Copied: plasma-workspace/repos/testing-x86_64/PKGBUILD (from rev 247493, plasma-workspace/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2015-09-25 18:57:44 UTC (rev 247495)
@@ -0,0 +1,75 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Antonio Rojas
+# Contributor: Alexey D. <lq07829icatm at rambler.ru>
+
+pkgbase=plasma-workspace
+pkgname=('plasma-workspace' 'drkonqi')
+pkgver=5.4.1
+pkgrel=4
+pkgdesc='KDE Plasma Workspace'
+arch=('i686' 'x86_64')
+url='https://projects.kde.org/projects/kde/workspace/plasma-workspace'
+license=('LGPL')
+# note on libxdamage:
+# not detected by namcap because libgl depends on it
+# but nvidia providing libgl does not depend on libxdamage
+depends=('knewstuff' 'kjsembed' 'knotifyconfig' 'libxdamage' 'kwayland'
+ 'libksysguard' 'libkscreen' 'ktexteditor' 'libqalculate'
+ 'qt5-tools' 'kded' 'kde-cli-tools' 'xorg-xrdb' 'xorg-xsetroot'
+ 'xorg-xmessage' 'xorg-xprop' 'milou' 'breeze' 'prison-frameworks')
+makedepends=('extra-cmake-modules' 'kdoctools' 'kwin' 'gpsd' 'baloo'
+ 'krunner' 'kxmlrpcclient' 'networkmanager-qt')
+groups=('plasma')
+source=("http://download.kde.org/stable/plasma/${pkgver}/${pkgbase}-${pkgver}.tar.xz"
+ 'kde.pam' 'dbus-update-environment.patch')
+md5sums=('0675ac84f739218cd1a17cfdc3d91e22'
+ '378ee33a9ec2870a1a899f2e05ee00d4'
+ '5ca1a098128753c12b23ee316d9ee78e')
+
+prepare() {
+ mkdir build
+
+ cd ${pkgbase}-${pkgver}
+ # sends env vars to existing dbus
+ patch -p1 -i "${srcdir}"/dbus-update-environment.patch
+ # be sure to use the Qt5 version of qtpaths
+ sed -i 's:qtpaths:qtpaths-qt5:' startkde/startkde.cmake
+}
+
+build() {
+ cd build
+ cmake ../${pkgbase}-${pkgver} \
+ -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
+ make
+}
+
+package_plasma-workspace() {
+ optdepends=('plasma-workspace-wallpapers: additional wallpapers'
+ 'gpsd: GPS based geolocation' 'networkmanager-qt: IP based geolocation')
+ conflicts=('kdebase-workspace')
+
+ cd build
+ make DESTDIR="${pkgdir}" install
+
+ install -Dm644 "${srcdir}"/kde.pam \
+ "${pkgdir}"/etc/pam.d/kde
+
+ # Remove conflicts with drkonqi
+ rm "${pkgdir}"/usr/lib/drkonqi
+ rm -r "${pkgdir}"/usr/share/drkonqi
+}
+
+package_drkonqi() {
+ pkgdesc='KDE crash handler'
+ depends=('kdewebkit' 'kxmlrpcclient' 'gdb')
+
+ cd build/drkonqi
+ make DESTDIR="${pkgdir}" install
+}
Deleted: testing-x86_64/dbus-update-environment.patch
===================================================================
--- testing-x86_64/dbus-update-environment.patch 2015-09-25 18:57:35 UTC (rev 247494)
+++ testing-x86_64/dbus-update-environment.patch 2015-09-25 18:57:44 UTC (rev 247495)
@@ -1,24 +0,0 @@
-diff -u -r plasma-workspace-5.4.1/startkde/startkde.cmake plasma-workspace-5.4.1-dbus/startkde/startkde.cmake
---- plasma-workspace-5.4.1/startkde/startkde.cmake 2015-09-25 19:12:09.630988076 +0200
-+++ plasma-workspace-5.4.1-dbus/startkde/startkde.cmake 2015-09-25 19:15:07.320598595 +0200
-@@ -286,6 +286,8 @@
- # D-Bus autolaunch is broken
- if test -z "$DBUS_SESSION_BUS_ADDRESS" ; then
- eval `dbus-launch --sh-syntax --exit-with-session`
-+elif which dbus-update-activation-environment >/dev/null 2>/dev/null ; then
-+ dbus-update-activation-environment --systemd --all
- fi
- if $qdbus >/dev/null 2>/dev/null; then
- : # ok
-diff -u -r plasma-workspace-5.4.1/startkde/startplasmacompositor.cmake plasma-workspace-5.4.1-dbus/startkde/startplasmacompositor.cmake
---- plasma-workspace-5.4.1/startkde/startplasmacompositor.cmake 2015-09-03 12:26:33.000000000 +0200
-+++ plasma-workspace-5.4.1-dbus/startkde/startplasmacompositor.cmake 2015-09-25 19:15:17.150577050 +0200
-@@ -163,6 +163,8 @@
- # D-Bus autolaunch is broken
- if test -z "$DBUS_SESSION_BUS_ADDRESS" ; then
- eval `dbus-launch --sh-syntax --exit-with-session`
-+elif which dbus-update-activation-environment >/dev/null 2>/dev/null ; then
-+ dbus-update-activation-environment --systemd --all
- fi
- if $qdbus >/dev/null 2>/dev/null; then
- : # ok
Copied: plasma-workspace/repos/testing-x86_64/dbus-update-environment.patch (from rev 247494, plasma-workspace/trunk/dbus-update-environment.patch)
===================================================================
--- testing-x86_64/dbus-update-environment.patch (rev 0)
+++ testing-x86_64/dbus-update-environment.patch 2015-09-25 18:57:44 UTC (rev 247495)
@@ -0,0 +1,54 @@
+From 195a2f24ea87d642c654ad6e06f3fede4fb66c64 Mon Sep 17 00:00:00 2001
+From: "Jan Alexander Steffens (heftig)" <jan.steffens at gmail.com>
+Date: Fri, 25 Sep 2015 19:27:29 +0200
+Subject: [PATCH] [startkde] Use dbus-update-activation-environment
+
+The difference to ksyncdbusenv is that d-u-a-e can update systemd's
+environment, too. This is only important if a userspace (dbus-daemon) bus
+is used and service files make use of SystemdService to have dbus-daemon
+tell systemd to start the service.
+
+In the kernel bus (kdbus) case, systemd's environment gets updated when
+org.freedesktop.dbus.UpdateActivationEnvironment is called.
+---
+ startkde/startkde.cmake | 6 +++++-
+ startkde/startplasmacompositor.cmake | 6 +++++-
+ 2 files changed, 10 insertions(+), 2 deletions(-)
+
+diff --git a/startkde/startkde.cmake b/startkde/startkde.cmake
+index b034b96..f5748dc 100644
+--- a/startkde/startkde.cmake
++++ b/startkde/startkde.cmake
+@@ -343,7 +343,11 @@ if test -n "$PAM_KWALLET5_LOGIN" ; then
+ fi
+
+ # At this point all environment variables are set, let's send it to the DBus session server to update the activation environment
+- at CMAKE_INSTALL_FULL_LIBEXECDIR@/ksyncdbusenv
++if which dbus-update-activation-environment >/dev/null 2>/dev/null ; then
++ dbus-update-activation-environment --systemd --all
++else
++ @CMAKE_INSTALL_FULL_LIBEXECDIR@/ksyncdbusenv
++fi
+ if test $? -ne 0; then
+ # Startup error
+ echo 'startkde: Could not sync environment to dbus.' 1>&2
+diff --git a/startkde/startplasmacompositor.cmake b/startkde/startplasmacompositor.cmake
+index d8ed68e..17f5881 100644
+--- a/startkde/startplasmacompositor.cmake
++++ b/startkde/startplasmacompositor.cmake
+@@ -212,7 +212,11 @@ QT_QPA_PLATFORM=wayland
+ export QT_QPA_PLATFORM
+
+ # At this point all environment variables are set, let's send it to the DBus session server to update the activation environment
+- at CMAKE_INSTALL_FULL_LIBEXECDIR@/ksyncdbusenv
++if which dbus-update-activation-environment >/dev/null 2>/dev/null ; then
++ dbus-update-activation-environment --systemd --all
++else
++ @CMAKE_INSTALL_FULL_LIBEXECDIR@/ksyncdbusenv
++fi
+ if test $? -ne 0; then
+ # Startup error
+ echo 'startplasmacompositor: Could not sync environment to dbus.' 1>&2
+--
+2.4.6
+
Deleted: testing-x86_64/kde.pam
===================================================================
--- testing-x86_64/kde.pam 2015-09-25 18:57:35 UTC (rev 247494)
+++ testing-x86_64/kde.pam 2015-09-25 18:57:44 UTC (rev 247495)
@@ -1,9 +0,0 @@
-#%PAM-1.0
-
-auth include system-login
-
-account include system-login
-
-password include system-login
-
-session include system-login
Copied: plasma-workspace/repos/testing-x86_64/kde.pam (from rev 247494, plasma-workspace/trunk/kde.pam)
===================================================================
--- testing-x86_64/kde.pam (rev 0)
+++ testing-x86_64/kde.pam 2015-09-25 18:57:44 UTC (rev 247495)
@@ -0,0 +1,9 @@
+#%PAM-1.0
+
+auth include system-login
+
+account include system-login
+
+password include system-login
+
+session include system-login
More information about the arch-commits
mailing list