Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] wildmidi: update to 0.4.6.
@ 2024-05-29 21:17 mtboehlke
  2024-05-30 20:39 ` [PR PATCH] [Updated] " mtboehlke
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: mtboehlke @ 2024-05-29 21:17 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1753 bytes --]

There is a new pull request by mtboehlke against master on the void-packages repository

https://github.com/mtboehlke/void-packages wildmidi
https://github.com/void-linux/void-packages/pull/50598

wildmidi: update to 0.4.6.
Enable sndio support, newly added in this version.

Also, configure the available audio playback backends via build options.  For example, it would be a valid configuration to disable all the playback options at build time for an environment where only wave file output is needed.

The player also now allows the user to choose from the built-in options at runtime.

I have disabled the OSS backend by default.  This shouldn't even be noticeable, since this couldn't even be chosen at runtime before.

<!-- Uncomment relevant sections and delete options which are not applicable -->

#### 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**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/50598.patch is attached

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

From 2638eecdb5e547278e16db8c4c969d2f2b2de967 Mon Sep 17 00:00:00 2001
From: Mat Boehlke <mtboehlke@gmail.com>
Date: Wed, 29 May 2024 14:21:39 -0500
Subject: [PATCH] wildmidi: update to 0.4.6.

Enable sndio support, newly added in this version.

Also, configure the available audio playback backends via build options.

The player also now allows the user to choose from the built-in options at runtime.
---
 .../wildmidi/patches/replace_home_page.patch  | 44 -------------------
 srcpkgs/wildmidi/template                     | 14 ++++--
 2 files changed, 10 insertions(+), 48 deletions(-)
 delete mode 100644 srcpkgs/wildmidi/patches/replace_home_page.patch

diff --git a/srcpkgs/wildmidi/patches/replace_home_page.patch b/srcpkgs/wildmidi/patches/replace_home_page.patch
deleted file mode 100644
index 6b25316185f449..00000000000000
--- a/srcpkgs/wildmidi/patches/replace_home_page.patch
+++ /dev/null
@@ -1,44 +0,0 @@
-Adapted from
-https://github.com/Mindwerks/wildmidi/commit/a128266be48f2e2fabcf308232f88c2bbaa03677
-
-Replace mindwerks.net home page with the github project page in the package.
----
-diff --git a/README.md b/README.md
-index 4f33e7e..e05912a 100644
---- a/README.md
-+++ b/README.md
-@@ -8,7 +8,7 @@ applications that wish to include MIDI file playback.
- 
- Version: 0.4.5
- Licenses: GPLv3+ and LGPLv3
--Website: http://www.mindwerks.net/projects/wildmidi
-+Website: https://github.com/Mindwerks/wildmidi
- 
- PLATFORMS:
- 
-diff --git a/include/config.h.cmake b/include/config.h.cmake
-index 65ab0b8..3f52ae7 100644
---- a/include/config.h.cmake
-+++ b/include/config.h.cmake
-@@ -4,7 +4,7 @@
- #define PACKAGE "wildmidi"
- 
- /* Define to the home page for this package. */
--#define PACKAGE_URL "http://www.mindwerks.net/projects/wildmidi/"
-+#define PACKAGE_URL "https://github.com/Mindwerks/wildmidi"
- 
- /* Define to the address where bug reports for this package should be sent. */
- #define PACKAGE_BUGREPORT "https://github.com/Mindwerks/wildmidi/issues"
-diff --git a/src/wildmidi.pc.in b/src/wildmidi.pc.in
-index 3d8e84f..1a73284 100644
---- a/src/wildmidi.pc.in
-+++ b/src/wildmidi.pc.in
-@@ -8,7 +8,7 @@ includedir=${exec_prefix}/@CMAKE_INSTALL_INCLUDEDIR@
- Name: WildMIDI
- Description: software synthesizer library
- Version: @WILDMIDI_VERSION@
--URL: https://www.mindwerks.net/projects/wildmidi/
-+URL: https://github.com/Mindwerks/wildmidi
- 
- Libs: -L${libdir} -lWildMidi
- Libs.private: -lm 
diff --git a/srcpkgs/wildmidi/template b/srcpkgs/wildmidi/template
index 35a28f434035c9..dd797574f70233 100644
--- a/srcpkgs/wildmidi/template
+++ b/srcpkgs/wildmidi/template
@@ -1,18 +1,24 @@
 # Template file for 'wildmidi'
 pkgname=wildmidi
-version=0.4.5
+version=0.4.6
 revision=1
 build_style=cmake
-configure_args="-DWANT_ALSA=1 -DWANT_OSS=1 -DWANT_OPENAL=1"
+configure_args="$(vopt_bool alsa WANT_ALSA) $(vopt_bool oss WANT_OSS)
+ $(vopt_bool sndio WANT_SNDIO) $(vopt_bool openal WANT_OPENAL)"
 hostmakedepends="pkg-config"
-makedepends="alsa-lib-devel libopenal-devel"
+makedepends="$(vopt_if alsa alsa-lib-devel) $(vopt_if sndio sndio-devel)
+ $(vopt_if openal libopenal-devel)"
 depends="libwildmidi"
 short_desc="Simple software midi player and core softsynth library"
 maintainer="Érico Nogueira <ericonr@disroot.org>"
 license="GPL-3.0-or-later, LGPL-3.0-only"
 homepage="https://github.com/Mindwerks/wildmidi"
 distfiles="https://github.com/Mindwerks/wildmidi/archive/wildmidi-${version}.tar.gz"
-checksum=116c0f31d349eaa74a630ed5a9a17b6a351204877a4ed9fb9aacd9dbd7f6c874
+checksum=051b8c51699af594ddd3e4e3b06bad3564e9499c3c6b9e6f880cb2f92bcfa9c8
+build_options="alsa oss sndio openal"
+build_options_default="alsa sndio openal"
+desc_option_oss="Enable support for Open Sound System (OSS) output"
+desc_option_openal="Enable support for OpenAL output"
 
 post_install() {
 	vsconf ${FILESDIR}/wildmidi.cfg

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PR PATCH] [Updated] wildmidi: update to 0.4.6.
  2024-05-29 21:17 [PR PATCH] wildmidi: update to 0.4.6 mtboehlke
@ 2024-05-30 20:39 ` mtboehlke
  2024-06-12  6:33 ` [PR PATCH] [Merged]: " oreo639
  2024-06-12  6:33 ` oreo639
  2 siblings, 0 replies; 4+ messages in thread
From: mtboehlke @ 2024-05-30 20:39 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1758 bytes --]

There is an updated pull request by mtboehlke against master on the void-packages repository

https://github.com/mtboehlke/void-packages wildmidi
https://github.com/void-linux/void-packages/pull/50598

wildmidi: update to 0.4.6.
Enable sndio support, newly added in this version.

Also, configure the available audio playback backends via build options.  For example, it would be a valid configuration to disable all the playback options at build time for an environment where only wave file output is needed.

The player also now allows the user to choose from the built-in options at runtime.

I have disabled the OSS backend by default.  This shouldn't even be noticeable, since this couldn't even be chosen at runtime before.

<!-- Uncomment relevant sections and delete options which are not applicable -->

#### 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**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/50598.patch is attached

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

From 55c8a0e92398e8a2c65ba58617925a0af28f28d3 Mon Sep 17 00:00:00 2001
From: Mat Boehlke <mtboehlke@gmail.com>
Date: Thu, 30 May 2024 15:19:51 -0500
Subject: [PATCH] wildmidi: update to 0.4.6.

Enable sndio support, newly added in this version.
Also, use build options to control which audio output
methods to build.
The wildmidi player now allows you to choose from the
built-in output options at runtime.
---
 .../wildmidi/patches/replace_home_page.patch  | 44 -------------------
 srcpkgs/wildmidi/template                     | 15 +++++--
 2 files changed, 11 insertions(+), 48 deletions(-)
 delete mode 100644 srcpkgs/wildmidi/patches/replace_home_page.patch

diff --git a/srcpkgs/wildmidi/patches/replace_home_page.patch b/srcpkgs/wildmidi/patches/replace_home_page.patch
deleted file mode 100644
index 6b25316185f449..00000000000000
--- a/srcpkgs/wildmidi/patches/replace_home_page.patch
+++ /dev/null
@@ -1,44 +0,0 @@
-Adapted from
-https://github.com/Mindwerks/wildmidi/commit/a128266be48f2e2fabcf308232f88c2bbaa03677
-
-Replace mindwerks.net home page with the github project page in the package.
----
-diff --git a/README.md b/README.md
-index 4f33e7e..e05912a 100644
---- a/README.md
-+++ b/README.md
-@@ -8,7 +8,7 @@ applications that wish to include MIDI file playback.
- 
- Version: 0.4.5
- Licenses: GPLv3+ and LGPLv3
--Website: http://www.mindwerks.net/projects/wildmidi
-+Website: https://github.com/Mindwerks/wildmidi
- 
- PLATFORMS:
- 
-diff --git a/include/config.h.cmake b/include/config.h.cmake
-index 65ab0b8..3f52ae7 100644
---- a/include/config.h.cmake
-+++ b/include/config.h.cmake
-@@ -4,7 +4,7 @@
- #define PACKAGE "wildmidi"
- 
- /* Define to the home page for this package. */
--#define PACKAGE_URL "http://www.mindwerks.net/projects/wildmidi/"
-+#define PACKAGE_URL "https://github.com/Mindwerks/wildmidi"
- 
- /* Define to the address where bug reports for this package should be sent. */
- #define PACKAGE_BUGREPORT "https://github.com/Mindwerks/wildmidi/issues"
-diff --git a/src/wildmidi.pc.in b/src/wildmidi.pc.in
-index 3d8e84f..1a73284 100644
---- a/src/wildmidi.pc.in
-+++ b/src/wildmidi.pc.in
-@@ -8,7 +8,7 @@ includedir=${exec_prefix}/@CMAKE_INSTALL_INCLUDEDIR@
- Name: WildMIDI
- Description: software synthesizer library
- Version: @WILDMIDI_VERSION@
--URL: https://www.mindwerks.net/projects/wildmidi/
-+URL: https://github.com/Mindwerks/wildmidi
- 
- Libs: -L${libdir} -lWildMidi
- Libs.private: -lm 
diff --git a/srcpkgs/wildmidi/template b/srcpkgs/wildmidi/template
index 35a28f434035c9..2326a2ce6b7db5 100644
--- a/srcpkgs/wildmidi/template
+++ b/srcpkgs/wildmidi/template
@@ -1,18 +1,25 @@
 # Template file for 'wildmidi'
 pkgname=wildmidi
-version=0.4.5
+version=0.4.6
 revision=1
 build_style=cmake
-configure_args="-DWANT_ALSA=1 -DWANT_OSS=1 -DWANT_OPENAL=1"
+configure_args="$(vopt_bool alsa WANT_ALSA) $(vopt_bool oss WANT_OSS)
+ $(vopt_bool sndio WANT_SNDIO) $(vopt_bool openal WANT_OPENAL)"
 hostmakedepends="pkg-config"
-makedepends="alsa-lib-devel libopenal-devel"
+makedepends="$(vopt_if alsa alsa-lib-devel) $(vopt_if sndio sndio-devel)
+ $(vopt_if openal libopenal-devel)"
 depends="libwildmidi"
 short_desc="Simple software midi player and core softsynth library"
 maintainer="Érico Nogueira <ericonr@disroot.org>"
 license="GPL-3.0-or-later, LGPL-3.0-only"
 homepage="https://github.com/Mindwerks/wildmidi"
 distfiles="https://github.com/Mindwerks/wildmidi/archive/wildmidi-${version}.tar.gz"
-checksum=116c0f31d349eaa74a630ed5a9a17b6a351204877a4ed9fb9aacd9dbd7f6c874
+checksum=051b8c51699af594ddd3e4e3b06bad3564e9499c3c6b9e6f880cb2f92bcfa9c8
+
+build_options="alsa oss sndio openal"
+build_options_default="alsa sndio openal"
+desc_option_oss="Enable support for Open Sound System (OSS) output"
+desc_option_openal="Enable support for OpenAL output"
 
 post_install() {
 	vsconf ${FILESDIR}/wildmidi.cfg

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PR PATCH] [Merged]: wildmidi: update to 0.4.6.
  2024-05-29 21:17 [PR PATCH] wildmidi: update to 0.4.6 mtboehlke
  2024-05-30 20:39 ` [PR PATCH] [Updated] " mtboehlke
@ 2024-06-12  6:33 ` oreo639
  2024-06-12  6:33 ` oreo639
  2 siblings, 0 replies; 4+ messages in thread
From: oreo639 @ 2024-06-12  6:33 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1597 bytes --]

There's a merged pull request on the void-packages repository

wildmidi: update to 0.4.6.
https://github.com/void-linux/void-packages/pull/50598

Description:
Enable sndio support, newly added in this version.

Also, configure the available audio playback backends via build options.  For example, it would be a valid configuration to disable all the playback options at build time for an environment where only wave file output is needed.

The player also now allows the user to choose from the built-in options at runtime.

I have disabled the OSS backend by default.  This shouldn't even be noticeable, since this couldn't even be chosen at runtime before.

<!-- Uncomment relevant sections and delete options which are not applicable -->

#### 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**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: wildmidi: update to 0.4.6.
  2024-05-29 21:17 [PR PATCH] wildmidi: update to 0.4.6 mtboehlke
  2024-05-30 20:39 ` [PR PATCH] [Updated] " mtboehlke
  2024-06-12  6:33 ` [PR PATCH] [Merged]: " oreo639
@ 2024-06-12  6:33 ` oreo639
  2 siblings, 0 replies; 4+ messages in thread
From: oreo639 @ 2024-06-12  6:33 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 149 bytes --]

New comment by oreo639 on void-packages repository

https://github.com/void-linux/void-packages/pull/50598#issuecomment-2162210376

Comment:
Thanks.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-06-12  6:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-29 21:17 [PR PATCH] wildmidi: update to 0.4.6 mtboehlke
2024-05-30 20:39 ` [PR PATCH] [Updated] " mtboehlke
2024-06-12  6:33 ` [PR PATCH] [Merged]: " oreo639
2024-06-12  6:33 ` oreo639

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