xfce4-systemload-plugin: update to 1.3.3.

This commit is contained in:
Đoàn Trần Công Danh 2024-12-29 17:58:32 +07:00
parent e099e5e2f9
commit d4c9c2182d
2 changed files with 4 additions and 30 deletions

View File

@ -1,25 +0,0 @@
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)
---
panel-plugin/network.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/panel-plugin/network.cc b/panel-plugin/network.cc
index 6a85dab..3de831d 100644
--- 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

View File

@ -1,17 +1,16 @@
# Template file for 'xfce4-systemload-plugin'
pkgname=xfce4-systemload-plugin
version=1.3.2
revision=2
version=1.3.3
revision=1
build_style=gnu-configure
configure_args="--with-locales-dir=/usr/share/locale"
hostmakedepends="pkg-config intltool"
hostmakedepends="pkg-config gettext"
makedepends="xfce4-panel-devel"
short_desc="System load plugin for the Xfce4 panel"
maintainer="Alexander Mamay <alexander@mamay.su>"
license="BSD-2-Clause"
homepage="https://goodies.xfce.org/projects/panel-plugins/xfce4-systemload-plugin"
distfiles="https://archive.xfce.org/src/panel-plugins/${pkgname}/${version%.*}/${pkgname}-${version}.tar.bz2"
checksum=bb303fc3020e053ad1fa0b8fcbf0d7681c5563bb8f649357d6a95a577802b072
checksum=6852d5d9c9a74d0e0db582c6f5fe7390ebe48a2eb5692177ae12e1c4ccc6efc9
post_install() {
vlicense COPYING