summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-03-16 18:35:55 +0000
committerSam James <sam@gentoo.org>2021-03-16 19:22:27 +0000
commit7a7cd43182a42a7f4077654222ca3d5deb6b57be (patch)
treef856067d245b43099a3bff74e668889a935736df /app-text/zathura-pdf-mupdf
parentdev-go/delve: drop 1.3.0 (diff)
downloadgentoo-7a7cd43182a42a7f4077654222ca3d5deb6b57be.tar.gz
gentoo-7a7cd43182a42a7f4077654222ca3d5deb6b57be.tar.bz2
gentoo-7a7cd43182a42a7f4077654222ca3d5deb6b57be.zip
app-text/zathura-pdf-mupdf: drop 0.3.5
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-text/zathura-pdf-mupdf')
-rw-r--r--app-text/zathura-pdf-mupdf/Manifest1
-rw-r--r--app-text/zathura-pdf-mupdf/files/0.3.5-compile-fix.patch11
-rw-r--r--app-text/zathura-pdf-mupdf/files/0.3.5-fz_location.patch44
-rw-r--r--app-text/zathura-pdf-mupdf/zathura-pdf-mupdf-0.3.5.ebuild56
4 files changed, 0 insertions, 112 deletions
diff --git a/app-text/zathura-pdf-mupdf/Manifest b/app-text/zathura-pdf-mupdf/Manifest
index 533ea5858d57..feb77d21eaf3 100644
--- a/app-text/zathura-pdf-mupdf/Manifest
+++ b/app-text/zathura-pdf-mupdf/Manifest
@@ -1,2 +1 @@
-DIST zathura-pdf-mupdf-0.3.5.tar.gz 8901 BLAKE2B 63595d6a4b305d8cd09eced1cfa3840a5ab3d37a61c42738603691621f1f1dbdfc31d5963b14c7af32f8c504f2470bf1cadb708fefbfd49fb25b2848b2564153 SHA512 1f7a748fee74296a008cef42c8f2e443409c77e16caa8441f74136260aaac7dee4d3c03e8a88532c45a0f9972e1b4965d4cffd488a00123d4d8cee9bcec2cf30
DIST zathura-pdf-mupdf-0.3.6.tar.gz 8925 BLAKE2B ee74a1655da7d16070b8909dd0f44239eb21055a40a525b766dc3d9e81f84377abe0623ba33925a25739bccf885f8967496be30c27e421d30b1a78dd64b84aee SHA512 f6783c3fc08849d7dc6fd527b7fcdb51d4ef9214379ca6b4dc6d29e75b10f37e3ada2046e205449a7d0465f07e65a6cf3f2f44fba98360cba16676e705390a97
diff --git a/app-text/zathura-pdf-mupdf/files/0.3.5-compile-fix.patch b/app-text/zathura-pdf-mupdf/files/0.3.5-compile-fix.patch
deleted file mode 100644
index e031db3c9188..000000000000
--- a/app-text/zathura-pdf-mupdf/files/0.3.5-compile-fix.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/zathura-pdf-mupdf/search.c 2019-09-12 11:29:21.527194069 +0200
-+++ b/zathura-pdf-mupdf/search.c 2019-09-12 11:30:11.648675352 +0200
-@@ -39,7 +39,7 @@
- mupdf_page_extract_text(mupdf_document, mupdf_page);
- }
-
-- fz_quad* hit_bbox = fz_malloc_array(mupdf_page->ctx, N_SEARCH_RESULTS, fz_quad);
-+ fz_quad* hit_bbox = fz_malloc_array(mupdf_page->ctx, N_SEARCH_RESULTS, sizeof(fz_quad));
- int num_results = fz_search_stext_page(mupdf_page->ctx, mupdf_page->text,
- text, hit_bbox, N_SEARCH_RESULTS);
-
diff --git a/app-text/zathura-pdf-mupdf/files/0.3.5-fz_location.patch b/app-text/zathura-pdf-mupdf/files/0.3.5-fz_location.patch
deleted file mode 100644
index 03c0bf24aab5..000000000000
--- a/app-text/zathura-pdf-mupdf/files/0.3.5-fz_location.patch
+++ /dev/null
@@ -1,44 +0,0 @@
-From c2dd7835b63ff68c0edc8a3182b3f994dc6ab4dd Mon Sep 17 00:00:00 2001
-From: a <a@a.com>
-Date: Sun, 16 Aug 2020 19:46:11 +0300
-Subject: [PATCH] fix conversion from 'fz_location' to 'unsigned int'
-
----
- zathura-pdf-mupdf/index.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/zathura-pdf-mupdf/index.c b/zathura-pdf-mupdf/index.c
-index c421f5c..996d012 100644
---- a/zathura-pdf-mupdf/index.c
-+++ b/zathura-pdf-mupdf/index.c
-@@ -67,7 +67,7 @@ build_index(fz_context* ctx, fz_document* document, fz_outline* outline, girara_
-
- type = ZATHURA_LINK_GOTO_DEST;
- target.destination_type = ZATHURA_LINK_DESTINATION_XYZ;
-- target.page_number = fz_resolve_link(ctx, document, outline->uri, &x, &y);
-+ target.page_number = fz_resolve_link(ctx, document, outline->uri, &x, &y).page;
- target.left = x;
- target.top = y;
- target.zoom = 0.0;
---
-
----
- zathura-pdf-mupdf/links.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/zathura-pdf-mupdf/links.c b/zathura-pdf-mupdf/links.c
-index 99c5715..2e8e90a 100644
---- a/zathura-pdf-mupdf/links.c
-+++ b/zathura-pdf-mupdf/links.c
-@@ -57,7 +57,7 @@ pdf_page_links_get(zathura_page_t* page, void* data, zathura_error_t* error)
- type = ZATHURA_LINK_GOTO_DEST;
- target.destination_type = ZATHURA_LINK_DESTINATION_XYZ;
- target.page_number = fz_resolve_link(mupdf_document->ctx,
-- mupdf_document->document, link->uri, &x, &y);
-+ mupdf_document->document, link->uri, &x, &y).page;
- target.left = x;
- target.top = y;
- target.zoom = 0.0;
---
-2.28.0
-
diff --git a/app-text/zathura-pdf-mupdf/zathura-pdf-mupdf-0.3.5.ebuild b/app-text/zathura-pdf-mupdf/zathura-pdf-mupdf-0.3.5.ebuild
deleted file mode 100644
index 965f6f84b38a..000000000000
--- a/app-text/zathura-pdf-mupdf/zathura-pdf-mupdf-0.3.5.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit meson xdg-utils
-
-if [[ ${PV} == *9999 ]]; then
- inherit git-r3
- EGIT_REPO_URI="https://git.pwmt.org/pwmt/zathura-pdf-mupdf.git"
- EGIT_BRANCH="develop"
-else
- KEYWORDS="amd64 arm x86"
- SRC_URI="https://github.com/pwmt/zathura-pdf-mupdf/archive/${PV}.tar.gz -> ${P}.tar.gz"
-fi
-
-DESCRIPTION="PDF plug-in for zathura"
-HOMEPAGE="https://pwmt.org/projects/zathura-pdf-mupdf/"
-
-LICENSE="ZLIB"
-SLOT="0"
-
-DEPEND="app-text/mupdf:=
- >=app-text/zathura-0.3.9
- dev-libs/girara
- dev-libs/glib:2
- media-libs/jbig2dec:=
- media-libs/openjpeg:2=
- virtual/jpeg:0
- x11-libs/cairo"
-
-RDEPEND="${DEPEND}"
-
-BDEPEND="virtual/pkgconfig"
-
-src_prepare() {
- sed -i -e '/mupdfthird/d' meson.build || die "sed failed"
-
- if has_version '<app-text/mupdf-1.16.1'; then
- eapply "${FILESDIR}"/${PV}-compile-fix.patch
- fi
-
- if has_version '=app-text/mupdf-1.17*'; then
- eapply "${FILESDIR}"/${PV}-fz_location.patch
- fi
-
- default
-}
-
-pkg_postinst() {
- xdg_desktop_database_update
-}
-
-pkg_postrm() {
- xdg_desktop_database_update
-}