[packages/mupdf] up to 1.23.0

atler atler at pld-linux.org
Sat Aug 26 15:20:31 CEST 2023


commit d546f9dcb9e91d28616ae1d3c125a2ff935a9f68
Author: Jan Palus <atler at pld-linux.org>
Date:   Sat Aug 26 14:33:51 2023 +0200

    up to 1.23.0

 mupdf-flags.patch |  4 ++--
 mupdf.spec        | 11 ++++++++---
 2 files changed, 10 insertions(+), 5 deletions(-)
---
diff --git a/mupdf.spec b/mupdf.spec
index 8c003ff..466fd0f 100644
--- a/mupdf.spec
+++ b/mupdf.spec
@@ -1,12 +1,12 @@
 Summary:	MuPDF - lightweight PDF, XPS and CBZ viewer and parser/rendering library
 Summary(pl.UTF-8):	MuPDF - lekka przeglądarka PDF, XPS, CBZ
 Name:		mupdf
-Version:	1.22.2
+Version:	1.23.0
 Release:	1
 License:	AGPL v3+
 Group:		Applications/Text
 Source0:	https://www.mupdf.com/downloads/archive/%{name}-%{version}-source.tar.gz
-# Source0-md5:	d37d404e28bdd8f43601d3bc20603d38
+# Source0-md5:	2d24237298fb5e28d0e1e65d0cb9591a
 Patch0:		%{name}-soname.patch
 Patch1:		%{name}-flags.patch
 URL:		https://www.mupdf.com/
@@ -23,6 +23,9 @@ BuildRequires:	mujs-devel >= 1.3.3
 BuildRequires:	openjpeg2-devel >= 2.5.0
 BuildRequires:	openssl-devel >= 1.1.0
 BuildRequires:	pkgconfig
+BuildRequires:	python3-furo
+BuildRequires:	python3-rst2pdf
+BuildRequires:	sphinx-pdg
 BuildRequires:	xorg-lib-libX11-devel
 BuildRequires:	xorg-lib-libXext-devel
 BuildRequires:	zlib-devel >= 1.2.13
@@ -137,6 +140,8 @@ LDFLAGS="%{rpmldflags}" \
 	libdir=%{_libdir} \
 	verbose=yes
 
+sphinx-build -M html docs/src build/docs
+
 %install
 rm -rf $RPM_BUILD_ROOT
 
@@ -168,7 +173,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc CHANGES CONTRIBUTORS README docs/{index,manual*,thirdparty}.html
+%doc CHANGES CONTRIBUTORS README build/docs/html/{_images,_static,*.html,*.js}
 %attr(755,root,root) %{_bindir}/mupdf-gl
 %attr(755,root,root) %{_bindir}/mupdf-x11
 %attr(755,root,root) %{_bindir}/mupdf-x11-curl
diff --git a/mupdf-flags.patch b/mupdf-flags.patch
index 5f70682..c0809c7 100644
--- a/mupdf-flags.patch
+++ b/mupdf-flags.patch
@@ -4,10 +4,10 @@
    CFLAGS += -pipe -g
    LDFLAGS += -g
  else ifeq ($(build),release)
--  CFLAGS += -pipe -O2 -DNDEBUG -fomit-frame-pointer
+-  CFLAGS += -pipe -O2 -DNDEBUG
 -  LDFLAGS += $(LDREMOVEUNREACH) -Wl,-s
 +  CFLAGS += -DNDEBUG
 +  LDFLAGS += $(LDREMOVEUNREACH)
  else ifeq ($(build),small)
-   CFLAGS += -pipe -Os -DNDEBUG -fomit-frame-pointer
+   CFLAGS += -pipe -Os -DNDEBUG
    LDFLAGS += $(LDREMOVEUNREACH) -Wl,-s
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/mupdf.git/commitdiff/d546f9dcb9e91d28616ae1d3c125a2ff935a9f68



More information about the pld-cvs-commit mailing list