* update xfce4-systemload-plugin to 1.3.2-4
This commit is contained in:
parent
fc0cd9db09
commit
68ef491e11
@ -1,15 +1,17 @@
|
||||
pkgbase = xfce4-systemload-plugin
|
||||
pkgdesc = System load plugin for the Xfce panel
|
||||
pkgver = 1.3.2
|
||||
pkgrel = 2
|
||||
url = https://docs.xfce.org/panel-plugins/xfce4-systemload-plugin
|
||||
pkgrel = 4
|
||||
url = https://docs.xfce.org/panel-plugins/xfce4-systemload-plugin/start
|
||||
arch = x86_64
|
||||
groups = xfce4-goodies
|
||||
license = custom
|
||||
license = BSD-2-Clause
|
||||
makedepends = git
|
||||
makedepends = intltool
|
||||
makedepends = xfce4-dev-tools
|
||||
depends = xfce4-panel
|
||||
depends = libgtop
|
||||
source = https://archive.xfce.org/src/panel-plugins/xfce4-systemload-plugin/1.3/xfce4-systemload-plugin-1.3.2.tar.bz2
|
||||
sha256sums = bb303fc3020e053ad1fa0b8fcbf0d7681c5563bb8f649357d6a95a577802b072
|
||||
source = git+https://gitlab.xfce.org/panel-plugins/xfce4-systemload-plugin.git#tag=xfce4-systemload-plugin-1.3.2
|
||||
sha256sums = 93fc07d6216ac83111f5271f1dd76c22799467deb172d502baeaf2d39904625b
|
||||
|
||||
pkgname = xfce4-systemload-plugin
|
||||
|
5
xfce4/xfce4-systemload-plugin/.nvchecker.toml
Normal file
5
xfce4/xfce4-systemload-plugin/.nvchecker.toml
Normal file
@ -0,0 +1,5 @@
|
||||
[xfce4-systemload-plugin]
|
||||
source = "git"
|
||||
git = "https://gitlab.xfce.org/panel-plugins/xfce4-systemload-plugin.git"
|
||||
prefix = "xfce4-systemload-plugin-"
|
||||
exclude_regex = ".*BMEURER.*|0.*|1.*"
|
@ -1,24 +1,34 @@
|
||||
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
|
||||
# Maintainer: Evangelos Foutras <foutrelis@archlinux.org>
|
||||
# Maintainer: Robin Candau <antiz@archlinux.org>
|
||||
# Contributor: AndyRTR <andyrtr@archlinux.org>
|
||||
# Contributor: Aurelien Foret <orelien@chez.com>
|
||||
|
||||
pkgname=xfce4-systemload-plugin
|
||||
pkgver=1.3.2
|
||||
pkgrel=2
|
||||
pkgrel=4
|
||||
pkgdesc="System load plugin for the Xfce panel"
|
||||
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
|
||||
license=('custom')
|
||||
url="https://docs.xfce.org/panel-plugins/xfce4-systemload-plugin"
|
||||
license=('BSD-2-Clause')
|
||||
url="https://docs.xfce.org/panel-plugins/xfce4-systemload-plugin/start"
|
||||
groups=('xfce4-goodies')
|
||||
depends=('xfce4-panel' 'libgtop')
|
||||
makedepends=('intltool')
|
||||
source=(https://archive.xfce.org/src/panel-plugins/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2)
|
||||
sha256sums=('bb303fc3020e053ad1fa0b8fcbf0d7681c5563bb8f649357d6a95a577802b072')
|
||||
makedepends=('git' 'intltool' 'xfce4-dev-tools')
|
||||
source=("git+https://gitlab.xfce.org/panel-plugins/xfce4-systemload-plugin.git#tag=$pkgname-$pkgver"
|
||||
xfce4-systemload-plugin-1.3.2-32bit.patch)
|
||||
sha256sums=('93fc07d6216ac83111f5271f1dd76c22799467deb172d502baeaf2d39904625b'
|
||||
'fb35cfd13c479ed7a3af1d7d36120fab1def9af10b1bcff6fa0cf40224d204f4')
|
||||
|
||||
prepare() {
|
||||
cd $pkgname
|
||||
|
||||
patch -Np1 -i ${srcdir}/xfce4-systemload-plugin-1.3.2-32bit.patch
|
||||
|
||||
NOCONFIGURE=1 ./autogen.sh
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
|
||||
cd $pkgname
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
@ -28,7 +38,7 @@ build() {
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname-$pkgver
|
||||
cd $pkgname
|
||||
make DESTDIR="$pkgdir" install
|
||||
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
|
||||
}
|
||||
|
@ -0,0 +1,22 @@
|
||||
https://bugs.gentoo.org/905084
|
||||
https://gitlab.xfce.org/panel-plugins/xfce4-systemload-plugin/-/issues/25
|
||||
https://gitlab.xfce.org/panel-plugins/xfce4-systemload-plugin/-/commit/13a2e3ecb4b6cf6aad26c6b1d2388ef6922a5c92
|
||||
|
||||
From 13a2e3ecb4b6cf6aad26c6b1d2388ef6922a5c92 Mon Sep 17 00:00:00 2001
|
||||
From: Akbarkhon Variskhanov <akbarkhon.variskhanov@gmail.com>
|
||||
Date: Tue, 20 Dec 2022 13:50:40 +0500
|
||||
Subject: [PATCH] build: Fix failure due to wrong var type (Fixes #25)
|
||||
|
||||
--- a/panel-plugin/network.cc
|
||||
+++ b/panel-plugin/network.cc
|
||||
@@ -114,7 +114,7 @@ read_netload_proc (gulong *bytes)
|
||||
gint
|
||||
read_netload (gulong *net, gulong *NTotal)
|
||||
{
|
||||
- static guint64 bytes[2];
|
||||
+ static gulong bytes[2];
|
||||
static gint64 time[2];
|
||||
|
||||
*net = 0;
|
||||
--
|
||||
GitLab
|
Loading…
x
Reference in New Issue
Block a user