| @@ -0,0 +1,5 @@ | |||||
| fluidsynth-static (6:1.1.11-1kxstudio1) focal; urgency=medium | |||||
| * Initial package | |||||
| -- falkTX <falktx@falktx.com> Sun, 17 Apr 2022 15:05:47 +0100 | |||||
| @@ -0,0 +1,24 @@ | |||||
| Source: fluidsynth-static | |||||
| Section: libs | |||||
| Priority: optional | |||||
| Maintainer: falkTX <falktx@falktx.com> | |||||
| Build-Depends: debhelper-compat (= 13), | |||||
| kxstudio-build-scripts, | |||||
| cmake, | |||||
| pkg-config, | |||||
| libsndfile-static, | |||||
| libglib2.0-dev | |||||
| Standards-Version: 4.5.0 | |||||
| Homepage: https://www.fluidsynth.org/ | |||||
| Rules-Requires-Root: no | |||||
| Package: fluidsynth-static | |||||
| Architecture: any | |||||
| Depends: ${shlibs:Depends}, ${misc:Depends}, libsndfile-static, libglib2.0-dev | |||||
| Description: Real-time MIDI software synthesizer (static) | |||||
| Fluidsynth is a real-time midi synthesizer based on the soundfont2 | |||||
| specifications. It can be used to render MIDI input or MIDI files to audio. | |||||
| The MIDI events are read from a MIDI device. The sound is rendered in | |||||
| real-time to the sound output device. | |||||
| . | |||||
| This package provides the static library used in KXStudio builds. | |||||
| @@ -0,0 +1,20 @@ | |||||
| --- fluidsynth-static-1.1.11.orig/CMakeLists.txt | |||||
| +++ fluidsynth-static-1.1.11/CMakeLists.txt | |||||
| @@ -89,16 +89,7 @@ if ( CMAKE_SYSTEM MATCHES "OS2" ) | |||||
| endif ( CMAKE_SYSTEM MATCHES "OS2" ) | |||||
| # Initialize the library directory name suffix. | |||||
| -if (NOT MINGW AND NOT MSVC) | |||||
| -if ( CMAKE_SIZEOF_VOID_P EQUAL 8 ) | |||||
| - set ( _init_lib_suffix "64" ) | |||||
| -else ( CMAKE_SIZEOF_VOID_P EQUAL 8 ) | |||||
| - set ( _init_lib_suffix "" ) | |||||
| -endif ( CMAKE_SIZEOF_VOID_P EQUAL 8 ) | |||||
| -else () | |||||
| - set ( _init_lib_suffix "" ) | |||||
| -endif() | |||||
| -set ( LIB_SUFFIX ${_init_lib_suffix} CACHE STRING | |||||
| +set ( LIB_SUFFIX "" CACHE STRING | |||||
| "library directory name suffix (32/64/nothing)" ) | |||||
| mark_as_advanced ( LIB_SUFFIX ) | |||||
| @@ -0,0 +1,9 @@ | |||||
| --- fluidsynth-static-1.1.6.orig/fluidsynth.pc.in | |||||
| +++ fluidsynth-static-1.1.6/fluidsynth.pc.in | |||||
| @@ -6,5 +6,5 @@ includedir=@includedir@ | |||||
| Name: FluidSynth | |||||
| Description: Software SoundFont synth | |||||
| Version: @VERSION@ | |||||
| -Libs: -L${libdir} -lfluidsynth | |||||
| +Libs: -L${libdir} -lfluidsynth -lglib-2.0 -lgthread-2.0 -lsndfile -lFLAC -lvorbisenc -lvorbis -logg -lpthread -lrt -lm | |||||
| Cflags: -I${includedir} | |||||
| @@ -0,0 +1,60 @@ | |||||
| --- fluidsynth-static-1.1.11.orig/src/CMakeLists.txt | |||||
| +++ fluidsynth-static-1.1.11/src/CMakeLists.txt | |||||
| @@ -175,11 +175,6 @@ set ( libfluidsynth_SOURCES | |||||
| midi/fluid_midi_router.h | |||||
| midi/fluid_seqbind.c | |||||
| midi/fluid_seq.c | |||||
| - drivers/fluid_adriver.c | |||||
| - drivers/fluid_adriver.h | |||||
| - drivers/fluid_mdriver.c | |||||
| - drivers/fluid_mdriver.h | |||||
| - drivers/fluid_aufile.c | |||||
| bindings/fluid_cmd.c | |||||
| bindings/fluid_cmd.h | |||||
| bindings/fluid_filerenderer.c | |||||
| @@ -335,32 +330,14 @@ target_link_libraries ( libfluidsynth | |||||
| ${LIBFLUID_LIBS} | |||||
| ) | |||||
| -# ************ CLI program ************ | |||||
| - | |||||
| -set ( fluidsynth_SOURCES fluidsynth.c ) | |||||
| - | |||||
| -add_executable ( fluidsynth | |||||
| - ${fluidsynth_SOURCES} | |||||
| -) | |||||
| - | |||||
| -if ( FLUID_CPPFLAGS ) | |||||
| - set_target_properties ( fluidsynth | |||||
| - PROPERTIES COMPILE_FLAGS ${FLUID_CPPFLAGS} ) | |||||
| -endif ( FLUID_CPPFLAGS ) | |||||
| - | |||||
| -target_link_libraries ( fluidsynth | |||||
| - libfluidsynth | |||||
| - ${FLUID_LIBS} | |||||
| -) | |||||
| - | |||||
| if ( MACOSX_FRAMEWORK ) | |||||
| - install ( TARGETS fluidsynth libfluidsynth | |||||
| + install ( TARGETS libfluidsynth | |||||
| RUNTIME DESTINATION ${BIN_INSTALL_DIR} | |||||
| FRAMEWORK DESTINATION ${FRAMEWORK_INSTALL_DIR} | |||||
| ARCHIVE DESTINATION ${FRAMEWORK_INSTALL_DIR} | |||||
| ) | |||||
| else ( MACOSX_FRAMEWORK ) | |||||
| - install ( TARGETS fluidsynth libfluidsynth | |||||
| + install ( TARGETS libfluidsynth | |||||
| RUNTIME DESTINATION ${BIN_INSTALL_DIR} | |||||
| LIBRARY DESTINATION ${LIB_INSTALL_DIR} | |||||
| ARCHIVE DESTINATION ${LIB_INSTALL_DIR} | |||||
| --- fluidsynth-static-1.1.11.orig/src/utils/fluid_settings.c | |||||
| +++ fluidsynth-static-1.1.11/src/utils/fluid_settings.c | |||||
| @@ -297,8 +297,6 @@ fluid_settings_init(fluid_settings_t* se | |||||
| fluid_shell_settings(settings); | |||||
| fluid_player_settings(settings); | |||||
| fluid_file_renderer_settings(settings); | |||||
| - fluid_audio_driver_settings(settings); | |||||
| - fluid_midi_driver_settings(settings); | |||||
| } | |||||
| static int | |||||
| @@ -0,0 +1,3 @@ | |||||
| 01_force-empty-libsuffix.patch | |||||
| 02_force-libs.patch | |||||
| 03_skip-drivers-build.patch | |||||
| @@ -0,0 +1,34 @@ | |||||
| #!/usr/bin/make -f | |||||
| include /usr/share/dpkg/kxstudio.mk | |||||
| EXTRA_CONF_FLAGS = -DCMAKE_BUILD_TYPE=Release | |||||
| EXTRA_CONF_FLAGS += -Denable-debug=OFF | |||||
| EXTRA_CONF_FLAGS += -Denable-profiling=OFF | |||||
| EXTRA_CONF_FLAGS += -Denable-ladspa=OFF | |||||
| EXTRA_CONF_FLAGS += -Denable-fpe-check=OFF | |||||
| EXTRA_CONF_FLAGS += -Denable-portaudio=OFF | |||||
| EXTRA_CONF_FLAGS += -Denable-trap-on-fpe=OFF | |||||
| EXTRA_CONF_FLAGS += -Denable-aufile=OFF | |||||
| EXTRA_CONF_FLAGS += -Denable-dbus=OFF | |||||
| EXTRA_CONF_FLAGS += -Denable-ipv6=OFF | |||||
| EXTRA_CONF_FLAGS += -Denable-jack=OFF | |||||
| EXTRA_CONF_FLAGS += -Denable-midishare=OFF | |||||
| EXTRA_CONF_FLAGS += -Denable-oss=OFF | |||||
| EXTRA_CONF_FLAGS += -Denable-pulseaudio=OFF | |||||
| EXTRA_CONF_FLAGS += -Denable-readline=OFF | |||||
| EXTRA_CONF_FLAGS += -Denable-ladcca=OFF | |||||
| EXTRA_CONF_FLAGS += -Denable-lash=OFF | |||||
| EXTRA_CONF_FLAGS += -Denable-alsa=OFF | |||||
| EXTRA_CONF_FLAGS += -Denable-coreaudio=OFF | |||||
| EXTRA_CONF_FLAGS += -Denable-coremidi=OFF | |||||
| EXTRA_CONF_FLAGS += -Denable-framework=OFF | |||||
| EXTRA_CONF_FLAGS += -Denable-floats=ON | |||||
| override_dh_auto_configure: | |||||
| dh_auto_configure -- $(EXTRA_CONF_FLAGS) \ | |||||
| -DCMAKE_INSTALL_PREFIX=/opt/kxstudio \ | |||||
| -DBUILD_SHARED_LIBS=OFF | |||||
| %: | |||||
| dh $@ -S cmake | |||||
| @@ -0,0 +1 @@ | |||||
| 3.0 (quilt) | |||||
| @@ -0,0 +1,36 @@ | |||||
| obj-x86_64-linux-gnu/CMakeFiles/3.2.2/CMakeDetermineCompilerABI_C.bin | |||||
| obj-x86_64-linux-gnu/CMakeFiles/3.2.2/CompilerIdC/a.out | |||||
| obj-x86_64-linux-gnu/CMakeFiles/CheckTypeSize/CMAKE_SIZEOF_UNSIGNED_SHORT.bin | |||||
| obj-x86_64-linux-gnu/CMakeFiles/TestEndianess.bin | |||||
| obj-x86_64-linux-gnu/CMakeFiles/feature_tests.bin | |||||
| obj-x86_64-linux-gnu/src/CMakeFiles/libfluidsynth.dir/bindings/fluid_cmd.c.o | |||||
| obj-x86_64-linux-gnu/src/CMakeFiles/libfluidsynth.dir/bindings/fluid_filerenderer.c.o | |||||
| obj-x86_64-linux-gnu/src/CMakeFiles/libfluidsynth.dir/midi/fluid_midi.c.o | |||||
| obj-x86_64-linux-gnu/src/CMakeFiles/libfluidsynth.dir/midi/fluid_midi_router.c.o | |||||
| obj-x86_64-linux-gnu/src/CMakeFiles/libfluidsynth.dir/midi/fluid_seq.c.o | |||||
| obj-x86_64-linux-gnu/src/CMakeFiles/libfluidsynth.dir/midi/fluid_seqbind.c.o | |||||
| obj-x86_64-linux-gnu/src/CMakeFiles/libfluidsynth.dir/rvoice/fluid_adsr_env.c.o | |||||
| obj-x86_64-linux-gnu/src/CMakeFiles/libfluidsynth.dir/rvoice/fluid_chorus.c.o | |||||
| obj-x86_64-linux-gnu/src/CMakeFiles/libfluidsynth.dir/rvoice/fluid_iir_filter.c.o | |||||
| obj-x86_64-linux-gnu/src/CMakeFiles/libfluidsynth.dir/rvoice/fluid_lfo.c.o | |||||
| obj-x86_64-linux-gnu/src/CMakeFiles/libfluidsynth.dir/rvoice/fluid_rev.c.o | |||||
| obj-x86_64-linux-gnu/src/CMakeFiles/libfluidsynth.dir/rvoice/fluid_rvoice.c.o | |||||
| obj-x86_64-linux-gnu/src/CMakeFiles/libfluidsynth.dir/rvoice/fluid_rvoice_dsp.c.o | |||||
| obj-x86_64-linux-gnu/src/CMakeFiles/libfluidsynth.dir/rvoice/fluid_rvoice_event.c.o | |||||
| obj-x86_64-linux-gnu/src/CMakeFiles/libfluidsynth.dir/rvoice/fluid_rvoice_mixer.c.o | |||||
| obj-x86_64-linux-gnu/src/CMakeFiles/libfluidsynth.dir/sfloader/fluid_defsfont.c.o | |||||
| obj-x86_64-linux-gnu/src/CMakeFiles/libfluidsynth.dir/sfloader/fluid_ramsfont.c.o | |||||
| obj-x86_64-linux-gnu/src/CMakeFiles/libfluidsynth.dir/synth/fluid_chan.c.o | |||||
| obj-x86_64-linux-gnu/src/CMakeFiles/libfluidsynth.dir/synth/fluid_event.c.o | |||||
| obj-x86_64-linux-gnu/src/CMakeFiles/libfluidsynth.dir/synth/fluid_gen.c.o | |||||
| obj-x86_64-linux-gnu/src/CMakeFiles/libfluidsynth.dir/synth/fluid_mod.c.o | |||||
| obj-x86_64-linux-gnu/src/CMakeFiles/libfluidsynth.dir/synth/fluid_synth.c.o | |||||
| obj-x86_64-linux-gnu/src/CMakeFiles/libfluidsynth.dir/synth/fluid_tuning.c.o | |||||
| obj-x86_64-linux-gnu/src/CMakeFiles/libfluidsynth.dir/synth/fluid_voice.c.o | |||||
| obj-x86_64-linux-gnu/src/CMakeFiles/libfluidsynth.dir/utils/fluid_conv.c.o | |||||
| obj-x86_64-linux-gnu/src/CMakeFiles/libfluidsynth.dir/utils/fluid_hash.c.o | |||||
| obj-x86_64-linux-gnu/src/CMakeFiles/libfluidsynth.dir/utils/fluid_list.c.o | |||||
| obj-x86_64-linux-gnu/src/CMakeFiles/libfluidsynth.dir/utils/fluid_ringbuffer.c.o | |||||
| obj-x86_64-linux-gnu/src/CMakeFiles/libfluidsynth.dir/utils/fluid_settings.c.o | |||||
| obj-x86_64-linux-gnu/src/CMakeFiles/libfluidsynth.dir/utils/fluid_sys.c.o | |||||
| obj-x86_64-linux-gnu/src/libfluidsynth.a | |||||