Github messages for voidlinux
 help / color / mirror / Atom feed
From: Dotz0cat <Dotz0cat@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New Package: walld-1.4.1
Date: Sat, 13 Aug 2022 20:09:05 +0200	[thread overview]
Message-ID: <20220813180905.u9wkrKOknOjxUk2OwdJk0ADIaJ34bH2cJaHcjN-IcRs@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-37933@inbox.vuxu.org>

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

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

https://github.com/Dotz0cat/void-packages master
https://github.com/void-linux/void-packages/pull/37933

New Package: walld-1.4.1
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (amd64-glibc)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - i686


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

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

From 3b9945e9c3ac45d7e7377661b97cd4702ce7c7cf Mon Sep 17 00:00:00 2001
From: Dotz0cat <Dotz0cat@gmail.com>
Date: Fri, 8 Jul 2022 22:47:01 -0500
Subject: [PATCH 1/2] New Package: walld-1.4.1

---
 srcpkgs/walld/patches/fix-musl.patch | 67 ++++++++++++++++++++++++++++
 srcpkgs/walld/template               | 14 ++++++
 2 files changed, 81 insertions(+)
 create mode 100755 srcpkgs/walld/patches/fix-musl.patch
 create mode 100644 srcpkgs/walld/template

diff --git a/srcpkgs/walld/patches/fix-musl.patch b/srcpkgs/walld/patches/fix-musl.patch
new file mode 100755
index 000000000000..57a87d0d282a
--- /dev/null
+++ b/srcpkgs/walld/patches/fix-musl.patch
@@ -0,0 +1,67 @@
+From b85741372fea0af6be79a6f40fda2da9cf985f5f Mon Sep 17 00:00:00 2001
+From: Dotz0cat <Dotz0cat@gmail.com>
+Date: Sat, 9 Jul 2022 17:19:52 -0500
+Subject: [PATCH] void fix musl
+
+---
+ src/main.c | 44 ++++----------------------------------------
+ 1 file changed, 4 insertions(+), 40 deletions(-)
+
+diff --git a/src/main.c b/src/main.c
+index 3a13829..b062efa 100644
+--- a/src/main.c
++++ b/src/main.c
+@@ -146,46 +146,10 @@ static void init_daemon(const char* home_dir) {
+ 		close(x);
+ 	}
+ 
+-	int char_count = snprintf(NULL, 0, "%s%s", home_dir, "/.walld/log");
+-
+-	if (char_count <= 0) {
+-		abort();
+-	}
+-
+-	char* log_file = malloc(char_count + 1U);
+-
+-	if (log_file == NULL) {
+-		abort();
+-	}
+-
+-	snprintf(log_file, char_count + 1U, "%s%s", home_dir, "/.walld/log");
+-
+-	stdin = fopen("/dev/null", "r");
+-	stdout = fopen(log_file, "w");
+-
+-	free(log_file);
+-
+-	char_count = 0;
+-
+-	char_count = snprintf(NULL, 0, "%s%s", home_dir, "/.walld/error-log");
+-
+-	if (char_count <= 0) {
+-		abort();
+-	}
+-
+-	char* err_log_file = malloc(char_count + 1U);
+-
+-	if (err_log_file == NULL) {
+-		abort();
+-	}
+-
+-	snprintf(err_log_file, char_count + 1U, "%s%s", home_dir, "/.walld/error-log");
+-
+-
+-	stderr = fopen(err_log_file, "w");
+-
+-	free(err_log_file);
+-
++	fclose(stdin);
++	fclose(stdout);
++	fclose(stderr);
++	
+ 	openlog("walld", LOG_PID, LOG_DAEMON);
+ }
+ 
+-- 
+2.37.0
+
diff --git a/srcpkgs/walld/template b/srcpkgs/walld/template
new file mode 100644
index 000000000000..c2687a07fad1
--- /dev/null
+++ b/srcpkgs/walld/template
@@ -0,0 +1,14 @@
+# Template file for 'walld'
+pkgname=walld
+version=1.4.1
+revision=1
+build_style=meson
+hostmakedepends="pkg-config"
+makedepends="libconfig-devel libevent-devel libmagick-devel"
+depends="feh"
+short_desc="Wallpaper daemon"
+maintainer="Dotz0cat <Dotz0cat@gmail.com>"
+license="GPL-3.0-only"
+homepage="https://github.com/Dotz0cat/walld"
+distfiles="https://github.com/Dotz0cat/walld/archive/refs/tags/${version}.tar.gz"
+checksum="c13b94a680081cec8ae8bff21c3e52d9e4c70a7c506de0ff17d7c76b83ad883e"

From 281afb8de9a58107f3e1ec6a1e69da96eca1a4ca Mon Sep 17 00:00:00 2001
From: Dotz0cat <Dotz0cat@gmail.com>
Date: Sat, 13 Aug 2022 12:27:47 -0500
Subject: [PATCH 2/2] walld: update to 1.4.4

---
 srcpkgs/walld/patches/fix-musl.patch | 67 ----------------------------
 srcpkgs/walld/template               |  4 +-
 2 files changed, 2 insertions(+), 69 deletions(-)
 delete mode 100755 srcpkgs/walld/patches/fix-musl.patch

diff --git a/srcpkgs/walld/patches/fix-musl.patch b/srcpkgs/walld/patches/fix-musl.patch
deleted file mode 100755
index 57a87d0d282a..000000000000
--- a/srcpkgs/walld/patches/fix-musl.patch
+++ /dev/null
@@ -1,67 +0,0 @@
-From b85741372fea0af6be79a6f40fda2da9cf985f5f Mon Sep 17 00:00:00 2001
-From: Dotz0cat <Dotz0cat@gmail.com>
-Date: Sat, 9 Jul 2022 17:19:52 -0500
-Subject: [PATCH] void fix musl
-
----
- src/main.c | 44 ++++----------------------------------------
- 1 file changed, 4 insertions(+), 40 deletions(-)
-
-diff --git a/src/main.c b/src/main.c
-index 3a13829..b062efa 100644
---- a/src/main.c
-+++ b/src/main.c
-@@ -146,46 +146,10 @@ static void init_daemon(const char* home_dir) {
- 		close(x);
- 	}
- 
--	int char_count = snprintf(NULL, 0, "%s%s", home_dir, "/.walld/log");
--
--	if (char_count <= 0) {
--		abort();
--	}
--
--	char* log_file = malloc(char_count + 1U);
--
--	if (log_file == NULL) {
--		abort();
--	}
--
--	snprintf(log_file, char_count + 1U, "%s%s", home_dir, "/.walld/log");
--
--	stdin = fopen("/dev/null", "r");
--	stdout = fopen(log_file, "w");
--
--	free(log_file);
--
--	char_count = 0;
--
--	char_count = snprintf(NULL, 0, "%s%s", home_dir, "/.walld/error-log");
--
--	if (char_count <= 0) {
--		abort();
--	}
--
--	char* err_log_file = malloc(char_count + 1U);
--
--	if (err_log_file == NULL) {
--		abort();
--	}
--
--	snprintf(err_log_file, char_count + 1U, "%s%s", home_dir, "/.walld/error-log");
--
--
--	stderr = fopen(err_log_file, "w");
--
--	free(err_log_file);
--
-+	fclose(stdin);
-+	fclose(stdout);
-+	fclose(stderr);
-+	
- 	openlog("walld", LOG_PID, LOG_DAEMON);
- }
- 
--- 
-2.37.0
-
diff --git a/srcpkgs/walld/template b/srcpkgs/walld/template
index c2687a07fad1..874ef377a358 100644
--- a/srcpkgs/walld/template
+++ b/srcpkgs/walld/template
@@ -1,6 +1,6 @@
 # Template file for 'walld'
 pkgname=walld
-version=1.4.1
+version=1.4.4
 revision=1
 build_style=meson
 hostmakedepends="pkg-config"
@@ -11,4 +11,4 @@ maintainer="Dotz0cat <Dotz0cat@gmail.com>"
 license="GPL-3.0-only"
 homepage="https://github.com/Dotz0cat/walld"
 distfiles="https://github.com/Dotz0cat/walld/archive/refs/tags/${version}.tar.gz"
-checksum="c13b94a680081cec8ae8bff21c3e52d9e4c70a7c506de0ff17d7c76b83ad883e"
+checksum="abffb9af4cce3e7cba83364305d919088434a8b4c1863721deef0d9bb9836019"

  parent reply	other threads:[~2022-08-13 18:09 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-09  4:14 [PR PATCH] " Dotz0cat
2022-07-09  4:17 ` [PR REVIEW] " classabbyamp
2022-07-09  4:17 ` classabbyamp
2022-07-09  4:17 ` classabbyamp
2022-07-09  4:34 ` Dotz0cat
2022-07-09  4:37 ` [PR PATCH] [Updated] " Dotz0cat
2022-07-09  8:50 ` [PR REVIEW] " paper42
2022-07-10  0:30 ` [PR PATCH] [Updated] " Dotz0cat
2022-07-10  0:32 ` Dotz0cat
2022-07-10  0:36 ` [PR REVIEW] " Dotz0cat
2022-07-11 20:46 ` paper42
2022-07-11 20:46 ` paper42
2022-07-11 20:46 ` paper42
2022-07-11 20:59 ` paper42
2022-08-13 17:28 ` [PR PATCH] [Updated] " Dotz0cat
2022-08-13 18:09 ` Dotz0cat [this message]
2022-11-12  2:11 ` github-actions
2022-11-27  2:08 ` [PR PATCH] [Closed]: " github-actions

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=20220813180905.u9wkrKOknOjxUk2OwdJk0ADIaJ34bH2cJaHcjN-IcRs@z \
    --to=dotz0cat@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).