* [PR PATCH] New package: devour-11.1
@ 2022-05-06 12:29 Visone-Selektah
2022-05-07 1:28 ` [PR REVIEW] " abenson
` (13 more replies)
0 siblings, 14 replies; 15+ messages in thread
From: Visone-Selektah @ 2022-05-06 12:29 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1178 bytes --]
There is a new pull request by Visone-Selektah against master on the void-packages repository
https://github.com/Visone-Selektah/void-packages devour
https://github.com/void-linux/void-packages/pull/37002
New package: devour-11.1
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: YES
<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->
<!-- 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, x86_64-musl
- I built this PR locally for these architectures :
- X86_64
- i686
A patch file from https://github.com/void-linux/void-packages/pull/37002.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-devour-37002.patch --]
[-- Type: text/x-diff, Size: 991 bytes --]
From 1c450189a7b9a634e58d0e4cac93217fb48a1170 Mon Sep 17 00:00:00 2001
From: Victor Tebar <victortebar@gmail.com>
Date: Fri, 6 May 2022 14:27:06 +0200
Subject: [PATCH] New package: devour-11.1
---
srcpkgs/devour/template | 13 +++++++++++++
1 file changed, 13 insertions(+)
create mode 100644 srcpkgs/devour/template
diff --git a/srcpkgs/devour/template b/srcpkgs/devour/template
new file mode 100644
index 000000000000..693217ea7b8b
--- /dev/null
+++ b/srcpkgs/devour/template
@@ -0,0 +1,13 @@
+# Template file for 'devour'
+pkgname=devour
+version=11.1
+revision=1
+build_style=gnu-makefile
+hostmakedepends="pkgconf xdo"
+makedepends="libX11-devel"
+short_desc="terminal swallower"
+maintainer="Visone Selektah <victortebar@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://github.com/Visone-Selektah/devour"
+distfiles="https://github.com/Visone-Selektah/devour/archive/refs/tags/${version}.tar.gz"
+checksum=dad4b0b6585f7c6fbefaa9579bde88ea1f25e07ee168e4bebc4e61ca1c621db4
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PR REVIEW] New package: devour-11.1
2022-05-06 12:29 [PR PATCH] New package: devour-11.1 Visone-Selektah
@ 2022-05-07 1:28 ` abenson
2022-05-07 1:29 ` abenson
` (12 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: abenson @ 2022-05-07 1:28 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 187 bytes --]
New review comment by abenson on void-packages repository
https://github.com/void-linux/void-packages/pull/37002#discussion_r867284116
Comment:
Start description with a capitol letter.
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PR REVIEW] New package: devour-11.1
2022-05-06 12:29 [PR PATCH] New package: devour-11.1 Visone-Selektah
2022-05-07 1:28 ` [PR REVIEW] " abenson
@ 2022-05-07 1:29 ` abenson
2022-05-07 7:14 ` [PR PATCH] [Updated] " Visone-Selektah
` (11 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: abenson @ 2022-05-07 1:29 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 188 bytes --]
New review comment by abenson on void-packages repository
https://github.com/void-linux/void-packages/pull/37002#discussion_r867284138
Comment:
Why is `xdo` needed in `hostmakedepends`?
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PR PATCH] [Updated] New package: devour-11.1
2022-05-06 12:29 [PR PATCH] New package: devour-11.1 Visone-Selektah
2022-05-07 1:28 ` [PR REVIEW] " abenson
2022-05-07 1:29 ` abenson
@ 2022-05-07 7:14 ` Visone-Selektah
2022-05-07 7:18 ` [PR REVIEW] " Visone-Selektah
` (10 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: Visone-Selektah @ 2022-05-07 7:14 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1183 bytes --]
There is an updated pull request by Visone-Selektah against master on the void-packages repository
https://github.com/Visone-Selektah/void-packages devour
https://github.com/void-linux/void-packages/pull/37002
New package: devour-11.1
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: YES
<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->
<!-- 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, x86_64-musl
- I built this PR locally for these architectures :
- X86_64
- i686
A patch file from https://github.com/void-linux/void-packages/pull/37002.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-devour-37002.patch --]
[-- Type: text/x-diff, Size: 1824 bytes --]
From 1c450189a7b9a634e58d0e4cac93217fb48a1170 Mon Sep 17 00:00:00 2001
From: Victor Tebar <victortebar@gmail.com>
Date: Fri, 6 May 2022 14:27:06 +0200
Subject: [PATCH 1/2] New package: devour-11.1
---
srcpkgs/devour/template | 13 +++++++++++++
1 file changed, 13 insertions(+)
create mode 100644 srcpkgs/devour/template
diff --git a/srcpkgs/devour/template b/srcpkgs/devour/template
new file mode 100644
index 000000000000..693217ea7b8b
--- /dev/null
+++ b/srcpkgs/devour/template
@@ -0,0 +1,13 @@
+# Template file for 'devour'
+pkgname=devour
+version=11.1
+revision=1
+build_style=gnu-makefile
+hostmakedepends="pkgconf xdo"
+makedepends="libX11-devel"
+short_desc="terminal swallower"
+maintainer="Visone Selektah <victortebar@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://github.com/Visone-Selektah/devour"
+distfiles="https://github.com/Visone-Selektah/devour/archive/refs/tags/${version}.tar.gz"
+checksum=dad4b0b6585f7c6fbefaa9579bde88ea1f25e07ee168e4bebc4e61ca1c621db4
From 83a07c0279aa3a5d9789c1f79232507b2d1b17c1 Mon Sep 17 00:00:00 2001
From: Victor Tebar <victortebar@gmail.com>
Date: Sat, 7 May 2022 09:16:09 +0200
Subject: [PATCH 2/2] devour: Fix typo and remove xdo
---
srcpkgs/devour/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/devour/template b/srcpkgs/devour/template
index 693217ea7b8b..28e72aa8bb3b 100644
--- a/srcpkgs/devour/template
+++ b/srcpkgs/devour/template
@@ -3,9 +3,9 @@ pkgname=devour
version=11.1
revision=1
build_style=gnu-makefile
-hostmakedepends="pkgconf xdo"
+hostmakedepends="pkgconf"
makedepends="libX11-devel"
-short_desc="terminal swallower"
+short_desc="Terminal swallower"
maintainer="Visone Selektah <victortebar@gmail.com>"
license="GPL-2.0-or-later"
homepage="https://github.com/Visone-Selektah/devour"
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PR REVIEW] New package: devour-11.1
2022-05-06 12:29 [PR PATCH] New package: devour-11.1 Visone-Selektah
` (2 preceding siblings ...)
2022-05-07 7:14 ` [PR PATCH] [Updated] " Visone-Selektah
@ 2022-05-07 7:18 ` Visone-Selektah
2022-05-07 20:53 ` paper42
` (9 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: Visone-Selektah @ 2022-05-07 7:18 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 235 bytes --]
New review comment by Visone-Selektah on void-packages repository
https://github.com/void-linux/void-packages/pull/37002#discussion_r867316773
Comment:
Hi!
It was a typo, an error while copy the template from other pkgs.
Fixed it
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PR REVIEW] New package: devour-11.1
2022-05-06 12:29 [PR PATCH] New package: devour-11.1 Visone-Selektah
` (3 preceding siblings ...)
2022-05-07 7:18 ` [PR REVIEW] " Visone-Selektah
@ 2022-05-07 20:53 ` paper42
2022-05-07 20:53 ` paper42
` (8 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: paper42 @ 2022-05-07 20:53 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 231 bytes --]
New review comment by paper42 on void-packages repository
https://github.com/void-linux/void-packages/pull/37002#discussion_r867393937
Comment:
```suggestion
hostmakedepends="pkg-config"
```
most other packages use pkg-config
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PR REVIEW] New package: devour-11.1
2022-05-06 12:29 [PR PATCH] New package: devour-11.1 Visone-Selektah
` (4 preceding siblings ...)
2022-05-07 20:53 ` paper42
@ 2022-05-07 20:53 ` paper42
2022-05-07 21:20 ` Visone-Selektah
` (7 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: paper42 @ 2022-05-07 20:53 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 404 bytes --]
New review comment by paper42 on void-packages repository
https://github.com/void-linux/void-packages/pull/37002#discussion_r867393909
Comment:
Could you explain why you used your fork instead of the upstream? Compared to upstream, this has a different version - 11.1 (why?) and changed the makefile "for void". We should try to use upstream and include a patch in srcpkgs/devour/patches if necessary.
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PR REVIEW] New package: devour-11.1
2022-05-06 12:29 [PR PATCH] New package: devour-11.1 Visone-Selektah
` (5 preceding siblings ...)
2022-05-07 20:53 ` paper42
@ 2022-05-07 21:20 ` Visone-Selektah
2022-05-07 21:21 ` Visone-Selektah
` (6 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: Visone-Selektah @ 2022-05-07 21:20 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 413 bytes --]
New review comment by Visone-Selektah on void-packages repository
https://github.com/void-linux/void-packages/pull/37002#discussion_r867396154
Comment:
I use my own fork cause the origin Makefile do not work in void, so I would have to add a pre funtcion to edit it, so I forked it to use my own file.
About the patch, it do not apply in the current state of the repo. I'm working on it so i can be added soon
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PR REVIEW] New package: devour-11.1
2022-05-06 12:29 [PR PATCH] New package: devour-11.1 Visone-Selektah
` (6 preceding siblings ...)
2022-05-07 21:20 ` Visone-Selektah
@ 2022-05-07 21:21 ` Visone-Selektah
2022-05-08 8:56 ` paper42
` (5 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: Visone-Selektah @ 2022-05-07 21:21 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 225 bytes --]
New review comment by Visone-Selektah on void-packages repository
https://github.com/void-linux/void-packages/pull/37002#discussion_r867396200
Comment:
I try to use pkconf in all pkgs I can cause is lighter than pkg-config
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PR REVIEW] New package: devour-11.1
2022-05-06 12:29 [PR PATCH] New package: devour-11.1 Visone-Selektah
` (7 preceding siblings ...)
2022-05-07 21:21 ` Visone-Selektah
@ 2022-05-08 8:56 ` paper42
2022-05-08 10:42 ` Visone-Selektah
` (4 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: paper42 @ 2022-05-08 8:56 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 184 bytes --]
New review comment by paper42 on void-packages repository
https://github.com/void-linux/void-packages/pull/37002#discussion_r867458465
Comment:
Please use pkg-config for consistency
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PR REVIEW] New package: devour-11.1
2022-05-06 12:29 [PR PATCH] New package: devour-11.1 Visone-Selektah
` (8 preceding siblings ...)
2022-05-08 8:56 ` paper42
@ 2022-05-08 10:42 ` Visone-Selektah
2022-05-08 17:17 ` [PR PATCH] [Updated] " Visone-Selektah
` (3 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: Visone-Selektah @ 2022-05-08 10:42 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 304 bytes --]
New review comment by Visone-Selektah on void-packages repository
https://github.com/void-linux/void-packages/pull/37002#discussion_r867470940
Comment:
Hi!
No problem, edited already. Testing change of distfiles to upsream and patches. I'll commit the changes once I have the patches tested.
Thanks!
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PR PATCH] [Updated] New package: devour-11.1
2022-05-06 12:29 [PR PATCH] New package: devour-11.1 Visone-Selektah
` (9 preceding siblings ...)
2022-05-08 10:42 ` Visone-Selektah
@ 2022-05-08 17:17 ` Visone-Selektah
2022-05-08 20:19 ` Visone-Selektah
` (2 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: Visone-Selektah @ 2022-05-08 17:17 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1183 bytes --]
There is an updated pull request by Visone-Selektah against master on the void-packages repository
https://github.com/Visone-Selektah/void-packages devour
https://github.com/void-linux/void-packages/pull/37002
New package: devour-11.1
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: YES
<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->
<!-- 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, x86_64-musl
- I built this PR locally for these architectures :
- X86_64
- i686
A patch file from https://github.com/void-linux/void-packages/pull/37002.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-devour-37002.patch --]
[-- Type: text/x-diff, Size: 5041 bytes --]
From 1c450189a7b9a634e58d0e4cac93217fb48a1170 Mon Sep 17 00:00:00 2001
From: Victor Tebar <victortebar@gmail.com>
Date: Fri, 6 May 2022 14:27:06 +0200
Subject: [PATCH 1/3] New package: devour-11.1
---
srcpkgs/devour/template | 13 +++++++++++++
1 file changed, 13 insertions(+)
create mode 100644 srcpkgs/devour/template
diff --git a/srcpkgs/devour/template b/srcpkgs/devour/template
new file mode 100644
index 000000000000..693217ea7b8b
--- /dev/null
+++ b/srcpkgs/devour/template
@@ -0,0 +1,13 @@
+# Template file for 'devour'
+pkgname=devour
+version=11.1
+revision=1
+build_style=gnu-makefile
+hostmakedepends="pkgconf xdo"
+makedepends="libX11-devel"
+short_desc="terminal swallower"
+maintainer="Visone Selektah <victortebar@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://github.com/Visone-Selektah/devour"
+distfiles="https://github.com/Visone-Selektah/devour/archive/refs/tags/${version}.tar.gz"
+checksum=dad4b0b6585f7c6fbefaa9579bde88ea1f25e07ee168e4bebc4e61ca1c621db4
From 83a07c0279aa3a5d9789c1f79232507b2d1b17c1 Mon Sep 17 00:00:00 2001
From: Victor Tebar <victortebar@gmail.com>
Date: Sat, 7 May 2022 09:16:09 +0200
Subject: [PATCH 2/3] devour: Fix typo and remove xdo
---
srcpkgs/devour/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/devour/template b/srcpkgs/devour/template
index 693217ea7b8b..28e72aa8bb3b 100644
--- a/srcpkgs/devour/template
+++ b/srcpkgs/devour/template
@@ -3,9 +3,9 @@ pkgname=devour
version=11.1
revision=1
build_style=gnu-makefile
-hostmakedepends="pkgconf xdo"
+hostmakedepends="pkgconf"
makedepends="libX11-devel"
-short_desc="terminal swallower"
+short_desc="Terminal swallower"
maintainer="Visone Selektah <victortebar@gmail.com>"
license="GPL-2.0-or-later"
homepage="https://github.com/Visone-Selektah/devour"
From 518aae1076210592243376f659c16a27fbe8013e Mon Sep 17 00:00:00 2001
From: Victor Tebar <victortebar@gmail.com>
Date: Sun, 8 May 2022 19:18:45 +0200
Subject: [PATCH 3/3] Change distfiles to upstream & add patches
---
srcpkgs/devour/patches/devour-makefile.diff | 32 +++++++++++++++++++
.../patches/devour-shellalias-10.0.diff | 18 +++++++++++
srcpkgs/devour/template | 10 +++---
3 files changed, 55 insertions(+), 5 deletions(-)
create mode 100644 srcpkgs/devour/patches/devour-makefile.diff
create mode 100644 srcpkgs/devour/patches/devour-shellalias-10.0.diff
diff --git a/srcpkgs/devour/patches/devour-makefile.diff b/srcpkgs/devour/patches/devour-makefile.diff
new file mode 100644
index 000000000000..cb3a1c1f4787
--- /dev/null
+++ b/srcpkgs/devour/patches/devour-makefile.diff
@@ -0,0 +1,32 @@
+--- Makefile
++++ patches/Makefile
+@@ -6,21 +6,21 @@
+ CC = cc
+ CFLAGS = -std=c11 -D_POSIX_C_SOURCE=200809L -Wall -Wextra -pedantic -O2
+ LDLIBS = -s -lX11
++PREFIX = /usr
+
+-BIN_DIR = /usr/local/bin
+-
+ SRC = devour.c
+ OBJ = devour.o
+
+ all: $(NAME)
+ $(NAME): $(OBJ)
+ install: all
+- @mkdir -p $(BIN_DIR)
+- @mv $(NAME) $(BIN_DIR)
+- @rm -f $(OBJ)
+- @echo Done moving the binary to ${DESTDIR}${BIN_DIR}
++ @mkdir -p ${DESTDIR}${PREFIX}/bin
++ @mv devour ${DESTDIR}${PREFIX}/bin
++ @rm -f ${OBJ}
++ @echo Done installing executable files to ${DESTDIR}${PREFIX}/bin
++
+ uninstall:
+- @rm -f $(BIN_DIR)/$(NAME)
+- @echo Done removing the binary from $(BIN_DIR)
++ @rm -f ${DESTDIR}${PREFIX}/bin/devour
++ @echo Done removing executable files from ${DESTDIR}${PREFIX}/bin
+
+ .PHONY: all install uninstall
diff --git a/srcpkgs/devour/patches/devour-shellalias-10.0.diff b/srcpkgs/devour/patches/devour-shellalias-10.0.diff
new file mode 100644
index 000000000000..e79365f7dd2f
--- /dev/null
+++ b/srcpkgs/devour/patches/devour-shellalias-10.0.diff
@@ -0,0 +1,18 @@
+--- devour.c
++++ patches/devour.c
+@@ -14,6 +14,7 @@
+ char *arg;
+ char cmd[1024] = {0};
+
++ strcat(cmd, "$SHELL -i -c '");
+ while ((arg = *++argv)) {
+ while ((arg_char = *arg++)) {
+ if (strchr(UNSAFE_CHARS, arg_char))
+@@ -22,6 +23,7 @@
+ }
+ strcat(cmd, " ");
+ }
++ strcat(cmd, "> /dev/null 2>&1; exit'");
+ system(cmd);
+ }
+
diff --git a/srcpkgs/devour/template b/srcpkgs/devour/template
index 28e72aa8bb3b..8fba8273adaf 100644
--- a/srcpkgs/devour/template
+++ b/srcpkgs/devour/template
@@ -1,13 +1,13 @@
# Template file for 'devour'
pkgname=devour
-version=11.1
+version=12
revision=1
build_style=gnu-makefile
-hostmakedepends="pkgconf"
+hostmakedepends="pkg-config"
makedepends="libX11-devel"
short_desc="Terminal swallower"
maintainer="Visone Selektah <victortebar@gmail.com>"
license="GPL-2.0-or-later"
-homepage="https://github.com/Visone-Selektah/devour"
-distfiles="https://github.com/Visone-Selektah/devour/archive/refs/tags/${version}.tar.gz"
-checksum=dad4b0b6585f7c6fbefaa9579bde88ea1f25e07ee168e4bebc4e61ca1c621db4
+homepage="https://github.com/salman-abedin/devour"
+distfiles="https://github.com/salman-abedin/devour/archive/refs/tags/${version}.tar.gz"
+checksum=5e9ddfee23d33557ba0b72affed6816d7b66ff06ef00aecdf0813b32f09b6eb4
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PR PATCH] [Updated] New package: devour-11.1
2022-05-06 12:29 [PR PATCH] New package: devour-11.1 Visone-Selektah
` (10 preceding siblings ...)
2022-05-08 17:17 ` [PR PATCH] [Updated] " Visone-Selektah
@ 2022-05-08 20:19 ` Visone-Selektah
2022-08-07 2:14 ` github-actions
2022-08-21 2:16 ` [PR PATCH] [Closed]: " github-actions
13 siblings, 0 replies; 15+ messages in thread
From: Visone-Selektah @ 2022-05-08 20:19 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1183 bytes --]
There is an updated pull request by Visone-Selektah against master on the void-packages repository
https://github.com/Visone-Selektah/void-packages devour
https://github.com/void-linux/void-packages/pull/37002
New package: devour-11.1
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: YES
<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->
<!-- 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, x86_64-musl
- I built this PR locally for these architectures :
- X86_64
- i686
A patch file from https://github.com/void-linux/void-packages/pull/37002.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-devour-37002.patch --]
[-- Type: text/x-diff, Size: 5879 bytes --]
From 1c450189a7b9a634e58d0e4cac93217fb48a1170 Mon Sep 17 00:00:00 2001
From: Victor Tebar <victortebar@gmail.com>
Date: Fri, 6 May 2022 14:27:06 +0200
Subject: [PATCH 1/4] New package: devour-11.1
---
srcpkgs/devour/template | 13 +++++++++++++
1 file changed, 13 insertions(+)
create mode 100644 srcpkgs/devour/template
diff --git a/srcpkgs/devour/template b/srcpkgs/devour/template
new file mode 100644
index 000000000000..693217ea7b8b
--- /dev/null
+++ b/srcpkgs/devour/template
@@ -0,0 +1,13 @@
+# Template file for 'devour'
+pkgname=devour
+version=11.1
+revision=1
+build_style=gnu-makefile
+hostmakedepends="pkgconf xdo"
+makedepends="libX11-devel"
+short_desc="terminal swallower"
+maintainer="Visone Selektah <victortebar@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://github.com/Visone-Selektah/devour"
+distfiles="https://github.com/Visone-Selektah/devour/archive/refs/tags/${version}.tar.gz"
+checksum=dad4b0b6585f7c6fbefaa9579bde88ea1f25e07ee168e4bebc4e61ca1c621db4
From 83a07c0279aa3a5d9789c1f79232507b2d1b17c1 Mon Sep 17 00:00:00 2001
From: Victor Tebar <victortebar@gmail.com>
Date: Sat, 7 May 2022 09:16:09 +0200
Subject: [PATCH 2/4] devour: Fix typo and remove xdo
---
srcpkgs/devour/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/devour/template b/srcpkgs/devour/template
index 693217ea7b8b..28e72aa8bb3b 100644
--- a/srcpkgs/devour/template
+++ b/srcpkgs/devour/template
@@ -3,9 +3,9 @@ pkgname=devour
version=11.1
revision=1
build_style=gnu-makefile
-hostmakedepends="pkgconf xdo"
+hostmakedepends="pkgconf"
makedepends="libX11-devel"
-short_desc="terminal swallower"
+short_desc="Terminal swallower"
maintainer="Visone Selektah <victortebar@gmail.com>"
license="GPL-2.0-or-later"
homepage="https://github.com/Visone-Selektah/devour"
From 518aae1076210592243376f659c16a27fbe8013e Mon Sep 17 00:00:00 2001
From: Victor Tebar <victortebar@gmail.com>
Date: Sun, 8 May 2022 19:18:45 +0200
Subject: [PATCH 3/4] Change distfiles to upstream & add patches
---
srcpkgs/devour/patches/devour-makefile.diff | 32 +++++++++++++++++++
.../patches/devour-shellalias-10.0.diff | 18 +++++++++++
srcpkgs/devour/template | 10 +++---
3 files changed, 55 insertions(+), 5 deletions(-)
create mode 100644 srcpkgs/devour/patches/devour-makefile.diff
create mode 100644 srcpkgs/devour/patches/devour-shellalias-10.0.diff
diff --git a/srcpkgs/devour/patches/devour-makefile.diff b/srcpkgs/devour/patches/devour-makefile.diff
new file mode 100644
index 000000000000..cb3a1c1f4787
--- /dev/null
+++ b/srcpkgs/devour/patches/devour-makefile.diff
@@ -0,0 +1,32 @@
+--- Makefile
++++ patches/Makefile
+@@ -6,21 +6,21 @@
+ CC = cc
+ CFLAGS = -std=c11 -D_POSIX_C_SOURCE=200809L -Wall -Wextra -pedantic -O2
+ LDLIBS = -s -lX11
++PREFIX = /usr
+
+-BIN_DIR = /usr/local/bin
+-
+ SRC = devour.c
+ OBJ = devour.o
+
+ all: $(NAME)
+ $(NAME): $(OBJ)
+ install: all
+- @mkdir -p $(BIN_DIR)
+- @mv $(NAME) $(BIN_DIR)
+- @rm -f $(OBJ)
+- @echo Done moving the binary to ${DESTDIR}${BIN_DIR}
++ @mkdir -p ${DESTDIR}${PREFIX}/bin
++ @mv devour ${DESTDIR}${PREFIX}/bin
++ @rm -f ${OBJ}
++ @echo Done installing executable files to ${DESTDIR}${PREFIX}/bin
++
+ uninstall:
+- @rm -f $(BIN_DIR)/$(NAME)
+- @echo Done removing the binary from $(BIN_DIR)
++ @rm -f ${DESTDIR}${PREFIX}/bin/devour
++ @echo Done removing executable files from ${DESTDIR}${PREFIX}/bin
+
+ .PHONY: all install uninstall
diff --git a/srcpkgs/devour/patches/devour-shellalias-10.0.diff b/srcpkgs/devour/patches/devour-shellalias-10.0.diff
new file mode 100644
index 000000000000..e79365f7dd2f
--- /dev/null
+++ b/srcpkgs/devour/patches/devour-shellalias-10.0.diff
@@ -0,0 +1,18 @@
+--- devour.c
++++ patches/devour.c
+@@ -14,6 +14,7 @@
+ char *arg;
+ char cmd[1024] = {0};
+
++ strcat(cmd, "$SHELL -i -c '");
+ while ((arg = *++argv)) {
+ while ((arg_char = *arg++)) {
+ if (strchr(UNSAFE_CHARS, arg_char))
+@@ -22,6 +23,7 @@
+ }
+ strcat(cmd, " ");
+ }
++ strcat(cmd, "> /dev/null 2>&1; exit'");
+ system(cmd);
+ }
+
diff --git a/srcpkgs/devour/template b/srcpkgs/devour/template
index 28e72aa8bb3b..8fba8273adaf 100644
--- a/srcpkgs/devour/template
+++ b/srcpkgs/devour/template
@@ -1,13 +1,13 @@
# Template file for 'devour'
pkgname=devour
-version=11.1
+version=12
revision=1
build_style=gnu-makefile
-hostmakedepends="pkgconf"
+hostmakedepends="pkg-config"
makedepends="libX11-devel"
short_desc="Terminal swallower"
maintainer="Visone Selektah <victortebar@gmail.com>"
license="GPL-2.0-or-later"
-homepage="https://github.com/Visone-Selektah/devour"
-distfiles="https://github.com/Visone-Selektah/devour/archive/refs/tags/${version}.tar.gz"
-checksum=dad4b0b6585f7c6fbefaa9579bde88ea1f25e07ee168e4bebc4e61ca1c621db4
+homepage="https://github.com/salman-abedin/devour"
+distfiles="https://github.com/salman-abedin/devour/archive/refs/tags/${version}.tar.gz"
+checksum=5e9ddfee23d33557ba0b72affed6816d7b66ff06ef00aecdf0813b32f09b6eb4
From 8eb20c8025fcc92ffbf2805c1e8fd20926a3417a Mon Sep 17 00:00:00 2001
From: Victor Tebar <victortebar@gmail.com>
Date: Sun, 8 May 2022 22:20:55 +0200
Subject: [PATCH 4/4] devour: update to 12
---
srcpkgs/devour/patches/devour-makefile.diff | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/devour/patches/devour-makefile.diff b/srcpkgs/devour/patches/devour-makefile.diff
index cb3a1c1f4787..043f1e84c968 100644
--- a/srcpkgs/devour/patches/devour-makefile.diff
+++ b/srcpkgs/devour/patches/devour-makefile.diff
@@ -1,6 +1,12 @@
--- Makefile
-+++ patches/Makefile
-@@ -6,21 +6,21 @@
++++ 12/Makefile
+@@ -1,26 +1,26 @@
+ .POSIX:
+
+ NAME = devour
+-VERSION = 11.0
++VERSION = 12.0
+
CC = cc
CFLAGS = -std=c11 -D_POSIX_C_SOURCE=200809L -Wall -Wextra -pedantic -O2
LDLIBS = -s -lX11
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: New package: devour-11.1
2022-05-06 12:29 [PR PATCH] New package: devour-11.1 Visone-Selektah
` (11 preceding siblings ...)
2022-05-08 20:19 ` Visone-Selektah
@ 2022-08-07 2:14 ` github-actions
2022-08-21 2:16 ` [PR PATCH] [Closed]: " github-actions
13 siblings, 0 replies; 15+ messages in thread
From: github-actions @ 2022-08-07 2:14 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 305 bytes --]
New comment by github-actions[bot] on void-packages repository
https://github.com/void-linux/void-packages/pull/37002#issuecomment-1207316065
Comment:
Pull Requests become stale 90 days after last activity and are closed 14 days after that. If this pull request is still relevant bump it or assign it.
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PR PATCH] [Closed]: New package: devour-11.1
2022-05-06 12:29 [PR PATCH] New package: devour-11.1 Visone-Selektah
` (12 preceding siblings ...)
2022-08-07 2:14 ` github-actions
@ 2022-08-21 2:16 ` github-actions
13 siblings, 0 replies; 15+ messages in thread
From: github-actions @ 2022-08-21 2:16 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1012 bytes --]
There's a closed pull request on the void-packages repository
New package: devour-11.1
https://github.com/void-linux/void-packages/pull/37002
Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: YES
<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->
<!-- 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, x86_64-musl
- I built this PR locally for these architectures :
- X86_64
- i686
^ permalink raw reply [flat|nested] 15+ messages in thread
end of thread, other threads:[~2022-08-21 2:16 UTC | newest]
Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-06 12:29 [PR PATCH] New package: devour-11.1 Visone-Selektah
2022-05-07 1:28 ` [PR REVIEW] " abenson
2022-05-07 1:29 ` abenson
2022-05-07 7:14 ` [PR PATCH] [Updated] " Visone-Selektah
2022-05-07 7:18 ` [PR REVIEW] " Visone-Selektah
2022-05-07 20:53 ` paper42
2022-05-07 20:53 ` paper42
2022-05-07 21:20 ` Visone-Selektah
2022-05-07 21:21 ` Visone-Selektah
2022-05-08 8:56 ` paper42
2022-05-08 10:42 ` Visone-Selektah
2022-05-08 17:17 ` [PR PATCH] [Updated] " Visone-Selektah
2022-05-08 20:19 ` Visone-Selektah
2022-08-07 2:14 ` github-actions
2022-08-21 2:16 ` [PR PATCH] [Closed]: " github-actions
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).