diff --git a/audio/linuxsampler/Makefile b/audio/linuxsampler/Makefile index 826ccc796947..0baf16cd9fa1 100644 --- a/audio/linuxsampler/Makefile +++ b/audio/linuxsampler/Makefile @@ -1,61 +1,60 @@ PORTNAME= linuxsampler -DISTVERSION= 2.4.0 -PORTREVISION= 1 +DISTVERSION= 2.4.2 CATEGORIES= audio MASTER_SITES= https://download.linuxsampler.org/packages/ MAINTAINER= yuri@FreeBSD.org COMMENT= Modular MIDI sampler WWW= https://www.linuxsampler.org/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING ONLY_FOR_ARCHS= amd64 i386 ONLY_FOR_ARCHS_REASON= not yet ported to this architecture BUILD_DEPENDS= lv2>0:audio/lv2 \ p5-XML-Parser>0:textproc/p5-XML-Parser LIB_DEPENDS= libgig.so:audio/libgig \ libsndfile.so:audio/libsndfile \ libuuid.so:misc/libuuid USES= bison compiler:c++14-lang gmake libtool localbase perl5 \ pkgconfig sqlite:3 tar:bzip2 shebangfix USE_LDCONFIG= ${PREFIX}/lib/linuxsampler USE_PERL5= build SHEBANG_FILES= scripts/generate_lscp_shell_reference.pl \ scripts/update_lscp_grammar.pl GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share CONFIGURE_ENV= HAVE_UNIX98=1 CONFIGURE_ARGS= --disable-arts-driver MAKE_JOBS_UNSAFE= yes # https://bugs.linuxsampler.org/cgi-bin/show_bug.cgi?id=322 INSTALL_TARGET= install-strip OPTIONS_DEFINE= JACK ALSA OPTIONS_DEFAULT= JACK OPTIONS_SUB= yes ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CONFIGURE_ENABLE= alsa-driver ALSA_BROKEN= error: unknown type name 'snd_pcm_t' JACK_LIB_DEPENDS= libjack.so:audio/jack JACK_CONFIGURE_ENABLE= jack-driver CONFLICTS_BUILD= dssi # DSSI is a no-longer-maintained interface to obsolete LADSPA plugins - no need to pull DSSI and LADSPA into dependencies post-patch: @${REINPLACE_CMD} -e \ 's|CXX_CPU_SWITCH=.*|CXX_CPU_SWITCH=|g ; \ s|"lv2core"|"_lv2core_"|' ${WRKSRC}/configure post-install: @${TOUCH} ${STAGEDIR}${PREFIX}/lib/linuxsampler/plugins/.keep_me .include diff --git a/audio/linuxsampler/distinfo b/audio/linuxsampler/distinfo index 628d8a2c9fc7..21d63968c97c 100644 --- a/audio/linuxsampler/distinfo +++ b/audio/linuxsampler/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1749022482 -SHA256 (linuxsampler-2.4.0.tar.bz2) = 3f821aad9ccd278354c72dba88b6575f0c4085699a6801b454a8066b2b9640f5 -SIZE (linuxsampler-2.4.0.tar.bz2) = 1151228 +TIMESTAMP = 1778725508 +SHA256 (linuxsampler-2.4.2.tar.bz2) = b326d2bac18897ee97d2477863e16a57a87c0acdc9df4865bd969076c0bf510f +SIZE (linuxsampler-2.4.2.tar.bz2) = 1141326 diff --git a/audio/linuxsampler/files/patch-configure b/audio/linuxsampler/files/patch-configure index e959a52e8cef..fcd873575103 100644 --- a/audio/linuxsampler/files/patch-configure +++ b/audio/linuxsampler/files/patch-configure @@ -1,176 +1,176 @@ ---- configure.orig 2017-11-25 17:33:38 UTC +--- configure.orig 2025-12-17 11:55:33 UTC +++ configure -@@ -10376,7 +10376,7 @@ $as_echo_n "checking whether the $compil +@@ -11665,7 +11665,7 @@ printf %s "checking whether the $compiler linker ($LD) hardcode_minus_L=no hardcode_shlibpath_var=unsupported inherit_rpath=no - link_all_deplibs=unknown + link_all_deplibs=no module_cmds= module_expsym_cmds= old_archive_from_new_cmds= -@@ -10678,7 +10678,7 @@ _LT_EOF +@@ -11972,7 +11972,7 @@ _LT_EOF wlarc= else archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' - archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' + archive_expsym_cmds='echo "{ global:" > $lib-ver~ sed -e "s|$|;|" < $export_symbols >> $lib-ver~ echo "local: *; };" >> $lib-ver~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$lib-ver -o $lib' fi ;; -@@ -10697,7 +10697,7 @@ _LT_EOF +@@ -11991,7 +11991,7 @@ _LT_EOF _LT_EOF elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' - archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' + archive_expsym_cmds='echo "{ global:" > $lib-ver~ sed -e "s|$|;|" < $export_symbols >> $lib-ver~ echo "local: *; };" >> $lib-ver~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$lib-ver -o $lib' else ld_shlibs=no fi -@@ -10726,7 +10726,7 @@ _LT_EOF +@@ -12020,7 +12020,7 @@ _LT_EOF if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' + archive_expsym_cmds='echo "{ global:" > $lib-ver~ sed -e "s|$|;|" < $export_symbols >> $lib-ver~ echo "local: *; };" >> $lib-ver~$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$lib-ver -o $lib' else ld_shlibs=no fi -@@ -10744,7 +10744,7 @@ _LT_EOF +@@ -12038,7 +12038,7 @@ _LT_EOF *) if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' - archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' + archive_expsym_cmds='echo "{ global:" > $lib-ver~ sed -e "s|$|;|" < $export_symbols >> $lib-ver~ echo "local: *; };" >> $lib-ver~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$lib-ver -o $lib' else ld_shlibs=no fi -@@ -11393,7 +11393,7 @@ $as_echo "$lt_cv_irix_exported_symbol" > +@@ -12703,7 +12703,7 @@ printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; } hardcode_direct_absolute=yes if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' - archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols' + archive_expsym_cmds='echo "{ global:" > $lib-ver~ sed -e "s|$|;|" < $export_symbols >> $lib-ver~ echo "local: *; };" >> $lib-ver~$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-version-script,$lib-ver' hardcode_libdir_flag_spec='$wl-rpath,$libdir' export_dynamic_flag_spec='$wl-E' else -@@ -12242,7 +12242,7 @@ freebsd* | dragonfly*) +@@ -13572,7 +13572,7 @@ freebsd* | dragonfly* | midnightbsd*) version_type=freebsd-$objformat case $version_type in freebsd-elf*) - library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' soname_spec='$libname$release$shared_ext$major' need_version=no need_lib_prefix=no -@@ -13386,7 +13386,7 @@ striplib= - old_striplib= - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 - $as_echo_n "checking whether stripping libraries is possible... " >&6; } --if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then -+if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "strip" >/dev/null; then - test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" - test -z "$striplib" && striplib="$STRIP --strip-unneeded" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -@@ -13638,7 +13638,7 @@ hardcode_automatic_CXX=no +@@ -15330,7 +15330,7 @@ else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 + printf "%s\n" "no" >&6; } + else +- if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then ++ if $STRIP -V 2>&1 | $GREP "strip" >/dev/null; then + old_striplib="$STRIP --strip-debug" + striplib="$STRIP --strip-unneeded" + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +@@ -15590,7 +15590,7 @@ module_expsym_cmds_CXX= inherit_rpath_CXX=no module_cmds_CXX= module_expsym_cmds_CXX= -link_all_deplibs_CXX=unknown +link_all_deplibs_CXX=no old_archive_cmds_CXX=$old_archive_cmds reload_flag_CXX=$reload_flag reload_cmds_CXX=$reload_cmds -@@ -13849,7 +13849,7 @@ with_gnu_ld=$lt_cv_prog_gnu_ld +@@ -15807,7 +15807,7 @@ with_gnu_ld=$lt_cv_prog_gnu_ld # archiving commands below assume that GNU ld is being used. if test yes = "$with_gnu_ld"; then archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' - archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' + archive_expsym_cmds_CXX='echo "{ global:" > $lib-ver~ sed -e "s|$|;|" < $export_symbols >> $lib-ver~ echo "local: *; };" >> $lib-ver~$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$lib-ver -o $lib' hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' export_dynamic_flag_spec_CXX='$wl--export-dynamic' -@@ -14541,7 +14541,7 @@ fi +@@ -16506,7 +16506,7 @@ fi case `$CC -V 2>&1` in *"Version 7."*) archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' - archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' + archive_expsym_cmds_CXX='echo "{ global:" > $lib-ver~ sed -e "s|$|;|" < $export_symbols >> $lib-ver~ echo "local: *; };" >> $lib-ver~$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$lib-ver -o $lib' ;; *) # Version 8.0 or newer tmp_idyn= -@@ -14549,7 +14549,7 @@ fi +@@ -16514,7 +16514,7 @@ fi ia64*) tmp_idyn=' -i_dynamic';; esac archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' - archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' + archive_expsym_cmds_CXX='echo "{ global:" > $lib-ver~ sed -e "s|$|;|" < $export_symbols >> $lib-ver~ echo "local: *; };" >> $lib-ver~$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$lib-ver -o $lib' ;; esac archive_cmds_need_lc_CXX=no -@@ -14581,7 +14581,7 @@ fi +@@ -16546,7 +16546,7 @@ fi ;; *) # Version 6 and above use weak symbols archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' - archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' + archive_expsym_cmds_CXX='echo "{ global:" > $lib-ver~ sed -e "s|$|;|" < $export_symbols >> $lib-ver~ echo "local: *; };" >> $lib-ver~$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$lib-ver -o $lib' ;; esac -@@ -14592,7 +14592,7 @@ fi +@@ -16557,7 +16557,7 @@ fi cxx*) # Compaq C++ archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' - archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib $wl-retain-symbols-file $wl$export_symbols' + archive_expsym_cmds_CXX='echo "{ global:" > $lib-ver~ sed -e "s|$|;|" < $export_symbols >> $lib-ver~ echo "local: *; };" >> $lib-ver~$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib $wl-version-script $wl$lib-ver' runpath_var=LD_RUN_PATH hardcode_libdir_flag_spec_CXX='-rpath $libdir' -@@ -14626,7 +14626,7 @@ fi +@@ -16591,7 +16591,7 @@ fi # Sun C++ 5.9 no_undefined_flag_CXX=' -zdefs' archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - archive_expsym_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file $wl$export_symbols' + archive_expsym_cmds_CXX='echo "{ global:" > $lib-ver~ sed -e "s|$|;|" < $export_symbols >> $lib-ver~ echo "local: *; };" >> $lib-ver~$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-version-script $wl$lib-ver' hardcode_libdir_flag_spec_CXX='-R$libdir' whole_archive_flag_spec_CXX='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' compiler_needs_object_CXX=yes -@@ -14694,7 +14694,7 @@ fi +@@ -16663,7 +16663,7 @@ fi archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then - archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib' + archive_expsym_cmds_CXX='echo "{ global:" > $lib-ver~ sed -e "s|$|;|" < $export_symbols >> $lib-ver~ echo "local: *; };" >> $lib-ver~$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-version-script,$lib-ver -o $lib' export_dynamic_flag_spec_CXX='$wl-E' whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' fi -@@ -16219,7 +16219,7 @@ freebsd* | dragonfly*) +@@ -18222,7 +18222,7 @@ freebsd* | dragonfly* | midnightbsd*) version_type=freebsd-$objformat case $version_type in freebsd-elf*) - library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' soname_spec='$libname$release$shared_ext$major' need_version=no need_lib_prefix=no -@@ -17406,9 +17406,9 @@ _ACEOF +@@ -20911,9 +20911,9 @@ if ! echo "X $CXXFLAGS " | grep -q -- " \(-march=\|-mc CXX_CPU_SWITCH= if ! echo "X $CXXFLAGS " | grep -q -- " \(-march=\|-mcpu=\|-mtune=\|-arch=\)" ; then if test "$def_arch_x86" = 1 -a "$host_cpu" != "x86_64"; then - CXX_CPU_SWITCH="-march=$host_cpu" + CXX_CPU_SWITCH= elif test "$target_cpu" = "ppc"; then - CXX_CPU_SWITCH="-arch=$host_cpu" + CXX_CPU_SWITCH= fi fi -@@ -18120,7 +18120,7 @@ fi +@@ -21763,7 +21763,7 @@ if echo "$YACC" | grep -q bison; then # parser yacc tables. if echo "$YACC" | grep -q bison; then # NOTE: m4 removes [], that's why it needs to be escaped - bison_version=`$YACC --version | head -n 1 | sed -e 's/[^0-9.]*\([-0-9.]\+\)$/\1/'` + bison_version=`$YACC --version | head -n 1 | sed -e 's/[^0-9.]*\([-0-9.]\+\)$/\1/' | sed -e 's/[[:alpha:][:space:]()]*//'` bison_version_major=`echo $bison_version | cut -d. -f1` bison_version_minor=`echo $bison_version | cut -d. -f2`