From 9db47cb05785fd3b56ab8c563bbcad98af4ef30a5471d4fcce1c71af79a78f13 Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Sat, 6 Apr 2013 14:41:03 +0000 Subject: [PATCH] Accepting request 162971 from home:gberh:branches:Publishing - update to version 1.2 - Change licensing terms to GNU AGPL (from GNU GPL). - Renamed 'mubusy' to 'mutool'. - Add support for Javascript and forms handling. - PDF 1.7 Extension Level 8 encryption implemented. - Oversized and stroke text clipping implemented. - Prototype transition support. - Add fz_open_document_with_stream to allow non-file based operation. - Text searching API. - Highlight and copy text selection API. - Pass matrices and rectangles by reference for improved performance. - Change shadings to decompose at render times; massive memory savings. - Performance enhancements for color conversion and fax decompression. - ARM optimisations for color conversion and bitmap scaling. - Bitmap subsampling stage introduced, with ARM optimisations. - Type 3 fonts; glyphs are now handled as display lists. - Scan converter performance improvements. - Fix many SEGVs with out of spec files. - Various rendering fixes. OBS-URL: https://build.opensuse.org/request/show/162971 OBS-URL: https://build.opensuse.org/package/show/Publishing/mupdf?expand=0&rev=3 --- mupdf-1.1-source.tar.gz | 3 --- mupdf-1.2-source.zip | 3 +++ mupdf.changes | 27 +++++++++++++++++++++++++++ mupdf.spec | 34 +++++++++++++++++++--------------- 4 files changed, 49 insertions(+), 18 deletions(-) delete mode 100644 mupdf-1.1-source.tar.gz create mode 100644 mupdf-1.2-source.zip diff --git a/mupdf-1.1-source.tar.gz b/mupdf-1.1-source.tar.gz deleted file mode 100644 index c82b925..0000000 --- a/mupdf-1.1-source.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e54666bbe1d9f0a5464349bfbeffcf676c4a0fcad3efb89eba1f20d4ac991f34 -size 4281735 diff --git a/mupdf-1.2-source.zip b/mupdf-1.2-source.zip new file mode 100644 index 0000000..28c8294 --- /dev/null +++ b/mupdf-1.2-source.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9bc9e31ec27c091dad37f70940bd799e46ab6da4299bc58e803bff3dbb07dc3b +size 13808821 diff --git a/mupdf.changes b/mupdf.changes index 2a5bf67..6f74007 100644 --- a/mupdf.changes +++ b/mupdf.changes @@ -1,3 +1,30 @@ +------------------------------------------------------------------- +Fri Apr 5 17:31:25 UTC 2013 - gber@opensuse.org + +- update to version 1.2 + - Change licensing terms to GNU AGPL (from GNU GPL). + - Renamed 'mubusy' to 'mutool'. + - Add support for Javascript and forms handling. + - PDF 1.7 Extension Level 8 encryption implemented. + - Oversized and stroke text clipping implemented. + - Prototype transition support. + - Add fz_open_document_with_stream to allow non-file based + operation. + - Text searching API. + - Highlight and copy text selection API. + - Pass matrices and rectangles by reference for improved + performance. + - Change shadings to decompose at render times; massive memory + savings. + - Performance enhancements for color conversion and fax + decompression. + - ARM optimisations for color conversion and bitmap scaling. + - Bitmap subsampling stage introduced, with ARM optimisations. + - Type 3 fonts; glyphs are now handled as display lists. + - Scan converter performance improvements. + - Fix many SEGVs with out of spec files. + - Various rendering fixes. + ------------------------------------------------------------------- Wed Jan 16 21:51:03 UTC 2013 - gber@opensuse.org diff --git a/mupdf.spec b/mupdf.spec index 7b1dbc1..367cf46 100644 --- a/mupdf.spec +++ b/mupdf.spec @@ -1,7 +1,7 @@ # # spec file for package mupdf # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2011 Guido Berhoerster. # # All modifications and additions to the file contributed by third parties @@ -16,26 +16,26 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + Name: mupdf -Version: 1.1 +Version: 1.2 Release: 0 -License: GPL-3.0+ Summary: Lightweight PDF and XPS Viewer and Parser and Rendering Library -Url: http://mupdf.com/ +License: AGPL-3.0+ Group: Productivity/Office/Other -Source: http://mupdf.googlecode.com/files/mupdf-%{version}-source.tar.gz -BuildRequires: gcc-c++ +Url: http://mupdf.com/ +Source: http://mupdf.googlecode.com/files/mupdf-%{version}-source.zip BuildRequires: freetype-devel -BuildRequires: xorg-x11-devel -BuildRequires: openjpeg-devel -BuildRequires: libjpeg-devel -# workaround until jbig2dec-devel is fixed -BuildRequires: libjbig2dec0 +BuildRequires: gcc-c++ BuildRequires: jbig2dec-devel -BuildRequires: zlib-devel +BuildRequires: libjpeg-devel +BuildRequires: openjpeg-devel +BuildRequires: unzip +BuildRequires: update-desktop-files BuildRequires: v8-devel BuildRequires: v8-private-headers-devel -BuildRequires: update-desktop-files +BuildRequires: xorg-x11-devel +BuildRequires: zlib-devel Requires: xdg-utils BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -61,6 +61,8 @@ based on mupdf. %prep %setup -q -n %{name}-%{version}-source +# do not use the inlined copies of build dpendencies +rm -rf thirdparty %build export XCFLAGS="%{optflags}" @@ -68,7 +70,9 @@ make %{?_smp_mflags} verbose=1 ls -1 build/debug %install -%make_install prefix=%{buildroot}%{_prefix} libdir=%{buildroot}%{_libdir} +%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 \ %{buildroot}%{_libdir}/*.a \ @@ -93,7 +97,7 @@ install -D -p -m 644 debian/mupdf.png \ %doc README COPYING %{_bindir}/mupdf %{_bindir}/mudraw -%{_bindir}/mubusy +%{_bindir}/mutool %{_datadir}/applications/mupdf.desktop %{_datadir}/pixmaps/mupdf.png %{_mandir}/man1/mu*.1*