SHA256
1
0
forked from pool/mupdf

Accepting request 246433 from Publishing

- update to version 1.5
  * This is a bugfix release: dozens of bugs have been found and
    exterminated!
  * A typo resulting in a potential stack overflow that could
    corrupt files when saving edits to a PDF has been fixed.
    Another bug which caused a significant slowdown has also been
    fixed.

OBS-URL: https://build.opensuse.org/request/show/246433
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mupdf?expand=0&rev=10
This commit is contained in:
Stephan Kulow 2014-08-27 20:18:13 +00:00 committed by Git OBS Bridge
commit e977c990a9
5 changed files with 20 additions and 23 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:018bab9520b5e93bb33ab07b0472fdf9f768c5801769f95b9a696941b633ec22
size 13253644

3
mupdf-1.5-source.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e41fa8951de3b44a5ec95052b8897fbcca1eb721e0fd0289862e31e2f03f846a
size 13269193

View File

@ -1,23 +1,8 @@
Index: mupdf-1.4-source/Makerules
Index: mupdf-1.5-source/source/fitz/load-jpx.c
===================================================================
--- mupdf-1.4-source.orig/Makerules
+++ mupdf-1.4-source/Makerules
@@ -71,8 +71,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 = $(shell pkg-config --cflags libopenjp2)
+SYS_OPENJPEG_LIBS = $(shell pkg-config --libs libopenjp2)
SYS_JBIG2DEC_LIBS = -ljbig2dec
SYS_JPEG_LIBS = -ljpeg
SYS_ZLIB_LIBS = -lz
Index: mupdf-1.4-source/source/fitz/load-jpx.c
===================================================================
--- mupdf-1.4-source.orig/source/fitz/load-jpx.c
+++ mupdf-1.4-source/source/fitz/load-jpx.c
@@ -117,7 +117,7 @@ fz_load_jpx(fz_context *ctx, unsigned ch
--- mupdf-1.5-source.orig/source/fitz/load-jpx.c
+++ mupdf-1.5-source/source/fitz/load-jpx.c
@@ -116,7 +116,7 @@ fz_load_jpx(fz_context *ctx, unsigned ch
opj_stream_set_read_function(stream, fz_opj_stream_read);
opj_stream_set_skip_function(stream, fz_opj_stream_skip);
opj_stream_set_seek_function(stream, fz_opj_stream_seek);

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Tue Aug 26 07:03:44 UTC 2014 - gber@opensuse.org
- update to version 1.5
* This is a bugfix release: dozens of bugs have been found and
exterminated!
* A typo resulting in a potential stack overflow that could
corrupt files when saving edits to a PDF has been fixed.
Another bug which caused a significant slowdown has also been
fixed.
-------------------------------------------------------------------
Fri May 30 18:06:41 UTC 2014 - gber@opensuse.org

View File

@ -18,7 +18,7 @@
Name: mupdf
Version: 1.4
Version: 1.5
Release: 0
Summary: Lightweight PDF and XPS Viewer and Parser and Rendering Library
License: AGPL-3.0+
@ -114,6 +114,7 @@ install -D -p -m 644 %{SOURCE2} \
%doc CHANGES COPYING README docs/naming.txt docs/overview.txt
%doc docs/progressive.txt docs/refcount.txt docs/examples/
%{_bindir}/mupdf
%{_bindir}/mupdf-x11-curl
%{_bindir}/mudraw
%{_bindir}/mutool
%{_bindir}/mujstest