On Mon, Mar 31, 2014 at 3:50 AM, Kan-Ru Chen (陳侃如) <kos...@debian.org> wrote:
> Mathieu Malaterre <mathieu.malate...@gmail.com> writes:
>
>> Control: severity -1 important
>>
>> This bug is odd. OpenJPEG has explicitely been excluded:
>>
>> $ apt-get source mupdf
>> $ cat disable_openjpeg.patch
>> ---
>>  Makerules              |    4 +++-
>>  source/fitz/load-jpx.c |    4 ++++
>>  source/pdf/pdf-image.c |    4 ++++
>>  3 files changed, 11 insertions(+), 1 deletion(-)
>>
>> --- a/Makerules
>> +++ b/Makerules
>> @@ -62,8 +62,10 @@
>>
>>  SYS_FREETYPE_CFLAGS = $(shell pkg-config --cflags freetype2)
>>  SYS_FREETYPE_LIBS = $(shell pkg-config --libs freetype2)
>> -SYS_OPENJPEG_CFLAGS = $(shell pkg-config --cflags libopenjpeg1)
>> +ifeq "$(shell pkg-config --exists libopenjpeg1 && echo yes)" "yes"
>> +SYS_OPENJPEG_CFLAGS = -DHAVE_OPENJPEG $(shell pkg-config --cflags 
>> libopenjpeg1)
>>  SYS_OPENJPEG_LIBS = $(shell pkg-config --libs libopenjpeg1)
>> +endif
>>  SYS_JBIG2DEC_LIBS = -ljbig2dec
>>  SYS_JPEG_LIBS = -ljpeg
>>  SYS_ZLIB_LIBS = -lz
>
> This patch was for the libopenjpeg2 -> libopenjpeg5 transition.
>
> If we build with libopenjpeg5 we should gain JPEG2000 support
> automatically.
>
> But given bug #743103 there seems some problems building against
> libopenjpeg5. Which should be fixed shortly.

Looks like mupdf expect to find openjpeg 2.0.0, which is currently blocked by

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=738655#27


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to