[arch-commits] Commit in psensor/repos (3 files)
Date: Saturday, April 25, 2020 @ 15:02:39 Author: foutrelis Revision: 620844 archrelease: copy trunk to community-staging-x86_64 Added: psensor/repos/community-staging-x86_64/ psensor/repos/community-staging-x86_64/PKGBUILD (from rev 620843, psensor/trunk/PKGBUILD) psensor/repos/community-staging-x86_64/is_error.patch (from rev 620843, psensor/trunk/is_error.patch) + PKGBUILD | 38 ++ is_error.patch | 26 ++ 2 files changed, 64 insertions(+) Copied: psensor/repos/community-staging-x86_64/PKGBUILD (from rev 620843, psensor/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-04-25 15:02:39 UTC (rev 620844) @@ -0,0 +1,38 @@ +# Maintainer: Robin Broda +# Contributor: X0rg +# Contributor: marlock +# Contributor: Diogo Leal + +pkgname=psensor +pkgver=1.2.0 +pkgrel=7 +pkgdesc='A graphical hardware temperature monitor for Linux' +arch=('x86_64') +url='https://wpitchoune.net/psensor' +license=('GPL2') +depends=('lm_sensors' 'dconf' 'gtk3' 'udisks2' 'curl' 'libgtop' 'libnotify' + 'libxnvctrl' 'json-c' 'libmicrohttpd') +makedepends=('help2man') +source=("https://wpitchoune.net/${pkgname}/files/${pkgname}-${pkgver}.tar.gz; +'is_error.patch') +sha512sums=('274928190a53f3603f7db4ea81057497bfa01b9d0f8b4eb2f5f5094fd944ee384aff8f9c21b9c85ea001cbe877e7dc020963c0570f000ef42b302cb54b038e4d' + 'fa1f0a8cdbd75fba2ad980a5beb1807e533ef12154db1f0cc97c9130080584cb0251e29a56068b0400f152e540f326a7b16749bf11b1e844d1d519d7bb0e71ed') + +prepare() { + cd "${pkgname}-${pkgver}" + + patch -Np1 -i "${srcdir}/is_error.patch" +} + +build() { + cd "${pkgname}-${pkgver}" + + ./configure --prefix=/usr + make +} + +package() { + cd "${pkgname}-${pkgver}" + + make DESTDIR="${pkgdir}/" install +} Copied: psensor/repos/community-staging-x86_64/is_error.patch (from rev 620843, psensor/trunk/is_error.patch) === --- community-staging-x86_64/is_error.patch (rev 0) +++ community-staging-x86_64/is_error.patch 2020-04-25 15:02:39 UTC (rev 620844) @@ -0,0 +1,26 @@ +--- a/src/rsensor.c2016-12-20 00:39:54.0 +0100 b/src/rsensor.c2018-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", ); + +- if (!is_error(obj)) { ++ if (obj != NULL) { + json_object *ov, *ot; + struct timeval tv; +
[arch-commits] Commit in psensor/repos (3 files)
Date: Wednesday, November 28, 2018 @ 21:59:49 Author: coderobe Revision: 410490 archrelease: copy trunk to staging-x86_64 Added: psensor/repos/staging-x86_64/ psensor/repos/staging-x86_64/PKGBUILD (from rev 410489, psensor/trunk/PKGBUILD) psensor/repos/staging-x86_64/is_error.patch (from rev 410489, psensor/trunk/is_error.patch) + PKGBUILD | 38 ++ is_error.patch | 26 ++ 2 files changed, 64 insertions(+) Copied: psensor/repos/staging-x86_64/PKGBUILD (from rev 410489, psensor/trunk/PKGBUILD) === --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2018-11-28 21:59:49 UTC (rev 410490) @@ -0,0 +1,38 @@ +# Maintainer: Robin Broda +# Contributor: X0rg +# Contributor: marlock +# Contributor: Diogo Leal + +pkgname=psensor +pkgver=1.2.0 +pkgrel=6 +pkgdesc='A graphical hardware temperature monitor for Linux' +arch=('x86_64') +url='https://wpitchoune.net/psensor' +license=('GPL2') +depends=('lm_sensors' 'dconf' 'gtk3' 'udisks2' 'curl' 'libgtop' 'libnotify' + 'libxnvctrl' 'json-c' 'libmicrohttpd') +makedepends=('help2man') +source=("https://wpitchoune.net/${pkgname}/files/${pkgname}-${pkgver}.tar.gz; +'is_error.patch') +sha512sums=('274928190a53f3603f7db4ea81057497bfa01b9d0f8b4eb2f5f5094fd944ee384aff8f9c21b9c85ea001cbe877e7dc020963c0570f000ef42b302cb54b038e4d' + 'fa1f0a8cdbd75fba2ad980a5beb1807e533ef12154db1f0cc97c9130080584cb0251e29a56068b0400f152e540f326a7b16749bf11b1e844d1d519d7bb0e71ed') + +prepare() { + cd "${pkgname}-${pkgver}" + + patch -Np1 -i "${srcdir}/is_error.patch" +} + +build() { + cd "${pkgname}-${pkgver}" + + ./configure --prefix=/usr + make +} + +package() { + cd "${pkgname}-${pkgver}" + + make DESTDIR="${pkgdir}/" install +} Copied: psensor/repos/staging-x86_64/is_error.patch (from rev 410489, psensor/trunk/is_error.patch) === --- staging-x86_64/is_error.patch (rev 0) +++ staging-x86_64/is_error.patch 2018-11-28 21:59:49 UTC (rev 410490) @@ -0,0 +1,26 @@ +--- a/src/rsensor.c2016-12-20 00:39:54.0 +0100 b/src/rsensor.c2018-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", ); + +- if (!is_error(obj)) { ++ if (obj != NULL) { + json_object *ov, *ot; + struct timeval tv; +
[arch-commits] Commit in psensor/repos (3 files)
Date: Sunday, June 3, 2018 @ 16:53:07 Author: felixonmars Revision: 339396 archrelease: copy trunk to community-staging-x86_64 Added: psensor/repos/community-staging-x86_64/ psensor/repos/community-staging-x86_64/PKGBUILD (from rev 339395, psensor/trunk/PKGBUILD) psensor/repos/community-staging-x86_64/is_error.patch (from rev 339395, psensor/trunk/is_error.patch) + PKGBUILD | 38 ++ is_error.patch | 26 ++ 2 files changed, 64 insertions(+) Copied: psensor/repos/community-staging-x86_64/PKGBUILD (from rev 339395, psensor/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-06-03 16:53:07 UTC (rev 339396) @@ -0,0 +1,38 @@ +# Maintainer: Robin Broda +# Contributor: X0rg +# Contributor: marlock +# Contributor: Diogo Leal + +pkgname=psensor +pkgver=1.2.0 +pkgrel=5 +pkgdesc='A graphical hardware temperature monitor for Linux' +arch=('x86_64') +url='https://wpitchoune.net/psensor' +license=('GPL2') +depends=('lm_sensors' 'dconf' 'gtk3' 'udisks2' 'curl' 'libgtop' 'libnotify' + 'libxnvctrl' 'json-c' 'libmicrohttpd') +makedepends=('help2man') +source=("https://wpitchoune.net/${pkgname}/files/${pkgname}-${pkgver}.tar.gz; +'is_error.patch') +sha512sums=('274928190a53f3603f7db4ea81057497bfa01b9d0f8b4eb2f5f5094fd944ee384aff8f9c21b9c85ea001cbe877e7dc020963c0570f000ef42b302cb54b038e4d' + 'fa1f0a8cdbd75fba2ad980a5beb1807e533ef12154db1f0cc97c9130080584cb0251e29a56068b0400f152e540f326a7b16749bf11b1e844d1d519d7bb0e71ed') + +prepare() { + cd "${pkgname}-${pkgver}" + + patch -Np1 -i "${srcdir}/is_error.patch" +} + +build() { + cd "${pkgname}-${pkgver}" + + ./configure --prefix=/usr + make +} + +package() { + cd "${pkgname}-${pkgver}" + + make DESTDIR="${pkgdir}/" install +} Copied: psensor/repos/community-staging-x86_64/is_error.patch (from rev 339395, psensor/trunk/is_error.patch) === --- community-staging-x86_64/is_error.patch (rev 0) +++ community-staging-x86_64/is_error.patch 2018-06-03 16:53:07 UTC (rev 339396) @@ -0,0 +1,26 @@ +--- a/src/rsensor.c2016-12-20 00:39:54.0 +0100 b/src/rsensor.c2018-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", ); + +- if (!is_error(obj)) { ++ if (obj != NULL) { + json_object *ov, *ot; + struct timeval tv; +
[arch-commits] Commit in psensor/repos (3 files)
Date: Sunday, April 29, 2018 @ 20:04:01 Author: coderobe Revision: 318468 archrelease: copy trunk to community-x86_64 Added: psensor/repos/community-x86_64/ psensor/repos/community-x86_64/PKGBUILD (from rev 318467, psensor/trunk/PKGBUILD) psensor/repos/community-x86_64/is_error.patch (from rev 318467, psensor/trunk/is_error.patch) + PKGBUILD | 38 ++ is_error.patch | 26 ++ 2 files changed, 64 insertions(+) Copied: psensor/repos/community-x86_64/PKGBUILD (from rev 318467, psensor/trunk/PKGBUILD) === --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2018-04-29 20:04:01 UTC (rev 318468) @@ -0,0 +1,38 @@ +# Maintainer: Robin Broda+# Contributor: X0rg +# Contributor: marlock +# Contributor: Diogo Leal + +pkgname=psensor +pkgver=1.2.0 +pkgrel=3 +pkgdesc='A graphical hardware temperature monitor for Linux' +arch=('x86_64') +url='https://wpitchoune.net/psensor' +license=('GPL2') +depends=('lm_sensors' 'dconf' 'gtk3' 'udisks2' 'curl' 'libgtop' 'libnotify' + 'libappindicator3' 'libxnvctrl' 'json-c' 'libmicrohttpd') +makedepends=('help2man') +source=("https://wpitchoune.net/${pkgname}/files/${pkgname}-${pkgver}.tar.gz; +'is_error.patch') +md5sums=('0d8ac0a1312e96f2101ecc7c684e2863' + '04c45b3527e6cc4012fe60491751a0ac') + +prepare() { + cd "${pkgname}-${pkgver}" + + patch -Np1 -i "${srcdir}/is_error.patch" +} + +build() { + cd "${pkgname}-${pkgver}" + + ./configure --prefix=/usr + make +} + +package() { + cd "${pkgname}-${pkgver}" + + make DESTDIR="${pkgdir}/" install +} Copied: psensor/repos/community-x86_64/is_error.patch (from rev 318467, psensor/trunk/is_error.patch) === --- community-x86_64/is_error.patch (rev 0) +++ community-x86_64/is_error.patch 2018-04-29 20:04:01 UTC (rev 318468) @@ -0,0 +1,26 @@ +--- a/src/rsensor.c2016-12-20 00:39:54.0 +0100 b/src/rsensor.c2018-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", ); + +- if (!is_error(obj)) { ++ if (obj != NULL) { + json_object *ov, *ot; + struct timeval tv; +