* [PR PATCH] darkman: update to 2.0.1., add shell completions
@ 2024-06-14 16:58 balejk
2024-06-14 17:28 ` [PR PATCH] [Updated] " balejk
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: balejk @ 2024-06-14 16:58 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1153 bytes --]
There is a new pull request by balejk against master on the void-packages repository
https://github.com/balejk/void-packages darkman-2.0.1
https://github.com/void-linux/void-packages/pull/50832
darkman: update to 2.0.1., add shell completions
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **briefly** (not the fish completion)
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-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)
---
Cc: @motorto
A patch file from https://github.com/void-linux/void-packages/pull/50832.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-darkman-2.0.1-50832.patch --]
[-- Type: text/x-diff, Size: 1563 bytes --]
From ae6c85c61bac0ebd5f559b42de432d5825498b19 Mon Sep 17 00:00:00 2001
From: Karel Balej <balejk@matfyz.cz>
Date: Fri, 14 Jun 2024 18:34:22 +0200
Subject: [PATCH] darkman: update to 2.0.1., add shell completions
---
srcpkgs/darkman/template | 18 +++++++++++++++---
1 file changed, 15 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/darkman/template b/srcpkgs/darkman/template
index 9b73ad81d86241..2db27b77784448 100644
--- a/srcpkgs/darkman/template
+++ b/srcpkgs/darkman/template
@@ -1,8 +1,9 @@
# Template file for 'darkman'
pkgname=darkman
-version=1.5.4
-revision=2
+version=2.0.1
+revision=1
build_style=go
+build_helper=qemu
go_import_path="gitlab.com/WhyNotHugo/darkman"
go_package="${go_import_path}/cmd/darkman"
go_ldflags="-X main.Version=${version}"
@@ -14,7 +15,14 @@ license="ISC"
homepage="https://darkman.whynothugo.nl/"
changelog="https://gitlab.com/WhyNotHugo/darkman/-/raw/main/CHANGELOG.md"
distfiles="https://gitlab.com/WhyNotHugo/darkman/-/archive/v${version}/darkman-v${version}.tar"
-checksum=c19b33a62a90120df53ccfa823eb69da24429bb63101d57e9604e36eb3de9e38
+checksum=8bfcf0884c8a71b523d675f47037c5e4f51dcb52ef59a3b7d538a82c3cf41fbe
+_completions="zsh bash fish"
+
+post_build() {
+ for _shell in ${_completions}; do
+ vtargetrun ${GOPATH}/bin/darkman completion ${_shell} > darkman.${_shell}
+ done
+}
post_install() {
vmkdir usr/share/dbus-1/services
@@ -28,4 +36,8 @@ post_install() {
vman darkman.1
vlicense LICENCE
+
+ for _shell in ${_completions}; do
+ vcompletion darkman.${_shell} ${_shell}
+ done
}
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PR PATCH] [Updated] darkman: update to 2.0.1., add shell completions
2024-06-14 16:58 [PR PATCH] darkman: update to 2.0.1., add shell completions balejk
@ 2024-06-14 17:28 ` balejk
2024-06-14 17:43 ` balejk
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: balejk @ 2024-06-14 17:28 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1158 bytes --]
There is an updated pull request by balejk against master on the void-packages repository
https://github.com/balejk/void-packages darkman-2.0.1
https://github.com/void-linux/void-packages/pull/50832
darkman: update to 2.0.1., add shell completions
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **briefly** (not the fish completion)
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-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)
---
Cc: @motorto
A patch file from https://github.com/void-linux/void-packages/pull/50832.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-darkman-2.0.1-50832.patch --]
[-- Type: text/x-diff, Size: 1602 bytes --]
From cfdf26fc9b2094980c295ff6382f62489866ad9d Mon Sep 17 00:00:00 2001
From: Karel Balej <balejk@matfyz.cz>
Date: Fri, 14 Jun 2024 18:34:22 +0200
Subject: [PATCH] darkman: update to 2.0.1., add shell completions
---
srcpkgs/darkman/template | 19 ++++++++++++++++---
1 file changed, 16 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/darkman/template b/srcpkgs/darkman/template
index 9b73ad81d86241..d064c55aec2680 100644
--- a/srcpkgs/darkman/template
+++ b/srcpkgs/darkman/template
@@ -1,8 +1,9 @@
# Template file for 'darkman'
pkgname=darkman
-version=1.5.4
-revision=2
+version=2.0.1
+revision=1
build_style=go
+build_helper=qemu
go_import_path="gitlab.com/WhyNotHugo/darkman"
go_package="${go_import_path}/cmd/darkman"
go_ldflags="-X main.Version=${version}"
@@ -14,7 +15,15 @@ license="ISC"
homepage="https://darkman.whynothugo.nl/"
changelog="https://gitlab.com/WhyNotHugo/darkman/-/raw/main/CHANGELOG.md"
distfiles="https://gitlab.com/WhyNotHugo/darkman/-/archive/v${version}/darkman-v${version}.tar"
-checksum=c19b33a62a90120df53ccfa823eb69da24429bb63101d57e9604e36eb3de9e38
+checksum=8bfcf0884c8a71b523d675f47037c5e4f51dcb52ef59a3b7d538a82c3cf41fbe
+_completions="zsh bash fish"
+
+post_build() {
+ local _bin="`find ${GOPATH}/bin -name darkman`"
+ for _shell in ${_completions}; do
+ vtargetrun "${_bin}" completion ${_shell} > darkman.${_shell}
+ done
+}
post_install() {
vmkdir usr/share/dbus-1/services
@@ -28,4 +37,8 @@ post_install() {
vman darkman.1
vlicense LICENCE
+
+ for _shell in ${_completions}; do
+ vcompletion darkman.${_shell} ${_shell}
+ done
}
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PR PATCH] [Updated] darkman: update to 2.0.1., add shell completions
2024-06-14 16:58 [PR PATCH] darkman: update to 2.0.1., add shell completions balejk
2024-06-14 17:28 ` [PR PATCH] [Updated] " balejk
@ 2024-06-14 17:43 ` balejk
2024-06-14 19:16 ` balejk
2024-06-15 1:05 ` [PR PATCH] [Closed]: " classabbyamp
3 siblings, 0 replies; 5+ messages in thread
From: balejk @ 2024-06-14 17:43 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1158 bytes --]
There is an updated pull request by balejk against master on the void-packages repository
https://github.com/balejk/void-packages darkman-2.0.1
https://github.com/void-linux/void-packages/pull/50832
darkman: update to 2.0.1., add shell completions
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **briefly** (not the fish completion)
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-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)
---
Cc: @motorto
A patch file from https://github.com/void-linux/void-packages/pull/50832.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-darkman-2.0.1-50832.patch --]
[-- Type: text/x-diff, Size: 1603 bytes --]
From 0b72021bc59eb86865e0ac56d1e00ab1697e3b53 Mon Sep 17 00:00:00 2001
From: Karel Balej <balejk@matfyz.cz>
Date: Fri, 14 Jun 2024 18:34:22 +0200
Subject: [PATCH] darkman: update to 2.0.1., add shell completions
---
srcpkgs/darkman/template | 19 ++++++++++++++++---
1 file changed, 16 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/darkman/template b/srcpkgs/darkman/template
index 9b73ad81d86241..de4e655c2ee90e 100644
--- a/srcpkgs/darkman/template
+++ b/srcpkgs/darkman/template
@@ -1,8 +1,9 @@
# Template file for 'darkman'
pkgname=darkman
-version=1.5.4
-revision=2
+version=2.0.1
+revision=1
build_style=go
+build_helper=qemu
go_import_path="gitlab.com/WhyNotHugo/darkman"
go_package="${go_import_path}/cmd/darkman"
go_ldflags="-X main.Version=${version}"
@@ -14,7 +15,15 @@ license="ISC"
homepage="https://darkman.whynothugo.nl/"
changelog="https://gitlab.com/WhyNotHugo/darkman/-/raw/main/CHANGELOG.md"
distfiles="https://gitlab.com/WhyNotHugo/darkman/-/archive/v${version}/darkman-v${version}.tar"
-checksum=c19b33a62a90120df53ccfa823eb69da24429bb63101d57e9604e36eb3de9e38
+checksum=8bfcf0884c8a71b523d675f47037c5e4f51dcb52ef59a3b7d538a82c3cf41fbe
+_completions="zsh bash fish"
+
+post_build() {
+ local _bin="$(find ${GOPATH}/bin -name darkman)"
+ for _shell in ${_completions}; do
+ vtargetrun "${_bin}" completion ${_shell} > darkman.${_shell}
+ done
+}
post_install() {
vmkdir usr/share/dbus-1/services
@@ -28,4 +37,8 @@ post_install() {
vman darkman.1
vlicense LICENCE
+
+ for _shell in ${_completions}; do
+ vcompletion darkman.${_shell} ${_shell}
+ done
}
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PR PATCH] [Updated] darkman: update to 2.0.1., add shell completions
2024-06-14 16:58 [PR PATCH] darkman: update to 2.0.1., add shell completions balejk
2024-06-14 17:28 ` [PR PATCH] [Updated] " balejk
2024-06-14 17:43 ` balejk
@ 2024-06-14 19:16 ` balejk
2024-06-15 1:05 ` [PR PATCH] [Closed]: " classabbyamp
3 siblings, 0 replies; 5+ messages in thread
From: balejk @ 2024-06-14 19:16 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1158 bytes --]
There is an updated pull request by balejk against master on the void-packages repository
https://github.com/balejk/void-packages darkman-2.0.1
https://github.com/void-linux/void-packages/pull/50832
darkman: update to 2.0.1., add shell completions
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **briefly** (not the fish completion)
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-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)
---
Cc: @motorto
A patch file from https://github.com/void-linux/void-packages/pull/50832.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-darkman-2.0.1-50832.patch --]
[-- Type: text/x-diff, Size: 1783 bytes --]
From 1fa063aeef9974e7d2e7973287f4063acea64de3 Mon Sep 17 00:00:00 2001
From: Karel Balej <balejk@matfyz.cz>
Date: Fri, 14 Jun 2024 18:34:22 +0200
Subject: [PATCH] darkman: update to 2.0.1., add shell completions
---
srcpkgs/darkman/template | 24 +++++++++++++++++++++---
1 file changed, 21 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/darkman/template b/srcpkgs/darkman/template
index 9b73ad81d86241..52cfda8a15efd8 100644
--- a/srcpkgs/darkman/template
+++ b/srcpkgs/darkman/template
@@ -1,8 +1,9 @@
# Template file for 'darkman'
pkgname=darkman
-version=1.5.4
-revision=2
+version=2.0.1
+revision=1
build_style=go
+build_helper=qemu
go_import_path="gitlab.com/WhyNotHugo/darkman"
go_package="${go_import_path}/cmd/darkman"
go_ldflags="-X main.Version=${version}"
@@ -14,7 +15,18 @@ license="ISC"
homepage="https://darkman.whynothugo.nl/"
changelog="https://gitlab.com/WhyNotHugo/darkman/-/raw/main/CHANGELOG.md"
distfiles="https://gitlab.com/WhyNotHugo/darkman/-/archive/v${version}/darkman-v${version}.tar"
-checksum=c19b33a62a90120df53ccfa823eb69da24429bb63101d57e9604e36eb3de9e38
+checksum=8bfcf0884c8a71b523d675f47037c5e4f51dcb52ef59a3b7d538a82c3cf41fbe
+_completions="zsh bash fish"
+
+post_build() {
+ if [ "$XBPS_TARGET_MACHINE" != "aarch64-musl" ]; then
+ # The qemu run segfaults on aarch64-musl.
+ local _bin="$(find ${GOPATH}/bin -name darkman)"
+ for _shell in ${_completions}; do
+ vtargetrun "${_bin}" completion ${_shell} > darkman.${_shell}
+ done
+ fi
+}
post_install() {
vmkdir usr/share/dbus-1/services
@@ -28,4 +40,10 @@ post_install() {
vman darkman.1
vlicense LICENCE
+
+ if [ "$XBPS_TARGET_MACHINE" != "aarch64-musl" ]; then
+ for _shell in ${_completions}; do
+ vcompletion darkman.${_shell} ${_shell}
+ done
+ fi
}
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PR PATCH] [Closed]: darkman: update to 2.0.1., add shell completions
2024-06-14 16:58 [PR PATCH] darkman: update to 2.0.1., add shell completions balejk
` (2 preceding siblings ...)
2024-06-14 19:16 ` balejk
@ 2024-06-15 1:05 ` classabbyamp
3 siblings, 0 replies; 5+ messages in thread
From: classabbyamp @ 2024-06-15 1:05 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 998 bytes --]
There's a closed pull request on the void-packages repository
darkman: update to 2.0.1., add shell completions
https://github.com/void-linux/void-packages/pull/50832
Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **briefly** (not the fish completion)
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-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)
---
Cc: @motorto
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2024-06-15 1:05 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-14 16:58 [PR PATCH] darkman: update to 2.0.1., add shell completions balejk
2024-06-14 17:28 ` [PR PATCH] [Updated] " balejk
2024-06-14 17:43 ` balejk
2024-06-14 19:16 ` balejk
2024-06-15 1:05 ` [PR PATCH] [Closed]: " classabbyamp
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).