Commit Graph

20 Commits

Author SHA1 Message Date
Richard Purdie
b402a3076f recipes: Update SRC_URI branch and protocols
This patch updates SRC_URIs using git to include branch=master if no branch is set
and also to use protocol=https for github urls as generated by the conversion script
in OE-Core.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-03 06:57:49 -07:00
Martin Jansa
c61dc077bb Convert to new override syntax
This is the result of automated script (0.9.1) conversion:

oe-core/scripts/contrib/convert-overrides.py .

converting the metadata to use ":" as the override character instead of "_".

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-08-03 10:21:25 -07:00
Ross Burton
41bbe1c62f openjpeg: add native/nativesdk class extension
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-30 15:36:17 -07:00
zangrc
936c02f1cf openjpeg: upgrade 2.3.1 -> 2.4.0
CVE-2020-15389.patch
CVE-2020-6851.patch
CVE-2020-8112.patch
Removed since these are included in 2.4.0.

Fixed an error where openjpeg.h could not be found.

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-01-07 22:57:45 -08:00
Slater, Joseph
26c103da9f openjpeg: fix CVE-2020-15389
Backport from github meta-xilinx-tools.

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-09-01 15:37:45 -07:00
Mingde (Matthew) Zeng
3063ae3b14 net-snmp, openjpeg: add proper CVE tags to patches
Signed-off-by: Mingde (Matthew) Zeng <matthew.zeng@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-07-16 07:14:00 -07:00
Sakib Sajal
f7e11c4c75 openjpeg: Fix CVE-2020-8112
Backport from upstream to fix heap-based buffer overflow.

Upstream-Status: Backport
CVE: CVE-2020-8112

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-17 19:46:35 -07:00
Yue Tao
6ce0a9c9f7 openjpeg: Fix CVE-2020-6851
Backport patch from upstream to fix heap-based buffer overflow

Upstream-Status: Backport
CVE: CVE-2020-6851

Signed-off-by: Yue Tao <Yue.Tao@windriver.com>
Signed-off-by: Sakib Sajal <Sakib.Sajal@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-11 15:30:18 -07:00
Christophe PRIOUZEAU
4a5d4e3a72 openjpeg: Clarify BSD license variant
The License of openjpeg is BSD-2-Clause.

Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-10-17 08:35:32 -07:00
Trevor Gamblin
692a502d4a openjpeg: upgrade 2.3.0 -> 2.3.1
Upgrading fixes CVE-2018-21010 and incorporates other bug fixes
from upstream.

The source upgrade to 2.3.1 changed the way include directories are
identified, so the patch 0001-Ensure-cmake-files-are-installed-at-common-location.patch
is no longer needed to help poppler find cmake files.

The contents of /usr/lib/openjpeg-2.3 were added to the FILES
list since poppler needs them to build.

Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-16 18:24:48 -07:00
Andreas Müller
a96e6d718e openjpeg: fix build for multilib
| ERROR: openjpeg-2.3.0-r0 do_package: QA Issue: openjpeg: Files/directories were installed but not shipped in any package:
|   /usr/lib/libopenjp2.a
|   /usr/lib/libopenjp2.so
|   /usr/lib/libopenjp2.so.2.3.0
|   /usr/lib/libopenjp2.so.7
|   /usr/lib/cmake
|   /usr/lib/pkgconfig
|   /usr/lib/cmake/openjpeg-2.3
|   /usr/lib/cmake/openjpeg-2.3/OpenJPEGConfig.cmake
|   /usr/lib/cmake/openjpeg-2.3/OpenJPEGTargets.cmake
|   /usr/lib/cmake/openjpeg-2.3/OpenJPEGTargets-noconfig.cmake
|   /usr/lib/pkgconfig/libopenjp2.pc

* Addresses [1]
* Build tested with poppler in multilib and non-multilib environment

[1] https://github.com/openembedded/meta-openembedded/issues/103

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-12-22 15:37:35 -08:00
Andreas Müller
9029f051de openjpeg: cmake fixes to prepare update of poppler
* Move *,cmake from ${libdir}/cmake to ${libdir}/cmake/<name-and-version>
  That is standard location cmake files are installed.
* Do not export executables - they will not be found in dependant's sysroot

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-10-04 08:52:54 -07:00
Andreas Müller
67f7fe586b openjpeg: upgrade 2.2.0 -> 2.3.0
* fetch by git to avoid github checksum surprises
* 0001-bmp_read_info_header-reject-bmp-files-with-biBitCoun.patch was applied upstream

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-21 16:20:36 -07:00
Trevor Woerner
037f6cf1e2 openjpeg: variable cleanup
Reorder recipe variables according to:

	https://www.openembedded.org/wiki/Styleguide

Originally-conceived-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-05-29 12:56:19 -07:00
Trevor Woerner
bfa9251993 openjpeg: rely on cmake.bbclass to put cmake package files in dev package
The cmake.bbclass in oe-core now ensures that ${libdir}/cmake and
${datadir}/cmake end up in the dev package, so recipes no longer need to
provide custom packaging rules to handles these files.

	http://git.openembedded.org/openembedded-core/commit/?id=d91dc4666683a96e9d03cbbd21b8a546f9069c93

Originally-conceived-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-05-29 09:15:44 -07:00
dengke.du@windriver.com
37a5e57751 openjpeg: upgrade to 2.2.0
Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-09-07 10:57:37 +02:00
Jackie Huang
d0fa502a22 openjpeg: rename the download file
Rename the download file to avoid collisions in DL_DIR.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-11-23 15:24:44 +01:00
Randy MacLeod
11178d122c openjpeg: uprev from 2.1.0 to 2.1.1
As the package maintainer said, this is mostly a release with:
"the huge amount of critical bug fixes brought to the library since 2 years"
The full list of bugs fixed and other changes is here:
   https://github.com/uclouvain/openjpeg/blob/openjpeg-2.1/CHANGELOG.md

The homepage link was broken so that was fixed.

The project also moved to github and does not appear
to provide tarballs other than via github archives so
the SRC_URI was updated.

An explicit dependency on zlib was added even though cmake was finding
the sysroot version.

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-09-11 09:11:22 +02:00
Yi Zhao
bc5c01d5a1 openjpeg: pass correct libdir to cmake
When MACHINE=qemux86-64 and enable multilib:
ERROR: QA Issue: openjpeg: Files/directories were installed but not
shipped in any package:
  /usr/lib
  /usr/lib/libopenjp2.so
  /usr/lib/libopenjp2.so.2.1.0
  /usr/lib/libopenjp2.so.7
  /usr/lib/.debug
  /usr/lib/pkgconfig
  /usr/lib/.debug/libopenjp2.so.2.1.0
  /usr/lib/pkgconfig/libopenjp2.pc
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install. [installed-vs-shipped]

Pass the correct libdir configuration option to cmake.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
2015-06-17 22:36:12 +02:00
Andreas Müller
81dab589bd openjpeg: initial add 2.1.0
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2015-05-28 10:35:14 +02:00