2013-02-17 01:18:54 +01:00
|
|
|
#
|
|
|
|
# spec file for package mupdf
|
|
|
|
#
|
2021-10-26 13:25:12 +02:00
|
|
|
# Copyright (c) 2021 SUSE LLC
|
2013-02-17 01:18:54 +01:00
|
|
|
# Copyright (c) 2011 Guido Berhoerster.
|
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
Accepting request 684259 from home:guoyunhe:branches:Publishing
- Add build dependencies:
* liblcms2-devel
* Mesa-libGL-devel
* freeglut-devel
* pkgconfig(openssl)
* pkgconfig(xi)
* pkgconfig(xrandr)
- Change COPYING to %licnese instead of %doc
- Update mupdf-no-strip.patch
- Add patches from Fedora project:
* mupdf-CVE-2018-16647.patch
* mupdf-CVE-2018-16648.patch
* mupdf-CVE-2018-18662.patch
* 0001-Fix-699840-Use-saved-sig_widget-pointer-to-sign-sign.patch
* 0001-Write-placeholder-appearance-streams-for-digital-sig.patch
* 0001-fix-build-on-big-endian.patch
- Update to version 1.14:
* New features:
* Added "Source Han Serif" CJK fallback font.
* Added more scripts to the Noto fallback fonts.
* Multi-page PNM support.
* "mutool show" now supports a path syntax for selecting objects to show.
* Build system simplifications:
* Auto-generated CMap, ICC, and JS source files are checked in to git.
* Embedded CMap resources are now generated by a python script.
* Embedded font resources are linked directly if using GNU ld or windows.
* Namegen tool replaced by use of C macros.
* Simplified Makefile.
* Annotation editing:
* New annotation editing mode in mupdf-gl.
* Can create, edit, and delete most annotation types.
* Can create appearance streams for most annotation types.
* Can create appearance streams for Tx form fields.
* Can create appearance streams for Ch form fields.
* Form filling in mupdf-gl:
* Can click buttons, checkboxes, and radioboxes.
* Can fill out text fields using dialog box.
* Can select choice options using dialog box.
* Can verify and sign digital signatures.
* Improved UI for mupdf-gl:
* Password dialog.
* Error dialog.
* Open/save file dialog.
* Snap selection to words or lines by holding control or control+shift.
* Save and restore current location, bookmarks, and navigation history.
* Bug fixes:
* Improved CJK character fallback handling in EPUB.
* API changes:
* Pass rectangle and matrix structs by value.
* Replaced PDF_NAME_Xxx macros with PDF_NAME(Xxx).
* Added PDF_TRUE, PDF_FALSE, and PDF_NULL constant pdf_obj* macros.
* Added helper functions: pdf_dict_get_int, etc.
* Removed 'doc' argument in pdf_new_int, etc.
* Quads instead of rects when highlighting and searching text.
* mutool run: Pass arguments to script in scriptArgs global.
OBS-URL: https://build.opensuse.org/request/show/684259
OBS-URL: https://build.opensuse.org/package/show/Publishing/mupdf?expand=0&rev=81
2019-03-12 14:41:52 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2013-02-17 01:18:54 +01:00
|
|
|
#
|
|
|
|
|
2013-04-06 16:41:03 +02:00
|
|
|
|
2013-02-17 01:18:54 +01:00
|
|
|
Name: mupdf
|
2021-10-26 13:25:12 +02:00
|
|
|
Version: 1.19.0
|
2013-02-17 01:18:54 +01:00
|
|
|
Release: 0
|
2018-05-01 09:59:17 +02:00
|
|
|
Summary: PDF and XPS Viewer and Parser and Rendering Library
|
|
|
|
License: AGPL-3.0-or-later
|
2013-02-17 01:18:54 +01:00
|
|
|
Group: Productivity/Office/Other
|
2020-06-12 10:32:42 +02:00
|
|
|
URL: https://mupdf.com/
|
2021-10-26 13:25:12 +02:00
|
|
|
Source0: https://mupdf.com/downloads/archive/%{name}-%{version}-source.tar.xz
|
Accepting request 684259 from home:guoyunhe:branches:Publishing
- Add build dependencies:
* liblcms2-devel
* Mesa-libGL-devel
* freeglut-devel
* pkgconfig(openssl)
* pkgconfig(xi)
* pkgconfig(xrandr)
- Change COPYING to %licnese instead of %doc
- Update mupdf-no-strip.patch
- Add patches from Fedora project:
* mupdf-CVE-2018-16647.patch
* mupdf-CVE-2018-16648.patch
* mupdf-CVE-2018-18662.patch
* 0001-Fix-699840-Use-saved-sig_widget-pointer-to-sign-sign.patch
* 0001-Write-placeholder-appearance-streams-for-digital-sig.patch
* 0001-fix-build-on-big-endian.patch
- Update to version 1.14:
* New features:
* Added "Source Han Serif" CJK fallback font.
* Added more scripts to the Noto fallback fonts.
* Multi-page PNM support.
* "mutool show" now supports a path syntax for selecting objects to show.
* Build system simplifications:
* Auto-generated CMap, ICC, and JS source files are checked in to git.
* Embedded CMap resources are now generated by a python script.
* Embedded font resources are linked directly if using GNU ld or windows.
* Namegen tool replaced by use of C macros.
* Simplified Makefile.
* Annotation editing:
* New annotation editing mode in mupdf-gl.
* Can create, edit, and delete most annotation types.
* Can create appearance streams for most annotation types.
* Can create appearance streams for Tx form fields.
* Can create appearance streams for Ch form fields.
* Form filling in mupdf-gl:
* Can click buttons, checkboxes, and radioboxes.
* Can fill out text fields using dialog box.
* Can select choice options using dialog box.
* Can verify and sign digital signatures.
* Improved UI for mupdf-gl:
* Password dialog.
* Error dialog.
* Open/save file dialog.
* Snap selection to words or lines by holding control or control+shift.
* Save and restore current location, bookmarks, and navigation history.
* Bug fixes:
* Improved CJK character fallback handling in EPUB.
* API changes:
* Pass rectangle and matrix structs by value.
* Replaced PDF_NAME_Xxx macros with PDF_NAME(Xxx).
* Added PDF_TRUE, PDF_FALSE, and PDF_NULL constant pdf_obj* macros.
* Added helper functions: pdf_dict_get_int, etc.
* Removed 'doc' argument in pdf_new_int, etc.
* Quads instead of rects when highlighting and searching text.
* mutool run: Pass arguments to script in scriptArgs global.
OBS-URL: https://build.opensuse.org/request/show/684259
OBS-URL: https://build.opensuse.org/package/show/Publishing/mupdf?expand=0&rev=81
2019-03-12 14:41:52 +01:00
|
|
|
Source1: %{name}.desktop
|
|
|
|
Source2: %{name}-gl.desktop
|
2018-04-23 10:42:50 +02:00
|
|
|
Patch0: mupdf-no-strip.patch
|
Accepting request 684259 from home:guoyunhe:branches:Publishing
- Add build dependencies:
* liblcms2-devel
* Mesa-libGL-devel
* freeglut-devel
* pkgconfig(openssl)
* pkgconfig(xi)
* pkgconfig(xrandr)
- Change COPYING to %licnese instead of %doc
- Update mupdf-no-strip.patch
- Add patches from Fedora project:
* mupdf-CVE-2018-16647.patch
* mupdf-CVE-2018-16648.patch
* mupdf-CVE-2018-18662.patch
* 0001-Fix-699840-Use-saved-sig_widget-pointer-to-sign-sign.patch
* 0001-Write-placeholder-appearance-streams-for-digital-sig.patch
* 0001-fix-build-on-big-endian.patch
- Update to version 1.14:
* New features:
* Added "Source Han Serif" CJK fallback font.
* Added more scripts to the Noto fallback fonts.
* Multi-page PNM support.
* "mutool show" now supports a path syntax for selecting objects to show.
* Build system simplifications:
* Auto-generated CMap, ICC, and JS source files are checked in to git.
* Embedded CMap resources are now generated by a python script.
* Embedded font resources are linked directly if using GNU ld or windows.
* Namegen tool replaced by use of C macros.
* Simplified Makefile.
* Annotation editing:
* New annotation editing mode in mupdf-gl.
* Can create, edit, and delete most annotation types.
* Can create appearance streams for most annotation types.
* Can create appearance streams for Tx form fields.
* Can create appearance streams for Ch form fields.
* Form filling in mupdf-gl:
* Can click buttons, checkboxes, and radioboxes.
* Can fill out text fields using dialog box.
* Can select choice options using dialog box.
* Can verify and sign digital signatures.
* Improved UI for mupdf-gl:
* Password dialog.
* Error dialog.
* Open/save file dialog.
* Snap selection to words or lines by holding control or control+shift.
* Save and restore current location, bookmarks, and navigation history.
* Bug fixes:
* Improved CJK character fallback handling in EPUB.
* API changes:
* Pass rectangle and matrix structs by value.
* Replaced PDF_NAME_Xxx macros with PDF_NAME(Xxx).
* Added PDF_TRUE, PDF_FALSE, and PDF_NULL constant pdf_obj* macros.
* Added helper functions: pdf_dict_get_int, etc.
* Removed 'doc' argument in pdf_new_int, etc.
* Quads instead of rects when highlighting and searching text.
* mutool run: Pass arguments to script in scriptArgs global.
OBS-URL: https://build.opensuse.org/request/show/684259
OBS-URL: https://build.opensuse.org/package/show/Publishing/mupdf?expand=0&rev=81
2019-03-12 14:41:52 +01:00
|
|
|
BuildRequires: Mesa-libGL-devel
|
2020-06-19 10:53:25 +02:00
|
|
|
BuildRequires: fdupes
|
Accepting request 684259 from home:guoyunhe:branches:Publishing
- Add build dependencies:
* liblcms2-devel
* Mesa-libGL-devel
* freeglut-devel
* pkgconfig(openssl)
* pkgconfig(xi)
* pkgconfig(xrandr)
- Change COPYING to %licnese instead of %doc
- Update mupdf-no-strip.patch
- Add patches from Fedora project:
* mupdf-CVE-2018-16647.patch
* mupdf-CVE-2018-16648.patch
* mupdf-CVE-2018-18662.patch
* 0001-Fix-699840-Use-saved-sig_widget-pointer-to-sign-sign.patch
* 0001-Write-placeholder-appearance-streams-for-digital-sig.patch
* 0001-fix-build-on-big-endian.patch
- Update to version 1.14:
* New features:
* Added "Source Han Serif" CJK fallback font.
* Added more scripts to the Noto fallback fonts.
* Multi-page PNM support.
* "mutool show" now supports a path syntax for selecting objects to show.
* Build system simplifications:
* Auto-generated CMap, ICC, and JS source files are checked in to git.
* Embedded CMap resources are now generated by a python script.
* Embedded font resources are linked directly if using GNU ld or windows.
* Namegen tool replaced by use of C macros.
* Simplified Makefile.
* Annotation editing:
* New annotation editing mode in mupdf-gl.
* Can create, edit, and delete most annotation types.
* Can create appearance streams for most annotation types.
* Can create appearance streams for Tx form fields.
* Can create appearance streams for Ch form fields.
* Form filling in mupdf-gl:
* Can click buttons, checkboxes, and radioboxes.
* Can fill out text fields using dialog box.
* Can select choice options using dialog box.
* Can verify and sign digital signatures.
* Improved UI for mupdf-gl:
* Password dialog.
* Error dialog.
* Open/save file dialog.
* Snap selection to words or lines by holding control or control+shift.
* Save and restore current location, bookmarks, and navigation history.
* Bug fixes:
* Improved CJK character fallback handling in EPUB.
* API changes:
* Pass rectangle and matrix structs by value.
* Replaced PDF_NAME_Xxx macros with PDF_NAME(Xxx).
* Added PDF_TRUE, PDF_FALSE, and PDF_NULL constant pdf_obj* macros.
* Added helper functions: pdf_dict_get_int, etc.
* Removed 'doc' argument in pdf_new_int, etc.
* Quads instead of rects when highlighting and searching text.
* mutool run: Pass arguments to script in scriptArgs global.
OBS-URL: https://build.opensuse.org/request/show/684259
OBS-URL: https://build.opensuse.org/package/show/Publishing/mupdf?expand=0&rev=81
2019-03-12 14:41:52 +01:00
|
|
|
BuildRequires: freeglut-devel
|
2018-02-06 15:43:26 +01:00
|
|
|
BuildRequires: freetype2-devel
|
2013-04-06 16:41:03 +02:00
|
|
|
BuildRequires: gcc-c++
|
2013-02-17 01:18:54 +01:00
|
|
|
BuildRequires: jbig2dec-devel
|
2014-01-06 04:43:18 +01:00
|
|
|
BuildRequires: libcurl-devel
|
2021-10-26 13:25:12 +02:00
|
|
|
BuildRequires: libgumbo-devel
|
2013-04-06 16:41:03 +02:00
|
|
|
BuildRequires: libjpeg-devel
|
2014-01-06 04:43:18 +01:00
|
|
|
BuildRequires: openjpeg2-devel
|
2017-11-10 13:06:00 +01:00
|
|
|
BuildRequires: pkgconfig
|
2013-04-06 16:41:03 +02:00
|
|
|
BuildRequires: update-desktop-files
|
|
|
|
BuildRequires: zlib-devel
|
2016-04-19 11:54:56 +02:00
|
|
|
BuildRequires: pkgconfig(harfbuzz)
|
Accepting request 684259 from home:guoyunhe:branches:Publishing
- Add build dependencies:
* liblcms2-devel
* Mesa-libGL-devel
* freeglut-devel
* pkgconfig(openssl)
* pkgconfig(xi)
* pkgconfig(xrandr)
- Change COPYING to %licnese instead of %doc
- Update mupdf-no-strip.patch
- Add patches from Fedora project:
* mupdf-CVE-2018-16647.patch
* mupdf-CVE-2018-16648.patch
* mupdf-CVE-2018-18662.patch
* 0001-Fix-699840-Use-saved-sig_widget-pointer-to-sign-sign.patch
* 0001-Write-placeholder-appearance-streams-for-digital-sig.patch
* 0001-fix-build-on-big-endian.patch
- Update to version 1.14:
* New features:
* Added "Source Han Serif" CJK fallback font.
* Added more scripts to the Noto fallback fonts.
* Multi-page PNM support.
* "mutool show" now supports a path syntax for selecting objects to show.
* Build system simplifications:
* Auto-generated CMap, ICC, and JS source files are checked in to git.
* Embedded CMap resources are now generated by a python script.
* Embedded font resources are linked directly if using GNU ld or windows.
* Namegen tool replaced by use of C macros.
* Simplified Makefile.
* Annotation editing:
* New annotation editing mode in mupdf-gl.
* Can create, edit, and delete most annotation types.
* Can create appearance streams for most annotation types.
* Can create appearance streams for Tx form fields.
* Can create appearance streams for Ch form fields.
* Form filling in mupdf-gl:
* Can click buttons, checkboxes, and radioboxes.
* Can fill out text fields using dialog box.
* Can select choice options using dialog box.
* Can verify and sign digital signatures.
* Improved UI for mupdf-gl:
* Password dialog.
* Error dialog.
* Open/save file dialog.
* Snap selection to words or lines by holding control or control+shift.
* Save and restore current location, bookmarks, and navigation history.
* Bug fixes:
* Improved CJK character fallback handling in EPUB.
* API changes:
* Pass rectangle and matrix structs by value.
* Replaced PDF_NAME_Xxx macros with PDF_NAME(Xxx).
* Added PDF_TRUE, PDF_FALSE, and PDF_NULL constant pdf_obj* macros.
* Added helper functions: pdf_dict_get_int, etc.
* Removed 'doc' argument in pdf_new_int, etc.
* Quads instead of rects when highlighting and searching text.
* mutool run: Pass arguments to script in scriptArgs global.
OBS-URL: https://build.opensuse.org/request/show/684259
OBS-URL: https://build.opensuse.org/package/show/Publishing/mupdf?expand=0&rev=81
2019-03-12 14:41:52 +01:00
|
|
|
BuildRequires: pkgconfig(lcms2)
|
|
|
|
BuildRequires: pkgconfig(openssl)
|
2018-02-14 23:46:47 +01:00
|
|
|
BuildRequires: pkgconfig(x11)
|
|
|
|
BuildRequires: pkgconfig(xext)
|
Accepting request 684259 from home:guoyunhe:branches:Publishing
- Add build dependencies:
* liblcms2-devel
* Mesa-libGL-devel
* freeglut-devel
* pkgconfig(openssl)
* pkgconfig(xi)
* pkgconfig(xrandr)
- Change COPYING to %licnese instead of %doc
- Update mupdf-no-strip.patch
- Add patches from Fedora project:
* mupdf-CVE-2018-16647.patch
* mupdf-CVE-2018-16648.patch
* mupdf-CVE-2018-18662.patch
* 0001-Fix-699840-Use-saved-sig_widget-pointer-to-sign-sign.patch
* 0001-Write-placeholder-appearance-streams-for-digital-sig.patch
* 0001-fix-build-on-big-endian.patch
- Update to version 1.14:
* New features:
* Added "Source Han Serif" CJK fallback font.
* Added more scripts to the Noto fallback fonts.
* Multi-page PNM support.
* "mutool show" now supports a path syntax for selecting objects to show.
* Build system simplifications:
* Auto-generated CMap, ICC, and JS source files are checked in to git.
* Embedded CMap resources are now generated by a python script.
* Embedded font resources are linked directly if using GNU ld or windows.
* Namegen tool replaced by use of C macros.
* Simplified Makefile.
* Annotation editing:
* New annotation editing mode in mupdf-gl.
* Can create, edit, and delete most annotation types.
* Can create appearance streams for most annotation types.
* Can create appearance streams for Tx form fields.
* Can create appearance streams for Ch form fields.
* Form filling in mupdf-gl:
* Can click buttons, checkboxes, and radioboxes.
* Can fill out text fields using dialog box.
* Can select choice options using dialog box.
* Can verify and sign digital signatures.
* Improved UI for mupdf-gl:
* Password dialog.
* Error dialog.
* Open/save file dialog.
* Snap selection to words or lines by holding control or control+shift.
* Save and restore current location, bookmarks, and navigation history.
* Bug fixes:
* Improved CJK character fallback handling in EPUB.
* API changes:
* Pass rectangle and matrix structs by value.
* Replaced PDF_NAME_Xxx macros with PDF_NAME(Xxx).
* Added PDF_TRUE, PDF_FALSE, and PDF_NULL constant pdf_obj* macros.
* Added helper functions: pdf_dict_get_int, etc.
* Removed 'doc' argument in pdf_new_int, etc.
* Quads instead of rects when highlighting and searching text.
* mutool run: Pass arguments to script in scriptArgs global.
OBS-URL: https://build.opensuse.org/request/show/684259
OBS-URL: https://build.opensuse.org/package/show/Publishing/mupdf?expand=0&rev=81
2019-03-12 14:41:52 +01:00
|
|
|
BuildRequires: pkgconfig(xi)
|
|
|
|
BuildRequires: pkgconfig(xrandr)
|
2013-02-17 01:18:54 +01:00
|
|
|
Requires: xdg-utils
|
|
|
|
|
|
|
|
%description
|
2018-05-01 09:59:17 +02:00
|
|
|
MuPDF is a PDF and XPS viewer and parser/rendering library.
|
2013-02-17 01:18:54 +01:00
|
|
|
|
2018-05-01 09:59:17 +02:00
|
|
|
The renderer in MuPDF is tailored for anti-aliased graphics. It
|
|
|
|
renders text with metrics and spacing accurate to within fractions of
|
|
|
|
a pixel for reproducing the look of a printed page on screen.
|
2013-02-17 01:18:54 +01:00
|
|
|
|
2018-05-01 09:59:17 +02:00
|
|
|
MuPDF supports PDF 1.7 with transparency, encryption, hyperlinks,
|
|
|
|
annotations and search. MuPDF can also read XPS documents
|
|
|
|
(OpenXPS/ECMA-388).
|
2013-02-17 01:18:54 +01:00
|
|
|
|
|
|
|
%package devel-static
|
|
|
|
Summary: Development Files for mupdf
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
|
|
|
|
%description devel-static
|
|
|
|
This package contains development files needed for developing applications
|
|
|
|
based on mupdf.
|
|
|
|
|
|
|
|
%prep
|
2020-06-19 10:53:25 +02:00
|
|
|
%autosetup -p1 -n %{name}-%{version}-source
|
Accepting request 684259 from home:guoyunhe:branches:Publishing
- Add build dependencies:
* liblcms2-devel
* Mesa-libGL-devel
* freeglut-devel
* pkgconfig(openssl)
* pkgconfig(xi)
* pkgconfig(xrandr)
- Change COPYING to %licnese instead of %doc
- Update mupdf-no-strip.patch
- Add patches from Fedora project:
* mupdf-CVE-2018-16647.patch
* mupdf-CVE-2018-16648.patch
* mupdf-CVE-2018-18662.patch
* 0001-Fix-699840-Use-saved-sig_widget-pointer-to-sign-sign.patch
* 0001-Write-placeholder-appearance-streams-for-digital-sig.patch
* 0001-fix-build-on-big-endian.patch
- Update to version 1.14:
* New features:
* Added "Source Han Serif" CJK fallback font.
* Added more scripts to the Noto fallback fonts.
* Multi-page PNM support.
* "mutool show" now supports a path syntax for selecting objects to show.
* Build system simplifications:
* Auto-generated CMap, ICC, and JS source files are checked in to git.
* Embedded CMap resources are now generated by a python script.
* Embedded font resources are linked directly if using GNU ld or windows.
* Namegen tool replaced by use of C macros.
* Simplified Makefile.
* Annotation editing:
* New annotation editing mode in mupdf-gl.
* Can create, edit, and delete most annotation types.
* Can create appearance streams for most annotation types.
* Can create appearance streams for Tx form fields.
* Can create appearance streams for Ch form fields.
* Form filling in mupdf-gl:
* Can click buttons, checkboxes, and radioboxes.
* Can fill out text fields using dialog box.
* Can select choice options using dialog box.
* Can verify and sign digital signatures.
* Improved UI for mupdf-gl:
* Password dialog.
* Error dialog.
* Open/save file dialog.
* Snap selection to words or lines by holding control or control+shift.
* Save and restore current location, bookmarks, and navigation history.
* Bug fixes:
* Improved CJK character fallback handling in EPUB.
* API changes:
* Pass rectangle and matrix structs by value.
* Replaced PDF_NAME_Xxx macros with PDF_NAME(Xxx).
* Added PDF_TRUE, PDF_FALSE, and PDF_NULL constant pdf_obj* macros.
* Added helper functions: pdf_dict_get_int, etc.
* Removed 'doc' argument in pdf_new_int, etc.
* Quads instead of rects when highlighting and searching text.
* mutool run: Pass arguments to script in scriptArgs global.
OBS-URL: https://build.opensuse.org/request/show/684259
OBS-URL: https://build.opensuse.org/package/show/Publishing/mupdf?expand=0&rev=81
2019-03-12 14:41:52 +01:00
|
|
|
|
2021-10-26 13:25:12 +02:00
|
|
|
for d in $(ls thirdparty | grep -v -e freeglut -e lcms2 -e mujs -e extract)
|
Accepting request 684259 from home:guoyunhe:branches:Publishing
- Add build dependencies:
* liblcms2-devel
* Mesa-libGL-devel
* freeglut-devel
* pkgconfig(openssl)
* pkgconfig(xi)
* pkgconfig(xrandr)
- Change COPYING to %licnese instead of %doc
- Update mupdf-no-strip.patch
- Add patches from Fedora project:
* mupdf-CVE-2018-16647.patch
* mupdf-CVE-2018-16648.patch
* mupdf-CVE-2018-18662.patch
* 0001-Fix-699840-Use-saved-sig_widget-pointer-to-sign-sign.patch
* 0001-Write-placeholder-appearance-streams-for-digital-sig.patch
* 0001-fix-build-on-big-endian.patch
- Update to version 1.14:
* New features:
* Added "Source Han Serif" CJK fallback font.
* Added more scripts to the Noto fallback fonts.
* Multi-page PNM support.
* "mutool show" now supports a path syntax for selecting objects to show.
* Build system simplifications:
* Auto-generated CMap, ICC, and JS source files are checked in to git.
* Embedded CMap resources are now generated by a python script.
* Embedded font resources are linked directly if using GNU ld or windows.
* Namegen tool replaced by use of C macros.
* Simplified Makefile.
* Annotation editing:
* New annotation editing mode in mupdf-gl.
* Can create, edit, and delete most annotation types.
* Can create appearance streams for most annotation types.
* Can create appearance streams for Tx form fields.
* Can create appearance streams for Ch form fields.
* Form filling in mupdf-gl:
* Can click buttons, checkboxes, and radioboxes.
* Can fill out text fields using dialog box.
* Can select choice options using dialog box.
* Can verify and sign digital signatures.
* Improved UI for mupdf-gl:
* Password dialog.
* Error dialog.
* Open/save file dialog.
* Snap selection to words or lines by holding control or control+shift.
* Save and restore current location, bookmarks, and navigation history.
* Bug fixes:
* Improved CJK character fallback handling in EPUB.
* API changes:
* Pass rectangle and matrix structs by value.
* Replaced PDF_NAME_Xxx macros with PDF_NAME(Xxx).
* Added PDF_TRUE, PDF_FALSE, and PDF_NULL constant pdf_obj* macros.
* Added helper functions: pdf_dict_get_int, etc.
* Removed 'doc' argument in pdf_new_int, etc.
* Quads instead of rects when highlighting and searching text.
* mutool run: Pass arguments to script in scriptArgs global.
OBS-URL: https://build.opensuse.org/request/show/684259
OBS-URL: https://build.opensuse.org/package/show/Publishing/mupdf?expand=0&rev=81
2019-03-12 14:41:52 +01:00
|
|
|
do
|
|
|
|
rm -rf thirdparty/$d
|
2014-01-06 04:43:18 +01:00
|
|
|
done
|
|
|
|
|
Accepting request 684259 from home:guoyunhe:branches:Publishing
- Add build dependencies:
* liblcms2-devel
* Mesa-libGL-devel
* freeglut-devel
* pkgconfig(openssl)
* pkgconfig(xi)
* pkgconfig(xrandr)
- Change COPYING to %licnese instead of %doc
- Update mupdf-no-strip.patch
- Add patches from Fedora project:
* mupdf-CVE-2018-16647.patch
* mupdf-CVE-2018-16648.patch
* mupdf-CVE-2018-18662.patch
* 0001-Fix-699840-Use-saved-sig_widget-pointer-to-sign-sign.patch
* 0001-Write-placeholder-appearance-streams-for-digital-sig.patch
* 0001-fix-build-on-big-endian.patch
- Update to version 1.14:
* New features:
* Added "Source Han Serif" CJK fallback font.
* Added more scripts to the Noto fallback fonts.
* Multi-page PNM support.
* "mutool show" now supports a path syntax for selecting objects to show.
* Build system simplifications:
* Auto-generated CMap, ICC, and JS source files are checked in to git.
* Embedded CMap resources are now generated by a python script.
* Embedded font resources are linked directly if using GNU ld or windows.
* Namegen tool replaced by use of C macros.
* Simplified Makefile.
* Annotation editing:
* New annotation editing mode in mupdf-gl.
* Can create, edit, and delete most annotation types.
* Can create appearance streams for most annotation types.
* Can create appearance streams for Tx form fields.
* Can create appearance streams for Ch form fields.
* Form filling in mupdf-gl:
* Can click buttons, checkboxes, and radioboxes.
* Can fill out text fields using dialog box.
* Can select choice options using dialog box.
* Can verify and sign digital signatures.
* Improved UI for mupdf-gl:
* Password dialog.
* Error dialog.
* Open/save file dialog.
* Snap selection to words or lines by holding control or control+shift.
* Save and restore current location, bookmarks, and navigation history.
* Bug fixes:
* Improved CJK character fallback handling in EPUB.
* API changes:
* Pass rectangle and matrix structs by value.
* Replaced PDF_NAME_Xxx macros with PDF_NAME(Xxx).
* Added PDF_TRUE, PDF_FALSE, and PDF_NULL constant pdf_obj* macros.
* Added helper functions: pdf_dict_get_int, etc.
* Removed 'doc' argument in pdf_new_int, etc.
* Quads instead of rects when highlighting and searching text.
* mutool run: Pass arguments to script in scriptArgs global.
OBS-URL: https://build.opensuse.org/request/show/684259
OBS-URL: https://build.opensuse.org/package/show/Publishing/mupdf?expand=0&rev=81
2019-03-12 14:41:52 +01:00
|
|
|
echo > user.make "\
|
|
|
|
USE_SYSTEM_FREETYPE := yes
|
|
|
|
USE_SYSTEM_HARFBUZZ := yes
|
|
|
|
USE_SYSTEM_JBIG2DEC := yes
|
|
|
|
USE_SYSTEM_JPEGXR := yes # not used without HAVE_JPEGXR
|
|
|
|
USE_SYSTEM_LCMS2 := no # need lcms2-art fork
|
|
|
|
USE_SYSTEM_LIBJPEG := yes
|
|
|
|
USE_SYSTEM_MUJS := no # build needs source anyways
|
|
|
|
USE_SYSTEM_OPENJPEG := yes
|
|
|
|
USE_SYSTEM_ZLIB := yes
|
|
|
|
USE_SYSTEM_GLUT := no # need freeglut2-art frok
|
|
|
|
USE_SYSTEM_CURL := yes
|
2020-10-26 07:58:56 +01:00
|
|
|
USE_SYSTEM_GUMBO := yes
|
Accepting request 684259 from home:guoyunhe:branches:Publishing
- Add build dependencies:
* liblcms2-devel
* Mesa-libGL-devel
* freeglut-devel
* pkgconfig(openssl)
* pkgconfig(xi)
* pkgconfig(xrandr)
- Change COPYING to %licnese instead of %doc
- Update mupdf-no-strip.patch
- Add patches from Fedora project:
* mupdf-CVE-2018-16647.patch
* mupdf-CVE-2018-16648.patch
* mupdf-CVE-2018-18662.patch
* 0001-Fix-699840-Use-saved-sig_widget-pointer-to-sign-sign.patch
* 0001-Write-placeholder-appearance-streams-for-digital-sig.patch
* 0001-fix-build-on-big-endian.patch
- Update to version 1.14:
* New features:
* Added "Source Han Serif" CJK fallback font.
* Added more scripts to the Noto fallback fonts.
* Multi-page PNM support.
* "mutool show" now supports a path syntax for selecting objects to show.
* Build system simplifications:
* Auto-generated CMap, ICC, and JS source files are checked in to git.
* Embedded CMap resources are now generated by a python script.
* Embedded font resources are linked directly if using GNU ld or windows.
* Namegen tool replaced by use of C macros.
* Simplified Makefile.
* Annotation editing:
* New annotation editing mode in mupdf-gl.
* Can create, edit, and delete most annotation types.
* Can create appearance streams for most annotation types.
* Can create appearance streams for Tx form fields.
* Can create appearance streams for Ch form fields.
* Form filling in mupdf-gl:
* Can click buttons, checkboxes, and radioboxes.
* Can fill out text fields using dialog box.
* Can select choice options using dialog box.
* Can verify and sign digital signatures.
* Improved UI for mupdf-gl:
* Password dialog.
* Error dialog.
* Open/save file dialog.
* Snap selection to words or lines by holding control or control+shift.
* Save and restore current location, bookmarks, and navigation history.
* Bug fixes:
* Improved CJK character fallback handling in EPUB.
* API changes:
* Pass rectangle and matrix structs by value.
* Replaced PDF_NAME_Xxx macros with PDF_NAME(Xxx).
* Added PDF_TRUE, PDF_FALSE, and PDF_NULL constant pdf_obj* macros.
* Added helper functions: pdf_dict_get_int, etc.
* Removed 'doc' argument in pdf_new_int, etc.
* Quads instead of rects when highlighting and searching text.
* mutool run: Pass arguments to script in scriptArgs global.
OBS-URL: https://build.opensuse.org/request/show/684259
OBS-URL: https://build.opensuse.org/package/show/Publishing/mupdf?expand=0&rev=81
2019-03-12 14:41:52 +01:00
|
|
|
"
|
2016-12-21 12:55:23 +01:00
|
|
|
|
2013-02-17 01:18:54 +01:00
|
|
|
%build
|
2019-09-10 14:34:19 +02:00
|
|
|
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
|
2020-06-12 10:32:42 +02:00
|
|
|
export XCFLAGS="%{optflags} -fcommon -fPIC -DJBIG_NO_MEMENTO -DTOFU -DTOFU_CJK"
|
|
|
|
%make_build build=release verbose=yes
|
2013-02-17 01:18:54 +01:00
|
|
|
|
|
|
|
%install
|
2015-11-12 14:24:11 +01:00
|
|
|
%make_install build=release prefix=%{_prefix} libdir=%{_libdir}
|
Accepting request 684259 from home:guoyunhe:branches:Publishing
- Add build dependencies:
* liblcms2-devel
* Mesa-libGL-devel
* freeglut-devel
* pkgconfig(openssl)
* pkgconfig(xi)
* pkgconfig(xrandr)
- Change COPYING to %licnese instead of %doc
- Update mupdf-no-strip.patch
- Add patches from Fedora project:
* mupdf-CVE-2018-16647.patch
* mupdf-CVE-2018-16648.patch
* mupdf-CVE-2018-18662.patch
* 0001-Fix-699840-Use-saved-sig_widget-pointer-to-sign-sign.patch
* 0001-Write-placeholder-appearance-streams-for-digital-sig.patch
* 0001-fix-build-on-big-endian.patch
- Update to version 1.14:
* New features:
* Added "Source Han Serif" CJK fallback font.
* Added more scripts to the Noto fallback fonts.
* Multi-page PNM support.
* "mutool show" now supports a path syntax for selecting objects to show.
* Build system simplifications:
* Auto-generated CMap, ICC, and JS source files are checked in to git.
* Embedded CMap resources are now generated by a python script.
* Embedded font resources are linked directly if using GNU ld or windows.
* Namegen tool replaced by use of C macros.
* Simplified Makefile.
* Annotation editing:
* New annotation editing mode in mupdf-gl.
* Can create, edit, and delete most annotation types.
* Can create appearance streams for most annotation types.
* Can create appearance streams for Tx form fields.
* Can create appearance streams for Ch form fields.
* Form filling in mupdf-gl:
* Can click buttons, checkboxes, and radioboxes.
* Can fill out text fields using dialog box.
* Can select choice options using dialog box.
* Can verify and sign digital signatures.
* Improved UI for mupdf-gl:
* Password dialog.
* Error dialog.
* Open/save file dialog.
* Snap selection to words or lines by holding control or control+shift.
* Save and restore current location, bookmarks, and navigation history.
* Bug fixes:
* Improved CJK character fallback handling in EPUB.
* API changes:
* Pass rectangle and matrix structs by value.
* Replaced PDF_NAME_Xxx macros with PDF_NAME(Xxx).
* Added PDF_TRUE, PDF_FALSE, and PDF_NULL constant pdf_obj* macros.
* Added helper functions: pdf_dict_get_int, etc.
* Removed 'doc' argument in pdf_new_int, etc.
* Quads instead of rects when highlighting and searching text.
* mutool run: Pass arguments to script in scriptArgs global.
OBS-URL: https://build.opensuse.org/request/show/684259
OBS-URL: https://build.opensuse.org/package/show/Publishing/mupdf?expand=0&rev=81
2019-03-12 14:41:52 +01:00
|
|
|
rm -rf %{buildroot}%{_datadir}/doc/%{name}
|
|
|
|
desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{SOURCE1}
|
|
|
|
desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{SOURCE2}
|
|
|
|
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/scalable/apps
|
|
|
|
install -p -m644 docs/logo/mupdf-logo.svg %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/mupdf.svg
|
|
|
|
install -p -m644 docs/logo/mupdf-logo.svg %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/mupdf-gl.svg
|
|
|
|
## fix strange permissons
|
|
|
|
chmod 0644 %{buildroot}%{_libdir}/*.a
|
|
|
|
find %{buildroot}/%{_mandir} -type f -exec chmod 0644 {} \;
|
|
|
|
find %{buildroot}/%{_includedir} -type f -exec chmod 0644 {} \;
|
|
|
|
cd %{buildroot}/%{_bindir} && ln -s %{name}-x11 %{name}
|
2020-06-19 10:53:25 +02:00
|
|
|
%fdupes %{buildroot}%{_datadir}
|
2016-11-24 16:06:32 +01:00
|
|
|
|
2013-02-17 01:18:54 +01:00
|
|
|
%suse_update_desktop_file mupdf
|
|
|
|
|
2017-11-10 13:06:00 +01:00
|
|
|
%if 0%{?suse_version} <= 1320
|
2013-02-17 01:18:54 +01:00
|
|
|
%post
|
|
|
|
%desktop_database_post
|
|
|
|
|
|
|
|
%postun
|
|
|
|
%desktop_database_postun
|
2017-11-10 13:06:00 +01:00
|
|
|
%endif
|
2013-02-17 01:18:54 +01:00
|
|
|
|
|
|
|
%files
|
Accepting request 684259 from home:guoyunhe:branches:Publishing
- Add build dependencies:
* liblcms2-devel
* Mesa-libGL-devel
* freeglut-devel
* pkgconfig(openssl)
* pkgconfig(xi)
* pkgconfig(xrandr)
- Change COPYING to %licnese instead of %doc
- Update mupdf-no-strip.patch
- Add patches from Fedora project:
* mupdf-CVE-2018-16647.patch
* mupdf-CVE-2018-16648.patch
* mupdf-CVE-2018-18662.patch
* 0001-Fix-699840-Use-saved-sig_widget-pointer-to-sign-sign.patch
* 0001-Write-placeholder-appearance-streams-for-digital-sig.patch
* 0001-fix-build-on-big-endian.patch
- Update to version 1.14:
* New features:
* Added "Source Han Serif" CJK fallback font.
* Added more scripts to the Noto fallback fonts.
* Multi-page PNM support.
* "mutool show" now supports a path syntax for selecting objects to show.
* Build system simplifications:
* Auto-generated CMap, ICC, and JS source files are checked in to git.
* Embedded CMap resources are now generated by a python script.
* Embedded font resources are linked directly if using GNU ld or windows.
* Namegen tool replaced by use of C macros.
* Simplified Makefile.
* Annotation editing:
* New annotation editing mode in mupdf-gl.
* Can create, edit, and delete most annotation types.
* Can create appearance streams for most annotation types.
* Can create appearance streams for Tx form fields.
* Can create appearance streams for Ch form fields.
* Form filling in mupdf-gl:
* Can click buttons, checkboxes, and radioboxes.
* Can fill out text fields using dialog box.
* Can select choice options using dialog box.
* Can verify and sign digital signatures.
* Improved UI for mupdf-gl:
* Password dialog.
* Error dialog.
* Open/save file dialog.
* Snap selection to words or lines by holding control or control+shift.
* Save and restore current location, bookmarks, and navigation history.
* Bug fixes:
* Improved CJK character fallback handling in EPUB.
* API changes:
* Pass rectangle and matrix structs by value.
* Replaced PDF_NAME_Xxx macros with PDF_NAME(Xxx).
* Added PDF_TRUE, PDF_FALSE, and PDF_NULL constant pdf_obj* macros.
* Added helper functions: pdf_dict_get_int, etc.
* Removed 'doc' argument in pdf_new_int, etc.
* Quads instead of rects when highlighting and searching text.
* mutool run: Pass arguments to script in scriptArgs global.
OBS-URL: https://build.opensuse.org/request/show/684259
OBS-URL: https://build.opensuse.org/package/show/Publishing/mupdf?expand=0&rev=81
2019-03-12 14:41:52 +01:00
|
|
|
%doc README CHANGES docs/*
|
|
|
|
%license COPYING
|
|
|
|
%{_bindir}/*
|
|
|
|
%{_datadir}/applications/mupdf*.desktop
|
|
|
|
%{_datadir}/icons/hicolor
|
|
|
|
%{_datadir}/icons/hicolor/scalable
|
|
|
|
%{_datadir}/icons/hicolor/scalable/apps
|
|
|
|
%{_datadir}/icons/hicolor/scalable/apps/*
|
2020-06-12 10:32:42 +02:00
|
|
|
%{_mandir}/man1/*.1%{?ext_man}
|
2013-02-17 01:18:54 +01:00
|
|
|
|
|
|
|
%files devel-static
|
Accepting request 684259 from home:guoyunhe:branches:Publishing
- Add build dependencies:
* liblcms2-devel
* Mesa-libGL-devel
* freeglut-devel
* pkgconfig(openssl)
* pkgconfig(xi)
* pkgconfig(xrandr)
- Change COPYING to %licnese instead of %doc
- Update mupdf-no-strip.patch
- Add patches from Fedora project:
* mupdf-CVE-2018-16647.patch
* mupdf-CVE-2018-16648.patch
* mupdf-CVE-2018-18662.patch
* 0001-Fix-699840-Use-saved-sig_widget-pointer-to-sign-sign.patch
* 0001-Write-placeholder-appearance-streams-for-digital-sig.patch
* 0001-fix-build-on-big-endian.patch
- Update to version 1.14:
* New features:
* Added "Source Han Serif" CJK fallback font.
* Added more scripts to the Noto fallback fonts.
* Multi-page PNM support.
* "mutool show" now supports a path syntax for selecting objects to show.
* Build system simplifications:
* Auto-generated CMap, ICC, and JS source files are checked in to git.
* Embedded CMap resources are now generated by a python script.
* Embedded font resources are linked directly if using GNU ld or windows.
* Namegen tool replaced by use of C macros.
* Simplified Makefile.
* Annotation editing:
* New annotation editing mode in mupdf-gl.
* Can create, edit, and delete most annotation types.
* Can create appearance streams for most annotation types.
* Can create appearance streams for Tx form fields.
* Can create appearance streams for Ch form fields.
* Form filling in mupdf-gl:
* Can click buttons, checkboxes, and radioboxes.
* Can fill out text fields using dialog box.
* Can select choice options using dialog box.
* Can verify and sign digital signatures.
* Improved UI for mupdf-gl:
* Password dialog.
* Error dialog.
* Open/save file dialog.
* Snap selection to words or lines by holding control or control+shift.
* Save and restore current location, bookmarks, and navigation history.
* Bug fixes:
* Improved CJK character fallback handling in EPUB.
* API changes:
* Pass rectangle and matrix structs by value.
* Replaced PDF_NAME_Xxx macros with PDF_NAME(Xxx).
* Added PDF_TRUE, PDF_FALSE, and PDF_NULL constant pdf_obj* macros.
* Added helper functions: pdf_dict_get_int, etc.
* Removed 'doc' argument in pdf_new_int, etc.
* Quads instead of rects when highlighting and searching text.
* mutool run: Pass arguments to script in scriptArgs global.
OBS-URL: https://build.opensuse.org/request/show/684259
OBS-URL: https://build.opensuse.org/package/show/Publishing/mupdf?expand=0&rev=81
2019-03-12 14:41:52 +01:00
|
|
|
%{_includedir}/%{name}
|
|
|
|
%{_libdir}/lib%{name}*.a
|
2013-02-17 01:18:54 +01:00
|
|
|
|
|
|
|
%changelog
|