Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: gonic-0.15.2
@ 2023-09-11  9:53 fanyx
  2023-09-11  9:56 ` [PR PATCH] [Updated] " fanyx
                   ` (17 more replies)
  0 siblings, 18 replies; 19+ 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] 19+ 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
                   ` (16 subsequent siblings)
  17 siblings, 0 replies; 19+ 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] 19+ 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
                   ` (15 subsequent siblings)
  17 siblings, 0 replies; 19+ 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] 19+ 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
                   ` (14 subsequent siblings)
  17 siblings, 0 replies; 19+ 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] 19+ 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
                   ` (13 subsequent siblings)
  17 siblings, 0 replies; 19+ 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] 19+ 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
                   ` (12 subsequent siblings)
  17 siblings, 0 replies; 19+ 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] 19+ 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
                   ` (11 subsequent siblings)
  17 siblings, 0 replies; 19+ 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] 19+ 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
                   ` (10 subsequent siblings)
  17 siblings, 0 replies; 19+ 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] 19+ 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
                   ` (9 subsequent siblings)
  17 siblings, 0 replies; 19+ 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] 19+ 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
                   ` (8 subsequent siblings)
  17 siblings, 0 replies; 19+ 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] 19+ 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
                   ` (7 subsequent siblings)
  17 siblings, 0 replies; 19+ 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] 19+ 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
                   ` (6 subsequent siblings)
  17 siblings, 0 replies; 19+ 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] 19+ 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
                   ` (5 subsequent siblings)
  17 siblings, 0 replies; 19+ 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] 19+ 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
                   ` (4 subsequent siblings)
  17 siblings, 0 replies; 19+ 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] 19+ 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
                   ` (3 subsequent siblings)
  17 siblings, 0 replies; 19+ 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] 19+ 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
                   ` (2 subsequent siblings)
  17 siblings, 0 replies; 19+ 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] 19+ 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
  2024-03-21 15:46 ` fanyx
  17 siblings, 0 replies; 19+ 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] 19+ 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
  17 siblings, 0 replies; 19+ 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] 19+ 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
  17 siblings, 0 replies; 19+ 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] 19+ messages in thread

end of thread, other threads:[~2024-03-21 15:46 UTC | newest]

Thread overview: 19+ 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

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).