After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 786250 - openjpeg: Support libopenjp2 v2.2
openjpeg: Support libopenjp2 v2.2
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Mac OS
: Normal normal
: 1.12.3
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-08-13 19:30 UTC by Clemens Lang
Modified: 2017-08-17 10:41 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to check for OpenJPEG 2.2 at configure time (3.16 KB, patch)
2017-08-13 19:32 UTC, Clemens Lang
committed Details | Review

Description Clemens Lang 2017-08-13 19:30:16 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.
Comment 1 Clemens Lang 2017-08-13 19:32:10 UTC
Created attachment 357525 [details] [review]
Patch to check for OpenJPEG 2.2 at configure time
Comment 2 Sebastian Dröge (slomo) 2017-08-14 07:25:29 UTC
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