<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - 0.22.0 does not find openjpeg-2.0.0"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=58906#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - 0.22.0 does not find openjpeg-2.0.0"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=58906">bug 58906</a>
              from <span class="vcard"><a class="email" href="mailto:ajohnson@redneon.com" title="Adrian Johnson <ajohnson@redneon.com>"> <span class="fn">Adrian Johnson</span></a>
</span></b>
        <pre>Created <span class=""><a href="attachment.cgi?id=72361" name="attach_72361" title="initial attempt at openjpeg2 support">attachment 72361</a> <a href="attachment.cgi?id=72361&action=edit" title="initial attempt at openjpeg2 support">[details]</a></span> <a href='page.cgi?id=splinter.html&bug=58906&attachment=72361'>[review]</a>
initial attempt at openjpeg2 support

This is an initial attempt at openjpeg 2 support. I've created JPEG2000Stream2
.cc files for the new openjpeg2 API but it should probably be merged into
JPEG2000Stream.cc with some #ifdefs.

The build conf changes are incomplete due to the lack of pkg-config support in
2.0. I only created the minimal changes to get it to compile.
LIBOPENJPEG_CFLAGS needs to be specified when running configure.

I found some additional regressions in openjpeg 2.0:
<a href="http://code.google.com/p/openjpeg/issues/detail?id=206">http://code.google.com/p/openjpeg/issues/detail?id=206</a>

in addition to the regressions already in 1.5.1:
<a href="http://code.google.com/p/openjpeg/issues/detail?id=205">http://code.google.com/p/openjpeg/issues/detail?id=205</a>

and the missing pkgconfig support:
<a href="http://code.google.com/p/openjpeg/issues/detail?id=68">http://code.google.com/p/openjpeg/issues/detail?id=68</a>

So for now I recommend using openjpeg 1.5.0. When there is a new version that
fixes the regressions and restores pkgconfig support I'll finish off this
patch.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>