From: harrisonthorne <harrisonthorne@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New packages: linuxsampler, qsampler, and more
Date: Tue, 26 Jan 2021 03:55:37 +0100 [thread overview]
Message-ID: <20210126025537.XN-aj9P4NsM0jl4gPAq4EoSCqLlK2yyXSkwf0svWv0I@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-26677@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 389 bytes --]
There is an updated pull request by harrisonthorne against master on the void-packages repository
https://github.com/harrisonthorne/void-packages linuxsampler
https://github.com/void-linux/void-packages/pull/26677
New packages: linuxsampler, qsampler, and more
except dependencies aren't working
A patch file from https://github.com/void-linux/void-packages/pull/26677.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-linuxsampler-26677.patch --]
[-- Type: text/x-diff, Size: 9791 bytes --]
From 51d6f66ca69ba1634d1662f0ba737190c15bf5ce Mon Sep 17 00:00:00 2001
From: Harrison Thorne <harrisonthorne@protonmail.com>
Date: Thu, 19 Nov 2020 00:50:20 -0700
Subject: [PATCH 1/7] New package: libgig-4.2.0
---
srcpkgs/libgig-devel | 1 +
srcpkgs/libgig/template | 12 ++++++++++++
2 files changed, 13 insertions(+)
create mode 120000 srcpkgs/libgig-devel
create mode 100644 srcpkgs/libgig/template
diff --git a/srcpkgs/libgig-devel b/srcpkgs/libgig-devel
new file mode 120000
index 00000000000..e75d4df0bbd
--- /dev/null
+++ b/srcpkgs/libgig-devel
@@ -0,0 +1 @@
+libgig
\ No newline at end of file
diff --git a/srcpkgs/libgig/template b/srcpkgs/libgig/template
new file mode 100644
index 00000000000..e33aa5147c5
--- /dev/null
+++ b/srcpkgs/libgig/template
@@ -0,0 +1,12 @@
+# Template file for 'libgig'
+pkgname=libgig
+version=4.2.0
+revision=1
+build_style=gnu-configure
+hostmakedepends="pkg-config libtool libsndfile libsndfile-devel"
+short_desc="GIG library for LinuxSampler"
+maintainer="Harrison Thorne <harrisonthorne@protonmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://linuxsampler.org"
+distfiles="https://download.linuxsampler.org/packages/${pkgname}-${version}.tar.bz2"
+checksum=16229a46138b101eb9eda042c66d2cd652b1b3c9925a7d9577d52f2282f745ff
From d865c1fdb5d110b3d055848318de6d81e48b1cbf Mon Sep 17 00:00:00 2001
From: Harrison Thorne <harrisonthorne@protonmail.com>
Date: Thu, 19 Nov 2020 00:53:19 -0700
Subject: [PATCH 2/7] New package: liblslcp-0.6.0
---
common/shlibs | 2 ++
srcpkgs/liblscp-devel | 1 +
srcpkgs/liblscp/template | 25 +++++++++++++++++++++++++
3 files changed, 28 insertions(+)
create mode 120000 srcpkgs/liblscp-devel
create mode 100644 srcpkgs/liblscp/template
diff --git a/common/shlibs b/common/shlibs
index 78416f43ed0..9a5afcec0d1 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4041,3 +4041,5 @@ libutil-cmdline-samba4.so samba-libs-4.13.2_1
libwinbind-client-samba4.so samba-libs-4.13.2_1
libsixel.so.1 libsixel-1.8.6_1
libpamtest.so.0 pam_wrapper-1.1.3_1
+libtree-sitter.so.0 tree-sitter-0.17.3_1
+liblscp.so.6 liblscp-0.6.0_1
diff --git a/srcpkgs/liblscp-devel b/srcpkgs/liblscp-devel
new file mode 120000
index 00000000000..8ac06eada00
--- /dev/null
+++ b/srcpkgs/liblscp-devel
@@ -0,0 +1 @@
+liblscp
\ No newline at end of file
diff --git a/srcpkgs/liblscp/template b/srcpkgs/liblscp/template
new file mode 100644
index 00000000000..203ad52e3be
--- /dev/null
+++ b/srcpkgs/liblscp/template
@@ -0,0 +1,25 @@
+# Template file for 'liblscp'
+pkgname=liblscp
+version=0.6.0
+revision=1
+build_style=gnu-configure
+hostmakedepends=""
+makedepends="libsndfile-devel"
+depends=""
+short_desc="LinuxSampler Control Protocol (LSCP) wrapper C library"
+maintainer="Harrison Thorne <harrisonthorne@protonmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://linuxsampler.org"
+distfiles="https://download.linuxsampler.org/packages/${pkgname}-${version}.tar.gz"
+checksum=b39c78f4be07d4cc6b791d934e6fe58c0a7bc4aa32b6ed5131e303f99bd687e6
+
+liblscp-devel_package() {
+ short_desc+=" - development files"
+ depends="${sourcepkg}>=${version}_${revision}"
+ pkg_install() {
+ vmove usr/include
+ vmove "usr/lib/*.a"
+ vmove "usr/lib/*.so"
+ vmove usr/lib/pkgconfig
+ }
+}
From b55efd437ef2c94cda76b36838f80b801c4c68f8 Mon Sep 17 00:00:00 2001
From: Harrison Thorne <harrisonthorne@protonmail.com>
Date: Thu, 19 Nov 2020 00:54:06 -0700
Subject: [PATCH 3/7] remove libgig-devel
---
srcpkgs/libgig-devel | 1 -
1 file changed, 1 deletion(-)
delete mode 120000 srcpkgs/libgig-devel
diff --git a/srcpkgs/libgig-devel b/srcpkgs/libgig-devel
deleted file mode 120000
index e75d4df0bbd..00000000000
--- a/srcpkgs/libgig-devel
+++ /dev/null
@@ -1 +0,0 @@
-libgig
\ No newline at end of file
From eabf35771d5434b65b6bc2878beff825fb95840c Mon Sep 17 00:00:00 2001
From: Harrison Thorne <harrisonthorne@protonmail.com>
Date: Thu, 19 Nov 2020 11:05:24 -0700
Subject: [PATCH 4/7] add libgig-devel?
---
common/shlibs | 2 ++
srcpkgs/libgig-devel | 1 +
srcpkgs/libgig/template | 9 +++++++++
3 files changed, 12 insertions(+)
create mode 120000 srcpkgs/libgig-devel
diff --git a/common/shlibs b/common/shlibs
index 9a5afcec0d1..76ede0af87e 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4043,3 +4043,5 @@ libsixel.so.1 libsixel-1.8.6_1
libpamtest.so.0 pam_wrapper-1.1.3_1
libtree-sitter.so.0 tree-sitter-0.17.3_1
liblscp.so.6 liblscp-0.6.0_1
+libgig.so.9 libgig-4.2.0_1
+libakai.so.9 libgig-4.2.0_1
diff --git a/srcpkgs/libgig-devel b/srcpkgs/libgig-devel
new file mode 120000
index 00000000000..e75d4df0bbd
--- /dev/null
+++ b/srcpkgs/libgig-devel
@@ -0,0 +1 @@
+libgig
\ No newline at end of file
diff --git a/srcpkgs/libgig/template b/srcpkgs/libgig/template
index e33aa5147c5..7affe787070 100644
--- a/srcpkgs/libgig/template
+++ b/srcpkgs/libgig/template
@@ -10,3 +10,12 @@ license="GPL-3.0-or-later"
homepage="https://linuxsampler.org"
distfiles="https://download.linuxsampler.org/packages/${pkgname}-${version}.tar.bz2"
checksum=16229a46138b101eb9eda042c66d2cd652b1b3c9925a7d9577d52f2282f745ff
+
+libgig-devel_package() {
+ short_desc+=" - development files"
+ depends="${sourcepkg}>=${version}_${revision}"
+ pkg_install() {
+ vmove usr/include
+ vmove usr/lib/pkgconfig
+ }
+}
From 767d77509e42f4a3d4b8f42301cb263fdc77e6df Mon Sep 17 00:00:00 2001
From: Harrison Thorne <harrisonthorne@protonmail.com>
Date: Thu, 19 Nov 2020 11:20:36 -0700
Subject: [PATCH 5/7] add linuxsampler
---
srcpkgs/linuxsampler/template | 14 ++++++++++++++
1 file changed, 14 insertions(+)
create mode 100644 srcpkgs/linuxsampler/template
diff --git a/srcpkgs/linuxsampler/template b/srcpkgs/linuxsampler/template
new file mode 100644
index 00000000000..c25636a39e6
--- /dev/null
+++ b/srcpkgs/linuxsampler/template
@@ -0,0 +1,14 @@
+# Template file for 'linuxsampler'
+pkgname=linuxsampler
+version=2.1.1
+revision=1
+build_style=gnu-configure
+hostmakedepends="libgig libtool pkg-config bison"
+makedepends="libgig libgig-devel libsndfile-devel alsa-lib-devel"
+depends="libgig"
+short_desc="Free, streaming-capable open-source pure software audio sampler"
+maintainer="Harrison Thorne <harrisonthorne@protonmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://linuxsampler.org"
+distfiles="https://download.linuxsampler.org/packages/${pkgname}-${version}.tar.bz2"
+checksum=20050b22066e9cdbdad34c0470d3c4a47f75e4af620fd98af277f5d2417132be
From 22b00a08df3db673a2129d2d3f3cf17e13be6313 Mon Sep 17 00:00:00 2001
From: Harrison Thorne <harrisonthorne@protonmail.com>
Date: Thu, 19 Nov 2020 23:28:08 -0700
Subject: [PATCH 6/7] add linuxsampler to shlibs for the ONE TIME it compiled
successfully
---
common/shlibs | 3 ++-
srcpkgs/linuxsampler/template | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/common/shlibs b/common/shlibs
index 76ede0af87e..1983da62a2d 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4044,4 +4044,5 @@ libpamtest.so.0 pam_wrapper-1.1.3_1
libtree-sitter.so.0 tree-sitter-0.17.3_1
liblscp.so.6 liblscp-0.6.0_1
libgig.so.9 libgig-4.2.0_1
-libakai.so.9 libgig-4.2.0_1
+libakai.so.0 libgig-4.2.0_1
+liblinuxsampler.so.5 linuxsampler-2.1.1_1
diff --git a/srcpkgs/linuxsampler/template b/srcpkgs/linuxsampler/template
index c25636a39e6..dbb8a462efd 100644
--- a/srcpkgs/linuxsampler/template
+++ b/srcpkgs/linuxsampler/template
@@ -3,7 +3,7 @@ pkgname=linuxsampler
version=2.1.1
revision=1
build_style=gnu-configure
-hostmakedepends="libgig libtool pkg-config bison"
+hostmakedepends="libgig libgig-devel libtool pkg-config bison"
makedepends="libgig libgig-devel libsndfile-devel alsa-lib-devel"
depends="libgig"
short_desc="Free, streaming-capable open-source pure software audio sampler"
From fc684076226c42b06f30cd6c8fd06852de0b8e41 Mon Sep 17 00:00:00 2001
From: Harrison Thorne <harrisonthorne@protonmail.com>
Date: Mon, 25 Jan 2021 20:53:40 -0600
Subject: [PATCH 7/7] we're almost there!
---
srcpkgs/libgig-devel | 1 -
srcpkgs/libgig/template | 13 ++++++-------
srcpkgs/linuxsampler/template | 4 ++--
3 files changed, 8 insertions(+), 10 deletions(-)
delete mode 120000 srcpkgs/libgig-devel
diff --git a/srcpkgs/libgig-devel b/srcpkgs/libgig-devel
deleted file mode 120000
index e75d4df0bbd..00000000000
--- a/srcpkgs/libgig-devel
+++ /dev/null
@@ -1 +0,0 @@
-libgig
\ No newline at end of file
diff --git a/srcpkgs/libgig/template b/srcpkgs/libgig/template
index 7affe787070..6b0f241ab64 100644
--- a/srcpkgs/libgig/template
+++ b/srcpkgs/libgig/template
@@ -11,11 +11,10 @@ homepage="https://linuxsampler.org"
distfiles="https://download.linuxsampler.org/packages/${pkgname}-${version}.tar.bz2"
checksum=16229a46138b101eb9eda042c66d2cd652b1b3c9925a7d9577d52f2282f745ff
-libgig-devel_package() {
- short_desc+=" - development files"
- depends="${sourcepkg}>=${version}_${revision}"
- pkg_install() {
- vmove usr/include
- vmove usr/lib/pkgconfig
- }
+pre_install() {
+ echo "/usr/lib/${pkgname}" > "${pkgname}.conf"
+}
+
+post_install() {
+ vinstall "${pkgname}.conf" 644 "/etc/ld.so.conf.d/"
}
diff --git a/srcpkgs/linuxsampler/template b/srcpkgs/linuxsampler/template
index dbb8a462efd..e00e95abc1d 100644
--- a/srcpkgs/linuxsampler/template
+++ b/srcpkgs/linuxsampler/template
@@ -3,8 +3,8 @@ pkgname=linuxsampler
version=2.1.1
revision=1
build_style=gnu-configure
-hostmakedepends="libgig libgig-devel libtool pkg-config bison"
-makedepends="libgig libgig-devel libsndfile-devel alsa-lib-devel"
+hostmakedepends="libtool pkg-config bison libgig"
+makedepends="libgig libsndfile-devel alsa-lib-devel"
depends="libgig"
short_desc="Free, streaming-capable open-source pure software audio sampler"
maintainer="Harrison Thorne <harrisonthorne@protonmail.com>"
next prev parent reply other threads:[~2021-01-26 2:55 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-24 17:23 [PR PATCH] " harrisonthorne
2021-01-26 2:55 ` harrisonthorne [this message]
2021-01-26 2:59 ` harrisonthorne
2022-02-10 8:14 ` uzr123x
2022-05-12 2:11 ` github-actions
2022-05-26 2:13 ` [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=20210126025537.XN-aj9P4NsM0jl4gPAq4EoSCqLlK2yyXSkwf0svWv0I@z \
--to=harrisonthorne@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).