diff --git a/mupdf-1.4-source.tar.gz b/mupdf-1.4-source.tar.gz deleted file mode 100644 index e2a76d2..0000000 --- a/mupdf-1.4-source.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:018bab9520b5e93bb33ab07b0472fdf9f768c5801769f95b9a696941b633ec22 -size 13253644 diff --git a/mupdf-1.5-source.tar.gz b/mupdf-1.5-source.tar.gz new file mode 100644 index 0000000..528501e --- /dev/null +++ b/mupdf-1.5-source.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e41fa8951de3b44a5ec95052b8897fbcca1eb721e0fd0289862e31e2f03f846a +size 13269193 diff --git a/mupdf-fix-openjpeg2.patch b/mupdf-fix-openjpeg2.patch index 5014358..590f76b 100644 --- a/mupdf-fix-openjpeg2.patch +++ b/mupdf-fix-openjpeg2.patch @@ -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); diff --git a/mupdf.changes b/mupdf.changes index 3f4426c..0acd08d 100644 --- a/mupdf.changes +++ b/mupdf.changes @@ -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 diff --git a/mupdf.spec b/mupdf.spec index e201aa5..157e1a2 100644 --- a/mupdf.spec +++ b/mupdf.spec @@ -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