[arch-commits] Commit in plasma-workspace/repos (4 files)

Antonio Rojas arojas at archlinux.org
Wed Aug 5 12:05:54 UTC 2020


    Date: Wednesday, August 5, 2020 @ 12:05:54
  Author: arojas
Revision: 393176

archrelease: copy trunk to staging-x86_64

Added:
  plasma-workspace/repos/staging-x86_64/
  plasma-workspace/repos/staging-x86_64/PKGBUILD
    (from rev 393175, plasma-workspace/trunk/PKGBUILD)
  plasma-workspace/repos/staging-x86_64/kde.pam
    (from rev 393175, plasma-workspace/trunk/kde.pam)
  plasma-workspace/repos/staging-x86_64/plasma-workspace-gpsd-3.21.patch
    (from rev 393175, plasma-workspace/trunk/plasma-workspace-gpsd-3.21.patch)

----------------------------------+
 PKGBUILD                         |   67 +++++++++++++++++++++++++++++++++++++
 kde.pam                          |    9 ++++
 plasma-workspace-gpsd-3.21.patch |   16 ++++++++
 3 files changed, 92 insertions(+)

Copied: plasma-workspace/repos/staging-x86_64/PKGBUILD (from rev 393175, plasma-workspace/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2020-08-05 12:05:54 UTC (rev 393176)
@@ -0,0 +1,67 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Alexey D. <lq07829icatm at rambler.ru>
+
+pkgbase=plasma-workspace
+pkgname=(plasma-workspace plasma-wayland-session)
+pkgver=5.19.4
+pkgrel=2
+pkgdesc='KDE Plasma Workspace'
+arch=(x86_64)
+url='https://www.kde.org/workspaces/plasmadesktop/'
+license=(LGPL)
+depends=(knotifyconfig libksysguard ktexteditor libqalculate kde-cli-tools appstream-qt phonon-qt5
+         xorg-xrdb xorg-xsetroot kactivitymanagerd kholidays xorg-xmessage milou prison kwin
+         plasma-integration kdelibs4support kpeople kactivities-stats libkscreen kquickcharts kuserfeedback)
+makedepends=(extra-cmake-modules kdoctools gpsd baloo networkmanager-qt kdesignerplugin kinit)
+groups=(plasma)
+source=("https://download.kde.org/stable/plasma/$pkgver/$pkgbase-$pkgver.tar.xz"{,.sig} kde.pam
+         plasma-workspace-gpsd-3.21.patch)
+sha256sums=('584fada178f8a3d770080e1faa631cb64eebbf70af89f5d611ac9438fa868bd3'
+            'SKIP'
+            '00090291204baabe9d6857d3b1419832376dd2e279087d718b64792691e86739'
+            '27bdc2f751cb6a418d4cf08b08d260ec5621dc3190418fcea9fa80870f857348')
+validpgpkeys=('2D1D5B0588357787DE9EE225EC94D18F7F05997E'  # Jonathan Riddell <jr at jriddell.org>
+              '0AAC775BB6437A8D9AF7A3ACFE0784117FBCE11D'  # Bhushan Shah <bshah at kde.org>
+              'D07BD8662C56CB291B316EB2F5675605C74E02CF'  # David Edmundson <davidedmundson at kde.org>
+              '1FA881591C26B276D7A5518EEAAF29B42A678C20') # Marco Martin <notmart at gmail.com>
+
+prepare() {
+  patch -d $pkgbase-$pkgver -p1 -i ../plasma-workspace-gpsd-3.21.patch # Fix build with gpsd 3.21
+
+  sed -e 's|dbus-run-session ||' -i $pkgbase-$pkgver/login-sessions/plasmawayland.desktop.cmake # Don't start a second user dbus session
+}
+
+build() {
+  cmake -B build -S $pkgbase-$pkgver \
+    -DCMAKE_INSTALL_LIBEXECDIR=lib \
+    -DBUILD_TESTING=OFF
+  cmake --build build
+}
+
+package_plasma-workspace() {
+  optdepends=('plasma-workspace-wallpapers: additional wallpapers'
+              'gpsd: GPS based geolocation' 'networkmanager-qt: IP based geolocation'
+              'kdepim-addons: displaying PIM events in the calendar'
+              'appmenu-gtk-module: global menu support for GTK2 and some GTK3 applications'
+              'qt5-virtualkeyboard: virtual keyboard support in lock screen'
+              'baloo: Baloo search runner' 'discover: manage applications installation from the launcher')
+  provides=(notification-daemon)
+  backup=('etc/pam.d/kde')
+
+  DESTDIR="$pkgdir" cmake --install build
+
+  install -Dm644 "$srcdir"/kde.pam "$pkgdir"/etc/pam.d/kde
+
+  # Split plasma-wayland scripts
+  rm -r "$pkgdir"/usr/share/wayland-sessions
+}
+
+package_plasma-wayland-session() {
+  pkgdesc='Plasma Wayland session'
+  depends=(plasma-workspace qt5-wayland kwayland-integration xorg-server-xwayland)
+  groups=()
+
+  install -Dm644 build/login-sessions/plasmawayland.desktop "$pkgdir"/usr/share/wayland-sessions/plasmawayland.desktop
+}

Copied: plasma-workspace/repos/staging-x86_64/kde.pam (from rev 393175, plasma-workspace/trunk/kde.pam)
===================================================================
--- staging-x86_64/kde.pam	                        (rev 0)
+++ staging-x86_64/kde.pam	2020-08-05 12:05:54 UTC (rev 393176)
@@ -0,0 +1,9 @@
+#%PAM-1.0
+
+auth            include         system-login
+
+account         include         system-login
+
+password        include         system-login
+
+session         include         system-login

Copied: plasma-workspace/repos/staging-x86_64/plasma-workspace-gpsd-3.21.patch (from rev 393175, plasma-workspace/trunk/plasma-workspace-gpsd-3.21.patch)
===================================================================
--- staging-x86_64/plasma-workspace-gpsd-3.21.patch	                        (rev 0)
+++ staging-x86_64/plasma-workspace-gpsd-3.21.patch	2020-08-05 12:05:54 UTC (rev 393176)
@@ -0,0 +1,16 @@
+diff --git a/dataengines/geolocation/location_gps.cpp b/dataengines/geolocation/location_gps.cpp
+index 021c29ac5..476117ca3 100644
+--- a/dataengines/geolocation/location_gps.cpp
++++ b/dataengines/geolocation/location_gps.cpp
+@@ -65,7 +65,11 @@ void Gpsd::run()
+             if (m_gpsdata->online) {
+ #endif
+                 //qDebug() << "online";
++#if GPSD_API_MAJOR_VERSION >= 10
++                if (m_gpsdata->fix.status != STATUS_NO_FIX) {
++#else
+                 if (m_gpsdata->status != STATUS_NO_FIX) {
++#endif
+                     //qDebug() << "fix";
+                     d["accuracy"] = 30;
+                     d["latitude"] = QString::number(m_gpsdata->fix.latitude);


More information about the arch-commits mailing list