[arch-commits] Commit in gkrellm/repos/community-x86_64 (6 files)

Laurent Carlier lcarlier at archlinux.org
Wed Jul 31 06:52:53 UTC 2019


    Date: Wednesday, July 31, 2019 @ 06:52:52
  Author: lcarlier
Revision: 495474

archrelease: copy trunk to community-x86_64

Added:
  gkrellm/repos/community-x86_64/PKGBUILD
    (from rev 495473, gkrellm/trunk/PKGBUILD)
  gkrellm/repos/community-x86_64/fix-critical-warning.patch
    (from rev 495473, gkrellm/trunk/fix-critical-warning.patch)
  gkrellm/repos/community-x86_64/gkrellm.service
    (from rev 495473, gkrellm/trunk/gkrellm.service)
Deleted:
  gkrellm/repos/community-x86_64/PKGBUILD
  gkrellm/repos/community-x86_64/fix-critical-warning.patch
  gkrellm/repos/community-x86_64/gkrellm.service

----------------------------+
 PKGBUILD                   |   82 ++++++++++++++++++-------------------------
 fix-critical-warning.patch |   70 ++++++++++++++++++------------------
 gkrellm.service            |   22 +++++------
 3 files changed, 82 insertions(+), 92 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-07-31 06:52:36 UTC (rev 495473)
+++ PKGBUILD	2019-07-31 06:52:52 UTC (rev 495474)
@@ -1,46 +0,0 @@
-# Maintainer: dorphell <dorphell at archlinux.org>
-# Contributor: Matt Smith (Majik) <darkknight at helpdesk.zaz.net>
-# Contributor: Jaroslav Lichtblau <dragonlord at aur.archlinux.org>
-# Contributor: Jozef Riha <jose1711 at gmail.com>
-# Contributor: Alexander Rødseth <rodseth at gmail.com>
-
-pkgname=gkrellm
-pkgver=2.3.10
-pkgrel=4
-pkgdesc="System monitor package for GTK2"
-arch=('x86_64')
-url="http://gkrellm.srcbox.net/"
-license=('GPL3')
-depends=('gtk2' 'libsm' 'lm_sensors')
-makedepends=('gettext')
-backup=('etc/gkrellmd.conf')
-source=("${url}/releases/${pkgname}-${pkgver}.tar.bz2"
-        "fix-critical-warning.patch"
-        "gkrellm.service")
-sha256sums=('8b9ec8baadcd5830c6aff04ba86dc9ed317a15c1c3787440bd1e680fb2fcd766'
-            '05c02428065b8774637db3efe564fb597e3d9d3d9200e004077fbe9a04412e36'
-            '2829931127632d0391f6749024809594b78c138fe4f03c98cd65fdbd47cea376')
-
-prepare() {
-  cd "$srcdir/$pkgname-$pkgver"
-
-  # Avoid calling g_strstr_len with NULL haystack (FS#51413)
-  # https://git.srcbox.net/gkrellm/commit/?id=3db76c647a04a603bafae19cc699bd50436d66a2
-  patch -Np1 -i ../fix-critical-warning.patch
-}
-
-build() {
-  cd "$srcdir/$pkgname-$pkgver"
-
-  make LOCALEDIR=/usr/share/locale
-}
-
-package() {
-  cd "$srcdir/$pkgname-$pkgver"
-
-  make DESTDIR="$pkgdir" PREFIX=/usr install
-  install -Dm644 "server/gkrellmd.conf" "$pkgdir/etc/gkrellmd.conf"
-  install -Dm644 "../gkrellm.service" "$pkgdir/usr/lib/systemd/system/gkrellm.service"
-}
-
-# vim:set ts=2 sw=2 et:

Copied: gkrellm/repos/community-x86_64/PKGBUILD (from rev 495473, gkrellm/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-07-31 06:52:52 UTC (rev 495474)
@@ -0,0 +1,36 @@
+# Maintainer: dorphell <dorphell at archlinux.org>
+# Contributor: Matt Smith (Majik) <darkknight at helpdesk.zaz.net>
+# Contributor: Jaroslav Lichtblau <dragonlord at aur.archlinux.org>
+# Contributor: Jozef Riha <jose1711 at gmail.com>
+# Contributor: Alexander Rødseth <rodseth at gmail.com>
+
+pkgname=gkrellm
+pkgver=2.3.11
+pkgrel=1
+pkgdesc="System monitor package for GTK2"
+arch=('x86_64')
+url="http://gkrellm.srcbox.net/"
+license=('GPL3')
+depends=('gtk2' 'libsm' 'lm_sensors')
+makedepends=('gettext')
+backup=('etc/gkrellmd.conf')
+source=("${url}/releases/${pkgname}-${pkgver}.tar.bz2"
+        gkrellm.service)
+sha256sums=('1ee0643ed9ed99f88c1504c89d9ccb20780cf29319c904b68e80a8e7c8678c06'
+            '2829931127632d0391f6749024809594b78c138fe4f03c98cd65fdbd47cea376')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  make LOCALEDIR=/usr/share/locale
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  make DESTDIR="$pkgdir" PREFIX=/usr install
+  install -Dm644 "server/gkrellmd.conf" "$pkgdir/etc/gkrellmd.conf"
+  install -Dm644 "../gkrellm.service" "$pkgdir/usr/lib/systemd/system/gkrellm.service"
+}
+
+# vim:set ts=2 sw=2 et:

Deleted: fix-critical-warning.patch
===================================================================
--- fix-critical-warning.patch	2019-07-31 06:52:36 UTC (rev 495473)
+++ fix-critical-warning.patch	2019-07-31 06:52:52 UTC (rev 495474)
@@ -1,35 +0,0 @@
-From 3db76c647a04a603bafae19cc699bd50436d66a2 Mon Sep 17 00:00:00 2001
-From: Jindřich Makovička
-Date: Sat, 20 May 2017 10:34:52 +0200
-Subject: Avoid calling g_strstr_len with NULL haystack
-
----
- src/sysdeps/linux.c | 5 +++++
- 1 file changed, 5 insertions(+)
-
-diff --git a/src/sysdeps/linux.c b/src/sysdeps/linux.c
-index 460a03d..99e7261 100644
---- a/src/sysdeps/linux.c
-+++ b/src/sysdeps/linux.c
-@@ -3157,6 +3157,7 @@ sensors_nvidia_smi_read(gboolean setup)
- 				    || !strcmp(id, ":")
- 				   )
- 					continue;
-+				stmp = str;
- 				if ((str = g_strstr_len(str, -1, "Temperature")) != NULL)
- 					{
- 					str += 11;
-@@ -3185,6 +3186,10 @@ sensors_nvidia_smi_read(gboolean setup)
- 					else if ((smi = nvidia_smi_lookup(id)) != NULL)
- 						smi->temp = temp;
- 					}
-+				else
-+					{
-+					str = stmp;
-+					}
- 				}
- 			}
- 	if (output)
--- 
-cgit v0.12
-

Copied: gkrellm/repos/community-x86_64/fix-critical-warning.patch (from rev 495473, gkrellm/trunk/fix-critical-warning.patch)
===================================================================
--- fix-critical-warning.patch	                        (rev 0)
+++ fix-critical-warning.patch	2019-07-31 06:52:52 UTC (rev 495474)
@@ -0,0 +1,35 @@
+From 3db76c647a04a603bafae19cc699bd50436d66a2 Mon Sep 17 00:00:00 2001
+From: Jindřich Makovička
+Date: Sat, 20 May 2017 10:34:52 +0200
+Subject: Avoid calling g_strstr_len with NULL haystack
+
+---
+ src/sysdeps/linux.c | 5 +++++
+ 1 file changed, 5 insertions(+)
+
+diff --git a/src/sysdeps/linux.c b/src/sysdeps/linux.c
+index 460a03d..99e7261 100644
+--- a/src/sysdeps/linux.c
++++ b/src/sysdeps/linux.c
+@@ -3157,6 +3157,7 @@ sensors_nvidia_smi_read(gboolean setup)
+ 				    || !strcmp(id, ":")
+ 				   )
+ 					continue;
++				stmp = str;
+ 				if ((str = g_strstr_len(str, -1, "Temperature")) != NULL)
+ 					{
+ 					str += 11;
+@@ -3185,6 +3186,10 @@ sensors_nvidia_smi_read(gboolean setup)
+ 					else if ((smi = nvidia_smi_lookup(id)) != NULL)
+ 						smi->temp = temp;
+ 					}
++				else
++					{
++					str = stmp;
++					}
+ 				}
+ 			}
+ 	if (output)
+-- 
+cgit v0.12
+

Deleted: gkrellm.service
===================================================================
--- gkrellm.service	2019-07-31 06:52:36 UTC (rev 495473)
+++ gkrellm.service	2019-07-31 06:52:52 UTC (rev 495474)
@@ -1,11 +0,0 @@
-[Unit]
-Description=GNU Krell Monitors server
-After=network.target
-# If hddtemp is added to the dependencies in the PKGBUILD, then use
-#After=network.target hddtemp.service
-
-[Service]
-ExecStart=/usr/bin/gkrellmd
-
-[Install]
-WantedBy=multi-user.target

Copied: gkrellm/repos/community-x86_64/gkrellm.service (from rev 495473, gkrellm/trunk/gkrellm.service)
===================================================================
--- gkrellm.service	                        (rev 0)
+++ gkrellm.service	2019-07-31 06:52:52 UTC (rev 495474)
@@ -0,0 +1,11 @@
+[Unit]
+Description=GNU Krell Monitors server
+After=network.target
+# If hddtemp is added to the dependencies in the PKGBUILD, then use
+#After=network.target hddtemp.service
+
+[Service]
+ExecStart=/usr/bin/gkrellmd
+
+[Install]
+WantedBy=multi-user.target


More information about the arch-commits mailing list