Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/print/zathura-pdf-mupdf zathura-pdf-mupdf: Update to 0...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/633dc2fe3507
branches:  trunk
changeset: 438220:633dc2fe3507
user:      leot <leot%pkgsrc.org@localhost>
date:      Sun Sep 06 20:26:34 2020 +0000

description:
zathura-pdf-mupdf: Update to 0.3.6

Changes:
0.3.6
-----
 - Compatible with mupdf 1.17

diffstat:

 print/zathura-pdf-mupdf/Makefile                                |   7 +-
 print/zathura-pdf-mupdf/distinfo                                |  12 ++---
 print/zathura-pdf-mupdf/patches/patch-zathura-pdf-mupdf_index.c |  20 ---------
 print/zathura-pdf-mupdf/patches/patch-zathura-pdf-mupdf_links.c |  21 ----------
 4 files changed, 8 insertions(+), 52 deletions(-)

diffs (84 lines):

diff -r 88eec831bff6 -r 633dc2fe3507 print/zathura-pdf-mupdf/Makefile
--- a/print/zathura-pdf-mupdf/Makefile  Sun Sep 06 20:22:25 2020 +0000
+++ b/print/zathura-pdf-mupdf/Makefile  Sun Sep 06 20:26:34 2020 +0000
@@ -1,10 +1,9 @@
-# $NetBSD: Makefile,v 1.44 2020/08/17 20:19:57 leot Exp $
+# $NetBSD: Makefile,v 1.45 2020/09/06 20:26:34 leot Exp $
 #
 
-DISTNAME=      zathura-pdf-mupdf-0.3.5
-PKGREVISION=   9
+DISTNAME=      zathura-pdf-mupdf-0.3.6
 CATEGORIES=    print
-MASTER_SITES=  https://pwmt.org/projects/zathura/plugins/download/
+MASTER_SITES=  https://pwmt.org/projects/zathura-pdf-mupdf/download/
 EXTRACT_SUFX=  .tar.xz
 
 MAINTAINER=    leot%NetBSD.org@localhost
diff -r 88eec831bff6 -r 633dc2fe3507 print/zathura-pdf-mupdf/distinfo
--- a/print/zathura-pdf-mupdf/distinfo  Sun Sep 06 20:22:25 2020 +0000
+++ b/print/zathura-pdf-mupdf/distinfo  Sun Sep 06 20:26:34 2020 +0000
@@ -1,9 +1,7 @@
-$NetBSD: distinfo,v 1.12 2020/05/07 20:45:28 leot Exp $
+$NetBSD: distinfo,v 1.13 2020/09/06 20:26:34 leot Exp $
 
-SHA1 (zathura-pdf-mupdf-0.3.5.tar.xz) = 7cdc7d07a9c9636f0627c3aa9b5f56812a60c36a
-RMD160 (zathura-pdf-mupdf-0.3.5.tar.xz) = e7299ad1bdf65b1455d6431aec5e4d664d23d4d0
-SHA512 (zathura-pdf-mupdf-0.3.5.tar.xz) = e57b002c9cd3895996609d3f16e9fc6e533a1607eeeb1240c00bf28a12e3c725c3f93e37d0b1315e0fc3ea59314ea8bf35c47baa308c6c4b144a66a1cd5c7a3d
-Size (zathura-pdf-mupdf-0.3.5.tar.xz) = 8088 bytes
+SHA1 (zathura-pdf-mupdf-0.3.6.tar.xz) = 7df4ac43e373a90e53e420ff8f95cd253d3a0d6e
+RMD160 (zathura-pdf-mupdf-0.3.6.tar.xz) = e98e4ff192cc89c8d6bc508088b27a846279d206
+SHA512 (zathura-pdf-mupdf-0.3.6.tar.xz) = 417bc5c1fc141ece82c0617ca311a45354180dd786d48df577e5d68b0eb61198e9867e099216bafb6adae24e743366b4fcf128fdbb4d414db66040224fac27f5
+Size (zathura-pdf-mupdf-0.3.6.tar.xz) = 8304 bytes
 SHA1 (patch-document.c) = ad929680aa1de6f21b71cabc06da9ba54491687a
-SHA1 (patch-zathura-pdf-mupdf_index.c) = 6c4a1f4e8a77bc292a1aa1803f3320f6b353b2bb
-SHA1 (patch-zathura-pdf-mupdf_links.c) = 65296e0994db6895b8b7ef0a9896cce85f3d0751
diff -r 88eec831bff6 -r 633dc2fe3507 print/zathura-pdf-mupdf/patches/patch-zathura-pdf-mupdf_index.c
--- a/print/zathura-pdf-mupdf/patches/patch-zathura-pdf-mupdf_index.c   Sun Sep 06 20:22:25 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,20 +0,0 @@
-$NetBSD: patch-zathura-pdf-mupdf_index.c,v 1.1 2020/05/07 20:45:28 leot Exp $
-
-Backport upstream commit c7f341addb76d5e6fd8c24c666d8fe97c451a4cb to
-update to mupdf 1.17.
-
---- zathura-pdf-mupdf/index.c.orig     2019-08-11 16:46:17.000000000 +0000
-+++ zathura-pdf-mupdf/index.c
-@@ -65,9 +65,11 @@ build_index(fz_context* ctx, fz_document
-       float x = 0;
-       float y = 0;
- 
-+      fz_location location = fz_resolve_link(ctx, document, outline->uri, &x, &y);
-+
-       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      = location.page;
-       target.left  = x;
-       target.top   = y;
-       target.zoom  = 0.0;
diff -r 88eec831bff6 -r 633dc2fe3507 print/zathura-pdf-mupdf/patches/patch-zathura-pdf-mupdf_links.c
--- a/print/zathura-pdf-mupdf/patches/patch-zathura-pdf-mupdf_links.c   Sun Sep 06 20:22:25 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,21 +0,0 @@
-$NetBSD: patch-zathura-pdf-mupdf_links.c,v 1.1 2020/05/07 20:45:28 leot Exp $
-
-Backport upstream commit c7f341addb76d5e6fd8c24c666d8fe97c451a4cb to
-update to mupdf 1.17.
-
---- zathura-pdf-mupdf/links.c.orig     2019-08-11 16:46:17.000000000 +0000
-+++ zathura-pdf-mupdf/links.c
-@@ -54,10 +54,11 @@ pdf_page_links_get(zathura_page_t* page,
-       float x = 0;
-       float y = 0;
- 
-+      fz_location location = fz_resolve_link(mupdf_document->ctx, mupdf_document->document, link->uri, &x, &y);
-+
-       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      = location.page;
-       target.left  = x;
-       target.top   = y;
-       target.zoom  = 0.0;



Home | Main Index | Thread Index | Old Index