up to 0.3.7
authorJan Palus <atler@pld-linux.org>
Thu, 15 Jul 2021 18:26:23 +0000 (20:26 +0200)
committerJan Palus <atler@pld-linux.org>
Thu, 15 Jul 2021 18:26:23 +0000 (20:26 +0200)
- mupdf 1.18 no longer provides libmupdf-third.so (third party sources
  built into libmupdf.so - make it optional)

mupdf_1.18.patch [new file with mode: 0644]
zathura-pdf-mupdf.spec

diff --git a/mupdf_1.18.patch b/mupdf_1.18.patch
new file mode 100644 (file)
index 0000000..2e58111
--- /dev/null
@@ -0,0 +1,11 @@
+--- zathura-pdf-mupdf-0.3.7/meson.build.orig   2021-07-14 18:55:03.293939600 +0200
++++ zathura-pdf-mupdf-0.3.7/meson.build        2021-07-15 20:24:42.663550814 +0200
+@@ -20,7 +20,7 @@
+ glib = dependency('glib-2.0')
+ cairo = dependency('cairo')
+ mupdf = cc.find_library('mupdf')
+-mupdfthird = cc.find_library('mupdf-third')
++mupdfthird = cc.find_library('mupdf-third', required: false)
+ build_dependencies = [
+   zathura,
index 4a5cc6815d486863d1d8533b44113bbf8f5c7e25..982c7d401052252dd128a7b90052d3db1b69ac61 100644 (file)
@@ -1,12 +1,13 @@
 Summary:       mupdf based PDF plugin for zathura
 Summary(pl.UTF-8):     Wtyczka PDF dla zathury oparta na silniku mupdf
 Name:          zathura-pdf-mupdf
-Version:       0.3.6
+Version:       0.3.7
 Release:       1
 License:       BSD-like
 Group:         Applications/Publishing
 Source0:       https://pwmt.org/projects/zathura-pdf-mupdf/download/%{name}-%{version}.tar.xz
-# Source0-md5: c0bfc8f411c7a2b7bfc90c382c7cd9e1
+# Source0-md5: ae8a22765e0c829264ec13a9d6e18e81
+Patch0:                mupdf_1.18.patch
 URL:           https://pwmt.org/projects/zathura-pdf-mupdf/
 BuildRequires: cairo-devel
 # C11
@@ -14,6 +15,7 @@ BuildRequires:        gcc >= 6:4.7
 BuildRequires: girara-devel >= 0.2.3
 BuildRequires: glib2-devel >= 2.0
 BuildRequires: gtk+3-devel >= 3.2
+BuildRequires: gumbo-parser-devel
 BuildRequires: meson >= 0.43
 BuildRequires: mupdf-devel >= 1.17
 BuildRequires: ninja
@@ -37,6 +39,7 @@ wykorzystaniem silnika renderujÄ…cego mupdf.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %meson build
This page took 0.304001 seconds and 4 git commands to generate.