From 330ecdd2ad03225db3cd0933f1083abed8598a98 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Thu, 12 Mar 2026 18:51:26 +0800 Subject: jasper: upgrade 4.2.8 -> 4.2.9 Changelog: - Fixed a bug in the JP2 encoder that caused incorrect handling of opacity components in some cases. Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- meta-oe/recipes-graphics/jasper/jasper_4.2.8.bb | 32 ------------------------- meta-oe/recipes-graphics/jasper/jasper_4.2.9.bb | 32 +++++++++++++++++++++++++ 2 files changed, 32 insertions(+), 32 deletions(-) delete mode 100644 meta-oe/recipes-graphics/jasper/jasper_4.2.8.bb create mode 100644 meta-oe/recipes-graphics/jasper/jasper_4.2.9.bb diff --git a/meta-oe/recipes-graphics/jasper/jasper_4.2.8.bb b/meta-oe/recipes-graphics/jasper/jasper_4.2.8.bb deleted file mode 100644 index e00b56ddbf..0000000000 --- a/meta-oe/recipes-graphics/jasper/jasper_4.2.8.bb +++ /dev/null @@ -1,32 +0,0 @@ -SUMMARY = "Jpeg 2000 implementation" -HOMEPAGE = "https://jasper-software.github.io/jasper/" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a80440d1d8f17d041c71c7271d6e06eb" - -SRC_URI = "https://github.com/jasper-software/${BPN}/releases/download/version-${PV}/${BP}.tar.gz" -SRC_URI[sha256sum] = "98058a94fbff57ec6e31dcaec37290589de0ba6f47c966f92654681a56c71fae" - -UPSTREAM_CHECK_URI = "https://github.com/jasper-software/jasper/releases" -UPSTREAM_CHECK_REGEX = "releases/tag/version-(?P\d+(\.\d+)+)" - -inherit cmake multilib_header - -do_configure:prepend() { - JAS_STDC_VERSION="$(echo __STDC_VERSION__ | ${CPP} -E -P -)" -} - -EXTRA_OECMAKE:append = " -DJAS_STDC_VERSION=${JAS_STDC_VERSION}" - -PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'opengl x11', 'opengl', '', d)} \ - jpeg" - -PACKAGECONFIG[jpeg] = "-DJAS_ENABLE_LIBJPEG=ON,-DJAS_ENABLE_LIBJPEG=OFF,jpeg," -PACKAGECONFIG[opengl] = "-DJAS_ENABLE_OPENGL=ON,-DJAS_ENABLE_OPENGL=OFF,freeglut," - -do_install:append() { - chrpath -d ${D}${bindir}/jasper - chrpath -d ${D}${bindir}/imginfo - chrpath -d ${D}${bindir}/imgcmp - chrpath -d ${D}${libdir}/libjasper.so.* - oe_multilib_header jasper/jas_config.h -} diff --git a/meta-oe/recipes-graphics/jasper/jasper_4.2.9.bb b/meta-oe/recipes-graphics/jasper/jasper_4.2.9.bb new file mode 100644 index 0000000000..b48fff7081 --- /dev/null +++ b/meta-oe/recipes-graphics/jasper/jasper_4.2.9.bb @@ -0,0 +1,32 @@ +SUMMARY = "Jpeg 2000 implementation" +HOMEPAGE = "https://jasper-software.github.io/jasper/" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a80440d1d8f17d041c71c7271d6e06eb" + +SRC_URI = "https://github.com/jasper-software/${BPN}/releases/download/version-${PV}/${BP}.tar.gz" +SRC_URI[sha256sum] = "f71cf643937a5fcaedcfeb30a22ba406912948ad4413148214df280afc425454" + +UPSTREAM_CHECK_URI = "https://github.com/jasper-software/jasper/releases" +UPSTREAM_CHECK_REGEX = "releases/tag/version-(?P\d+(\.\d+)+)" + +inherit cmake multilib_header + +do_configure:prepend() { + JAS_STDC_VERSION="$(echo __STDC_VERSION__ | ${CPP} -E -P -)" +} + +EXTRA_OECMAKE:append = " -DJAS_STDC_VERSION=${JAS_STDC_VERSION}" + +PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'opengl x11', 'opengl', '', d)} \ + jpeg" + +PACKAGECONFIG[jpeg] = "-DJAS_ENABLE_LIBJPEG=ON,-DJAS_ENABLE_LIBJPEG=OFF,jpeg," +PACKAGECONFIG[opengl] = "-DJAS_ENABLE_OPENGL=ON,-DJAS_ENABLE_OPENGL=OFF,freeglut," + +do_install:append() { + chrpath -d ${D}${bindir}/jasper + chrpath -d ${D}${bindir}/imginfo + chrpath -d ${D}${bindir}/imgcmp + chrpath -d ${D}${libdir}/libjasper.so.* + oe_multilib_header jasper/jas_config.h +} -- cgit v1.2.3-54-g00ecf