Force-disabled embedded zlib/jpeglib
authorIOhannes m zmölnig <zmoelnig@umlautS.umlaeute.mur.at>
Wed, 8 Nov 2017 22:02:38 +0000 (23:02 +0100)
committerIOhannes m zmölnig <zmoelnig@umlautS.umlaeute.mur.at>
Wed, 8 Nov 2017 22:02:38 +0000 (23:02 +0100)
remove other Debian-specific defines onliy needed for the defunct libjuce0

debian/patches/debian_fixed-defines.patch

index d1a270c102355b0f7396332f02d6d695bbe8dcce..a4c7e0df2f1ce5707b4f6abc21372a13850128cb 100644 (file)
@@ -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 @@
  \r
  #include "system/juce_TargetPlatform.h"\r
  \r
 +/** Debian specific constants\r
-+Debian's libjuce.so only allows to either create\r
-+- a proper Release build\r
-+OR\r
-+- a proper Debug build.\r
++  - Debian, we don't use embedded libraries\r
 +*/\r
-+#ifdef JUCE_FORCE_DEBUG\r
-+# undef JUCE_FORCE_DEBUG\r
++#ifdef JUCE_INCLUDE_ZLIB_CODE\r
++# undef JUCE_INCLUDE_ZLIB_CODE\r
 +#endif\r
++#define JUCE_INCLUDE_ZLIB_CODE 0\r
 +\r
-+#ifdef JUCE_LOG_ASSERTIONS\r
-+# undef JUCE_LOG_ASSERTIONS\r
++#ifdef JUCE_INCLUDE_JPEGLIB_CODE\r
++# undef JUCE_INCLUDE_JPEGLIB_CODE\r
 +#endif\r
-+#define JUCE_LOG_ASSERTIONS JUCE_DEBUG\r
-+\r
-+#ifdef JUCE_CHECK_MEMORY_LEAKS\r
-+# undef JUCE_CHECK_MEMORY_LEAKS\r
-+#endif\r
-+#define JUCE_CHECK_MEMORY_LEAKS JUCE_DEBUG\r
++#define JUCE_INCLUDE_JPEGLIB_CODE 0\r
 +/** Debian specifics END\r
 +*/\r
 +\r
  //==============================================================================\r
  /** Config: JUCE_FORCE_DEBUG\r
  \r
+@@ -124,7 +139,7 @@
+     specify the path where your zlib headers live.\r
+ */\r
+ #ifndef JUCE_INCLUDE_ZLIB_CODE\r
+- #define JUCE_INCLUDE_ZLIB_CODE 1\r
++ #define JUCE_INCLUDE_ZLIB_CODE 0\r
+ #endif\r
\r
+ #ifndef JUCE_ZLIB_INCLUDE_PATH\r
 --- 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 @@