[SCM] juce/master: Force-disabled embedded zlib/jpeglib
umlaeute at users.alioth.debian.org
umlaeute at users.alioth.debian.org
Thu Nov 9 13:06:39 UTC 2017
The following commit has been merged in the master branch:
commit 0d4148ab877470a4d5e809436ba81d3c0d139987
Author: IOhannes m zmölnig <zmoelnig at umlautS.umlaeute.mur.at>
Date: Wed Nov 8 23:02:38 2017 +0100
Force-disabled embedded zlib/jpeglib
remove other Debian-specific defines onliy needed for the defunct libjuce0
diff --git a/debian/patches/debian_fixed-defines.patch b/debian/patches/debian_fixed-defines.patch
index d1a270c..a4c7e0d 100644
--- a/debian/patches/debian_fixed-defines.patch
+++ b/debian/patches/debian_fixed-defines.patch
@@ -12,35 +12,37 @@ Last-Update: 2016-04-07
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- juce.orig/modules/juce_core/juce_core.h
+++ juce/modules/juce_core/juce_core.h
-@@ -65,6 +65,28 @@
+@@ -65,6 +65,21 @@
#include "system/juce_TargetPlatform.h"
+/** Debian specific constants
-+Debian's libjuce.so only allows to either create
-+- a proper Release build
-+OR
-+- a proper Debug build.
++ - Debian, we don't use embedded libraries
+*/
-+#ifdef JUCE_FORCE_DEBUG
-+# undef JUCE_FORCE_DEBUG
++#ifdef JUCE_INCLUDE_ZLIB_CODE
++# undef JUCE_INCLUDE_ZLIB_CODE
+#endif
++#define JUCE_INCLUDE_ZLIB_CODE 0
+
-+#ifdef JUCE_LOG_ASSERTIONS
-+# undef JUCE_LOG_ASSERTIONS
++#ifdef JUCE_INCLUDE_JPEGLIB_CODE
++# undef JUCE_INCLUDE_JPEGLIB_CODE
+#endif
-+#define JUCE_LOG_ASSERTIONS JUCE_DEBUG
-+
-+#ifdef JUCE_CHECK_MEMORY_LEAKS
-+# undef JUCE_CHECK_MEMORY_LEAKS
-+#endif
-+#define JUCE_CHECK_MEMORY_LEAKS JUCE_DEBUG
++#define JUCE_INCLUDE_JPEGLIB_CODE 0
+/** Debian specifics END
+*/
+
//==============================================================================
/** Config: JUCE_FORCE_DEBUG
+@@ -124,7 +139,7 @@
+ specify the path where your zlib headers live.
+ */
+ #ifndef JUCE_INCLUDE_ZLIB_CODE
+- #define JUCE_INCLUDE_ZLIB_CODE 1
++ #define JUCE_INCLUDE_ZLIB_CODE 0
+ #endif
+
+ #ifndef JUCE_ZLIB_INCLUDE_PATH
--- juce.orig/modules/juce_audio_plugin_client/utility/juce_CheckSettingMacros.h
+++ juce/modules/juce_audio_plugin_client/utility/juce_CheckSettingMacros.h
@@ -24,6 +24,30 @@
--
juce packaging
More information about the pkg-multimedia-commits
mailing list