Hello community, here is the log from the commit of package mupdf for openSUSE:Factory checked in at 2014-01-06 17:45:38 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/mupdf (Old) and /work/SRC/openSUSE:Factory/.mupdf.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mupdf" Changes: -------- --- /work/SRC/openSUSE:Factory/mupdf/mupdf.changes 2013-06-28 17:49:05.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.mupdf.new/mupdf.changes 2014-01-06 17:45:42.000000000 +0100 @@ -1,0 +2,44 @@ +Sat Jan 4 20:08:44 UTC 2014 - g...@opensuse.org + +- 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. + * Bug preventing OpenXPS files from being opened fixed. + * Initial (feature incomplete) SVG and PDF output devices. + * PWG raster (mono/grey/RGB) and PCL (mono) output devices. + * Various performance improvements (including tilings and mesh + based shadings). + * Revamped directory structure to reflect recent changes. + * Various potential SEGV, SoftMask and rendering fixes. + * Many potential crashes in Jpeg2000 and JBIG2 images fixed. +- restore desktop file and icon which were dropped by upstream +- build with support for progressive rendering via libcurl + +------------------------------------------------------------------- Old: ---- mupdf-1.2-source.zip New: ---- mupdf-1.3-source.tar.gz mupdf-fix-openjpeg2.patch mupdf.desktop mupdf.png ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ mupdf.spec ++++++ --- /var/tmp/diff_new_pack.pQinpZ/_old 2014-01-06 17:45:43.000000000 +0100 +++ /var/tmp/diff_new_pack.pQinpZ/_new 2014-01-06 17:45:43.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package mupdf # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2011 Guido Berhoerster. # # All modifications and additions to the file contributed by third parties @@ -18,19 +18,23 @@ Name: mupdf -Version: 1.2 +Version: 1.3 Release: 0 Summary: Lightweight PDF and XPS Viewer and Parser and Rendering Library License: AGPL-3.0+ Group: Productivity/Office/Other Url: http://mupdf.com/ -Source: http://mupdf.googlecode.com/files/mupdf-%{version}-source.zip +Source0: http://mupdf.googlecode.com/files/mupdf-%{version}-source.tar.gz +Source1: mupdf.desktop +Source2: mupdf.png +# PATCH-FIX-OPENSUSE mupdf-fix-openjpeg2.patch g...@opensuse.org -- Fix cflags, libs of openjpeg2 on openSUSE +Patch0: mupdf-fix-openjpeg2.patch BuildRequires: freetype-devel BuildRequires: gcc-c++ BuildRequires: jbig2dec-devel +BuildRequires: libcurl-devel BuildRequires: libjpeg-devel -BuildRequires: openjpeg-devel -BuildRequires: unzip +BuildRequires: openjpeg2-devel BuildRequires: update-desktop-files BuildRequires: v8-devel BuildRequires: v8-private-headers-devel @@ -64,29 +68,43 @@ %prep %setup -q -n %{name}-%{version}-source + # do not use the inlined copies of build dpendencies rm -rf thirdparty +%patch0 -p1 + +mkdir docs/examples +for src in docs/*.c; do + if [ -r "$src" ]; then + ln -s "$src" "docs/examples/${src##*/}" + fi +done + %build # do no set CFLAGS which is used by the build system itself! -export XCFLAGS="%{optflags} -fPIC" -make %{?_smp_mflags} verbose=1 -ls -1 build/debug +export XCFLAGS="%{optflags} -fPIC -pthread" +make %{?_smp_mflags} \ + verbose=1 \ + NOCURL= \ + CURL_CFLAGS="$(pkg-config --libs libcurl)" \ + CURL_LIBS=" -pthread $(pkg-config --libs libcurl)" %install %make_install prefix=%{_prefix} libdir=%{_libdir} -# mutool is missing from the install target -install -p -m 755 build/debug/mutool %{buildroot}%{_bindir}/mutool -chmod 0644 %{buildroot}%{_includedir}/*.h \ +mv %{buildroot}%{_bindir}/mupdf-x11 %{buildroot}%{_bindir}/mupdf + +rm -rf %{buildroot}%{_datadir}/doc/ + +chmod 0644 %{buildroot}%{_includedir}/mupdf/*.h \ + %{buildroot}%{_includedir}/mupdf/*/*.h \ %{buildroot}%{_libdir}/*.a \ %{buildroot}%{_mandir}/man1/* -sed -e '/^Type=/aNoDisplay=true' -e '/\[Desktop Action View\]/,$d' \ - debian/mupdf.desktop > debian/mupdf.desktop.new -install -D -p -m 644 debian/mupdf.desktop.new \ +install -D -p -m 644 %{SOURCE1} \ %{buildroot}%{_datadir}/applications/%{name}.desktop -install -D -p -m 644 debian/mupdf.png \ +install -D -p -m 644 %{SOURCE2} \ %{buildroot}%{_datadir}/pixmaps/%{name}.png %suse_update_desktop_file mupdf @@ -98,7 +116,8 @@ %files %defattr(-,root,root) -%doc README COPYING +%doc CHANGES COPYING README docs/naming.txt docs/overview.txt +%doc docs/progressive.txt docs/refcount.txt docs/examples/ %{_bindir}/mupdf %{_bindir}/mudraw %{_bindir}/mutool @@ -108,7 +127,8 @@ %files devel-static %defattr(-,root,root,-) -%{_includedir}/*.h -%{_libdir}/libfitz.a +%{_includedir}/mupdf/ +%{_libdir}/libmupdf.a +%{_libdir}/libmupdf-js-none.a %changelog ++++++ mupdf-fix-openjpeg2.patch ++++++ 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 ++++++ mupdf.desktop ++++++ [Desktop Entry] Encoding=UTF-8 Name=MuPDF GenericName=PDF file viewer Comment=PDF file viewer Exec=mupdf %f Icon=mupdf Terminal=true Type=Application MimeType=application/pdf;application/x-pdf; Categories=Viewer;Graphics; NoDisplay=true -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org