git: 74a811e9401e - main - devel/juce: Update 7.0.2 -> 7.0.3

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Wed, 28 Dec 2022 19:09:11 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=74a811e9401e25bab1a3d0f2c00ac17259eb56f3

commit 74a811e9401e25bab1a3d0f2c00ac17259eb56f3
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-12-28 18:51:58 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-12-28 19:09:01 +0000

    devel/juce: Update 7.0.2 -> 7.0.3
    
    Reported by:    portscout
---
 devel/juce/Makefile                                |  3 +-
 devel/juce/distinfo                                |  6 +-
 ...les_juce__core_native_juce__posix__SharedCode.h | 13 ++++
 devel/juce/pkg-plist                               | 90 +++++++++-------------
 4 files changed, 54 insertions(+), 58 deletions(-)

diff --git a/devel/juce/Makefile b/devel/juce/Makefile
index a74e8f000393..7454c9cf39ab 100644
--- a/devel/juce/Makefile
+++ b/devel/juce/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	juce
-DISTVERSION=	7.0.2
-PORTREVISION=	3
+DISTVERSION=	7.0.3
 CATEGORIES=	devel
 
 PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
diff --git a/devel/juce/distinfo b/devel/juce/distinfo
index bcc40141f7f3..3cd3c7073813 100644
--- a/devel/juce/distinfo
+++ b/devel/juce/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1665987582
-SHA256 (juce-framework-JUCE-7.0.2_GH0.tar.gz) = bcbf9e3a58ab26cf91f28fde13bf13e8c81cd34f3269d92ca69175b89fbb5ba3
-SIZE (juce-framework-JUCE-7.0.2_GH0.tar.gz) = 18931117
+TIMESTAMP = 1672219607
+SHA256 (juce-framework-JUCE-7.0.3_GH0.tar.gz) = 6d530f4eaec9a1a07e03f56f94867ec2647cee2516e4d45b5639dc00a153b7d0
+SIZE (juce-framework-JUCE-7.0.3_GH0.tar.gz) = 18934824
 SHA256 (a6bd3784c0156d7fdb03f3e669f1454098e5138c.diff) = 4e960cc375918b335a3ac3db64c8dc7767af54cf101141970a1ba24dbeba9f50
 SIZE (a6bd3784c0156d7fdb03f3e669f1454098e5138c.diff) = 3061
diff --git a/devel/juce/files/patch-modules_juce__core_native_juce__posix__SharedCode.h b/devel/juce/files/patch-modules_juce__core_native_juce__posix__SharedCode.h
new file mode 100644
index 000000000000..0f3f09f28155
--- /dev/null
+++ b/devel/juce/files/patch-modules_juce__core_native_juce__posix__SharedCode.h
@@ -0,0 +1,13 @@
+- workaround for work/JUCE-7.0.3/modules/juce_core/native/juce_posix_SharedCode.h
+
+--- modules/juce_core/native/juce_posix_SharedCode.h.orig	2022-12-28 18:03:56 UTC
++++ modules/juce_core/native/juce_posix_SharedCode.h
+@@ -928,7 +928,7 @@ class PosixSchedulerPriority (public)
+ 
+         #if JUCE_MAC || JUCE_IOS
+          const auto scheduler = SCHED_OTHER;
+-        #elif JUCE_LINUX || JUCE_BSD
++        #elif JUCE_LINUX //|| JUCE_BSD
+          const auto backgroundSched = prio == Thread::Priority::background ? SCHED_IDLE
+                                                                            : SCHED_OTHER;
+          const auto scheduler = isRealtime ? SCHED_RR : backgroundSched;
diff --git a/devel/juce/pkg-plist b/devel/juce/pkg-plist
index ba6f93e98c0f..f95d3f57e8c3 100644
--- a/devel/juce/pkg-plist
+++ b/devel/juce/pkg-plist
@@ -325,7 +325,6 @@ include/JUCE-%%VERSION%%/modules/juce_audio_formats/codecs/flac/metadata.h
 include/JUCE-%%VERSION%%/modules/juce_audio_formats/codecs/flac/ordinals.h
 include/JUCE-%%VERSION%%/modules/juce_audio_formats/codecs/flac/stream_decoder.h
 include/JUCE-%%VERSION%%/modules/juce_audio_formats/codecs/flac/stream_encoder.h
-include/JUCE-%%VERSION%%/modules/juce_audio_formats/codecs/flac/win_utf8_io.h
 include/JUCE-%%VERSION%%/modules/juce_audio_formats/codecs/juce_AiffAudioFormat.cpp
 include/JUCE-%%VERSION%%/modules/juce_audio_formats/codecs/juce_AiffAudioFormat.h
 include/JUCE-%%VERSION%%/modules/juce_audio_formats/codecs/juce_CoreAudioFormat.cpp
@@ -446,61 +445,40 @@ include/JUCE-%%VERSION%%/modules/juce_audio_formats/sampler/juce_Sampler.h
 include/JUCE-%%VERSION%%/modules/juce_audio_plugin_client/AAX/juce_AAX_Modifier_Injector.h
 include/JUCE-%%VERSION%%/modules/juce_audio_plugin_client/AAX/juce_AAX_Wrapper.cpp
 include/JUCE-%%VERSION%%/modules/juce_audio_plugin_client/ARA/juce_ARA_Wrapper.cpp
-include/JUCE-%%VERSION%%/modules/juce_audio_plugin_client/AU/CoreAudioUtilityClasses/AUBase.cpp
-include/JUCE-%%VERSION%%/modules/juce_audio_plugin_client/AU/CoreAudioUtilityClasses/AUBase.h
-include/JUCE-%%VERSION%%/modules/juce_audio_plugin_client/AU/CoreAudioUtilityClasses/AUBaseHelper.h
-include/JUCE-%%VERSION%%/modules/juce_audio_plugin_client/AU/CoreAudioUtilityClasses/AUBuffer.cpp
-include/JUCE-%%VERSION%%/modules/juce_audio_plugin_client/AU/CoreAudioUtilityClasses/AUBuffer.h
-include/JUCE-%%VERSION%%/modules/juce_audio_plugin_client/AU/CoreAudioUtilityClasses/AUDispatch.cpp
-include/JUCE-%%VERSION%%/modules/juce_audio_plugin_client/AU/CoreAudioUtilityClasses/AUDispatch.h
-include/JUCE-%%VERSION%%/modules/juce_audio_plugin_client/AU/CoreAudioUtilityClasses/AUInputElement.cpp
-include/JUCE-%%VERSION%%/modules/juce_audio_plugin_client/AU/CoreAudioUtilityClasses/AUInputElement.h
-include/JUCE-%%VERSION%%/modules/juce_audio_plugin_client/AU/CoreAudioUtilityClasses/AUInputFormatConverter.h
-include/JUCE-%%VERSION%%/modules/juce_audio_plugin_client/AU/CoreAudioUtilityClasses/AUMIDIBase.cpp
-include/JUCE-%%VERSION%%/modules/juce_audio_plugin_client/AU/CoreAudioUtilityClasses/AUMIDIBase.h
-include/JUCE-%%VERSION%%/modules/juce_audio_plugin_client/AU/CoreAudioUtilityClasses/AUOutputBase.cpp
-include/JUCE-%%VERSION%%/modules/juce_audio_plugin_client/AU/CoreAudioUtilityClasses/AUOutputBase.h
-include/JUCE-%%VERSION%%/modules/juce_audio_plugin_client/AU/CoreAudioUtilityClasses/AUOutputElement.cpp
-include/JUCE-%%VERSION%%/modules/juce_audio_plugin_client/AU/CoreAudioUtilityClasses/AUOutputElement.h
-include/JUCE-%%VERSION%%/modules/juce_audio_plugin_client/AU/CoreAudioUtilityClasses/AUPlugInDispatch.cpp
-include/JUCE-%%VERSION%%/modules/juce_audio_plugin_client/AU/CoreAudioUtilityClasses/AUPlugInDispatch.h
-include/JUCE-%%VERSION%%/modules/juce_audio_plugin_client/AU/CoreAudioUtilityClasses/AUScopeElement.cpp
-include/JUCE-%%VERSION%%/modules/juce_audio_plugin_client/AU/CoreAudioUtilityClasses/AUScopeElement.h
-include/JUCE-%%VERSION%%/modules/juce_audio_plugin_client/AU/CoreAudioUtilityClasses/AUSilentTimeout.h
-include/JUCE-%%VERSION%%/modules/juce_audio_plugin_client/AU/CoreAudioUtilityClasses/AUTimestampGenerator.h
-include/JUCE-%%VERSION%%/modules/juce_audio_plugin_client/AU/CoreAudioUtilityClasses/AUViewLocalizedStringKeys.h
-include/JUCE-%%VERSION%%/modules/juce_audio_plugin_client/AU/CoreAudioUtilityClasses/CAAUParameter.cpp
-include/JUCE-%%VERSION%%/modules/juce_audio_plugin_client/AU/CoreAudioUtilityClasses/CAAUParameter.h
-include/JUCE-%%VERSION%%/modules/juce_audio_plugin_client/AU/CoreAudioUtilityClasses/CAAtomic.h
-include/JUCE-%%VERSION%%/modules/juce_audio_plugin_client/AU/CoreAudioUtilityClasses/CAAtomicStack.h
-include/JUCE-%%VERSION%%/modules/juce_audio_plugin_client/AU/CoreAudioUtilityClasses/CAAudioChannelLayout.cpp
-include/JUCE-%%VERSION%%/modules/juce_audio_plugin_client/AU/CoreAudioUtilityClasses/CAAudioChannelLayout.h
-include/JUCE-%%VERSION%%/modules/juce_audio_plugin_client/AU/CoreAudioUtilityClasses/CAAutoDisposer.h
-include/JUCE-%%VERSION%%/modules/juce_audio_plugin_client/AU/CoreAudioUtilityClasses/CADebugMacros.h
-include/JUCE-%%VERSION%%/modules/juce_audio_plugin_client/AU/CoreAudioUtilityClasses/CADebugPrintf.h
-include/JUCE-%%VERSION%%/modules/juce_audio_plugin_client/AU/CoreAudioUtilityClasses/CAException.h
-include/JUCE-%%VERSION%%/modules/juce_audio_plugin_client/AU/CoreAudioUtilityClasses/CAHostTimeBase.h
-include/JUCE-%%VERSION%%/modules/juce_audio_plugin_client/AU/CoreAudioUtilityClasses/CAMath.h
-include/JUCE-%%VERSION%%/modules/juce_audio_plugin_client/AU/CoreAudioUtilityClasses/CAMutex.cpp
-include/JUCE-%%VERSION%%/modules/juce_audio_plugin_client/AU/CoreAudioUtilityClasses/CAMutex.h
-include/JUCE-%%VERSION%%/modules/juce_audio_plugin_client/AU/CoreAudioUtilityClasses/CAReferenceCounted.h
-include/JUCE-%%VERSION%%/modules/juce_audio_plugin_client/AU/CoreAudioUtilityClasses/CAStreamBasicDescription.cpp
-include/JUCE-%%VERSION%%/modules/juce_audio_plugin_client/AU/CoreAudioUtilityClasses/CAStreamBasicDescription.h
-include/JUCE-%%VERSION%%/modules/juce_audio_plugin_client/AU/CoreAudioUtilityClasses/CAThreadSafeList.h
-include/JUCE-%%VERSION%%/modules/juce_audio_plugin_client/AU/CoreAudioUtilityClasses/CAVectorUnit.cpp
-include/JUCE-%%VERSION%%/modules/juce_audio_plugin_client/AU/CoreAudioUtilityClasses/CAVectorUnit.h
-include/JUCE-%%VERSION%%/modules/juce_audio_plugin_client/AU/CoreAudioUtilityClasses/CAVectorUnitTypes.h
-include/JUCE-%%VERSION%%/modules/juce_audio_plugin_client/AU/CoreAudioUtilityClasses/CAXException.h
-include/JUCE-%%VERSION%%/modules/juce_audio_plugin_client/AU/CoreAudioUtilityClasses/ComponentBase.cpp
-include/JUCE-%%VERSION%%/modules/juce_audio_plugin_client/AU/CoreAudioUtilityClasses/ComponentBase.h
-include/JUCE-%%VERSION%%/modules/juce_audio_plugin_client/AU/CoreAudioUtilityClasses/MusicDeviceBase.cpp
-include/JUCE-%%VERSION%%/modules/juce_audio_plugin_client/AU/CoreAudioUtilityClasses/MusicDeviceBase.h
+include/JUCE-%%VERSION%%/modules/juce_audio_plugin_client/AU/AudioUnitSDK/AUBase.cpp
+include/JUCE-%%VERSION%%/modules/juce_audio_plugin_client/AU/AudioUnitSDK/AUBase.h
+include/JUCE-%%VERSION%%/modules/juce_audio_plugin_client/AU/AudioUnitSDK/AUBuffer.cpp
+include/JUCE-%%VERSION%%/modules/juce_audio_plugin_client/AU/AudioUnitSDK/AUBuffer.h
+include/JUCE-%%VERSION%%/modules/juce_audio_plugin_client/AU/AudioUnitSDK/AUBufferAllocator.cpp
+include/JUCE-%%VERSION%%/modules/juce_audio_plugin_client/AU/AudioUnitSDK/AUEffectBase.cpp
+include/JUCE-%%VERSION%%/modules/juce_audio_plugin_client/AU/AudioUnitSDK/AUEffectBase.h
+include/JUCE-%%VERSION%%/modules/juce_audio_plugin_client/AU/AudioUnitSDK/AUInputElement.cpp
+include/JUCE-%%VERSION%%/modules/juce_audio_plugin_client/AU/AudioUnitSDK/AUInputElement.h
+include/JUCE-%%VERSION%%/modules/juce_audio_plugin_client/AU/AudioUnitSDK/AUMIDIBase.cpp
+include/JUCE-%%VERSION%%/modules/juce_audio_plugin_client/AU/AudioUnitSDK/AUMIDIBase.h
+include/JUCE-%%VERSION%%/modules/juce_audio_plugin_client/AU/AudioUnitSDK/AUMIDIEffectBase.cpp
+include/JUCE-%%VERSION%%/modules/juce_audio_plugin_client/AU/AudioUnitSDK/AUMIDIEffectBase.h
+include/JUCE-%%VERSION%%/modules/juce_audio_plugin_client/AU/AudioUnitSDK/AUMIDIUtility.h
+include/JUCE-%%VERSION%%/modules/juce_audio_plugin_client/AU/AudioUnitSDK/AUOutputElement.cpp
+include/JUCE-%%VERSION%%/modules/juce_audio_plugin_client/AU/AudioUnitSDK/AUOutputElement.h
+include/JUCE-%%VERSION%%/modules/juce_audio_plugin_client/AU/AudioUnitSDK/AUPlugInDispatch.cpp
+include/JUCE-%%VERSION%%/modules/juce_audio_plugin_client/AU/AudioUnitSDK/AUPlugInDispatch.h
+include/JUCE-%%VERSION%%/modules/juce_audio_plugin_client/AU/AudioUnitSDK/AUScopeElement.cpp
+include/JUCE-%%VERSION%%/modules/juce_audio_plugin_client/AU/AudioUnitSDK/AUScopeElement.h
+include/JUCE-%%VERSION%%/modules/juce_audio_plugin_client/AU/AudioUnitSDK/AUSilentTimeout.h
+include/JUCE-%%VERSION%%/modules/juce_audio_plugin_client/AU/AudioUnitSDK/AUUtility.h
+include/JUCE-%%VERSION%%/modules/juce_audio_plugin_client/AU/AudioUnitSDK/AudioUnitSDK.h
+include/JUCE-%%VERSION%%/modules/juce_audio_plugin_client/AU/AudioUnitSDK/ComponentBase.cpp
+include/JUCE-%%VERSION%%/modules/juce_audio_plugin_client/AU/AudioUnitSDK/ComponentBase.h
+include/JUCE-%%VERSION%%/modules/juce_audio_plugin_client/AU/AudioUnitSDK/JUCE CHANGES.txt
+include/JUCE-%%VERSION%%/modules/juce_audio_plugin_client/AU/AudioUnitSDK/LICENSE.txt
+include/JUCE-%%VERSION%%/modules/juce_audio_plugin_client/AU/AudioUnitSDK/MusicDeviceBase.cpp
+include/JUCE-%%VERSION%%/modules/juce_audio_plugin_client/AU/AudioUnitSDK/MusicDeviceBase.h
 include/JUCE-%%VERSION%%/modules/juce_audio_plugin_client/AU/juce_AU_Wrapper.mm
 include/JUCE-%%VERSION%%/modules/juce_audio_plugin_client/AU/juce_AUv3_Wrapper.mm
-include/JUCE-%%VERSION%%/modules/juce_audio_plugin_client/AUResources.r
-include/JUCE-%%VERSION%%/modules/juce_audio_plugin_client/CMakeLists.txt
 include/JUCE-%%VERSION%%/modules/juce_audio_plugin_client/LV2/juce_LV2TurtleDumpProgram.cpp
 include/JUCE-%%VERSION%%/modules/juce_audio_plugin_client/LV2/juce_LV2_Client.cpp
+include/JUCE-%%VERSION%%/modules/juce_audio_plugin_client/LV2/juce_LV2_Client.cpp.orig
 include/JUCE-%%VERSION%%/modules/juce_audio_plugin_client/Standalone/juce_StandaloneFilterApp.cpp
 include/JUCE-%%VERSION%%/modules/juce_audio_plugin_client/Standalone/juce_StandaloneFilterWindow.h
 include/JUCE-%%VERSION%%/modules/juce_audio_plugin_client/Unity/juce_UnityPluginInterface.h
@@ -512,7 +490,6 @@ include/JUCE-%%VERSION%%/modules/juce_audio_plugin_client/juce_audio_plugin_clie
 include/JUCE-%%VERSION%%/modules/juce_audio_plugin_client/juce_audio_plugin_client_AAX.cpp
 include/JUCE-%%VERSION%%/modules/juce_audio_plugin_client/juce_audio_plugin_client_AAX.mm
 include/JUCE-%%VERSION%%/modules/juce_audio_plugin_client/juce_audio_plugin_client_ARA.cpp
-include/JUCE-%%VERSION%%/modules/juce_audio_plugin_client/juce_audio_plugin_client_AU.r
 include/JUCE-%%VERSION%%/modules/juce_audio_plugin_client/juce_audio_plugin_client_AU_1.mm
 include/JUCE-%%VERSION%%/modules/juce_audio_plugin_client/juce_audio_plugin_client_AU_2.mm
 include/JUCE-%%VERSION%%/modules/juce_audio_plugin_client/juce_audio_plugin_client_AUv3.mm
@@ -750,6 +727,7 @@ include/JUCE-%%VERSION%%/modules/juce_audio_processors/format_types/VST3_SDK/plu
 include/JUCE-%%VERSION%%/modules/juce_audio_processors/format_types/VST3_SDK/pluginterfaces/base/falignpop.h
 include/JUCE-%%VERSION%%/modules/juce_audio_processors/format_types/VST3_SDK/pluginterfaces/base/falignpush.h
 include/JUCE-%%VERSION%%/modules/juce_audio_processors/format_types/VST3_SDK/pluginterfaces/base/fplatform.h
+include/JUCE-%%VERSION%%/modules/juce_audio_processors/format_types/VST3_SDK/pluginterfaces/base/fplatform.h.orig
 include/JUCE-%%VERSION%%/modules/juce_audio_processors/format_types/VST3_SDK/pluginterfaces/base/fstrdefs.h
 include/JUCE-%%VERSION%%/modules/juce_audio_processors/format_types/VST3_SDK/pluginterfaces/base/ftypes.h
 include/JUCE-%%VERSION%%/modules/juce_audio_processors/format_types/VST3_SDK/pluginterfaces/base/funknown.cpp
@@ -1173,6 +1151,7 @@ include/JUCE-%%VERSION%%/modules/juce_core/native/juce_curl_Network.cpp
 include/JUCE-%%VERSION%%/modules/juce_core/native/juce_intel_SharedCode.h
 include/JUCE-%%VERSION%%/modules/juce_core/native/juce_linux_CommonFile.cpp
 include/JUCE-%%VERSION%%/modules/juce_core/native/juce_linux_Files.cpp
+include/JUCE-%%VERSION%%/modules/juce_core/native/juce_linux_Files.cpp.orig
 include/JUCE-%%VERSION%%/modules/juce_core/native/juce_linux_Network.cpp
 include/JUCE-%%VERSION%%/modules/juce_core/native/juce_linux_SystemStats.cpp
 include/JUCE-%%VERSION%%/modules/juce_core/native/juce_linux_Threads.cpp
@@ -1183,9 +1162,11 @@ include/JUCE-%%VERSION%%/modules/juce_core/native/juce_mac_ObjCHelpers.h
 include/JUCE-%%VERSION%%/modules/juce_core/native/juce_mac_Strings.mm
 include/JUCE-%%VERSION%%/modules/juce_core/native/juce_mac_SystemStats.mm
 include/JUCE-%%VERSION%%/modules/juce_core/native/juce_mac_Threads.mm
+include/JUCE-%%VERSION%%/modules/juce_core/native/juce_native_ThreadPriorities.h
 include/JUCE-%%VERSION%%/modules/juce_core/native/juce_posix_IPAddress.h
 include/JUCE-%%VERSION%%/modules/juce_core/native/juce_posix_NamedPipe.cpp
 include/JUCE-%%VERSION%%/modules/juce_core/native/juce_posix_SharedCode.h
+include/JUCE-%%VERSION%%/modules/juce_core/native/juce_posix_SharedCode.h.orig
 include/JUCE-%%VERSION%%/modules/juce_core/native/juce_wasm_SystemStats.cpp
 include/JUCE-%%VERSION%%/modules/juce_core/native/juce_win32_ComSmartPtr.h
 include/JUCE-%%VERSION%%/modules/juce_core/native/juce_win32_Files.cpp
@@ -1903,6 +1884,7 @@ include/JUCE-%%VERSION%%/modules/juce_gui_basics/native/juce_mac_FileChooser.mm
 include/JUCE-%%VERSION%%/modules/juce_gui_basics/native/juce_mac_MainMenu.mm
 include/JUCE-%%VERSION%%/modules/juce_gui_basics/native/juce_mac_MouseCursor.mm
 include/JUCE-%%VERSION%%/modules/juce_gui_basics/native/juce_mac_NSViewComponentPeer.mm
+include/JUCE-%%VERSION%%/modules/juce_gui_basics/native/juce_mac_PerScreenDisplayLinks.h
 include/JUCE-%%VERSION%%/modules/juce_gui_basics/native/juce_mac_Windowing.mm
 include/JUCE-%%VERSION%%/modules/juce_gui_basics/native/juce_win32_DragAndDrop.cpp
 include/JUCE-%%VERSION%%/modules/juce_gui_basics/native/juce_win32_FileChooser.cpp
@@ -1990,6 +1972,8 @@ include/JUCE-%%VERSION%%/modules/juce_gui_basics/windows/juce_TooltipWindow.cpp
 include/JUCE-%%VERSION%%/modules/juce_gui_basics/windows/juce_TooltipWindow.h
 include/JUCE-%%VERSION%%/modules/juce_gui_basics/windows/juce_TopLevelWindow.cpp
 include/JUCE-%%VERSION%%/modules/juce_gui_basics/windows/juce_TopLevelWindow.h
+include/JUCE-%%VERSION%%/modules/juce_gui_basics/windows/juce_VBlankAttachement.cpp
+include/JUCE-%%VERSION%%/modules/juce_gui_basics/windows/juce_VBlankAttachement.h
 include/JUCE-%%VERSION%%/modules/juce_gui_extra/code_editor/juce_CPlusPlusCodeTokeniser.cpp
 include/JUCE-%%VERSION%%/modules/juce_gui_extra/code_editor/juce_CPlusPlusCodeTokeniser.h
 include/JUCE-%%VERSION%%/modules/juce_gui_extra/code_editor/juce_CPlusPlusCodeTokeniserFunctions.h