From 2e0b2d3b77efa9d4647ede5cbfa7fd6fc9dd9cc9 Mon Sep 17 00:00:00 2001 From: Iván Ávalos Date: Jul 24 2021 01:24:58 +0000 Subject: [PATCH 1/2] Upgraded libksysguard from 5.19.0 to 5.22.0 --- diff --git a/libre/libksysguard/PKGBUILD b/libre/libksysguard/PKGBUILD index c5eece1..d01eab9 100644 --- a/libre/libksysguard/PKGBUILD +++ b/libre/libksysguard/PKGBUILD @@ -4,7 +4,7 @@ # Contributor: grizzlyuser pkgname=libksysguard -pkgver=5.19.0 +pkgver=5.22.0 pkgrel=2 pkgrel+=.parabola1 pkgdesc='Library to retrieve information on the current status of computer hardware' @@ -14,21 +14,18 @@ arch+=(i686 armv7h) url='https://www.kde.org/workspaces/plasmadesktop/' license=(LGPL) depends=(libxres kio kdeclarative knewstuff qt5-webchannel) -makedepends=(extra-cmake-modules kdoctools plasma-framework) +makedepends=(extra-cmake-modules kdoctools plasma-framework qt5-tools) groups=(plasma) source=("https://download.kde.org/stable/plasma/$pkgver/$pkgname-$pkgver.tar.xz"{,.sig} libksysguard-dbus-name.patch::"https://invent.kde.org/plasma/libksysguard/-/commit/27da06df.patch") -sha256sums=('f026b65372aa49b1f72a7c8029cb3d7afd131de9592cc5392fe05771a4da26d3' +sha256sums=('a2d3973aaf7d5c4a1cb6dd463ec8183dd4e9a6c6b851df4b8824f8dd562607a9' 'SKIP' - '50054408ed31642bd543f6e103cd7fb241ad1eba74102c68269c4d0459b396c6') + '69a0d392d51004729efacde63063de39b7b91657c3bf95694fe16e8230e698a0') validpgpkeys=('2D1D5B0588357787DE9EE225EC94D18F7F05997E' # Jonathan Riddell '0AAC775BB6437A8D9AF7A3ACFE0784117FBCE11D' # Bhushan Shah 'D07BD8662C56CB291B316EB2F5675605C74E02CF' # David Edmundson '1FA881591C26B276D7A5518EEAAF29B42A678C20') # Marco Martin -prepare() { - patch -d $pkgname-$pkgver -p1 -i ../libksysguard-dbus-name.patch # Fix ksystemstats dbus interface name -} build() { cmake -B build -S $pkgname-$pkgver \ From 4b70f835c067353ac8f16948c18fc3797800979c Mon Sep 17 00:00:00 2001 From: Iván Ávalos Date: Jul 24 2021 01:24:58 +0000 Subject: [PATCH 2/2] Upgraded libksysguard from 5.22.0 to 5.22.3 --- diff --git a/libre/libksysguard/PKGBUILD b/libre/libksysguard/PKGBUILD index d01eab9..62825bd 100644 --- a/libre/libksysguard/PKGBUILD +++ b/libre/libksysguard/PKGBUILD @@ -1,34 +1,33 @@ -# Maintainer (Arch): Felix Yan -# Maintainer (Arch): Antonio Rojas -# Contributor (Arch): Andrea Scarpino # Contributor: grizzlyuser + pkgname=libksysguard -pkgver=5.22.0 -pkgrel=2 +pkgver=5.22.3 +pkgrel=1 pkgrel+=.parabola1 pkgdesc='Library to retrieve information on the current status of computer hardware' pkgdesc+=' (without nonfree qt5-webengine)' arch=(x86_64) arch+=(i686 armv7h) -url='https://www.kde.org/workspaces/plasmadesktop/' +url='https://kde.org/plasma-desktop/' license=(LGPL) -depends=(libxres kio kdeclarative knewstuff qt5-webchannel) -makedepends=(extra-cmake-modules kdoctools plasma-framework qt5-tools) +depends=(libxres kdeclarative knewstuff) +depends+=(qt5-webchannel) +makedepends=(extra-cmake-modules kdoctools qt5-tools) +conflicts=('ksysguard<5.21.90') groups=(plasma) -source=("https://download.kde.org/stable/plasma/$pkgver/$pkgname-$pkgver.tar.xz"{,.sig} - libksysguard-dbus-name.patch::"https://invent.kde.org/plasma/libksysguard/-/commit/27da06df.patch") -sha256sums=('a2d3973aaf7d5c4a1cb6dd463ec8183dd4e9a6c6b851df4b8824f8dd562607a9' - 'SKIP' - '69a0d392d51004729efacde63063de39b7b91657c3bf95694fe16e8230e698a0') +source=(https://download.kde.org/stable/plasma/$pkgver/$pkgname-$pkgver.tar.xz{,.sig}) +install=libksysguard.install +sha256sums=('50b6f881483f3c66843a8506f66cd5bec190b7b980cf9d2ed84c774edea8596a' + 'SKIP') validpgpkeys=('2D1D5B0588357787DE9EE225EC94D18F7F05997E' # Jonathan Riddell '0AAC775BB6437A8D9AF7A3ACFE0784117FBCE11D' # Bhushan Shah 'D07BD8662C56CB291B316EB2F5675605C74E02CF' # David Edmundson '1FA881591C26B276D7A5518EEAAF29B42A678C20') # Marco Martin - build() { cmake -B build -S $pkgname-$pkgver \ + -DCMAKE_INSTALL_LIBEXECDIR=lib \ -DBUILD_TESTING=OFF cmake --build build } diff --git a/libre/libksysguard/libksysguard.install b/libre/libksysguard/libksysguard.install new file mode 100644 index 0000000..891b1d4 --- /dev/null +++ b/libre/libksysguard/libksysguard.install @@ -0,0 +1,9 @@ +post_install() { +# this is executed by make install, but doesn't work since setcap can only be run as root + setcap CAP_NET_RAW=+ep /usr/lib/ksysguard/ksgrd_network_helper +} + +post_upgrade() { + post_install +} +