openjpeg: upgrade 2.3.0 -> 2.3.1
PATCH v2 1/1 openjpeg: upgrade 2.3.0 -> 2.3.1
From: Trevor Gamblin <[email protected]>
Upgrading fixes CVE-2018-21010 and incorporates other bug fixes from upstream.
Signed-off-by Trevor Gamblin <[email protected]>
---
...ke-files-are-installed-at-common-location.patch | 37 ++++++++--------------
.../{openjpeg_2.3.0.bb => openjpeg_2.3.1.bb} | 2 +-
2 files changed, 15 insertions(+), 24 deletions(-)
rename meta-oe/recipes-graphics/openjpeg/{openjpeg_2.3.0.bb => openjpeg_2.3.1.bb} (91%)meta-oe/recipes-graphics/openjpeg/openjpeg/0001-Ensure-cmake-files-are-installed-at-common-location.patch +14 -23
@@ -1,27 +1,18 @@ -From fe491c0919f5adc8d626cb98c5ec19d0b99dfe20 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Andreas=20M=C3=BCller?= <[email protected]> -Date: Thu, 27 Sep 2018 23:45:04 +0200 -Subject: [PATCH] Ensure cmake files are installed at common location -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit +From 1f15a8e565976036aaf9f29322f477d52f8a5cdd Mon Sep 17 00:00:00 2001 +From: Trevor Gamblin <[email protected]> +Date: Fri, 13 Sep 2019 10:11:08 -0400 +Subject: [PATCH] openjpeg: Ensure cmake files are installed at common location -* Otherwise recent poppler is not able to find them -* Include path needs adjustment with this change - -Upstream-Status: Inappropriate [Configuration] - -Signed-off-by: Andreas Müller <[email protected]> --- CMakeLists.txt | 2 +- cmake/OpenJPEGConfig.cmake.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt -index ff70a06f..23d2fac4 100644 +index 3ea2424a..fc1978da 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt -@@ -150,7 +150,7 @@ if(NOT OPENJPEG_INSTALL_PACKAGE_DIR) +@@ -151,7 +151,7 @@ if(NOT OPENJPEG_INSTALL_PACKAGE_DIR) # We could install *.cmake files in share/ however those files contains # hardcoded path to libraries on a multi-arch system (fedora/debian) those # path will be different (lib/i386-linux-gnu vs lib/x86_64-linux-gnu)
@@ -31,18 +22,18 @@ index ff70a06f..23d2fac4 100644 if (APPLE) diff --git a/cmake/OpenJPEGConfig.cmake.in b/cmake/OpenJPEGConfig.cmake.in -index b20294ca..6a2f4baf 100644 +index 2925108a..f2541c8b 100644 --- a/cmake/OpenJPEGConfig.cmake.in +++ b/cmake/OpenJPEGConfig.cmake.in -@@ -26,7 +26,7 @@ get_filename_component(SELF_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH) - if(EXISTS ${SELF_DIR}/OpenJPEGTargets.cmake) - # This is an install tree - include(${SELF_DIR}/OpenJPEGTargets.cmake) -- get_filename_component(OPENJPEG_INCLUDE_ROOT "${SELF_DIR}/../../@OPENJPEG_INSTALL_INCLUDE_DIR@" ABSOLUTE) +@@ -32,7 +32,7 @@ if(EXISTS ${SELF_DIR}/OpenJPEGTargets.cmake) + set(INC_DIR "@CMAKE_INSTALL_PREFIX@/@OPENJPEG_INSTALL_INCLUDE_DIR@") + file(RELATIVE_PATH PKG_TO_INC_RPATH "${PKG_DIR}" "${INC_DIR}") + +- get_filename_component(OPENJPEG_INCLUDE_DIRS "${SELF_DIR}/${PKG_TO_INC_RPATH}" ABSOLUTE) + get_filename_component(OPENJPEG_INCLUDE_ROOT "${SELF_DIR}/../../../@OPENJPEG_INSTALL_INCLUDE_DIR@" ABSOLUTE) - set(OPENJPEG_INCLUDE_DIRS ${OPENJPEG_INCLUDE_ROOT}) else() + if(EXISTS ${SELF_DIR}/OpenJPEGExports.cmake) -- -2.14.4 +2.17.1
meta-oe/recipes-graphics/openjpeg/openjpeg_2.3.1.bb renamed from meta-oe/recipes-graphics/openjpeg/openjpeg_2.3.0.bb +1 -1
@@ -10,7 +10,7 @@ SRC_URI = " \ file://0001-Ensure-cmake-files-are-installed-at-common-location.patch \ file://0002-Do-not-ask-cmake-to-export-binaries-they-don-t-make-.patch \ " -SRCREV = "081de4b15f54cb4482035b7bf5e3fb443e4bc84b" +SRCREV = "57096325457f96d8cd07bd3af04fe81d7a2ba788" S = "${WORKDIR}/git" inherit cmake
Signature · 1 line
2.7.4
this has some breakages
https://errors.yoctoproject.org/Errors/Details/270229/
Quoted 102 lines · Trevor Gamblin
From: Trevor Gamblin <[email protected]>
Upgrading fixes CVE-2018-21010 and incorporates other bug fixes from upstream.
Signed-off-by Trevor Gamblin <[email protected]>--- ...ke-files-are-installed-at-common-location.patch | 37 ++++++++-------------- .../{openjpeg_2.3.0.bb => openjpeg_2.3.1.bb} | 2 +- 2 files changed, 15 insertions(+), 24 deletions(-) rename meta-oe/recipes-graphics/openjpeg/{openjpeg_2.3.0.bb => openjpeg_2.3.1.bb} (91%)meta-oe/recipes-graphics/openjpeg/openjpeg/0001-Ensure-cmake-files-are-installed-at-common-location.patch +14
-23@@ -1,27 +1,18 @@ -From fe491c0919f5adc8d626cb98c5ec19d0b99dfe20 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Andreas=20M=C3=BCller?= <[email protected]> -Date: Thu, 27 Sep 2018 23:45:04 +0200 -Subject: [PATCH] Ensure cmake files are installed at common location -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit +From 1f15a8e565976036aaf9f29322f477d52f8a5cdd Mon Sep 17 00:00:00 2001 +From: Trevor Gamblin <[email protected]> +Date: Fri, 13 Sep 2019 10:11:08 -0400 +Subject: [PATCH] openjpeg: Ensure cmake files are installed at common location -* Otherwise recent poppler is not able to find them -* Include path needs adjustment with this change - -Upstream-Status: Inappropriate [Configuration] - -Signed-off-by: Andreas Müller <[email protected]> --- CMakeLists.txt | 2 +- cmake/OpenJPEGConfig.cmake.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt -index ff70a06f..23d2fac4 100644 +index 3ea2424a..fc1978da 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt -@@ -150,7 +150,7 @@ if(NOT OPENJPEG_INSTALL_PACKAGE_DIR) +@@ -151,7 +151,7 @@ if(NOT OPENJPEG_INSTALL_PACKAGE_DIR) # We could install *.cmake files in share/ however those files contains # hardcoded path to libraries on a multi-arch system (fedora/debian) those # path will be different (lib/i386-linux-gnu vs lib/x86_64-linux-gnu)@@ -31,18 +22,18 @@ index ff70a06f..23d2fac4 100644 if (APPLE) diff --git a/cmake/OpenJPEGConfig.cmake.in b/cmake/OpenJPEGConfig.cmake.in -index b20294ca..6a2f4baf 100644 +index 2925108a..f2541c8b 100644 --- a/cmake/OpenJPEGConfig.cmake.in +++ b/cmake/OpenJPEGConfig.cmake.in -@@ -26,7 +26,7 @@ get_filename_component(SELF_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH) - if(EXISTS ${SELF_DIR}/OpenJPEGTargets.cmake) - # This is an install tree - include(${SELF_DIR}/OpenJPEGTargets.cmake) -- get_filename_component(OPENJPEG_INCLUDE_ROOT "${SELF_DIR}/../../@OPENJPEG_INSTALL_INCLUDE_DIR@" ABSOLUTE) +@@ -32,7 +32,7 @@ if(EXISTS ${SELF_DIR}/OpenJPEGTargets.cmake) + set(INC_DIR "@CMAKE_INSTALL_PREFIX@/@OPENJPEG_INSTALL_INCLUDE_DIR@") + file(RELATIVE_PATH PKG_TO_INC_RPATH "${PKG_DIR}" "${INC_DIR}") + +- get_filename_component(OPENJPEG_INCLUDE_DIRS "${SELF_DIR}/${PKG_TO_INC_RPATH}" ABSOLUTE) + get_filename_component(OPENJPEG_INCLUDE_ROOT "${SELF_DIR}/../../../@OPENJPEG_INSTALL_INCLUDE_DIR@" ABSOLUTE) - set(OPENJPEG_INCLUDE_DIRS ${OPENJPEG_INCLUDE_ROOT}) else() + if(EXISTS ${SELF_DIR}/OpenJPEGExports.cmake) -- -2.14.4 +2.17.1meta-oe/recipes-graphics/openjpeg/openjpeg_2.3.1.bb renamed from meta-oe/recipes-graphics/openjpeg/openjpeg_2.3.0.bb +1
-2@@ -10,7 +10,7 @@ SRC_URI = " \ file://0001-Ensure-cmake-files-are-installed-at-common-location.patch \ file://0002-Do-not-ask-cmake-to-export-binaries-they-don-t-make-.patch \ " -SRCREV = "081de4b15f54cb4482035b7bf5e3fb443e4bc84b" +SRCREV = "57096325457f96d8cd07bd3af04fe81d7a2ba788" S = "${WORKDIR}/git" inherit cmake --2.7.4
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel