aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWen Heping <wen@FreeBSD.org>2022-11-26 00:11:50 +0000
committerWen Heping <wen@FreeBSD.org>2022-11-26 00:11:50 +0000
commit40511fbefbd83168e749ba0ba28e4dbc4191e7eb (patch)
tree914f890272272da48e4d51ea7cfd4575109da4c6
parentd5e92a6ee45c44a0fb52cbba968d5d38b4279757 (diff)
downloadports-40511fbefbd83168e749ba0ba28e4dbc4191e7eb.tar.gz
ports-40511fbefbd83168e749ba0ba28e4dbc4191e7eb.zip
graphics/zathura-pdf-mupdf: Update to 0.3.8
PR: 264938 Reported by: wen@ Approved by: maintainer
-rw-r--r--graphics/zathura-pdf-mupdf/Makefile7
-rw-r--r--graphics/zathura-pdf-mupdf/distinfo6
-rw-r--r--graphics/zathura-pdf-mupdf/files/patch-zathura-pdf-mupdf_index.c11
-rw-r--r--graphics/zathura-pdf-mupdf/files/patch-zathura-pdf-mupdf_links.c15
4 files changed, 6 insertions, 33 deletions
diff --git a/graphics/zathura-pdf-mupdf/Makefile b/graphics/zathura-pdf-mupdf/Makefile
index df22bcb43915..741aa17e70f0 100644
--- a/graphics/zathura-pdf-mupdf/Makefile
+++ b/graphics/zathura-pdf-mupdf/Makefile
@@ -1,6 +1,5 @@
PORTNAME= zathura-pdf-mupdf
-DISTVERSION= 0.3.5
-PORTREVISION= 12
+DISTVERSION= 0.3.8
CATEGORIES= graphics
MASTER_SITES= https://git.pwmt.org/pwmt/${PORTNAME}/-/archive/${DISTVERSION}/ \
http://freebsd.uzsolt.hu/src/
@@ -22,10 +21,10 @@ LIB_DEPENDS= libjbig2dec.so:graphics/jbig2dec \
libopenjp2.so:graphics/openjpeg
USES= compiler:c11 desktop-file-utils gnome jpeg \
- meson pkgconfig tar:xz
+ meson pkgconfig
USE_GNOME= cairo gdkpixbuf2 glib20 gtk30
-MESON_ARGS= -Dlink-external=true
+#MESON_ARGS= -Dlink-external=true
PLIST_FILES= lib/zathura/libpdf-mupdf.so \
share/applications/org.pwmt.zathura-pdf-mupdf.desktop \
diff --git a/graphics/zathura-pdf-mupdf/distinfo b/graphics/zathura-pdf-mupdf/distinfo
index 512b91481284..4c6e88c50a10 100644
--- a/graphics/zathura-pdf-mupdf/distinfo
+++ b/graphics/zathura-pdf-mupdf/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1565696783
-SHA256 (zathura-pdf-mupdf-0.3.5.tar.xz) = 18a63f7abaf9751c37f26a6ceee2d83738a5853fd42521fed69d32fecfd25cde
-SIZE (zathura-pdf-mupdf-0.3.5.tar.xz) = 8088
+TIMESTAMP = 1669420397
+SHA256 (zathura-pdf-mupdf-0.3.8.tar.gz) = ba19c187fc8a441dcfb4d793624eadaea99e0d320b1e33ca25dd62be2b68bcea
+SIZE (zathura-pdf-mupdf-0.3.8.tar.gz) = 9198
diff --git a/graphics/zathura-pdf-mupdf/files/patch-zathura-pdf-mupdf_index.c b/graphics/zathura-pdf-mupdf/files/patch-zathura-pdf-mupdf_index.c
deleted file mode 100644
index 576e4ea1afb4..000000000000
--- a/graphics/zathura-pdf-mupdf/files/patch-zathura-pdf-mupdf_index.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- zathura-pdf-mupdf/index.c.orig 2020-05-18 10:56:42 UTC
-+++ zathura-pdf-mupdf/index.c
-@@ -67,7 +67,7 @@ build_index(fz_context* ctx, fz_document* document, fz
-
- 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_page_number_from_location(ctx, document, fz_resolve_link(ctx, document, outline->uri, &x, &y));
- target.left = x;
- target.top = y;
- target.zoom = 0.0;
diff --git a/graphics/zathura-pdf-mupdf/files/patch-zathura-pdf-mupdf_links.c b/graphics/zathura-pdf-mupdf/files/patch-zathura-pdf-mupdf_links.c
deleted file mode 100644
index 9f95b56ab1a7..000000000000
--- a/graphics/zathura-pdf-mupdf/files/patch-zathura-pdf-mupdf_links.c
+++ /dev/null
@@ -1,15 +0,0 @@
---- zathura-pdf-mupdf/links.c.orig 2020-05-18 11:05:39 UTC
-+++ zathura-pdf-mupdf/links.c
-@@ -56,8 +56,10 @@ pdf_page_links_get(zathura_page_t* page, void* data, z
-
- 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);
-+ target.page_number =
-+ fz_page_number_from_location(mupdf_document->ctx,
-+ mupdf_document->document, fz_resolve_link(mupdf_document->ctx,
-+ mupdf_document->document, link->uri, &x, &y));
- target.left = x;
- target.top = y;
- target.zoom = 0.0;