Github messages for voidlinux
 help / color / mirror / Atom feed
From: UsernameRandomlyGenerated <UsernameRandomlyGenerated@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] psensor: update to 1.2.1.
Date: Sun, 30 May 2021 09:29:03 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-31218@inbox.vuxu.org> (raw)

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

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

https://github.com/UsernameRandomlyGenerated/void-packages psensor121
https://github.com/void-linux/void-packages/pull/31218

psensor: update to 1.2.1.
<!-- Mark items with [x] where applicable -->

#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [x] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


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

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

From c941a79fa9fcd5fff27193481c2a4ae68086fe5a Mon Sep 17 00:00:00 2001
From: UsernameRandomlyGenerated <coredavid@tutanota.com>
Date: Sun, 30 May 2021 09:27:45 +0200
Subject: [PATCH] psensor: update to 1.2.1.

---
 srcpkgs/psensor/patches/is_error.patch | 26 --------------------------
 srcpkgs/psensor/template               |  6 +++---
 2 files changed, 3 insertions(+), 29 deletions(-)
 delete mode 100644 srcpkgs/psensor/patches/is_error.patch

diff --git a/srcpkgs/psensor/patches/is_error.patch b/srcpkgs/psensor/patches/is_error.patch
deleted file mode 100644
index a4ec3232fa69..000000000000
--- a/srcpkgs/psensor/patches/is_error.patch
+++ /dev/null
@@ -1,26 +0,0 @@
---- 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
index 67e810091579..df5fecf753cc 100644
--- a/srcpkgs/psensor/template
+++ b/srcpkgs/psensor/template
@@ -1,7 +1,7 @@
 # Template file for 'psensor'
 pkgname=psensor
-version=1.2.0
-revision=2
+version=1.2.1
+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"
@@ -11,4 +11,4 @@ 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
+checksum=084f785d169f533d3010e50c5933436ed427afc70d41740b762f1db5034833ab

             reply	other threads:[~2021-05-30  7:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-30  7:29 UsernameRandomlyGenerated [this message]
2021-06-08  3:51 ` [PR PATCH] [Closed]: " ericonr

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-31218@inbox.vuxu.org \
    --to=usernamerandomlygenerated@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).