Balló György pushed to branch main at Arch Linux / Packaging / Packages /
gnome-shell-extension-vitals
Commits:
a8cf711a by Balló György at 2024-04-06T00:41:22+02:00
upgpkg: 66.0.1-1: Update to new release
- - - - -
3 changed files:
- .SRCINFO
- PKGBUILD
- − gnome-shell-extension-vitals-swap-details.patch
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,15 +1,13 @@
pkgbase = gnome-shell-extension-vitals
pkgdesc = GNOME Shell extension to display computer's temperature,
voltage, fan speed, memory usage, processor load, system resources, network
speed and storage stats
- pkgver = 66.0.0
- pkgrel = 3
+ pkgver = 66.0.1
+ pkgrel = 1
url = https://github.com/corecoding/Vitals
arch = any
license = GPL-2.0-or-later
depends = gnome-shell
optdepends = libgtop: show storage stats
- source =
gnome-shell-extension-vitals-66.0.0.zip::https://github.com/corecoding/Vitals/releases/download/v66.0.0/vitals.zip
- source = gnome-shell-extension-vitals-swap-details.patch
- sha256sums =
c8b4431e42872dec22ed2c3dc1e625c69ac57d0c2b449ec6117865454bda66d0
- sha256sums =
0bd0d7d297bb18e7e69a22bdaae2755da84565d0f51f478c9a3a0632aa922939
+ source =
gnome-shell-extension-vitals-66.0.1.zip::https://github.com/corecoding/Vitals/releases/download/v66.0.1/vitals.zip
+ sha256sums =
b039982c67929add4e7fd906768df7f07bbdb64bc1a100315995a2887852960f
pkgname = gnome-shell-extension-vitals
=====================================
PKGBUILD
=====================================
@@ -2,24 +2,16 @@
pkgname=gnome-shell-extension-vitals
[email protected]
-pkgver=66.0.0
-pkgrel=3
+pkgver=66.0.1
+pkgrel=1
pkgdesc="GNOME Shell extension to display computer's temperature, voltage, fan
speed, memory usage, processor load, system resources, network speed and
storage stats"
arch=('any')
url='https://github.com/corecoding/Vitals'
license=('GPL-2.0-or-later')
depends=('gnome-shell')
optdepends=('libgtop: show storage stats')
-source=("$pkgname-$pkgver.zip::https://github.com/corecoding/Vitals/releases/download/v$pkgver/vitals.zip"
- 'gnome-shell-extension-vitals-swap-details.patch')
-sha256sums=('c8b4431e42872dec22ed2c3dc1e625c69ac57d0c2b449ec6117865454bda66d0'
- '0bd0d7d297bb18e7e69a22bdaae2755da84565d0f51f478c9a3a0632aa922939')
-
-prepare() {
- # https://github.com/corecoding/Vitals/pull/417
- patch -Np1 -i gnome-shell-extension-vitals-swap-details.patch
- rm *.patch *.zip
-}
+source=("$pkgname-$pkgver.zip::https://github.com/corecoding/Vitals/releases/download/v$pkgver/vitals.zip")
+sha256sums=('b039982c67929add4e7fd906768df7f07bbdb64bc1a100315995a2887852960f')
package() {
install -dm755 "$pkgdir/usr/share/gnome-shell/extensions/$_uuid"
@@ -28,4 +20,5 @@ package() {
mv "$pkgdir"/usr/share/gnome-shell/extensions/*/schemas
"$pkgdir/usr/share/glib-2.0"
mv "$pkgdir"/usr/share/gnome-shell/extensions/*/locale "$pkgdir/usr/share"
rm "$pkgdir/usr/share/glib-2.0/schemas/gschemas.compiled"
+ rm "$pkgdir"/usr/share/gnome-shell/extensions/$_uuid/*.zip
}
=====================================
gnome-shell-extension-vitals-swap-details.patch deleted
=====================================
@@ -1,35 +0,0 @@
-From 9a49363b1e2d3927cfb290013b24b51a426e352e Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Ball=C3=B3=20Gy=C3=B6rgy?= <[email protected]>
-Date: Thu, 28 Mar 2024 08:31:47 +0100
-Subject: [PATCH] Add more details about swap usage
-
-In addition to the used swap, display total and free swap as well as the
percentage of used swap.
----
- sensors.js | 7 ++++++-
- 1 file changed, 6 insertions(+), 1 deletion(-)
-
-diff --git a/sensors.js b/sensors.js
-index 2ba8c2e..d3854d5 100644
---- a/sensors.js
-+++ b/sensors.js
-@@ -140,6 +140,8 @@ export const Sensors = GObject.registerClass({
-
- let used = total - avail
- let utilized = used / total;
-+ let swapUsed = swapTotal - swapFree
-+ let swapUtilized = swapUsed / swapTotal;
-
- this._returnValue(callback, 'Usage', utilized, 'memory',
'percent');
- this._returnValue(callback, 'memory', utilized, 'memory-group',
'percent');
-@@ -148,7 +150,10 @@ export const Sensors = GObject.registerClass({
- this._returnValue(callback, 'Allocated', used, 'memory',
'memory');
- this._returnValue(callback, 'Cached', cached, 'memory', 'memory');
- this._returnValue(callback, 'Free', memFree, 'memory', 'memory');
-- this._returnValue(callback, 'Swap', swapTotal - swapFree,
'memory', 'memory');
-+ this._returnValue(callback, 'Swap Total', swapTotal, 'memory',
'memory');
-+ this._returnValue(callback, 'Swap Free', swapFree, 'memory',
'memory');
-+ this._returnValue(callback, 'Swap Used', swapUsed, 'memory',
'memory');
-+ this._returnValue(callback, 'Swap Usage', swapUtilized, 'memory',
'percent');
- }).catch(err => { });
- }
-
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/gnome-shell-extension-vitals/-/commit/a8cf711a7f1645e9534e47722b39368ee144b85e
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/gnome-shell-extension-vitals/-/commit/a8cf711a7f1645e9534e47722b39368ee144b85e
You're receiving this email because of your account on gitlab.archlinux.org.