From: Danoloan10 <Danoloan10@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: lms-3.28.0
Date: Mon, 06 Jun 2022 21:08:09 +0200 [thread overview]
Message-ID: <20220606190809.eCP3oWjWpOXOhpqwGRd6WQWflRGfGmo0tj7BaXNYfs8@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-33223@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 1684 bytes --]
There is an updated pull request by Danoloan10 against master on the void-packages repository
https://github.com/Danoloan10/void-packages lms
https://github.com/void-linux/void-packages/pull/33223
New package: lms-3.28.0
<!-- Mark items with [x] where applicable -->
LMS is a lightweight Subsonic compatible music server written in C++. It is developed using the Wt web framework.
#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)
#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR
<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
#### Does it build and run successfully?
- [x] I built this PR locally for my native architecture, (x86_64-glibc)
- [x] I built this PR locally for these architectures (if supported. mark crossbuilds):
- [x] i686
- [x] x86_64-musl
- [x] aarch64
- [x] aarch64-musl
- [x] armv7l
- [x] armv7l-musl
- [x] armv6l
- [x] armv6l-musl
A patch file from https://github.com/void-linux/void-packages/pull/33223.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-lms-33223.patch --]
[-- Type: text/x-diff, Size: 4460 bytes --]
From e21c8a3281b7fd7d67d588601c5bf8c94c93cc97 Mon Sep 17 00:00:00 2001
From: danoloan10 <danoloan10@tutanota.com>
Date: Fri, 1 Oct 2021 20:56:43 +0200
Subject: [PATCH 1/2] New package: wt-4.7.2
---
common/shlibs | 10 ++++++++++
srcpkgs/wt-devel | 1 +
srcpkgs/wt/template | 28 ++++++++++++++++++++++++++++
srcpkgs/wt/update | 1 +
4 files changed, 40 insertions(+)
create mode 120000 srcpkgs/wt-devel
create mode 100644 srcpkgs/wt/template
create mode 100644 srcpkgs/wt/update
diff --git a/common/shlibs b/common/shlibs
index 15d027bf9c20..5e516a944ca4 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -90,6 +90,16 @@ libglib-2.0.so.0 glib-2.72.0_1
libgmodule-2.0.so.0 glib-2.72.0_1
libgio-2.0.so.0 glib-2.72.0_1
libgobject-2.0.so.0 glib-2.72.0_1
+libwt.so.4.7.2 wt-4.7.2_1
+libwtdbo.so.4.7.2 wt-4.7.2_1
+libwtdbosqlite3.so.4.7.2 wt-4.7.2_1
+libwthttp.so.4.7.2 wt-4.7.2_1
+libwttest.so.4.7.2 wt-4.7.2_1
+libgthread-2.0.so.0 glib-2.70.0_1
+libglib-2.0.so.0 glib-2.70.0_1
+libgmodule-2.0.so.0 glib-2.70.0_1
+libgio-2.0.so.0 glib-2.70.0_1
+libgobject-2.0.so.0 glib-2.70.0_1
libatk-1.0.so.0 atk-1.26.0_1
libpangocairo-1.0.so.0 pango-1.24.0_1
libpangoft2-1.0.so.0 pango-1.24.0_1
diff --git a/srcpkgs/wt-devel b/srcpkgs/wt-devel
new file mode 120000
index 000000000000..04745e187621
--- /dev/null
+++ b/srcpkgs/wt-devel
@@ -0,0 +1 @@
+wt
\ No newline at end of file
diff --git a/srcpkgs/wt/template b/srcpkgs/wt/template
new file mode 100644
index 000000000000..7b355a837af7
--- /dev/null
+++ b/srcpkgs/wt/template
@@ -0,0 +1,28 @@
+# Template file for 'wt'
+pkgname=wt
+version=4.7.2
+revision=1
+build_style=cmake
+makedepends="boost-devel"
+short_desc="Wt, C++ Web Toolkit"
+maintainer="danoloan10 <danoloan10@tutanota.com>"
+license="GPL-2.0-or-later"
+homepage="https://www.webtoolkit.eu/wt"
+changelog="https://webtoolkit.eu/wt/doc/reference/html/Releasenotes.html"
+distfiles="https://github.com/emweb/wt/archive/refs/tags/${version}.tar.gz"
+checksum=7a8d8b24f2e7d872508bdb8064272fed4963b11adf557fcac311940d2493b134
+
+if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
+ makedepends+=" libatomic-devel"
+ configure_args+=" -DCMAKE_CXX_FLAGS=-latomic"
+fi
+
+wt-devel_package() {
+ depends="${sourcepkg}>=${version}_${revision}"
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/include
+ vmove usr/lib/cmake
+ vmove "usr/lib/*.so"
+ }
+}
diff --git a/srcpkgs/wt/update b/srcpkgs/wt/update
new file mode 100644
index 000000000000..d3ffe6ede68e
--- /dev/null
+++ b/srcpkgs/wt/update
@@ -0,0 +1 @@
+site="https://github.com/emweb/wt/releases"
From 48d71f1fba2d80e372afed65516a0d837bfe1043 Mon Sep 17 00:00:00 2001
From: danoloan10 <danoloan10@tutanota.com>
Date: Fri, 1 Oct 2021 21:01:27 +0200
Subject: [PATCH 2/2] New package: lms-3.29.1
---
srcpkgs/lms/files/lms/run | 10 ++++++++++
srcpkgs/lms/template | 30 ++++++++++++++++++++++++++++++
2 files changed, 40 insertions(+)
create mode 100644 srcpkgs/lms/files/lms/run
create mode 100644 srcpkgs/lms/template
diff --git a/srcpkgs/lms/files/lms/run b/srcpkgs/lms/files/lms/run
new file mode 100644
index 000000000000..d2fdf3a8f8dd
--- /dev/null
+++ b/srcpkgs/lms/files/lms/run
@@ -0,0 +1,10 @@
+#!/bin/sh
+[ -r conf ] && . ./conf
+
+: ${USER:=_lms}
+: ${CONF_FILE:=/etc/lms.conf}
+: ${WORKDIR:=/var/lib/lms}
+
+cd "$WORKDIR"
+
+exec chpst -u ${USER} lms ${CONF_FILE}
diff --git a/srcpkgs/lms/template b/srcpkgs/lms/template
new file mode 100644
index 000000000000..ef60aaf9e6ac
--- /dev/null
+++ b/srcpkgs/lms/template
@@ -0,0 +1,30 @@
+# Template file for 'lms'
+pkgname=lms
+version=3.29.1
+revision=1
+build_style=cmake
+hostmakedepends="pkg-config"
+makedepends="wt-devel ffmpeg-devel boost-devel libconfig++-devel taglib-devel pam-devel libgraphicsmagick-devel gtest-devel"
+conf_files="/etc/lms.conf /etc/pam.d/lms"
+short_desc="Lightweight Music Server"
+maintainer="danoloan10 <danoloan10@tutanota.com>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/epoupon/lms"
+distfiles="https://github.com/epoupon/lms/archive/refs/tags/v${version}.tar.gz "
+checksum=7128bbf83be14e1037ed1d6ad678679bcac52cf987be112b9b223c3b672f952c
+
+system_accounts="_lms"
+_lms_homedir="/var/lms"
+make_dirs="/var/lms 755 _lms _lms"
+
+if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
+ makedepends+=" libatomic-devel"
+ configure_args+=" -DCMAKE_CXX_FLAGS=-latomic"
+fi
+
+post_install() {
+ vconf conf/lms.conf
+ vmkdir /etc/pam.d
+ vcopy conf/pam/* /etc/pam.d
+ vsv lms
+}
next prev parent reply other threads:[~2022-06-06 19:08 UTC|newest]
Thread overview: 54+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-01 19:31 [PR PATCH] New package: lms-3.27.0 Danoloan10
2021-10-01 19:34 ` Danoloan10
2021-10-01 19:37 ` paper42
2021-10-01 19:46 ` [PR PATCH] [Updated] " Danoloan10
2021-10-01 20:45 ` Chocimier
2021-10-01 20:50 ` Danoloan10
2021-10-01 22:08 ` [PR PATCH] [Updated] " Danoloan10
2021-10-01 22:31 ` Danoloan10
2021-10-01 22:35 ` Danoloan10
2021-10-09 20:48 ` [PR PATCH] [Updated] " Danoloan10
2021-10-09 20:50 ` Danoloan10
2021-10-09 23:44 ` Danoloan10
2021-10-14 19:01 ` Danoloan10
2021-10-14 19:02 ` [PR PATCH] [Updated] " Danoloan10
2021-10-21 15:06 ` Danoloan10
2021-10-29 15:48 ` Danoloan10
2021-12-25 20:28 ` Danoloan10
2022-01-09 12:49 ` Danoloan10
2022-01-10 22:19 ` Chocimier
2022-02-06 13:10 ` [PR PATCH] [Updated] " Danoloan10
2022-02-06 21:53 ` Danoloan10
2022-02-06 22:13 ` New package: lms-3.28.0 Danoloan10
2022-03-01 21:14 ` [PR PATCH] [Updated] " Danoloan10
2022-03-01 21:14 ` Danoloan10
2022-03-01 21:15 ` Danoloan10
2022-03-05 12:39 ` Danoloan10
2022-03-05 17:31 ` paper42
2022-03-08 9:32 ` Danoloan10
2022-03-08 19:56 ` Chocimier
2022-03-08 22:18 ` [PR PATCH] [Updated] " Danoloan10
2022-03-11 19:31 ` Danoloan10
2022-03-11 19:32 ` Danoloan10
2022-03-11 19:33 ` Danoloan10
2022-03-11 19:33 ` Danoloan10
2022-03-11 21:19 ` [PR REVIEW] " Chocimier
2022-03-11 21:34 ` Danoloan10
2022-03-11 21:42 ` Chocimier
2022-03-12 18:01 ` [PR PATCH] [Updated] " Danoloan10
2022-03-12 18:02 ` Danoloan10
2022-03-12 19:04 ` [PR PATCH] [Updated] " Danoloan10
2022-03-12 19:17 ` Danoloan10
2022-04-15 22:34 ` Danoloan10
2022-04-15 22:34 ` Danoloan10
2022-04-15 22:34 ` Danoloan10
2022-05-18 20:28 ` [PR PATCH] [Updated] " Danoloan10
2022-05-18 20:28 ` Danoloan10
2022-05-18 20:28 ` Danoloan10
2022-06-03 19:53 ` [PR PATCH] [Updated] " Danoloan10
2022-06-06 19:08 ` Danoloan10 [this message]
2022-06-19 12:18 ` Danoloan10
2022-06-19 12:19 ` Danoloan10
2022-07-07 20:56 ` [PR PATCH] [Updated] New package: lms-3.29.1 Danoloan10
2022-10-06 2:13 ` github-actions
2022-10-20 2:14 ` [PR PATCH] [Closed]: " github-actions
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220606190809.eCP3oWjWpOXOhpqwGRd6WQWflRGfGmo0tj7BaXNYfs8@z \
--to=danoloan10@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).