diff --git a/juce/AppConfig.JUCE-4.3.1.h b/juce/AppConfig.JUCE-4.3.1.h new file mode 100644 index 0000000..f48f6cd --- /dev/null +++ b/juce/AppConfig.JUCE-4.3.1.h @@ -0,0 +1,121 @@ +/* + + IMPORTANT! This file is auto-generated each time you save your + project - if you alter its contents, your changes may be overwritten! + + There's a section below where you can add your own custom code safely, and the + Projucer will preserve the contents of that block, but the best way to change + any of these definitions is by using the Projucer's project settings. + + Any commented-out settings will assume their default values. + +*/ + +#ifndef __JUCE_APPCONFIG_M70QFTRRK__ +#define __JUCE_APPCONFIG_M70QFTRRK__ + +//============================================================================== +// [BEGIN_USER_CODE_SECTION] + +// (You can add your own code in this section, and the Projucer will not overwrite it) + +// [END_USER_CODE_SECTION] + +//============================================================================== +#define JUCE_MODULE_AVAILABLE_juce_core 1 +#define JUCE_MODULE_AVAILABLE_juce_cryptography 1 +#define JUCE_MODULE_AVAILABLE_juce_data_structures 1 +#define JUCE_MODULE_AVAILABLE_juce_events 1 +#define JUCE_MODULE_AVAILABLE_juce_graphics 1 +#define JUCE_MODULE_AVAILABLE_juce_gui_basics 1 +#define JUCE_MODULE_AVAILABLE_juce_gui_extra 1 + +//============================================================================== +#ifndef JUCE_STANDALONE_APPLICATION + #ifdef JucePlugin_Build_Standalone + #define JUCE_STANDALONE_APPLICATION JucePlugin_Build_Standalone + #else + #define JUCE_STANDALONE_APPLICATION 1 + #endif +#endif + +#define JUCE_GLOBAL_MODULE_SETTINGS_INCLUDED 1 + +//============================================================================== +// juce_core flags: + +#ifndef JUCE_FORCE_DEBUG + //#define JUCE_FORCE_DEBUG +#endif + +#ifndef JUCE_LOG_ASSERTIONS + #define JUCE_LOG_ASSERTIONS 1 +#endif + +#ifndef JUCE_CHECK_MEMORY_LEAKS + //#define JUCE_CHECK_MEMORY_LEAKS +#endif + +#ifndef JUCE_DONT_AUTOLINK_TO_WIN32_LIBRARIES + //#define JUCE_DONT_AUTOLINK_TO_WIN32_LIBRARIES +#endif + +#ifndef JUCE_INCLUDE_ZLIB_CODE + //#define JUCE_INCLUDE_ZLIB_CODE +#endif + +#ifndef JUCE_USE_CURL + #define JUCE_USE_CURL 1 +#endif + +#ifndef JUCE_CATCH_UNHANDLED_EXCEPTIONS + //#define JUCE_CATCH_UNHANDLED_EXCEPTIONS +#endif + +#ifndef JUCE_ALLOW_STATIC_NULL_VARIABLES + //#define JUCE_ALLOW_STATIC_NULL_VARIABLES +#endif + +//============================================================================== +// juce_graphics flags: + +#ifndef JUCE_USE_COREIMAGE_LOADER + //#define JUCE_USE_COREIMAGE_LOADER +#endif + +#ifndef JUCE_USE_DIRECTWRITE + //#define JUCE_USE_DIRECTWRITE +#endif + +//============================================================================== +// juce_gui_basics flags: + +#ifndef JUCE_ENABLE_REPAINT_DEBUGGING + //#define JUCE_ENABLE_REPAINT_DEBUGGING +#endif + +#ifndef JUCE_USE_XSHM + //#define JUCE_USE_XSHM +#endif + +#ifndef JUCE_USE_XRENDER + //#define JUCE_USE_XRENDER +#endif + +#ifndef JUCE_USE_XCURSOR + //#define JUCE_USE_XCURSOR +#endif + +//============================================================================== +// juce_gui_extra flags: + +#ifndef JUCE_WEB_BROWSER + //#define JUCE_WEB_BROWSER +#endif + +#ifndef JUCE_ENABLE_LIVE_CONSTANT_EDITOR + //#define JUCE_ENABLE_LIVE_CONSTANT_EDITOR +#endif + + +#endif // __JUCE_APPCONFIG_M70QFTRRK__ diff --git a/juce/JUCE-4.3.1.mk b/juce/JUCE-4.3.1.mk new file mode 100644 index 0000000..da8b06d --- /dev/null +++ b/juce/JUCE-4.3.1.mk @@ -0,0 +1,21 @@ +SRCS := modules/juce_core/juce_core.cpp +SRCS += modules/juce_data_structures/juce_data_structures.cpp +SRCS += modules/juce_events/juce_events.cpp +SRCS += modules/juce_graphics/juce_graphics.cpp +SRCS += modules/juce_gui_basics/juce_gui_basics.cpp +SRCS += modules/juce_gui_extra/juce_gui_extra.cpp +SRCS += modules/juce_opengl/juce_opengl.cpp + +init: AppConfig.h JuceHeader.h all + +AppConfig.h: + cp AppConfig.${PKG_VER}.h AppConfig.h + +JuceHeader.h: + cp JuceHeader.${PKG_VER}.h JuceHeader.h + +DEFINES := -DHAVE_LROUND +DEFINES += -DJUCE_APP_CONFIG_HEADER=\"JuceHeader.h\" +DEFINES += -DJUCE_STANDALONE_APPLICATION +INCLUDES += -I${PKG_VER}/modules + diff --git a/juce/JUCE-4.3.1.patch b/juce/JUCE-4.3.1.patch new file mode 100644 index 0000000..9aeb149 --- /dev/null +++ b/juce/JUCE-4.3.1.patch @@ -0,0 +1,23 @@ +diff -ruN temp/JUCE-4.3.1/modules/juce_graphics/colour/juce_PixelFormats.h ./JUCE-4.3.1/modules/juce_graphics/colour/juce_PixelFormats.h +--- temp/JUCE-4.3.1/modules/juce_graphics/colour/juce_PixelFormats.h 2017-01-26 11:51:04.000000000 +0100 ++++ ./JUCE-4.3.1/modules/juce_graphics/colour/juce_PixelFormats.h 2019-11-22 18:08:13.129839330 +0100 +@@ -108,19 +108,6 @@ + forcedinline uint8 getGreen() const noexcept { return components.g; } + forcedinline uint8 getBlue() const noexcept { return components.b; } + +- #if JUCE_GCC +- // NB these are here as a workaround because GCC refuses to bind to packed values. +- forcedinline uint8& getAlpha() noexcept { return comps [indexA]; } +- forcedinline uint8& getRed() noexcept { return comps [indexR]; } +- forcedinline uint8& getGreen() noexcept { return comps [indexG]; } +- forcedinline uint8& getBlue() noexcept { return comps [indexB]; } +- #else +- forcedinline uint8& getAlpha() noexcept { return components.a; } +- forcedinline uint8& getRed() noexcept { return components.r; } +- forcedinline uint8& getGreen() noexcept { return components.g; } +- forcedinline uint8& getBlue() noexcept { return components.b; } +- #endif +- + //============================================================================== + /** Copies another pixel colour over this one. + diff --git a/juce/JUCE-4.3.1.zip b/juce/JUCE-4.3.1.zip new file mode 100644 index 0000000..b96ae87 Binary files /dev/null and b/juce/JUCE-4.3.1.zip differ diff --git a/juce/JuceHeader.JUCE-4.3.1.h b/juce/JuceHeader.JUCE-4.3.1.h new file mode 100644 index 0000000..1b9a2a8 --- /dev/null +++ b/juce/JuceHeader.JUCE-4.3.1.h @@ -0,0 +1,39 @@ +/* + + IMPORTANT! This file is auto-generated each time you save your + project - if you alter its contents, your changes may be overwritten! + + This is the header file that your files should include in order to get all the + JUCE library headers. You should avoid including the JUCE headers directly in + your own source files, because that wouldn't pick up the correct configuration + options for your app. + +*/ + +#ifndef __APPHEADERFILE_FGWBAQ__ +#define __APPHEADERFILE_FGWBAQ__ + +#include "AppConfig.h" +#include "juce_core/juce_core.h" +#include "juce_data_structures/juce_data_structures.h" +#include "juce_events/juce_events.h" +#include "juce_graphics/juce_graphics.h" +#include "juce_gui_basics/juce_gui_basics.h" +#include "juce_gui_extra/juce_gui_extra.h" +#include "juce_opengl/juce_opengl.h" +#include "juce_video/juce_video.h" + +#if ! DONT_SET_USING_JUCE_NAMESPACE + // If your code uses a lot of JUCE classes, then this will obviously save you + // a lot of typing, but can be disabled by setting DONT_SET_USING_JUCE_NAMESPACE. + using namespace juce; +#endif + +namespace ProjectInfo +{ + const char* const projectName = JucePlugin_Name; + const char* const versionString = JucePlugin_VersionString; + const int versionNumber = JucePlugin_VersionCode; +} + +#endif // __APPHEADERFILE_FGWBAQ__