git: 2b4b49e9fb2a - main - audio/dexed: update 0.9.6-16 → 0.9.7

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sun, 14 Jul 2024 22:29:42 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2b4b49e9fb2a0dba409de7670f7499836a2b56f8

commit 2b4b49e9fb2a0dba409de7670f7499836a2b56f8
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-07-14 19:23:07 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-07-14 22:29:32 +0000

    audio/dexed: update 0.9.6-16 → 0.9.7
    
    Reported by:    portscout
---
 audio/dexed/Makefile                               | 26 +++++++--------
 audio/dexed/distinfo                               | 38 ++++++++++------------
 audio/dexed/files/patch-CMakeLists.txt             | 12 -------
 audio/dexed/files/patch-Source_PluginProcessor.h   |  4 +--
 ...types_VST3__SDK_pluginterfaces_base_fplatform.h | 16 ++++-----
 ...tch-libs_JUCE_modules_juce__core_juce__core.cpp | 11 -------
 ...odules_juce__core_native_juce__linux__Files.cpp | 24 --------------
 7 files changed, 40 insertions(+), 91 deletions(-)

diff --git a/audio/dexed/Makefile b/audio/dexed/Makefile
index 7314f8e364a3..5244a8114304 100644
--- a/audio/dexed/Makefile
+++ b/audio/dexed/Makefile
@@ -1,8 +1,6 @@
 PORTNAME=	dexed
 DISTVERSIONPREFIX=	v
-DISTVERSION=	0.9.6-16
-DISTVERSIONSUFFIX=	-g1df9a58
-PORTREVISION=	7
+DISTVERSION=	0.9.7
 CATEGORIES=	audio
 PKGNAMESUFFIX=	-synth
 
@@ -27,30 +25,32 @@ USES=		cmake dos2unix localbase:ldflags pkgconfig
 USE_GITHUB=	yes
 GH_ACCOUNT=	asb2m10
 
-GH_TUPLE=	steinbergmedia:vst3sdk:2cc517019a2681fccf211e6a95776a0af1e16d04:steinbergmedia_vst3sdk/libs/vst3sdk \
-		steinbergmedia:vst3_base:985fe019276ee03c2751a1736ba3b390678e29f2:asb2m10_vst3_base/libs/vst3sdk/base \
-		steinbergmedia:vst3_cmake:31b3f3c3e5c4e1bcfee221e5076b6b56296214d7:asb2m10_vst3_cmake/libs/vst3sdk/cmake \
-		steinbergmedia:vst3_doc:a3ad6a147ed8347c802dd2a946d84939a3572164:asb2m10_vst3_doc/libs/vst3sdk/doc \
-		steinbergmedia:vst3_pluginterfaces:93cef1afb7061e488625045ba5a82abaa83d27fe:asb2m10_vst3_pluginterfaces/libs/vst3sdk/pluginterfaces \
-		steinbergmedia:vst3_public_sdk:9589800ed94573354bc29de45eec5744523fbfcb:asb2m10_vst3_public_sdk/libs/vst3sdk/public.sdk \
-		steinbergmedia:vstgui:6c48e17c174abaf2f1dc8ae41e5fab70599eca6c:asb2m10_vstgui/libs/vst3sdk/vstgui4 \
-		surge-synthesizer:tuning-library:b3069450045fe439206628f08220300864e5a958:surge_synthesizer_tuning_library/libs/tuning-library \
+GH_TUPLE= \
+		steinbergmedia:vst3sdk:e9895dc9ef20bedd93a0fde5ad664bc8b56d4338:steinbergmedia_vst3sdk/libs/vst3sdk \
+		surge-synthesizer:tuning-library:601c0eabff31fff8a543b49d3e48073f338f413c:surge_synthesizer_tuning_library/libs/tuning-library \
 		surge-synthesizer:surgesynthteam_tuningui:54f9a74cd55cdb33fb4d32d706067626857cfc75:surge_synthesizer_surgesynthteam_tuningui/libs/surgesynthteam_tuningui \
-		juce-framework:JUCE:2f980209cc4091a4490bb1bafc5d530f16834e58:juce_framework_JUCE/libs/JUCE
+		ODDSound:MTS-ESP:514ed958b38e5ab501999f902a2427ebe6232a78:ODDSound_MTS_ESP/libs/MTS-ESP \
+		juce-framework:JUCE:d054f0d14dcac387aebda44ce5d792b5e7a625b3:juce_framework_JUCE/libs/JUCE \
+		free-audio:clap-juce-extensions:4491bc30223cecf8ff495de943510863b71a7a81:free_audio_clap_juce_extensions/libs/clap-juce-extensions \
+		free-audio:clap:df8f16c69ba1c1a15fb105f0c5a2e5b9ac6be742:free_audio_clap/libs/clap-juce-extensions/clap-libs/clap \
+		free-audio:clap-helpers:7b53a685e11465154b4ccba3065224dbcbf8a893:free_audio_clap_helpers/libs/clap-juce-extensions/clap-libs/clap-helpers
 
 DOS2UNIX_GLOB=	*.cpp *.h
 
 PLIST_FILES=	bin/Dexed
 
 OPTIONS_DEFINE=		VST3
-OPTIONS_DEFAULT=	VST3
+#OPTIONS_DEFAULT=	VST3
 
 VST3_DESC=		Build the VST3 plugin
 VST3_BUILD_DEPENDS=	vst3sdk>0:audio/vst3sdk
 VST3_CXXFLAGS=		-DJUCE_CUSTOM_VST3_SDK=1 -fPIC
 VST3_PLIST_FILES=	lib/vst3/Dexed.so
+VST3_BROKEN=		VST3 plugin fails to build, see https://github.com/asb2m10/dexed/issues/433
 
 CXXFLAGS+=	-DJUCE_INCLUDE_PNGLIB_CODE=0 # to fix build on powerpc64le, see bug#265446, https://github.com/juce-framework/JUCE/issues/1094
+CXXFLAGS+=	-fPIC # workaround for ld: error: relocation R_X86_64_PC32 cannot be used against symbol 'BinaryData::LFO_36_26_png'; recompile with -fPIC
+#CXXFLAGS+=	-DJUCE_CUSTOM_VST3_SDK=1
 LDFLAGS+=	-lpng16
 
 PORTSCOUT=	skipv:nightly
diff --git a/audio/dexed/distinfo b/audio/dexed/distinfo
index 2c3b9af6829c..a5902ebe2ba0 100644
--- a/audio/dexed/distinfo
+++ b/audio/dexed/distinfo
@@ -1,23 +1,19 @@
-TIMESTAMP = 1649816149
-SHA256 (asb2m10-dexed-v0.9.6-16-g1df9a58_GH0.tar.gz) = ae42f20fa0df1fbd962d3dc05bd09968d51b218468914a7a5840cadd35d14f3a
-SIZE (asb2m10-dexed-v0.9.6-16-g1df9a58_GH0.tar.gz) = 15500918
-SHA256 (steinbergmedia-vst3sdk-2cc517019a2681fccf211e6a95776a0af1e16d04_GH0.tar.gz) = 35f5f3cde3972760cc0c5ad6786a00960f77c58f9399d3d856279354ff750a42
-SIZE (steinbergmedia-vst3sdk-2cc517019a2681fccf211e6a95776a0af1e16d04_GH0.tar.gz) = 413675
-SHA256 (surge-synthesizer-tuning-library-b3069450045fe439206628f08220300864e5a958_GH0.tar.gz) = 633bb38381161a32896899b109a202be9ed11c8bdba01a40cd61fd7caa81c102
-SIZE (surge-synthesizer-tuning-library-b3069450045fe439206628f08220300864e5a958_GH0.tar.gz) = 140085
+TIMESTAMP = 1720976597
+SHA256 (asb2m10-dexed-v0.9.7_GH0.tar.gz) = 0b2c90ecc14768c10c9e06f1fe0678738d71ca733f896579105391ce49c6c103
+SIZE (asb2m10-dexed-v0.9.7_GH0.tar.gz) = 15966257
+SHA256 (steinbergmedia-vst3sdk-e9895dc9ef20bedd93a0fde5ad664bc8b56d4338_GH0.tar.gz) = 8e2e5cb30bc57f2503bdfef5946e72a3a166b527f8b63775dbcde5c232ac9801
+SIZE (steinbergmedia-vst3sdk-e9895dc9ef20bedd93a0fde5ad664bc8b56d4338_GH0.tar.gz) = 416373
+SHA256 (surge-synthesizer-tuning-library-601c0eabff31fff8a543b49d3e48073f338f413c_GH0.tar.gz) = c714bbcafb695315bd56a6e82f3d2db4a0923a76895b4b59e615987cb7b58000
+SIZE (surge-synthesizer-tuning-library-601c0eabff31fff8a543b49d3e48073f338f413c_GH0.tar.gz) = 152641
 SHA256 (surge-synthesizer-surgesynthteam_tuningui-54f9a74cd55cdb33fb4d32d706067626857cfc75_GH0.tar.gz) = c95f5610f9f965bfea6b3cdf14a54a0479486ed8ba82c0c0830da7ee9cd07da0
 SIZE (surge-synthesizer-surgesynthteam_tuningui-54f9a74cd55cdb33fb4d32d706067626857cfc75_GH0.tar.gz) = 10997
-SHA256 (juce-framework-JUCE-2f980209cc4091a4490bb1bafc5d530f16834e58_GH0.tar.gz) = 4d695ead0f90b2a01de910ae80809ae92dead7527c01589518c78f8626a9dde2
-SIZE (juce-framework-JUCE-2f980209cc4091a4490bb1bafc5d530f16834e58_GH0.tar.gz) = 18707714
-SHA256 (steinbergmedia-vst3_base-985fe019276ee03c2751a1736ba3b390678e29f2_GH0.tar.gz) = 7eaf215f5f95fcdda6261b4e1c45a0d24e4bfb68dc2292ad3c0156b7a8d99f2a
-SIZE (steinbergmedia-vst3_base-985fe019276ee03c2751a1736ba3b390678e29f2_GH0.tar.gz) = 62213
-SHA256 (steinbergmedia-vst3_cmake-31b3f3c3e5c4e1bcfee221e5076b6b56296214d7_GH0.tar.gz) = 284132980df8f318b2d1b2ee1237c99aa0927e266d79bde7fb367d4522ec6108
-SIZE (steinbergmedia-vst3_cmake-31b3f3c3e5c4e1bcfee221e5076b6b56296214d7_GH0.tar.gz) = 19278
-SHA256 (steinbergmedia-vst3_doc-a3ad6a147ed8347c802dd2a946d84939a3572164_GH0.tar.gz) = e223c0433aabd8a3fec377c6ef76e4576422c72f817ea8cd179a9363c941ba8c
-SIZE (steinbergmedia-vst3_doc-a3ad6a147ed8347c802dd2a946d84939a3572164_GH0.tar.gz) = 41607026
-SHA256 (steinbergmedia-vst3_pluginterfaces-93cef1afb7061e488625045ba5a82abaa83d27fe_GH0.tar.gz) = 152f37370d1c284f0eda9e4e43db54e1c0bf5fc3cf1ef6f5fabc9a3314c38f73
-SIZE (steinbergmedia-vst3_pluginterfaces-93cef1afb7061e488625045ba5a82abaa83d27fe_GH0.tar.gz) = 95833
-SHA256 (steinbergmedia-vst3_public_sdk-9589800ed94573354bc29de45eec5744523fbfcb_GH0.tar.gz) = d5519df35613c1e7047ffa4570f1b2a99bd82d2028156b4c5b461a55991c5c7a
-SIZE (steinbergmedia-vst3_public_sdk-9589800ed94573354bc29de45eec5744523fbfcb_GH0.tar.gz) = 12335277
-SHA256 (steinbergmedia-vstgui-6c48e17c174abaf2f1dc8ae41e5fab70599eca6c_GH0.tar.gz) = 4f020e77c2170b2dcfae09da5623271e8253f2f09be03e4a2264c0c20a26c876
-SIZE (steinbergmedia-vstgui-6c48e17c174abaf2f1dc8ae41e5fab70599eca6c_GH0.tar.gz) = 3669983
+SHA256 (ODDSound-MTS-ESP-514ed958b38e5ab501999f902a2427ebe6232a78_GH0.tar.gz) = c184c81aa83cb533e5d05ceeeccad716e4d294b87a12510ec9d43be682b60f6c
+SIZE (ODDSound-MTS-ESP-514ed958b38e5ab501999f902a2427ebe6232a78_GH0.tar.gz) = 1328114
+SHA256 (juce-framework-JUCE-d054f0d14dcac387aebda44ce5d792b5e7a625b3_GH0.tar.gz) = c1a16c614787a8666896392bdff9e24571b6b0893be8db6a963ed629c8e5b058
+SIZE (juce-framework-JUCE-d054f0d14dcac387aebda44ce5d792b5e7a625b3_GH0.tar.gz) = 19419992
+SHA256 (free-audio-clap-juce-extensions-4491bc30223cecf8ff495de943510863b71a7a81_GH0.tar.gz) = ba84419c9691741add29d241e1a2578677528971eee1d7a0b2eccc77e1c86223
+SIZE (free-audio-clap-juce-extensions-4491bc30223cecf8ff495de943510863b71a7a81_GH0.tar.gz) = 69038
+SHA256 (free-audio-clap-df8f16c69ba1c1a15fb105f0c5a2e5b9ac6be742_GH0.tar.gz) = 8d683a56092447b3be59e794e693dee61e2965fb4fbbeb2f97888389a6454818
+SIZE (free-audio-clap-df8f16c69ba1c1a15fb105f0c5a2e5b9ac6be742_GH0.tar.gz) = 2342648
+SHA256 (free-audio-clap-helpers-7b53a685e11465154b4ccba3065224dbcbf8a893_GH0.tar.gz) = eaf5869b2b40dcfc71a1e3f73167a2255c2fc2d53f553f813b6c051e54df1374
+SIZE (free-audio-clap-helpers-7b53a685e11465154b4ccba3065224dbcbf8a893_GH0.tar.gz) = 38227
diff --git a/audio/dexed/files/patch-CMakeLists.txt b/audio/dexed/files/patch-CMakeLists.txt
deleted file mode 100644
index 8e696b6a6e6b..000000000000
--- a/audio/dexed/files/patch-CMakeLists.txt
+++ /dev/null
@@ -1,12 +0,0 @@
-- from Bug 265342 - audio/dexed: fix build on armv7 arm64
-
---- CMakeLists.txt.orig	2022-07-20 04:50:04 UTC
-+++ CMakeLists.txt
-@@ -52,7 +52,6 @@ target_compile_options(${PROJECT_NAME} PUBLIC
-         )
- elseif(UNIX AND NOT APPLE)
- target_compile_options(${PROJECT_NAME} PUBLIC
--        -Werror
-         -Wno-deprecated-declarations
-         -Wno-unused-value
-         )
diff --git a/audio/dexed/files/patch-Source_PluginProcessor.h b/audio/dexed/files/patch-Source_PluginProcessor.h
index 6b093f3d31cb..5610de891ba0 100644
--- a/audio/dexed/files/patch-Source_PluginProcessor.h
+++ b/audio/dexed/files/patch-Source_PluginProcessor.h
@@ -1,8 +1,8 @@
 - from Bug 265342 - audio/dexed: fix build on armv7 arm64 
 
---- Source/PluginProcessor.h.orig	2022-07-20 04:35:43 UTC
+--- Source/PluginProcessor.h.orig	2024-07-14 16:47:34 UTC
 +++ Source/PluginProcessor.h
-@@ -120,7 +120,7 @@ class DexedAudioProcessor  : public AudioProcessor, pu
+@@ -129,7 +129,7 @@ class DexedAudioProcessor  : public AudioProcessor, pu
      EngineOpl engineOpl;
      
      char clipboard[161];
diff --git a/audio/dexed/files/patch-libs_JUCE_modules_juce__audio__processors_format__types_VST3__SDK_pluginterfaces_base_fplatform.h b/audio/dexed/files/patch-libs_JUCE_modules_juce__audio__processors_format__types_VST3__SDK_pluginterfaces_base_fplatform.h
index 8cc11954bcd5..b32ad4fe244d 100644
--- a/audio/dexed/files/patch-libs_JUCE_modules_juce__audio__processors_format__types_VST3__SDK_pluginterfaces_base_fplatform.h
+++ b/audio/dexed/files/patch-libs_JUCE_modules_juce__audio__processors_format__types_VST3__SDK_pluginterfaces_base_fplatform.h
@@ -1,17 +1,17 @@
---- libs/JUCE/modules/juce_audio_processors/format_types/VST3_SDK/pluginterfaces/base/fplatform.h.orig	2022-02-28 13:41:31 UTC
+--- libs/JUCE/modules/juce_audio_processors/format_types/VST3_SDK/pluginterfaces/base/fplatform.h.orig	2024-07-14 16:47:34 UTC
 +++ libs/JUCE/modules/juce_audio_processors/format_types/VST3_SDK/pluginterfaces/base/fplatform.h
-@@ -95,7 +95,7 @@
+@@ -128,7 +128,7 @@
  //-----------------------------------------------------------------------------
  // LINUX
  //-----------------------------------------------------------------------------
 -#elif __gnu_linux__ || __linux__
 +#elif __gnu_linux__ || __linux__ || defined(__FreeBSD__)
- 	#define SMTG_OS_LINUX	1
- 	#define SMTG_OS_MACOS	0
- 	#define SMTG_OS_WINDOWS	0
-@@ -107,7 +107,7 @@
- 	#define SMTG_CPU_ARM	__arm__
- 	#define SMTG_CPU_ARM_64	__aarch64__
+ 	#define SMTG_OS_LINUX		1
+ 	#define SMTG_OS_MACOS		0
+ 	#define SMTG_OS_WINDOWS		0
+@@ -150,7 +150,7 @@
+ 	#endif
+ 	#define SMTG_CPU_ARM_64EC 0
  
 -	#include <endian.h>
 +	#include <sys/endian.h>
diff --git a/audio/dexed/files/patch-libs_JUCE_modules_juce__core_juce__core.cpp b/audio/dexed/files/patch-libs_JUCE_modules_juce__core_juce__core.cpp
deleted file mode 100644
index 4cb35d77c302..000000000000
--- a/audio/dexed/files/patch-libs_JUCE_modules_juce__core_juce__core.cpp
+++ /dev/null
@@ -1,11 +0,0 @@
---- libs/JUCE/modules/juce_core/juce_core.cpp.orig	2022-04-12 19:06:54 UTC
-+++ libs/JUCE/modules/juce_core/juce_core.cpp
-@@ -42,7 +42,7 @@
- #include <thread>
- 
- #if ! JUCE_ANDROID
-- #include <sys/timeb.h>
-+// #include <sys/timeb.h>
-  #include <cwctype>
- #endif
- 
diff --git a/audio/dexed/files/patch-libs_JUCE_modules_juce__core_native_juce__linux__Files.cpp b/audio/dexed/files/patch-libs_JUCE_modules_juce__core_native_juce__linux__Files.cpp
deleted file mode 100644
index 0d81b4ad053b..000000000000
--- a/audio/dexed/files/patch-libs_JUCE_modules_juce__core_native_juce__linux__Files.cpp
+++ /dev/null
@@ -1,24 +0,0 @@
-- otherwise it fails with unknown 'environ' symbol, see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263265
-
---- libs/JUCE/modules/juce_core/native/juce_linux_Files.cpp.orig	2022-08-15 18:29:17 UTC
-+++ libs/JUCE/modules/juce_core/native/juce_linux_Files.cpp
-@@ -21,7 +21,9 @@
- */
- 
- #if JUCE_BSD
--extern char** environ;
-+//extern char** environ; // this is broken on FreeBSD, see https://reviews.freebsd.org/D30842
-+#include <dlfcn.h>
-+static char*** environ_ptr = (char***)dlsym(RTLD_DEFAULT, "environ"); // workaround for the above
- #endif
- 
- namespace juce
-@@ -229,7 +231,7 @@ bool Process::openDocument (const String& fileName, co
-         setsid();
- 
-         // Child process
--        execve (argv[0], (char**) argv, environ);
-+        execve (argv[0], (char**) argv, *environ_ptr);
-         exit (0);
-     }
-