Skip to content

Fluidsynth: Drop glib patch when 2.5 is released #203

@Ghabry

Description

@Ghabry

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions