Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: psensor
@ 2020-01-03 23:10 voidlinux-github
  2020-01-05  3:21 ` [PR PATCH] [Updated] " voidlinux-github
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: voidlinux-github @ 2020-01-03 23:10 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 367 bytes --]

There is a new pull request by foxlet against master on the void-packages repository

https://github.com/foxlet/void-packages psensor
https://github.com/void-linux/void-packages/pull/18013

New package: psensor
Allows for sensor monitoring, included in Ubuntu and Arch repos.

A patch file from https://github.com/void-linux/void-packages/pull/18013.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-psensor-18013.patch --]
[-- Type: text/x-diff, Size: 2188 bytes --]

From 5a3a33152c5abf8299872508d1a85ec541e9a761 Mon Sep 17 00:00:00 2001
From: Foxlet <foxlet@furcode.co>
Date: Fri, 3 Jan 2020 18:07:12 -0500
Subject: [PATCH] New package: psensor

---
 srcpkgs/psensor/patches/is_error.patch | 26 ++++++++++++++++++++++++++
 srcpkgs/psensor/template               | 14 ++++++++++++++
 2 files changed, 40 insertions(+)
 create mode 100644 srcpkgs/psensor/patches/is_error.patch
 create mode 100644 srcpkgs/psensor/template

diff --git a/srcpkgs/psensor/patches/is_error.patch b/srcpkgs/psensor/patches/is_error.patch
new file mode 100644
index 00000000000..a4ec3232fa6
--- /dev/null
+++ b/srcpkgs/psensor/patches/is_error.patch
@@ -0,0 +1,26 @@
+--- src/rsensor.c	2016-12-20 00:39:54.000000000 +0100
++++ src/rsensor.c	2018-01-05 19:30:09.089759050 +0100
+@@ -133,7 +133,7 @@
+ 
+ 	obj = get_json_object(url);
+ 
+-	if (obj && !is_error(obj)) {
++	if (obj && (obj != NULL)) {
+ 		n = json_object_array_length(obj);
+ 		sensors = malloc((n + 1) * sizeof(struct psensor *));
+ 
+@@ -168,12 +168,12 @@
+ 
+ 	obj = get_json_object(get_url(s));
+ 
+-	if (obj && !is_error(obj)) {
++	if (obj && (obj != NULL)) {
+ 		json_object *om;
+ 
+ 		json_object_object_get_ex(obj, "last_measure", &om);
+ 
+-		if (!is_error(obj)) {
++		if (obj != NULL) {
+ 			json_object *ov, *ot;
+ 			struct timeval tv;
+ 
diff --git a/srcpkgs/psensor/template b/srcpkgs/psensor/template
new file mode 100644
index 00000000000..70abdce5327
--- /dev/null
+++ b/srcpkgs/psensor/template
@@ -0,0 +1,14 @@
+# Template file for 'psensor'
+pkgname=psensor
+version=1.2.0
+revision=1
+build_style=gnu-configure
+hostmakedepends="pkg-config help2man glib-devel"
+makedepends="libX11 gtk+3-devel udisks2-devel libgtop-devel json-c-devel libsensors-devel libatasmart-devel libcurl-devel libnotify-devel libappindicator-devel libmicrohttpd-devel"
+depends="lm_sensors"
+short_desc="Graphical hardware temperature monitor for Linux"
+maintainer="Foxlet <foxlet@furcode.co>"
+license="GPL-2.0-only"
+homepage="https://wpitchoune.net/psensor"
+distfiles="https://wpitchoune.net/${pkgname}/files/${pkgname}-${version}.tar.gz"
+checksum=99708b313be2cf2d997aacfb6ab13288384c8c3f76266825093013bf568babea

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PR PATCH] [Updated] New package: psensor
  2020-01-03 23:10 [PR PATCH] New package: psensor voidlinux-github
@ 2020-01-05  3:21 ` voidlinux-github
  2020-01-05 20:42 ` voidlinux-github
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: voidlinux-github @ 2020-01-05  3:21 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 372 bytes --]

There is an updated pull request by foxlet against master on the void-packages repository

https://github.com/foxlet/void-packages psensor
https://github.com/void-linux/void-packages/pull/18013

New package: psensor
Allows for sensor monitoring, included in Ubuntu and Arch repos.

A patch file from https://github.com/void-linux/void-packages/pull/18013.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-psensor-18013.patch --]
[-- Type: text/x-diff, Size: 2181 bytes --]

From b9d658e3731a931b475f184a7687bcd3802035f6 Mon Sep 17 00:00:00 2001
From: Foxlet <foxlet@furcode.co>
Date: Fri, 3 Jan 2020 18:07:12 -0500
Subject: [PATCH] New package: psensor

---
 srcpkgs/psensor/patches/is_error.patch | 26 ++++++++++++++++++++++++++
 srcpkgs/psensor/template               | 14 ++++++++++++++
 2 files changed, 40 insertions(+)
 create mode 100644 srcpkgs/psensor/patches/is_error.patch
 create mode 100644 srcpkgs/psensor/template

diff --git a/srcpkgs/psensor/patches/is_error.patch b/srcpkgs/psensor/patches/is_error.patch
new file mode 100644
index 00000000000..a4ec3232fa6
--- /dev/null
+++ b/srcpkgs/psensor/patches/is_error.patch
@@ -0,0 +1,26 @@
+--- src/rsensor.c	2016-12-20 00:39:54.000000000 +0100
++++ src/rsensor.c	2018-01-05 19:30:09.089759050 +0100
+@@ -133,7 +133,7 @@
+ 
+ 	obj = get_json_object(url);
+ 
+-	if (obj && !is_error(obj)) {
++	if (obj && (obj != NULL)) {
+ 		n = json_object_array_length(obj);
+ 		sensors = malloc((n + 1) * sizeof(struct psensor *));
+ 
+@@ -168,12 +168,12 @@
+ 
+ 	obj = get_json_object(get_url(s));
+ 
+-	if (obj && !is_error(obj)) {
++	if (obj && (obj != NULL)) {
+ 		json_object *om;
+ 
+ 		json_object_object_get_ex(obj, "last_measure", &om);
+ 
+-		if (!is_error(obj)) {
++		if (obj != NULL) {
+ 			json_object *ov, *ot;
+ 			struct timeval tv;
+ 
diff --git a/srcpkgs/psensor/template b/srcpkgs/psensor/template
new file mode 100644
index 00000000000..647b63150d5
--- /dev/null
+++ b/srcpkgs/psensor/template
@@ -0,0 +1,14 @@
+# Template file for 'psensor'
+pkgname=psensor
+version=1.2.0
+revision=1
+build_style=gnu-configure
+hostmakedepends="pkg-config help2man glib-devel"
+makedepends="gtk+3-devel udisks2-devel libgtop-devel json-c-devel libsensors-devel libatasmart-devel libcurl-devel libnotify-devel libappindicator-devel libmicrohttpd-devel"
+depends="lm_sensors"
+short_desc="Graphical hardware temperature monitor for Linux"
+maintainer="Foxlet <foxlet@furcode.co>"
+license="GPL-2.0-only"
+homepage="https://wpitchoune.net/psensor"
+distfiles="https://wpitchoune.net/${pkgname}/files/${pkgname}-${version}.tar.gz"
+checksum=99708b313be2cf2d997aacfb6ab13288384c8c3f76266825093013bf568babea

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: New package: psensor
  2020-01-03 23:10 [PR PATCH] New package: psensor voidlinux-github
  2020-01-05  3:21 ` [PR PATCH] [Updated] " voidlinux-github
@ 2020-01-05 20:42 ` voidlinux-github
  2020-01-05 21:21 ` [PR PATCH] [Updated] " voidlinux-github
  2020-01-06  8:07 ` [PR PATCH] [Merged]: " voidlinux-github
  3 siblings, 0 replies; 5+ messages in thread
From: voidlinux-github @ 2020-01-05 20:42 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 183 bytes --]

New comment by xtraeme on void-packages repository

https://github.com/void-linux/void-packages/pull/18013#issuecomment-570945740

Comment:
Looks good, please rebase on top of master

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PR PATCH] [Updated] New package: psensor
  2020-01-03 23:10 [PR PATCH] New package: psensor voidlinux-github
  2020-01-05  3:21 ` [PR PATCH] [Updated] " voidlinux-github
  2020-01-05 20:42 ` voidlinux-github
@ 2020-01-05 21:21 ` voidlinux-github
  2020-01-06  8:07 ` [PR PATCH] [Merged]: " voidlinux-github
  3 siblings, 0 replies; 5+ messages in thread
From: voidlinux-github @ 2020-01-05 21:21 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 372 bytes --]

There is an updated pull request by foxlet against master on the void-packages repository

https://github.com/foxlet/void-packages psensor
https://github.com/void-linux/void-packages/pull/18013

New package: psensor
Allows for sensor monitoring, included in Ubuntu and Arch repos.

A patch file from https://github.com/void-linux/void-packages/pull/18013.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-psensor-18013.patch --]
[-- Type: text/x-diff, Size: 2181 bytes --]

From 9ed6c3890fe73823635d91fc75871d551ddeb276 Mon Sep 17 00:00:00 2001
From: Foxlet <foxlet@furcode.co>
Date: Fri, 3 Jan 2020 18:07:12 -0500
Subject: [PATCH] New package: psensor

---
 srcpkgs/psensor/patches/is_error.patch | 26 ++++++++++++++++++++++++++
 srcpkgs/psensor/template               | 14 ++++++++++++++
 2 files changed, 40 insertions(+)
 create mode 100644 srcpkgs/psensor/patches/is_error.patch
 create mode 100644 srcpkgs/psensor/template

diff --git a/srcpkgs/psensor/patches/is_error.patch b/srcpkgs/psensor/patches/is_error.patch
new file mode 100644
index 00000000000..a4ec3232fa6
--- /dev/null
+++ b/srcpkgs/psensor/patches/is_error.patch
@@ -0,0 +1,26 @@
+--- src/rsensor.c	2016-12-20 00:39:54.000000000 +0100
++++ src/rsensor.c	2018-01-05 19:30:09.089759050 +0100
+@@ -133,7 +133,7 @@
+ 
+ 	obj = get_json_object(url);
+ 
+-	if (obj && !is_error(obj)) {
++	if (obj && (obj != NULL)) {
+ 		n = json_object_array_length(obj);
+ 		sensors = malloc((n + 1) * sizeof(struct psensor *));
+ 
+@@ -168,12 +168,12 @@
+ 
+ 	obj = get_json_object(get_url(s));
+ 
+-	if (obj && !is_error(obj)) {
++	if (obj && (obj != NULL)) {
+ 		json_object *om;
+ 
+ 		json_object_object_get_ex(obj, "last_measure", &om);
+ 
+-		if (!is_error(obj)) {
++		if (obj != NULL) {
+ 			json_object *ov, *ot;
+ 			struct timeval tv;
+ 
diff --git a/srcpkgs/psensor/template b/srcpkgs/psensor/template
new file mode 100644
index 00000000000..647b63150d5
--- /dev/null
+++ b/srcpkgs/psensor/template
@@ -0,0 +1,14 @@
+# Template file for 'psensor'
+pkgname=psensor
+version=1.2.0
+revision=1
+build_style=gnu-configure
+hostmakedepends="pkg-config help2man glib-devel"
+makedepends="gtk+3-devel udisks2-devel libgtop-devel json-c-devel libsensors-devel libatasmart-devel libcurl-devel libnotify-devel libappindicator-devel libmicrohttpd-devel"
+depends="lm_sensors"
+short_desc="Graphical hardware temperature monitor for Linux"
+maintainer="Foxlet <foxlet@furcode.co>"
+license="GPL-2.0-only"
+homepage="https://wpitchoune.net/psensor"
+distfiles="https://wpitchoune.net/${pkgname}/files/${pkgname}-${version}.tar.gz"
+checksum=99708b313be2cf2d997aacfb6ab13288384c8c3f76266825093013bf568babea

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PR PATCH] [Merged]: New package: psensor
  2020-01-03 23:10 [PR PATCH] New package: psensor voidlinux-github
                   ` (2 preceding siblings ...)
  2020-01-05 21:21 ` [PR PATCH] [Updated] " voidlinux-github
@ 2020-01-06  8:07 ` voidlinux-github
  3 siblings, 0 replies; 5+ messages in thread
From: voidlinux-github @ 2020-01-06  8:07 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 218 bytes --]

There's a merged pull request on the void-packages repository

New package: psensor
https://github.com/void-linux/void-packages/pull/18013

Description:
Allows for sensor monitoring, included in Ubuntu and Arch repos.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-01-06  8:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-03 23:10 [PR PATCH] New package: psensor voidlinux-github
2020-01-05  3:21 ` [PR PATCH] [Updated] " voidlinux-github
2020-01-05 20:42 ` voidlinux-github
2020-01-05 21:21 ` [PR PATCH] [Updated] " voidlinux-github
2020-01-06  8:07 ` [PR PATCH] [Merged]: " voidlinux-github

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).