Build: require OpenJPEG 2.x minimum, remove bundled version.
authorBrecht Van Lommel <brechtvanlommel@gmail.com>
Thu, 30 Aug 2018 12:20:19 +0000 (14:20 +0200)
committerBrecht Van Lommel <brechtvanlommel@gmail.com>
Tue, 11 Sep 2018 10:45:05 +0000 (12:45 +0200)
commita1651ddc98ec760e522ea2ea8169b726661fa2e6
tree9a8fa5b751f9b27380de9b3dde35f93086deda0b
parentbf8aac0d491ae7ea9c52c5911f61f041cfffdafc
Build: require OpenJPEG 2.x minimum, remove bundled version.

* WITH_SYSTEM_OPENJPEG is removed and is now always on, this was already
  the case for macOS and Windows.
* This should not break existing Linx builds. If there is no new enough
  OpenJPEG installed, CMake will no find libopenjp2 and WITH_IMAGE_OPENJPEG
  will be disabled.
* install_deps.sh was updated with new package names, since distributions
  put this version in a new package.

Differential Revision: https://developer.blender.org/D3663
61 files changed:
CMakeLists.txt
build_files/build_environment/install_deps.sh
build_files/buildbot/config/blender_linux.cmake
build_files/cmake/Modules/FindOpenJPEG.cmake
build_files/cmake/macros.cmake
build_files/cmake/platform/platform_apple.cmake
extern/CMakeLists.txt
extern/libopenjpeg/CMakeLists.txt [deleted file]
extern/libopenjpeg/README.blender [deleted file]
extern/libopenjpeg/bio.c [deleted file]
extern/libopenjpeg/bio.h [deleted file]
extern/libopenjpeg/cidx_manager.c [deleted file]
extern/libopenjpeg/cidx_manager.h [deleted file]
extern/libopenjpeg/cio.c [deleted file]
extern/libopenjpeg/cio.h [deleted file]
extern/libopenjpeg/dwt.c [deleted file]
extern/libopenjpeg/dwt.h [deleted file]
extern/libopenjpeg/event.c [deleted file]
extern/libopenjpeg/event.h [deleted file]
extern/libopenjpeg/fix.h [deleted file]
extern/libopenjpeg/image.c [deleted file]
extern/libopenjpeg/image.h [deleted file]
extern/libopenjpeg/indexbox_manager.h [deleted file]
extern/libopenjpeg/int.h [deleted file]
extern/libopenjpeg/j2k.c [deleted file]
extern/libopenjpeg/j2k.h [deleted file]
extern/libopenjpeg/j2k_lib.c [deleted file]
extern/libopenjpeg/j2k_lib.h [deleted file]
extern/libopenjpeg/jp2.c [deleted file]
extern/libopenjpeg/jp2.h [deleted file]
extern/libopenjpeg/jpt.c [deleted file]
extern/libopenjpeg/jpt.h [deleted file]
extern/libopenjpeg/license.txt [deleted file]
extern/libopenjpeg/mct.c [deleted file]
extern/libopenjpeg/mct.h [deleted file]
extern/libopenjpeg/mqc.c [deleted file]
extern/libopenjpeg/mqc.h [deleted file]
extern/libopenjpeg/openjpeg.c [deleted file]
extern/libopenjpeg/openjpeg.h [deleted file]
extern/libopenjpeg/opj_config.h [deleted file]
extern/libopenjpeg/opj_includes.h [deleted file]
extern/libopenjpeg/opj_malloc.h [deleted file]
extern/libopenjpeg/phix_manager.c [deleted file]
extern/libopenjpeg/pi.c [deleted file]
extern/libopenjpeg/pi.h [deleted file]
extern/libopenjpeg/ppix_manager.c [deleted file]
extern/libopenjpeg/raw.c [deleted file]
extern/libopenjpeg/raw.h [deleted file]
extern/libopenjpeg/t1.c [deleted file]
extern/libopenjpeg/t1.h [deleted file]
extern/libopenjpeg/t1_luts.h [deleted file]
extern/libopenjpeg/t2.c [deleted file]
extern/libopenjpeg/t2.h [deleted file]
extern/libopenjpeg/tcd.c [deleted file]
extern/libopenjpeg/tcd.h [deleted file]
extern/libopenjpeg/tgt.c [deleted file]
extern/libopenjpeg/tgt.h [deleted file]
extern/libopenjpeg/thix_manager.c [deleted file]
extern/libopenjpeg/tpix_manager.c [deleted file]
intern/cycles/test/CMakeLists.txt
source/blender/imbuf/intern/jp2.c