Skip to content

Fluidsynth: Drop glib patch when 2.4.7 is released #203

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Ghabry opened this issue May 24, 2025 · 0 comments
Open

Fluidsynth: Drop glib patch when 2.4.7 is released #203

Ghabry opened this issue May 24, 2025 · 0 comments

Comments

@Ghabry
Copy link
Member

Ghabry commented May 24, 2025

Next fluidsynth version adds an abstraction layer that is either for embedded -Dosal=embedded of for C++11 -Dosal=cpp11 (FluidSynth/fluidsynth#1570).

cpp11 is useful for our desktop/mobile platforms and embedded for homebrew (because thread and mutex implementation is broken).


Currently embedded lacks big endian support but I'll submit a patch upstream to get this in.


Required changes shared/patched.sh manually specifiy all the OFF options:

FLUIDSYNTH_ARGS="-DLIB_SUFFIX='' -Denable-alsa=OFF -Denable-aufile=OFF -Denable-dbus=OFF -Denable-ipv6=OFF -Denable-jack=OFF -Denable-ladspa=OFF -Denable-libinstpatch=OFF -Denable-libsndfile=OFF -Denable-midishare=OFF -Denable-network=OFF -Denable-oss=OFF -Denable-dsound=OFF -Denable-wasapi=OFF -Denable-waveout=OFF -Denable-winmidi=OFF -Denable-sdl3=OFF -Denable-pulseaudio=OFF -Denable-pipewire=OFF -Denable-readline=OFF -Denable-threads=OFF -Denable-openmp=OFF -Denable-unicode=OFF"

(Generated via prompt "Here are CMake options, give me a command line that sets all ON options with -DOPTION=OFF to off" + manual check for correctness ;))

  1. Add -Dosal=PLATFORM (PLATFORM = embedded or cpp11) depending on the system.

Edit: patch submitted FluidSynth/fluidsynth#1575

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant