Github messages for voidlinux
 help / color / mirror / Atom feed
From: Danoloan10 <Danoloan10@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: lms-3.40.0
Date: Thu, 06 Jul 2023 08:26:50 +0200	[thread overview]
Message-ID: <20230706062650.yj9YQJpmXDMeYRNZdtiqLyxL7YxS4rPZN7FRNvwRf4U@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-41275@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/41275

New package: lms-3.40.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/41275.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-lms-41275.patch --]
[-- Type: text/x-diff, Size: 4255 bytes --]

From 127197c4bd161d9983def2aafbd257ef056729d6 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.10.0

---
 common/shlibs       |  5 +++++
 srcpkgs/wt-devel    |  1 +
 srcpkgs/wt/template | 28 ++++++++++++++++++++++++++++
 srcpkgs/wt/update   |  1 +
 4 files changed, 35 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 4e6a5a663fa0..57c226c57da0 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -96,6 +96,11 @@ libglib-2.0.so.0 glib-2.76.0_1
 libgmodule-2.0.so.0 glib-2.76.0_1
 libgio-2.0.so.0 glib-2.76.0_1
 libgobject-2.0.so.0 glib-2.76.0_1
+libwt.so.4.10.0 wt-4.10.0_1
+libwtdbo.so.4.10.0 wt-4.10.0_1
+libwtdbosqlite3.so.4.10.0 wt-4.10.0_1
+libwthttp.so.4.10.0 wt-4.10.0_1
+libwttest.so.4.10.0 wt-4.10.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..de480ebb7dc6
--- /dev/null
+++ b/srcpkgs/wt/template
@@ -0,0 +1,28 @@
+# Template file for 'wt'
+pkgname=wt
+version=4.10.0
+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=7090023d4fc4b6594bf4cb11072d9d3d775269327aece9a8993c7bbe46decb9d
+
+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 e47ab02fc7fab1ed5fda5fa82ce52fc4471a73fb 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.40.0

---
 srcpkgs/lms/files/lms/run |  4 ++++
 srcpkgs/lms/template      | 30 ++++++++++++++++++++++++++++++
 2 files changed, 34 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..d41467e465fd
--- /dev/null
+++ b/srcpkgs/lms/files/lms/run
@@ -0,0 +1,4 @@
+#!/bin/sh
+[ -r conf ] && . ./conf
+exec 2>&1
+exec chpst -u "${LMSUSER:-_lms}" -C "${WORKDIR:-/var/lms}" lms ${OPTS}
diff --git a/srcpkgs/lms/template b/srcpkgs/lms/template
new file mode 100644
index 000000000000..d20ae1ec1fc8
--- /dev/null
+++ b/srcpkgs/lms/template
@@ -0,0 +1,30 @@
+# Template file for 'lms'
+pkgname=lms
+version=3.40.0
+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 libarchive-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=ecdb4e8aefa182b0160afcf9830da041399097a020ba8b912bfb4b6928a36e58
+
+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
+}

  parent reply	other threads:[~2023-07-06  6:26 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-24 22:16 [PR PATCH] New package: lms-3.30.0 Danoloan10
2022-12-24 22:16 ` [PR PATCH] [Updated] " Danoloan10
2023-01-05 21:36 ` [PR PATCH] [Updated] New package: lms-3.34.0 Danoloan10
2023-01-05 21:37 ` Danoloan10
2023-01-05 21:39 ` Danoloan10
2023-03-01 22:57 ` Danoloan10
2023-03-01 23:01 ` Danoloan10
2023-04-06 21:45 ` [PR PATCH] [Updated] New package: lms-3.36.0 Danoloan10
2023-04-07  0:10 ` Danoloan10
2023-05-15 11:00 ` [PR PATCH] [Updated] New package: lms-3.37.0 Danoloan10
2023-05-16 22:17 ` [PR PATCH] [Updated] New package: lms-3.39.0 Danoloan10
2023-06-24 13:13 ` [PR REVIEW] " Duncaen
2023-06-24 13:13 ` Duncaen
2023-06-24 13:13 ` Duncaen
2023-06-24 13:13 ` Duncaen
2023-06-24 13:54 ` Danoloan10
2023-06-24 14:02 ` Duncaen
2023-07-02 21:50 ` [PR PATCH] [Updated] " Danoloan10
2023-07-02 21:56 ` Danoloan10
2023-07-02 21:59 ` [PR REVIEW] " Danoloan10
2023-07-02 22:04 ` Duncaen
2023-07-02 22:04 ` Duncaen
2023-07-02 22:08 ` [PR PATCH] [Updated] " Danoloan10
2023-07-02 22:09 ` [PR REVIEW] " Danoloan10
2023-07-02 22:28 ` New package: lms-3.40.0 Danoloan10
2023-07-06  6:26 ` Danoloan10 [this message]
2023-07-06  6:28 ` Danoloan10
2023-07-08 16:30 ` Danoloan10
2023-07-08 17:18 ` Duncaen
2023-07-08 17:19 ` Duncaen
2023-07-08 17:19 ` [PR PATCH] [Merged]: " Duncaen

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=20230706062650.yj9YQJpmXDMeYRNZdtiqLyxL7YxS4rPZN7FRNvwRf4U@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).