feat: to 0.3.8 (fixes rhbz#2053985)

f38
Ankur Sinha (Ankur Sinha Gmail) 3 years ago
parent f5ae4c731e
commit de48d704d9
No known key found for this signature in database
GPG Key ID: F8D8C0BEBAC898BD

1
.gitignore vendored

@ -6,3 +6,4 @@
/zathura-pdf-mupdf-0.3.5.tar.xz
/zathura-pdf-mupdf-0.3.6.tar.xz
/zathura-pdf-mupdf-0.3.7.tar.xz
/zathura-pdf-mupdf-0.3.8.tar.xz

@ -1,36 +0,0 @@
From 3547a91391e7c96145d752ffcd3c3dd7655fef21 Mon Sep 17 00:00:00 2001
Message-Id: <3547a91391e7c96145d752ffcd3c3dd7655fef21.1635089223.git.mjg@fedoraproject.org>
From: Michael J Gruber <mjg@fedoraproject.org>
Date: Sun, 24 Oct 2021 17:15:12 +0200
Subject: [PATCH] link against tesseract/leptonica for mupdf 1.19.0
Signed-off-by: Michael J Gruber <mjg@fedoraproject.org>
---
meson.build | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/meson.build b/meson.build
index 28373c4..d60cb76 100644
--- a/meson.build
+++ b/meson.build
@@ -36,12 +36,16 @@ if get_option('link-external')
libjbig2dec = cc.find_library('jbig2dec')
libopenjp2 = dependency('libopenjp2')
gumbo = dependency('gumbo')
+ tesseract = dependency('tesseract')
+ leptonica = dependency('lept')
build_dependencies += [
libjpeg,
libjbig2dec,
libopenjp2,
- gumbo
+ gumbo,
+ tesseract,
+ leptonica
]
endif
--
2.33.1.1061.g4ab8308fcf

@ -1 +1 @@
SHA512 (zathura-pdf-mupdf-0.3.7.tar.xz) = 709c34b1478e22f7da6a10bc8c59aa5bd1cbffd221caa38154d2e3efbea58dd2930fef3932687acac5d5ebccbd884303d81008a138a6276057f335aed0d570c0
SHA512 (zathura-pdf-mupdf-0.3.8.tar.xz) = c2ec4a204446822eb3771673e99ddc42d6ffdfbbb9fc079e09442f0b5a6e2397190d2a8079a92f2d08d5824199760a90d192cb517c9f17676102f3ed69edd5a0

@ -5,13 +5,12 @@
Name: zathura-pdf-mupdf
Version: 0.3.7
Release: 7%{?dist}
Version: 0.3.8
Release: 1%{?dist}
Summary: PDF support for zathura via mupdf
License: zlib
URL: https://pwmt.org/projects/%{name}/
Source0: %{url}/download/%{name}-%{version}.tar.xz
Patch1: 0001-link-against-tesseract-leptonica-for-mupdf-1.19.0.patch
BuildRequires: binutils
BuildRequires: cairo-devel
# Needed to validate the desktop file
@ -43,10 +42,10 @@ Conflicts: zathura-pdf-poppler < 0.2.9
This plugin adds PDF support to zathura using the mupdf rendering engine.
%prep
%autosetup -p1
%autosetup
%build
%meson -Dlink-external=true
%meson
%meson_build
%install
@ -66,6 +65,9 @@ appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/*.metainf
%{_datadir}/metainfo/org.pwmt.zathura-pdf-mupdf.metainfo.xml
%changelog
* Sat Apr 02 2022 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.3.8-1
- update to latest release
* Thu Mar 10 2022 Sandro Mani <manisandro@gmail.com> - 0.3.7-7
- Rebuild for tesseract 5.1.0

Loading…
Cancel
Save