GNOME Bugzilla – Bug 786250
openjpeg: Support libopenjp2 v2.2
Last modified: 2017-08-17 10:41:52 UTC
Compiling gst-plugins-bad against OpenJPEG 2.2 fails because the include path changed (due to API changes). I will attach a patch that fixes the build for me. No code changes were required and the code still compiles fine.
Created attachment 357525 [details] [review] Patch to check for OpenJPEG 2.2 at configure time
commit 15f24fef53a955c7c76fc966302cb0453732e657 (HEAD -> master) Author: Clemens Lang <cal@macports.org> Date: Sun Aug 13 21:17:18 2017 +0200 openjpeg: Fix build against openjpeg 2.2 OpenJPEG 2.2 has some API changes and thus ships its headers in a new include path. Add a configure check (to both meson and autoconf) to detect the newer version of OpenJPEG and add conditional includes. Fix the autoconf test for OpenJPEG 2.1, which checked for HAVE_OPENJPEG, which was always set even for 2.0. https://bugzilla.gnome.org/show_bug.cgi?id=786250