* [PR PATCH] New package: gonic-0.15.2
@ 2023-09-11 9:53 fanyx
2023-09-11 9:56 ` [PR PATCH] [Updated] " fanyx
` (25 more replies)
0 siblings, 26 replies; 27+ messages in thread
From: fanyx @ 2023-09-11 9:53 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 573 bytes --]
There is a new pull request by fanyx against master on the void-packages repository
https://github.com/fanyx/void-packages gonic
https://github.com/void-linux/void-packages/pull/46013
New package: gonic-0.15.2
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
Resolves #44353
A patch file from https://github.com/void-linux/void-packages/pull/46013.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gonic-46013.patch --]
[-- Type: text/x-diff, Size: 1041 bytes --]
From c521661a61fd3493df541c7d70a2da459fc68047 Mon Sep 17 00:00:00 2001
From: fanyx <fanyx@posteo.net>
Date: Mon, 11 Sep 2023 11:49:57 +0200
Subject: [PATCH] New package: gonic-0.15.2
---
srcpkgs/gonic/template | 14 ++++++++++++++
1 file changed, 14 insertions(+)
create mode 100644 srcpkgs/gonic/template
diff --git a/srcpkgs/gonic/template b/srcpkgs/gonic/template
new file mode 100644
index 0000000000000..998a5cdb2abe3
--- /dev/null
+++ b/srcpkgs/gonic/template
@@ -0,0 +1,14 @@
+# Template file for 'gonic'
+pkgname=gonic
+version=0.15.2
+revision=1
+build_style=go
+hostmakedepends="pkg-config taglib-devel"
+go_import_path="go.senan.xyz/gonic"
+go_package="${go_import_path}/cmd/gonic"
+short_desc="Music streaming server / Subsonic server API implementation"
+maintainer="fanyx <fanyx@posteo.net>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/sentriz/gonic"
+distfiles="https://github.com/sentriz/gonic/archive/refs/tags/v${version}.tar.gz"
+checksum=f70580a3bf96b0e9144bfaae07d7f158fc7dc732eba240c191effb9c30d28edc
^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [PR PATCH] [Updated] New package: gonic-0.15.2
2023-09-11 9:53 [PR PATCH] New package: gonic-0.15.2 fanyx
@ 2023-09-11 9:56 ` fanyx
2023-09-11 9:57 ` fanyx
` (24 subsequent siblings)
25 siblings, 0 replies; 27+ messages in thread
From: fanyx @ 2023-09-11 9:56 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 578 bytes --]
There is an updated pull request by fanyx against master on the void-packages repository
https://github.com/fanyx/void-packages gonic
https://github.com/void-linux/void-packages/pull/46013
New package: gonic-0.15.2
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
Resolves #44353
A patch file from https://github.com/void-linux/void-packages/pull/46013.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gonic-46013.patch --]
[-- Type: text/x-diff, Size: 1061 bytes --]
From 9e48a11904d345b45dca3d91279c26fd74aceceb Mon Sep 17 00:00:00 2001
From: fanyx <fanyx@posteo.net>
Date: Mon, 11 Sep 2023 11:49:57 +0200
Subject: [PATCH] New package: gonic-0.15.2
---
srcpkgs/gonic/template | 15 +++++++++++++++
1 file changed, 15 insertions(+)
create mode 100644 srcpkgs/gonic/template
diff --git a/srcpkgs/gonic/template b/srcpkgs/gonic/template
new file mode 100644
index 0000000000000..3679799e48291
--- /dev/null
+++ b/srcpkgs/gonic/template
@@ -0,0 +1,15 @@
+# Template file for 'gonic'
+pkgname=gonic
+version=0.15.2
+revision=1
+build_style=go
+hostmakedepends="pkg-config taglib-devel"
+depends="sqlite3"
+go_import_path="go.senan.xyz/gonic"
+go_package="${go_import_path}/cmd/gonic"
+short_desc="Music streaming server / Subsonic server API implementation"
+maintainer="fanyx <fanyx@posteo.net>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/sentriz/gonic"
+distfiles="https://github.com/sentriz/gonic/archive/refs/tags/v${version}.tar.gz"
+checksum=f70580a3bf96b0e9144bfaae07d7f158fc7dc732eba240c191effb9c30d28edc
^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [PR PATCH] [Updated] New package: gonic-0.15.2
2023-09-11 9:53 [PR PATCH] New package: gonic-0.15.2 fanyx
2023-09-11 9:56 ` [PR PATCH] [Updated] " fanyx
@ 2023-09-11 9:57 ` fanyx
2023-09-11 9:59 ` fanyx
` (23 subsequent siblings)
25 siblings, 0 replies; 27+ messages in thread
From: fanyx @ 2023-09-11 9:57 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 578 bytes --]
There is an updated pull request by fanyx against master on the void-packages repository
https://github.com/fanyx/void-packages gonic
https://github.com/void-linux/void-packages/pull/46013
New package: gonic-0.15.2
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
Resolves #44353
A patch file from https://github.com/void-linux/void-packages/pull/46013.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gonic-46013.patch --]
[-- Type: text/x-diff, Size: 1061 bytes --]
From 669bc153c3ed9fbb1c8829d9d70ec3accde15d42 Mon Sep 17 00:00:00 2001
From: fanyx <fanyx@posteo.net>
Date: Mon, 11 Sep 2023 11:49:57 +0200
Subject: [PATCH] New package: gonic-0.15.2
---
srcpkgs/gonic/template | 15 +++++++++++++++
1 file changed, 15 insertions(+)
create mode 100644 srcpkgs/gonic/template
diff --git a/srcpkgs/gonic/template b/srcpkgs/gonic/template
new file mode 100644
index 0000000000000..339569371dde4
--- /dev/null
+++ b/srcpkgs/gonic/template
@@ -0,0 +1,15 @@
+# Template file for 'gonic'
+pkgname=gonic
+version=0.15.2
+revision=1
+build_style=go
+go_import_path="go.senan.xyz/gonic"
+go_package="${go_import_path}/cmd/gonic"
+hostmakedepends="pkg-config taglib-devel"
+depends="sqlite3"
+short_desc="Music streaming server / Subsonic server API implementation"
+maintainer="fanyx <fanyx@posteo.net>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/sentriz/gonic"
+distfiles="https://github.com/sentriz/gonic/archive/refs/tags/v${version}.tar.gz"
+checksum=f70580a3bf96b0e9144bfaae07d7f158fc7dc732eba240c191effb9c30d28edc
^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [PR PATCH] [Updated] New package: gonic-0.15.2
2023-09-11 9:53 [PR PATCH] New package: gonic-0.15.2 fanyx
2023-09-11 9:56 ` [PR PATCH] [Updated] " fanyx
2023-09-11 9:57 ` fanyx
@ 2023-09-11 9:59 ` fanyx
2023-09-11 10:03 ` fanyx
` (22 subsequent siblings)
25 siblings, 0 replies; 27+ messages in thread
From: fanyx @ 2023-09-11 9:59 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 578 bytes --]
There is an updated pull request by fanyx against master on the void-packages repository
https://github.com/fanyx/void-packages gonic
https://github.com/void-linux/void-packages/pull/46013
New package: gonic-0.15.2
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
Resolves #44353
A patch file from https://github.com/void-linux/void-packages/pull/46013.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gonic-46013.patch --]
[-- Type: text/x-diff, Size: 1062 bytes --]
From 95e254d952e9b11db2a2cadb5e10ada1f6dd6bc1 Mon Sep 17 00:00:00 2001
From: fanyx <fanyx@posteo.net>
Date: Mon, 11 Sep 2023 11:49:57 +0200
Subject: [PATCH] New package: gonic-0.15.2
---
srcpkgs/gonic/template | 15 +++++++++++++++
1 file changed, 15 insertions(+)
create mode 100644 srcpkgs/gonic/template
diff --git a/srcpkgs/gonic/template b/srcpkgs/gonic/template
new file mode 100644
index 0000000000000..0f598f3276d76
--- /dev/null
+++ b/srcpkgs/gonic/template
@@ -0,0 +1,15 @@
+# Template file for 'gonic'
+pkgname=gonic
+version=0.15.2
+revision=1
+build_style=go
+go_import_path="go.senan.xyz/gonic"
+go_package="${go_import_path}/cmd/gonic"
+hostmakedepends="pkg-config taglib-devel"
+depends="sqlite-3"
+short_desc="Music streaming server / Subsonic server API implementation"
+maintainer="fanyx <fanyx@posteo.net>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/sentriz/gonic"
+distfiles="https://github.com/sentriz/gonic/archive/refs/tags/v${version}.tar.gz"
+checksum=f70580a3bf96b0e9144bfaae07d7f158fc7dc732eba240c191effb9c30d28edc
^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [PR PATCH] [Updated] New package: gonic-0.15.2
2023-09-11 9:53 [PR PATCH] New package: gonic-0.15.2 fanyx
` (2 preceding siblings ...)
2023-09-11 9:59 ` fanyx
@ 2023-09-11 10:03 ` fanyx
2023-09-11 11:31 ` Duncaen
` (21 subsequent siblings)
25 siblings, 0 replies; 27+ messages in thread
From: fanyx @ 2023-09-11 10:03 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 578 bytes --]
There is an updated pull request by fanyx against master on the void-packages repository
https://github.com/fanyx/void-packages gonic
https://github.com/void-linux/void-packages/pull/46013
New package: gonic-0.15.2
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
Resolves #44353
A patch file from https://github.com/void-linux/void-packages/pull/46013.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gonic-46013.patch --]
[-- Type: text/x-diff, Size: 1060 bytes --]
From b153b7e542ca9295ba113c8d130d1f1e7d65bf1b Mon Sep 17 00:00:00 2001
From: fanyx <fanyx@posteo.net>
Date: Mon, 11 Sep 2023 11:49:57 +0200
Subject: [PATCH] New package: gonic-0.15.2
---
srcpkgs/gonic/template | 15 +++++++++++++++
1 file changed, 15 insertions(+)
create mode 100644 srcpkgs/gonic/template
diff --git a/srcpkgs/gonic/template b/srcpkgs/gonic/template
new file mode 100644
index 0000000000000..6f65ac87e1722
--- /dev/null
+++ b/srcpkgs/gonic/template
@@ -0,0 +1,15 @@
+# Template file for 'gonic'
+pkgname=gonic
+version=0.15.2
+revision=1
+build_style=go
+go_import_path="go.senan.xyz/gonic"
+go_package="${go_import_path}/cmd/gonic"
+hostmakedepends="pkg-config taglib-devel"
+depends="sqlite"
+short_desc="Music streaming server / Subsonic server API implementation"
+maintainer="fanyx <fanyx@posteo.net>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/sentriz/gonic"
+distfiles="https://github.com/sentriz/gonic/archive/refs/tags/v${version}.tar.gz"
+checksum=f70580a3bf96b0e9144bfaae07d7f158fc7dc732eba240c191effb9c30d28edc
^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: New package: gonic-0.15.2
2023-09-11 9:53 [PR PATCH] New package: gonic-0.15.2 fanyx
` (3 preceding siblings ...)
2023-09-11 10:03 ` fanyx
@ 2023-09-11 11:31 ` Duncaen
2023-09-11 11:52 ` fanyx
` (20 subsequent siblings)
25 siblings, 0 replies; 27+ messages in thread
From: Duncaen @ 2023-09-11 11:31 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1432 bytes --]
New comment by Duncaen on void-packages repository
https://github.com/void-linux/void-packages/pull/46013#issuecomment-1713696567
Comment:
```
# Template file for 'gonic'
pkgname=gonic
version=0.15.2
revision=1
build_style=go
go_import_path="go.senan.xyz/gonic"
go_package="${go_import_path}/cmd/gonic"
hostmakedepends="pkg-config"
makedepends="
alsa-lib-devel
sqlite-devel
taglib-devel"
depends="ffmpeg"
short_desc="Music streaming server / subsonic server API implementation"
maintainer="Duncaen <duncaen@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="https://github.com/sentriz/gonic"
distfiles="https://github.com/sentriz/gonic/archive/v${version}.tar.gz"
checksum=f70580a3bf96b0e9144bfaae07d7f158fc7dc732eba240c191effb9c30d28edc
system_accounts="_gonic"
_gonic_homedir="/var/lib/gonic"
make_dirs="
/var/cache/gonic 755 _gonic _gonic
/var/db/gonic 755 _gonic _gonic
/var/lib/gonic/music 755 _gonic _gonic
/var/lib/gonic/podcast 755 _gonic _gonic"
post_install() {
vsv gonic
}
```
`srcpkgs/gonic/files/gonic/run`:
```
#!/bin/sh
[ -r ./conf ] && . ./conf
: ${GONIC_CACHE_PATH:=/var/cache/gonic}
: ${GONIC_DB_PATH:=/var/db/gonic/gonic.db}
: ${GONIC_MUSIC_PATH:=/var/lib/gonic/music}
: ${GONIC_PODCAST_PATH:=/var/lib/gonic/podcast}
export GONIC_CACHE_PATH GONIC_DB_PATH GONIC_MUSIC_PATH GONIC_PODCAST_PATH
exec chpst -u _gonic gonic $OPTS 2>&1
```
^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: New package: gonic-0.15.2
2023-09-11 9:53 [PR PATCH] New package: gonic-0.15.2 fanyx
` (4 preceding siblings ...)
2023-09-11 11:31 ` Duncaen
@ 2023-09-11 11:52 ` fanyx
2023-09-11 11:52 ` [PR PATCH] [Updated] " fanyx
` (19 subsequent siblings)
25 siblings, 0 replies; 27+ messages in thread
From: fanyx @ 2023-09-11 11:52 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 518 bytes --]
New comment by fanyx on void-packages repository
https://github.com/void-linux/void-packages/pull/46013#issuecomment-1713724673
Comment:
from original repository:
```
note: unfortunately if you do this above, you'll be compiling gonic locally on your machine (if someone knows how I can statically link sqlite3 and taglib, please let me know so I can distribute static binaries)
```
I wonder if we could/should move sqlite to runtime dep instead of makedep
`taglib-devel` seems to be necessary to build, though
^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [PR PATCH] [Updated] New package: gonic-0.15.2
2023-09-11 9:53 [PR PATCH] New package: gonic-0.15.2 fanyx
` (5 preceding siblings ...)
2023-09-11 11:52 ` fanyx
@ 2023-09-11 11:52 ` fanyx
2023-09-11 11:53 ` fanyx
` (18 subsequent siblings)
25 siblings, 0 replies; 27+ messages in thread
From: fanyx @ 2023-09-11 11:52 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 578 bytes --]
There is an updated pull request by fanyx against master on the void-packages repository
https://github.com/fanyx/void-packages gonic
https://github.com/void-linux/void-packages/pull/46013
New package: gonic-0.15.2
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
Resolves #44353
A patch file from https://github.com/void-linux/void-packages/pull/46013.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gonic-46013.patch --]
[-- Type: text/x-diff, Size: 2022 bytes --]
From cd7ebbb4355478e2cf7b808d83b81e5e562f6372 Mon Sep 17 00:00:00 2001
From: fanyx <fanyx@posteo.net>
Date: Mon, 11 Sep 2023 11:49:57 +0200
Subject: [PATCH] New package: gonic-0.15.2
---
srcpkgs/gonic/files/gonic/run | 8 ++++++++
srcpkgs/gonic/template | 29 +++++++++++++++++++++++++++++
2 files changed, 37 insertions(+)
create mode 100755 srcpkgs/gonic/files/gonic/run
create mode 100644 srcpkgs/gonic/template
diff --git a/srcpkgs/gonic/files/gonic/run b/srcpkgs/gonic/files/gonic/run
new file mode 100755
index 0000000000000..2fbee9ac2dbcc
--- /dev/null
+++ b/srcpkgs/gonic/files/gonic/run
@@ -0,0 +1,8 @@
+#!/bin/sh
+[ -r ./conf ] && . ./conf
+: ${GONIC_CACHE_PATH:=/var/cache/gonic}
+: ${GONIC_DB_PATH:=/var/db/gonic/gonic.db}
+: ${GONIC_MUSIC_PATH:=/var/lib/gonic/music}
+: ${GONIC_PODCAST_PATH:=/var/lib/gonic/podcast}
+export GONIC_CACHE_PATH GONIC_DB_PATH GONIC_MUSIC_PATH GONIC_PODCAST_PATH
+exec chpst -u _gonic gonic $OPTS 2>&1
diff --git a/srcpkgs/gonic/template b/srcpkgs/gonic/template
new file mode 100644
index 0000000000000..fbd99a3e37a87
--- /dev/null
+++ b/srcpkgs/gonic/template
@@ -0,0 +1,29 @@
+# Template file for 'gonic'
+pkgname=gonic
+version=0.15.2
+revision=1
+build_style=go
+go_import_path="go.senan.xyz/gonic"
+go_package="${go_import_path}/cmd/gonic"
+hostmakedepends="pkg-config"
+makedepends="alsa-lib-devel sqlite-devel taglib-devel"
+depends="ffmpeg"
+short_desc="Music streaming server / subsonic server API implementation"
+maintainer="fanyx <fanyx@posteo.net>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/sentriz/gonic"
+distfiles="https://github.com/sentriz/gonic/archive/v${version}.tar.gz"
+checksum=f70580a3bf96b0e9144bfaae07d7f158fc7dc732eba240c191effb9c30d28edc
+
+system_accounts="_gonic"
+_gonic_homedir="/var/lib/gonic"
+make_dirs="
+ /var/cache/gonic 755 _gonic _gonic
+ /var/db/gonic 755 _gonic _gonic
+ /var/lib/gonic/music 755 _gonic _gonic
+ /var/lib/gonic/podcast 755 _gonic _gonic"
+
+post_install() {
+ vsv gonic
+}
+
^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [PR PATCH] [Updated] New package: gonic-0.15.2
2023-09-11 9:53 [PR PATCH] New package: gonic-0.15.2 fanyx
` (6 preceding siblings ...)
2023-09-11 11:52 ` [PR PATCH] [Updated] " fanyx
@ 2023-09-11 11:53 ` fanyx
2023-09-11 11:57 ` Duncaen
` (17 subsequent siblings)
25 siblings, 0 replies; 27+ messages in thread
From: fanyx @ 2023-09-11 11:53 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 578 bytes --]
There is an updated pull request by fanyx against master on the void-packages repository
https://github.com/fanyx/void-packages gonic
https://github.com/void-linux/void-packages/pull/46013
New package: gonic-0.15.2
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
Resolves #44353
A patch file from https://github.com/void-linux/void-packages/pull/46013.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gonic-46013.patch --]
[-- Type: text/x-diff, Size: 2019 bytes --]
From c5777dd9ffc6867c18503fc5e4d00da8175f2034 Mon Sep 17 00:00:00 2001
From: fanyx <fanyx@posteo.net>
Date: Mon, 11 Sep 2023 11:49:57 +0200
Subject: [PATCH] New package: gonic-0.15.2
---
srcpkgs/gonic/files/gonic/run | 8 ++++++++
srcpkgs/gonic/template | 28 ++++++++++++++++++++++++++++
2 files changed, 36 insertions(+)
create mode 100755 srcpkgs/gonic/files/gonic/run
create mode 100644 srcpkgs/gonic/template
diff --git a/srcpkgs/gonic/files/gonic/run b/srcpkgs/gonic/files/gonic/run
new file mode 100755
index 0000000000000..2fbee9ac2dbcc
--- /dev/null
+++ b/srcpkgs/gonic/files/gonic/run
@@ -0,0 +1,8 @@
+#!/bin/sh
+[ -r ./conf ] && . ./conf
+: ${GONIC_CACHE_PATH:=/var/cache/gonic}
+: ${GONIC_DB_PATH:=/var/db/gonic/gonic.db}
+: ${GONIC_MUSIC_PATH:=/var/lib/gonic/music}
+: ${GONIC_PODCAST_PATH:=/var/lib/gonic/podcast}
+export GONIC_CACHE_PATH GONIC_DB_PATH GONIC_MUSIC_PATH GONIC_PODCAST_PATH
+exec chpst -u _gonic gonic $OPTS 2>&1
diff --git a/srcpkgs/gonic/template b/srcpkgs/gonic/template
new file mode 100644
index 0000000000000..da10137e22d02
--- /dev/null
+++ b/srcpkgs/gonic/template
@@ -0,0 +1,28 @@
+# Template file for 'gonic'
+pkgname=gonic
+version=0.15.2
+revision=1
+build_style=go
+go_import_path="go.senan.xyz/gonic"
+go_package="${go_import_path}/cmd/gonic"
+hostmakedepends="pkg-config"
+makedepends="alsa-lib-devel sqlite-devel taglib-devel"
+depends="ffmpeg"
+short_desc="Music streaming server / subsonic server API implementation"
+maintainer="fanyx <fanyx@posteo.net>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/sentriz/gonic"
+distfiles="https://github.com/sentriz/gonic/archive/v${version}.tar.gz"
+checksum=f70580a3bf96b0e9144bfaae07d7f158fc7dc732eba240c191effb9c30d28edc
+
+system_accounts="_gonic"
+_gonic_homedir="/var/lib/gonic"
+make_dirs="
+ /var/cache/gonic 755 _gonic _gonic
+ /var/db/gonic 755 _gonic _gonic
+ /var/lib/gonic/music 755 _gonic _gonic
+ /var/lib/gonic/podcast 755 _gonic _gonic"
+
+post_install() {
+ vsv gonic
+}
^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: New package: gonic-0.15.2
2023-09-11 9:53 [PR PATCH] New package: gonic-0.15.2 fanyx
` (7 preceding siblings ...)
2023-09-11 11:53 ` fanyx
@ 2023-09-11 11:57 ` Duncaen
2023-09-11 11:58 ` Duncaen
` (16 subsequent siblings)
25 siblings, 0 replies; 27+ messages in thread
From: Duncaen @ 2023-09-11 11:57 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 303 bytes --]
New comment by Duncaen on void-packages repository
https://github.com/void-linux/void-packages/pull/46013#issuecomment-1713732621
Comment:
> I wonder if we could/should move sqlite to runtime dep instead of makedep
No, its not going to even try to link the system sqlite if its not in makedepends.
^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: New package: gonic-0.15.2
2023-09-11 9:53 [PR PATCH] New package: gonic-0.15.2 fanyx
` (8 preceding siblings ...)
2023-09-11 11:57 ` Duncaen
@ 2023-09-11 11:58 ` Duncaen
2023-09-11 12:01 ` fanyx
` (15 subsequent siblings)
25 siblings, 0 replies; 27+ messages in thread
From: Duncaen @ 2023-09-11 11:58 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 261 bytes --]
New comment by Duncaen on void-packages repository
https://github.com/void-linux/void-packages/pull/46013#issuecomment-1713734492
Comment:
Are you using this software? Otherwise since I'm using it and have contributed to it I would be open to maintaining it.
^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: New package: gonic-0.15.2
2023-09-11 9:53 [PR PATCH] New package: gonic-0.15.2 fanyx
` (9 preceding siblings ...)
2023-09-11 11:58 ` Duncaen
@ 2023-09-11 12:01 ` fanyx
2023-09-11 12:02 ` [PR PATCH] [Updated] " fanyx
` (14 subsequent siblings)
25 siblings, 0 replies; 27+ messages in thread
From: fanyx @ 2023-09-11 12:01 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 419 bytes --]
New comment by fanyx on void-packages repository
https://github.com/void-linux/void-packages/pull/46013#issuecomment-1713738496
Comment:
I had used it in the past but not anymore.
Just saw the package request and figured it wouldn't be too hard to get it templated.
You're very welcome to maintain this, you're a lot more knowledgable anyways :smile:
Let me just change back the maintainer field and push again
^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [PR PATCH] [Updated] New package: gonic-0.15.2
2023-09-11 9:53 [PR PATCH] New package: gonic-0.15.2 fanyx
` (10 preceding siblings ...)
2023-09-11 12:01 ` fanyx
@ 2023-09-11 12:02 ` fanyx
2023-09-11 21:29 ` Anachron
` (13 subsequent siblings)
25 siblings, 0 replies; 27+ messages in thread
From: fanyx @ 2023-09-11 12:02 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 578 bytes --]
There is an updated pull request by fanyx against master on the void-packages repository
https://github.com/fanyx/void-packages gonic
https://github.com/void-linux/void-packages/pull/46013
New package: gonic-0.15.2
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
Resolves #44353
A patch file from https://github.com/void-linux/void-packages/pull/46013.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gonic-46013.patch --]
[-- Type: text/x-diff, Size: 2026 bytes --]
From 393f2ecb2c0784082b550b4d55fb6f0145bbcf7c Mon Sep 17 00:00:00 2001
From: fanyx <fanyx@posteo.net>
Date: Mon, 11 Sep 2023 11:49:57 +0200
Subject: [PATCH] New package: gonic-0.15.2
---
srcpkgs/gonic/files/gonic/run | 8 ++++++++
srcpkgs/gonic/template | 28 ++++++++++++++++++++++++++++
2 files changed, 36 insertions(+)
create mode 100755 srcpkgs/gonic/files/gonic/run
create mode 100644 srcpkgs/gonic/template
diff --git a/srcpkgs/gonic/files/gonic/run b/srcpkgs/gonic/files/gonic/run
new file mode 100755
index 0000000000000..2fbee9ac2dbcc
--- /dev/null
+++ b/srcpkgs/gonic/files/gonic/run
@@ -0,0 +1,8 @@
+#!/bin/sh
+[ -r ./conf ] && . ./conf
+: ${GONIC_CACHE_PATH:=/var/cache/gonic}
+: ${GONIC_DB_PATH:=/var/db/gonic/gonic.db}
+: ${GONIC_MUSIC_PATH:=/var/lib/gonic/music}
+: ${GONIC_PODCAST_PATH:=/var/lib/gonic/podcast}
+export GONIC_CACHE_PATH GONIC_DB_PATH GONIC_MUSIC_PATH GONIC_PODCAST_PATH
+exec chpst -u _gonic gonic $OPTS 2>&1
diff --git a/srcpkgs/gonic/template b/srcpkgs/gonic/template
new file mode 100644
index 0000000000000..1f01a91426475
--- /dev/null
+++ b/srcpkgs/gonic/template
@@ -0,0 +1,28 @@
+# Template file for 'gonic'
+pkgname=gonic
+version=0.15.2
+revision=1
+build_style=go
+go_import_path="go.senan.xyz/gonic"
+go_package="${go_import_path}/cmd/gonic"
+hostmakedepends="pkg-config"
+makedepends="alsa-lib-devel sqlite-devel taglib-devel"
+depends="ffmpeg"
+short_desc="Music streaming server / subsonic server API implementation"
+maintainer="Duncaen <duncaen@voidlinux.org>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/sentriz/gonic"
+distfiles="https://github.com/sentriz/gonic/archive/v${version}.tar.gz"
+checksum=f70580a3bf96b0e9144bfaae07d7f158fc7dc732eba240c191effb9c30d28edc
+
+system_accounts="_gonic"
+_gonic_homedir="/var/lib/gonic"
+make_dirs="
+ /var/cache/gonic 755 _gonic _gonic
+ /var/db/gonic 755 _gonic _gonic
+ /var/lib/gonic/music 755 _gonic _gonic
+ /var/lib/gonic/podcast 755 _gonic _gonic"
+
+post_install() {
+ vsv gonic
+}
^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: New package: gonic-0.15.2
2023-09-11 9:53 [PR PATCH] New package: gonic-0.15.2 fanyx
` (11 preceding siblings ...)
2023-09-11 12:02 ` [PR PATCH] [Updated] " fanyx
@ 2023-09-11 21:29 ` Anachron
2023-12-11 1:47 ` github-actions
` (12 subsequent siblings)
25 siblings, 0 replies; 27+ messages in thread
From: Anachron @ 2023-09-11 21:29 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 216 bytes --]
New comment by Anachron on void-packages repository
https://github.com/void-linux/void-packages/pull/46013#issuecomment-1714610262
Comment:
I'm currently running gonic as well on aarch64 (not from this PR though).
^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: New package: gonic-0.15.2
2023-09-11 9:53 [PR PATCH] New package: gonic-0.15.2 fanyx
` (12 preceding siblings ...)
2023-09-11 21:29 ` Anachron
@ 2023-12-11 1:47 ` github-actions
2023-12-11 8:46 ` Anachron
` (11 subsequent siblings)
25 siblings, 0 replies; 27+ messages in thread
From: github-actions @ 2023-12-11 1:47 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/46013#issuecomment-1849199552
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] 27+ messages in thread
* Re: New package: gonic-0.15.2
2023-09-11 9:53 [PR PATCH] New package: gonic-0.15.2 fanyx
` (13 preceding siblings ...)
2023-12-11 1:47 ` github-actions
@ 2023-12-11 8:46 ` Anachron
2023-12-11 8:49 ` fanyx
` (10 subsequent siblings)
25 siblings, 0 replies; 27+ messages in thread
From: Anachron @ 2023-12-11 8:46 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 176 bytes --]
New comment by Anachron on void-packages repository
https://github.com/void-linux/void-packages/pull/46013#issuecomment-1849569980
Comment:
STOP. This. Auto. Stale. Madness!
^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: New package: gonic-0.15.2
2023-09-11 9:53 [PR PATCH] New package: gonic-0.15.2 fanyx
` (14 preceding siblings ...)
2023-12-11 8:46 ` Anachron
@ 2023-12-11 8:49 ` fanyx
2024-03-12 1:44 ` github-actions
` (9 subsequent siblings)
25 siblings, 0 replies; 27+ messages in thread
From: fanyx @ 2023-12-11 8:49 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 266 bytes --]
New comment by fanyx on void-packages repository
https://github.com/void-linux/void-packages/pull/46013#issuecomment-1849574729
Comment:
@Duncaen you mentioned wanting to take over this PR.
can we close this one and you push your gonic template however you like?
^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: New package: gonic-0.15.2
2023-09-11 9:53 [PR PATCH] New package: gonic-0.15.2 fanyx
` (15 preceding siblings ...)
2023-12-11 8:49 ` fanyx
@ 2024-03-12 1:44 ` github-actions
2024-03-21 15:46 ` fanyx
` (8 subsequent siblings)
25 siblings, 0 replies; 27+ messages in thread
From: github-actions @ 2024-03-12 1:44 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/46013#issuecomment-1989764250
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] 27+ messages in thread
* Re: New package: gonic-0.15.2
2023-09-11 9:53 [PR PATCH] New package: gonic-0.15.2 fanyx
` (16 preceding siblings ...)
2024-03-12 1:44 ` github-actions
@ 2024-03-21 15:46 ` fanyx
2024-06-20 1:47 ` github-actions
` (7 subsequent siblings)
25 siblings, 0 replies; 27+ messages in thread
From: fanyx @ 2024-03-21 15:46 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 182 bytes --]
New comment by fanyx on void-packages repository
https://github.com/void-linux/void-packages/pull/46013#issuecomment-2012717858
Comment:
@Duncaen bumping again just for visibility
^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: New package: gonic-0.15.2
2023-09-11 9:53 [PR PATCH] New package: gonic-0.15.2 fanyx
` (17 preceding siblings ...)
2024-03-21 15:46 ` fanyx
@ 2024-06-20 1:47 ` github-actions
2024-06-21 8:30 ` [PR PATCH] [Updated] " fanyx
` (6 subsequent siblings)
25 siblings, 0 replies; 27+ messages in thread
From: github-actions @ 2024-06-20 1:47 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/46013#issuecomment-2179668472
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] 27+ messages in thread
* Re: [PR PATCH] [Updated] New package: gonic-0.15.2
2023-09-11 9:53 [PR PATCH] New package: gonic-0.15.2 fanyx
` (18 preceding siblings ...)
2024-06-20 1:47 ` github-actions
@ 2024-06-21 8:30 ` fanyx
2024-06-21 9:00 ` New package: gonic-0.16.4 fanyx
` (5 subsequent siblings)
25 siblings, 0 replies; 27+ messages in thread
From: fanyx @ 2024-06-21 8:30 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 578 bytes --]
There is an updated pull request by fanyx against master on the void-packages repository
https://github.com/fanyx/void-packages gonic
https://github.com/void-linux/void-packages/pull/46013
New package: gonic-0.15.2
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
Resolves #44353
A patch file from https://github.com/void-linux/void-packages/pull/46013.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gonic-46013.patch --]
[-- Type: text/x-diff, Size: 2031 bytes --]
From 2c481e227d080206c7a546e287566248f70c15e8 Mon Sep 17 00:00:00 2001
From: fanyx <fanyx@posteo.net>
Date: Mon, 11 Sep 2023 11:49:57 +0200
Subject: [PATCH] New package: gonic-0.16.4.
---
srcpkgs/gonic/files/gonic/run | 8 ++++++++
srcpkgs/gonic/template | 28 ++++++++++++++++++++++++++++
2 files changed, 36 insertions(+)
create mode 100755 srcpkgs/gonic/files/gonic/run
create mode 100644 srcpkgs/gonic/template
diff --git a/srcpkgs/gonic/files/gonic/run b/srcpkgs/gonic/files/gonic/run
new file mode 100755
index 00000000000000..2fbee9ac2dbcce
--- /dev/null
+++ b/srcpkgs/gonic/files/gonic/run
@@ -0,0 +1,8 @@
+#!/bin/sh
+[ -r ./conf ] && . ./conf
+: ${GONIC_CACHE_PATH:=/var/cache/gonic}
+: ${GONIC_DB_PATH:=/var/db/gonic/gonic.db}
+: ${GONIC_MUSIC_PATH:=/var/lib/gonic/music}
+: ${GONIC_PODCAST_PATH:=/var/lib/gonic/podcast}
+export GONIC_CACHE_PATH GONIC_DB_PATH GONIC_MUSIC_PATH GONIC_PODCAST_PATH
+exec chpst -u _gonic gonic $OPTS 2>&1
diff --git a/srcpkgs/gonic/template b/srcpkgs/gonic/template
new file mode 100644
index 00000000000000..9b8fd8b0223b5b
--- /dev/null
+++ b/srcpkgs/gonic/template
@@ -0,0 +1,28 @@
+# Template file for 'gonic'
+pkgname=gonic
+version=0.16.4
+revision=1
+build_style=go
+go_import_path="go.senan.xyz/gonic"
+go_package="${go_import_path}/cmd/gonic"
+hostmakedepends="pkg-config"
+makedepends="alsa-lib-devel sqlite-devel taglib-devel"
+depends="ffmpeg"
+short_desc="Music streaming server / subsonic server API implementation"
+maintainer="Duncaen <duncaen@voidlinux.org>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/sentriz/gonic"
+distfiles="https://github.com/sentriz/gonic/archive/v${version}.tar.gz"
+checksum=ba690a861a075bdf3f1f7e8131e45a5ca430ec90902a97faf955ec9f36799461
+
+system_accounts="_gonic"
+_gonic_homedir="/var/lib/gonic"
+make_dirs="
+ /var/cache/gonic 755 _gonic _gonic
+ /var/db/gonic 755 _gonic _gonic
+ /var/lib/gonic/music 755 _gonic _gonic
+ /var/lib/gonic/podcast 755 _gonic _gonic"
+
+post_install() {
+ vsv gonic
+}
^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: New package: gonic-0.16.4
2023-09-11 9:53 [PR PATCH] New package: gonic-0.15.2 fanyx
` (19 preceding siblings ...)
2024-06-21 8:30 ` [PR PATCH] [Updated] " fanyx
@ 2024-06-21 9:00 ` fanyx
2024-06-23 13:05 ` [PR PATCH] [Updated] " fanyx
` (4 subsequent siblings)
25 siblings, 0 replies; 27+ messages in thread
From: fanyx @ 2024-06-21 9:00 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 265 bytes --]
New comment by fanyx on void-packages repository
https://github.com/void-linux/void-packages/pull/46013#issuecomment-2182325989
Comment:
musl builds fail due to a bug in `audiotags` dependency
Opened a PR on upstream: https://github.com/sentriz/audiotags/pull/1
^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [PR PATCH] [Updated] New package: gonic-0.16.4
2023-09-11 9:53 [PR PATCH] New package: gonic-0.15.2 fanyx
` (20 preceding siblings ...)
2024-06-21 9:00 ` New package: gonic-0.16.4 fanyx
@ 2024-06-23 13:05 ` fanyx
2024-06-23 13:07 ` fanyx
` (3 subsequent siblings)
25 siblings, 0 replies; 27+ messages in thread
From: fanyx @ 2024-06-23 13:05 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 578 bytes --]
There is an updated pull request by fanyx against master on the void-packages repository
https://github.com/fanyx/void-packages gonic
https://github.com/void-linux/void-packages/pull/46013
New package: gonic-0.16.4
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
Resolves #44353
A patch file from https://github.com/void-linux/void-packages/pull/46013.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gonic-46013.patch --]
[-- Type: text/x-diff, Size: 2112 bytes --]
From 491f85d219b7d02539ac5083bc6834dc717708ee Mon Sep 17 00:00:00 2001
From: fanyx <fanyx@posteo.net>
Date: Mon, 11 Sep 2023 11:49:57 +0200
Subject: [PATCH] New package: gonic-0.16.4.
---
srcpkgs/gonic/files/gonic/run | 10 ++++++++++
srcpkgs/gonic/template | 28 ++++++++++++++++++++++++++++
2 files changed, 38 insertions(+)
create mode 100755 srcpkgs/gonic/files/gonic/run
create mode 100644 srcpkgs/gonic/template
diff --git a/srcpkgs/gonic/files/gonic/run b/srcpkgs/gonic/files/gonic/run
new file mode 100755
index 00000000000000..c4721c77f66b89
--- /dev/null
+++ b/srcpkgs/gonic/files/gonic/run
@@ -0,0 +1,10 @@
+#!/bin/sh
+[ -r ./conf ] && . ./conf
+: ${GONIC_CACHE_PATH:=/var/cache/gonic}
+: ${GONIC_DB_PATH:=/var/db/gonic/gonic.db}
+: ${GONIC_MUSIC_PATH:=/var/lib/gonic/music}
+: ${GONIC_PODCAST_PATH:=/var/lib/gonic/podcast}
+: ${GONIC_PLAYLISTS_PATH:=/var/lib/gonic/playlists}
+export GONIC_CACHE_PATH GONIC_DB_PATH GONIC_MUSIC_PATH GONIC_PODCAST_PATH \
+ GONIC_PLAYLISTS_PATH
+exec chpst -u _gonic gonic $OPTS 2>&1
diff --git a/srcpkgs/gonic/template b/srcpkgs/gonic/template
new file mode 100644
index 00000000000000..9b8fd8b0223b5b
--- /dev/null
+++ b/srcpkgs/gonic/template
@@ -0,0 +1,28 @@
+# Template file for 'gonic'
+pkgname=gonic
+version=0.16.4
+revision=1
+build_style=go
+go_import_path="go.senan.xyz/gonic"
+go_package="${go_import_path}/cmd/gonic"
+hostmakedepends="pkg-config"
+makedepends="alsa-lib-devel sqlite-devel taglib-devel"
+depends="ffmpeg"
+short_desc="Music streaming server / subsonic server API implementation"
+maintainer="Duncaen <duncaen@voidlinux.org>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/sentriz/gonic"
+distfiles="https://github.com/sentriz/gonic/archive/v${version}.tar.gz"
+checksum=ba690a861a075bdf3f1f7e8131e45a5ca430ec90902a97faf955ec9f36799461
+
+system_accounts="_gonic"
+_gonic_homedir="/var/lib/gonic"
+make_dirs="
+ /var/cache/gonic 755 _gonic _gonic
+ /var/db/gonic 755 _gonic _gonic
+ /var/lib/gonic/music 755 _gonic _gonic
+ /var/lib/gonic/podcast 755 _gonic _gonic"
+
+post_install() {
+ vsv gonic
+}
^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: New package: gonic-0.16.4
2023-09-11 9:53 [PR PATCH] New package: gonic-0.15.2 fanyx
` (21 preceding siblings ...)
2024-06-23 13:05 ` [PR PATCH] [Updated] " fanyx
@ 2024-06-23 13:07 ` fanyx
2024-07-25 18:33 ` fanyx
` (2 subsequent siblings)
25 siblings, 0 replies; 27+ messages in thread
From: fanyx @ 2024-06-23 13:07 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 185 bytes --]
New comment by fanyx on void-packages repository
https://github.com/void-linux/void-packages/pull/46013#issuecomment-2184982237
Comment:
Added `GONIC_PLAYLISTS_PATH` to service file.
^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: New package: gonic-0.16.4
2023-09-11 9:53 [PR PATCH] New package: gonic-0.15.2 fanyx
` (22 preceding siblings ...)
2024-06-23 13:07 ` fanyx
@ 2024-07-25 18:33 ` fanyx
2024-08-27 10:57 ` [PR PATCH] [Updated] " fanyx
2024-08-27 11:07 ` fanyx
25 siblings, 0 replies; 27+ messages in thread
From: fanyx @ 2024-07-25 18:33 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 339 bytes --]
New comment by fanyx on void-packages repository
https://github.com/void-linux/void-packages/pull/46013#issuecomment-2182325989
Comment:
musl builds fail due to a bug in `audiotags` dependency
Opened a PR on upstream: https://github.com/sentriz/audiotags/pull/1
update:
PR is merged, waiting for sentriz to make a new gonic release
^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [PR PATCH] [Updated] New package: gonic-0.16.4
2023-09-11 9:53 [PR PATCH] New package: gonic-0.15.2 fanyx
` (23 preceding siblings ...)
2024-07-25 18:33 ` fanyx
@ 2024-08-27 10:57 ` fanyx
2024-08-27 11:07 ` fanyx
25 siblings, 0 replies; 27+ messages in thread
From: fanyx @ 2024-08-27 10:57 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 578 bytes --]
There is an updated pull request by fanyx against master on the void-packages repository
https://github.com/fanyx/void-packages gonic
https://github.com/void-linux/void-packages/pull/46013
New package: gonic-0.16.4
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
Resolves #44353
A patch file from https://github.com/void-linux/void-packages/pull/46013.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gonic-46013.patch --]
[-- Type: text/x-diff, Size: 4366 bytes --]
From c5a7570f63e2b9944ace6aeab6ff8ed708b5adb5 Mon Sep 17 00:00:00 2001
From: fanyx <fanyx@posteo.net>
Date: Mon, 11 Sep 2023 11:49:57 +0200
Subject: [PATCH] New package: gonic-0.16.4.
---
srcpkgs/gonic/files/gonic/run | 10 ++++++++
srcpkgs/gonic/patches/audiotags-deps.patch | 28 ++++++++++++++++++++++
srcpkgs/gonic/template | 28 ++++++++++++++++++++++
3 files changed, 66 insertions(+)
create mode 100755 srcpkgs/gonic/files/gonic/run
create mode 100644 srcpkgs/gonic/patches/audiotags-deps.patch
create mode 100644 srcpkgs/gonic/template
diff --git a/srcpkgs/gonic/files/gonic/run b/srcpkgs/gonic/files/gonic/run
new file mode 100755
index 00000000000000..c4721c77f66b89
--- /dev/null
+++ b/srcpkgs/gonic/files/gonic/run
@@ -0,0 +1,10 @@
+#!/bin/sh
+[ -r ./conf ] && . ./conf
+: ${GONIC_CACHE_PATH:=/var/cache/gonic}
+: ${GONIC_DB_PATH:=/var/db/gonic/gonic.db}
+: ${GONIC_MUSIC_PATH:=/var/lib/gonic/music}
+: ${GONIC_PODCAST_PATH:=/var/lib/gonic/podcast}
+: ${GONIC_PLAYLISTS_PATH:=/var/lib/gonic/playlists}
+export GONIC_CACHE_PATH GONIC_DB_PATH GONIC_MUSIC_PATH GONIC_PODCAST_PATH \
+ GONIC_PLAYLISTS_PATH
+exec chpst -u _gonic gonic $OPTS 2>&1
diff --git a/srcpkgs/gonic/patches/audiotags-deps.patch b/srcpkgs/gonic/patches/audiotags-deps.patch
new file mode 100644
index 00000000000000..7a90dd6d7d2a78
--- /dev/null
+++ b/srcpkgs/gonic/patches/audiotags-deps.patch
@@ -0,0 +1,28 @@
+diff --git a/go.mod b/go.mod
+index 5272cae..f997899 100644
+--- a/go.mod
++++ b/go.mod
+@@ -22,7 +22,7 @@ require (
+ github.com/nfnt/resize v0.0.0-20180221191011-83c6a9932646
+ github.com/philippta/go-template v0.0.0-20220911145045-4556aca435e4
+ github.com/rainycape/unidecode v0.0.0-20150907023854-cb7f23ec59be
+- github.com/sentriz/audiotags v0.0.0-20240202193907-618ae39d7743
++ github.com/sentriz/audiotags v0.0.0-20240713161505-a6bb82b19f54
+ github.com/sentriz/gormstore v0.0.0-20220105134332-64e31f7f6981
+ github.com/stretchr/testify v1.8.4
+ go.senan.xyz/flagconf v0.1.5
+diff --git a/go.sum b/go.sum
+index f10ba15..395d4d2 100644
+--- a/go.sum
++++ b/go.sum
+@@ -126,8 +126,8 @@ github.com/rivo/uniseg v0.4.7 h1:WUdvkW8uEhrYfLC4ZzdpI2ztxP1I582+49Oc5Mq64VQ=
+ github.com/rivo/uniseg v0.4.7/go.mod h1:FN3SvrM+Zdj16jyLfmOkMNblXMcoc8DfTHruCPUcx88=
+ github.com/rogpeppe/go-internal v1.12.0 h1:exVL4IDcn6na9z1rAb56Vxr+CgyK3nn3O+epU5NdKM8=
+ github.com/rogpeppe/go-internal v1.12.0/go.mod h1:E+RYuTGaKKdloAfM02xzb0FW3Paa99yedzYV+kq4uf4=
+-github.com/sentriz/audiotags v0.0.0-20240202193907-618ae39d7743 h1:aecPwcrY8mYmZmd9XgQcG8aILRuhRxeQMSunnr6DQ3U=
+-github.com/sentriz/audiotags v0.0.0-20240202193907-618ae39d7743/go.mod h1:Zoo4UP5t2ySbPwScJfoydAlLLBonoqntv4ovA1T91Z8=
++github.com/sentriz/audiotags v0.0.0-20240713161505-a6bb82b19f54 h1:JaJaWCUDLGUbU8AIO+YhQ+Nq4ByCCaApLuHi868uWQw=
++github.com/sentriz/audiotags v0.0.0-20240713161505-a6bb82b19f54/go.mod h1:+pmkMFDEXJuu/u4h2OYJVfYF2qIhXJD7kqvWq6q5Zo0=
+ github.com/sentriz/gormstore v0.0.0-20220105134332-64e31f7f6981 h1:sLILANWN76ja66/K4k/mBqJuCjDZaM67w+Ru6rEB0s0=
+ github.com/sentriz/gormstore v0.0.0-20220105134332-64e31f7f6981/go.mod h1:Rx8XB1ck+so+41uu9VY1gMKs1CPQ2NTq0pzf+OCCQHo=
+ github.com/ssor/bom v0.0.0-20170718123548-6386211fdfcf h1:pvbZ0lM0XWPBqUKqFU8cmavspvIl9nulOYwdy6IFRRo=
diff --git a/srcpkgs/gonic/template b/srcpkgs/gonic/template
new file mode 100644
index 00000000000000..9b8fd8b0223b5b
--- /dev/null
+++ b/srcpkgs/gonic/template
@@ -0,0 +1,28 @@
+# Template file for 'gonic'
+pkgname=gonic
+version=0.16.4
+revision=1
+build_style=go
+go_import_path="go.senan.xyz/gonic"
+go_package="${go_import_path}/cmd/gonic"
+hostmakedepends="pkg-config"
+makedepends="alsa-lib-devel sqlite-devel taglib-devel"
+depends="ffmpeg"
+short_desc="Music streaming server / subsonic server API implementation"
+maintainer="Duncaen <duncaen@voidlinux.org>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/sentriz/gonic"
+distfiles="https://github.com/sentriz/gonic/archive/v${version}.tar.gz"
+checksum=ba690a861a075bdf3f1f7e8131e45a5ca430ec90902a97faf955ec9f36799461
+
+system_accounts="_gonic"
+_gonic_homedir="/var/lib/gonic"
+make_dirs="
+ /var/cache/gonic 755 _gonic _gonic
+ /var/db/gonic 755 _gonic _gonic
+ /var/lib/gonic/music 755 _gonic _gonic
+ /var/lib/gonic/podcast 755 _gonic _gonic"
+
+post_install() {
+ vsv gonic
+}
^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: New package: gonic-0.16.4
2023-09-11 9:53 [PR PATCH] New package: gonic-0.15.2 fanyx
` (24 preceding siblings ...)
2024-08-27 10:57 ` [PR PATCH] [Updated] " fanyx
@ 2024-08-27 11:07 ` fanyx
25 siblings, 0 replies; 27+ messages in thread
From: fanyx @ 2024-08-27 11:07 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 205 bytes --]
New comment by fanyx on void-packages repository
https://github.com/void-linux/void-packages/pull/46013#issuecomment-2312242177
Comment:
Ported the musl fix as a patch for now, will drop in next release
^ permalink raw reply [flat|nested] 27+ messages in thread
end of thread, other threads:[~2024-08-27 11:07 UTC | newest]
Thread overview: 27+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-11 9:53 [PR PATCH] New package: gonic-0.15.2 fanyx
2023-09-11 9:56 ` [PR PATCH] [Updated] " fanyx
2023-09-11 9:57 ` fanyx
2023-09-11 9:59 ` fanyx
2023-09-11 10:03 ` fanyx
2023-09-11 11:31 ` Duncaen
2023-09-11 11:52 ` fanyx
2023-09-11 11:52 ` [PR PATCH] [Updated] " fanyx
2023-09-11 11:53 ` fanyx
2023-09-11 11:57 ` Duncaen
2023-09-11 11:58 ` Duncaen
2023-09-11 12:01 ` fanyx
2023-09-11 12:02 ` [PR PATCH] [Updated] " fanyx
2023-09-11 21:29 ` Anachron
2023-12-11 1:47 ` github-actions
2023-12-11 8:46 ` Anachron
2023-12-11 8:49 ` fanyx
2024-03-12 1:44 ` github-actions
2024-03-21 15:46 ` fanyx
2024-06-20 1:47 ` github-actions
2024-06-21 8:30 ` [PR PATCH] [Updated] " fanyx
2024-06-21 9:00 ` New package: gonic-0.16.4 fanyx
2024-06-23 13:05 ` [PR PATCH] [Updated] " fanyx
2024-06-23 13:07 ` fanyx
2024-07-25 18:33 ` fanyx
2024-08-27 10:57 ` [PR PATCH] [Updated] " fanyx
2024-08-27 11:07 ` fanyx
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).