From 6e3638913991a89650d41fda4a4461e82a8c7ed4 Mon Sep 17 00:00:00 2001 From: Nirbheek Chauhan Date: Tue, 10 Sep 2024 00:11:08 +0530 Subject: [PATCH] meson: Update openjpeg wrap to 2.5.2, fixes a warning MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The version was incorrectly encoded in the opj_config.h header with the earlier version, which caused a compilation warning. ``` ../subprojects/gst-plugins-bad/ext/openjpeg/gstopenjpegenc.c:943:5: warning: ‘bpp’ is deprecated: Use prec instead [-Wdeprecated-declarations] 943 | comps[i].bpp = GST_VIDEO_FRAME_COMP_DEPTH (frame, i); | ^~~~~ ``` Part-of: --- subprojects/libopenjp2.wrap | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/subprojects/libopenjp2.wrap b/subprojects/libopenjp2.wrap index 46a56dbc2d..e4a03f6926 100644 --- a/subprojects/libopenjp2.wrap +++ b/subprojects/libopenjp2.wrap @@ -1,12 +1,13 @@ [wrap-file] -directory = openjpeg-2.5.0 -source_url = https://github.com/uclouvain/openjpeg/archive/v2.5.0.tar.gz -source_filename = openjpeg-2.5.0.tar.gz -source_hash = 0333806d6adecc6f7a91243b2b839ff4d2053823634d4f6ed7a59bc87409122a -patch_filename = libopenjp2_2.5.0-1_patch.zip -patch_url = https://wrapdb.mesonbuild.com/v2/libopenjp2_2.5.0-1/get_patch -patch_hash = 191a6e0276d153545607e68f64363035077448dbce068799ecd3cf0bd9882896 -wrapdb_version = 2.5.0-1 +directory = openjpeg-2.5.2 +source_url = https://github.com/uclouvain/openjpeg/archive/v2.5.2.tar.gz +source_filename = openjpeg-2.5.2.tar.gz +source_hash = 90e3896fed910c376aaf79cdd98bdfdaf98c6472efd8e1debf0a854938cbda6a +patch_filename = libopenjp2_2.5.2-3_patch.zip +patch_url = https://wrapdb.mesonbuild.com/v2/libopenjp2_2.5.2-3/get_patch +patch_hash = 2914f3c00891f245d5b5a407e63a09cd2f66d106e732c59d588fb65511728dea +source_fallback_url = https://github.com/mesonbuild/wrapdb/releases/download/libopenjp2_2.5.2-3/openjpeg-2.5.2.tar.gz +wrapdb_version = 2.5.2-3 [provide] libopenjp2 = libopenjp2_dep