diff options
Diffstat (limited to 'build_files')
-rwxr-xr-x | build_files/build_environment/install_deps.sh | 10 | ||||
-rw-r--r-- | build_files/buildbot/config/blender_linux.cmake | 4 | ||||
-rw-r--r-- | build_files/cmake/Modules/FindOpenJPEG.cmake | 2 | ||||
-rw-r--r-- | build_files/cmake/macros.cmake | 2 | ||||
-rw-r--r-- | build_files/cmake/platform/platform_apple.cmake | 1 |
5 files changed, 6 insertions, 13 deletions
diff --git a/build_files/build_environment/install_deps.sh b/build_files/build_environment/install_deps.sh index be6e8384ac9..7d5ea18aa7e 100755 --- a/build_files/build_environment/install_deps.sh +++ b/build_files/build_environment/install_deps.sh @@ -810,7 +810,7 @@ DEPS_COMMON_INFO="\"COMMON DEPENDENCIES: Those libraries should be available as packages in all recent distributions (optional ones are [between brackets]): * Basics of dev environment (cmake, gcc, svn , git, ...). - * libjpeg, libpng, libtiff, [libopenjpeg], [libopenal]. + * libjpeg, libpng, libtiff, [openjpeg2], [libopenal]. * libx11, libxcursor, libxi, libxrandr, libxinerama (and other libx... as needed). * libsqlite3, libbz2, libssl, libfftw3, libxml2, libtinyxml, yasm, libyaml-cpp. * libsdl1.2, libglew, [libglewmx].\"" @@ -2626,8 +2626,8 @@ install_DEB() { THEORA_USE=true PRINT "" - # New Ubuntu crap (17.04 and more) have no openjpeg lib! - OPENJPEG_DEV="libopenjpeg-dev" + # We need openjp2, libopenjpeg is an old version + OPENJPEG_DEV="libopenjp2-7-dev" check_package_DEB $OPENJPEG_DEV if [ $? -eq 0 ]; then _packages="$_packages $OPENJPEG_DEV" @@ -3164,7 +3164,7 @@ install_RPM() { fi # These libs should always be available in fedora/suse official repository... - OPENJPEG_DEV="openjpeg-devel" + OPENJPEG_DEV="openjpeg2-devel" VORBIS_DEV="libvorbis-devel" OGG_DEV="libogg-devel" THEORA_DEV="libtheora-devel" @@ -3634,7 +3634,7 @@ install_ARCH() { fi # These libs should always be available in arch official repository... - OPENJPEG_DEV="openjpeg" + OPENJPEG_DEV="openjpeg2" VORBIS_DEV="libvorbis" OGG_DEV="libogg" THEORA_DEV="libtheora" diff --git a/build_files/buildbot/config/blender_linux.cmake b/build_files/buildbot/config/blender_linux.cmake index dafcf202de4..44048f70135 100644 --- a/build_files/buildbot/config/blender_linux.cmake +++ b/build_files/buildbot/config/blender_linux.cmake @@ -171,10 +171,6 @@ set(PYTHON_VERSION 3.7 CACHE BOOL "" FORCE) set(Boost_USE_STATIC_LIBS ON CACHE BOOL "" FORCE) -# TODO(sergey): Move up to the rest of WITH_SYSTEM and DYNLOAD configuration, -# once old chroot is officially retired. -set(WITH_SYSTEM_OPENJPEG ON CACHE BOOL "" FORCE) - # We need to link OpenCOLLADA against PCRE library. Even though it is not installed # on /usr, we do not really care -- all we care is PCRE_FOUND be TRUE and its # library pointing to a valid one. diff --git a/build_files/cmake/Modules/FindOpenJPEG.cmake b/build_files/cmake/Modules/FindOpenJPEG.cmake index a6c28be6782..20d1994c7ba 100644 --- a/build_files/cmake/Modules/FindOpenJPEG.cmake +++ b/build_files/cmake/Modules/FindOpenJPEG.cmake @@ -41,12 +41,10 @@ FIND_PATH(OPENJPEG_INCLUDE_DIR ${_openjpeg_SEARCH_DIRS} PATH_SUFFIXES include - include/openjpeg-1.5 ) FIND_LIBRARY(OPENJPEG_LIBRARY NAMES - openjpeg openjp2 HINTS ${_openjpeg_SEARCH_DIRS} diff --git a/build_files/cmake/macros.cmake b/build_files/cmake/macros.cmake index ddea41675c2..6e2691881eb 100644 --- a/build_files/cmake/macros.cmake +++ b/build_files/cmake/macros.cmake @@ -448,7 +448,7 @@ function(setup_liblinks if(WITH_IMAGE_OPENEXR) target_link_libraries(${target} ${OPENEXR_LIBRARIES}) endif() - if(WITH_IMAGE_OPENJPEG AND WITH_SYSTEM_OPENJPEG) + if(WITH_IMAGE_OPENJPEG) target_link_libraries(${target} ${OPENJPEG_LIBRARIES}) endif() if(WITH_CODEC_FFMPEG) diff --git a/build_files/cmake/platform/platform_apple.cmake b/build_files/cmake/platform/platform_apple.cmake index d3267a09aff..8562b8536a2 100644 --- a/build_files/cmake/platform/platform_apple.cmake +++ b/build_files/cmake/platform/platform_apple.cmake @@ -168,7 +168,6 @@ endif() if(WITH_IMAGE_OPENJPEG OR WITH_CODEC_FFMPEG) # use openjpeg from libdir that is linked into ffmpeg set(OPENJPEG ${LIBDIR}/openjpeg) - set(WITH_SYSTEM_OPENJPEG ON) set(OPENJPEG_INCLUDE_DIRS ${OPENJPEG}/include) set(OPENJPEG_LIBRARIES ${OPENJPEG}/lib/libopenjp2.a) endif() |