mupdf/mupdf-fix-openjpeg2.patch
OBS User mrdocs e2d8897e64 Accepting request 212849 from home:gberh:branches:Publishing
- update to version 1.3
  * Windows RT viewer app for MuPDF.
  * Library changes to support progressive loading (display PDF
    files as they download). Windows/Linux/MacOS viewer supports
    this using curl.
  * Incremental updates to PDF files are now (optionally) preserved
    on loading/saving.
  * Prototype support for checking PDF Digital Signatures.
  * Initial annotation support (strike-out, underline, highlight
   and ink) (library and android builds only).
  * Fix operation on Android API level 8.
  * Android redraw optimisations.
  * Android app now supports Google Cloud Print.
  * Android app translated into many languages.
  * Android support for more architectures.
  * Improvements to store (avoid collisions causing unnecessary
    evictions).
  * Windows apps use Unicode filenames now.
  * PDF function handling improved; functions can now be passed to
    devices without 'sampling'.
  * PDF image handling improved; images can now be passed to
   devices without decompression.
  * Indexed images are no longer uncompressed at load time, saving
    memory.
  * Caching of rendered tiles for speed.
  * Improved text analysis mode, capable of spotting
    columns/indents, right-to-left text etc.
  * HTML output mode now includes image output.
  * PDF password encoding handling improved.
  * MuPDF now opens Jpeg, Tiff and PNG files directly.

OBS-URL: https://build.opensuse.org/request/show/212849
OBS-URL: https://build.opensuse.org/package/show/Publishing/mupdf?expand=0&rev=12
2014-01-06 03:43:18 +00:00

16 lines
635 B
Diff

Index: mupdf-1.3-source/Makerules
===================================================================
--- mupdf-1.3-source.orig/Makerules
+++ mupdf-1.3-source/Makerules
@@ -62,8 +62,8 @@ SYS_X11_LIBS = $(shell pkg-config --libs
SYS_FREETYPE_CFLAGS = $(shell pkg-config --cflags freetype2)
SYS_FREETYPE_LIBS = $(shell pkg-config --libs freetype2)
-SYS_OPENJPEG_CFLAGS = $(shell pkg-config --cflags libopenjpeg1)
-SYS_OPENJPEG_LIBS = $(shell pkg-config --libs libopenjpeg1)
+SYS_OPENJPEG_CFLAGS = -I/usr/include/openjpeg-2.0
+SYS_OPENJPEG_LIBS = -lopenjp2
SYS_JBIG2DEC_LIBS = -ljbig2dec
SYS_JPEG_LIBS = -ljpeg
SYS_ZLIB_LIBS = -lz