From nobody Sat Nov 26 00:13:11 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NJsdM3NQPz4hqQG; Sat, 26 Nov 2022 00:13:11 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NJsdM2pzwz3qf8; Sat, 26 Nov 2022 00:13:11 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1669421591; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=PsD3Dh7BZ9ySe84Zn8sfKBjpqjTFf/F44reu0a9Y16k=; b=lKWAkKCzRyrfsxmM9rmAdQnpSEm0yQAjV0n09FFKl5rX1ZDitjq3GCQ8Nz30PWo/2ngO+D ZS2ZlXHkv0YDzu+og2FciHHbjW30PBmGq0KYADy6597fUp+90omIncdEThHR9uZTVsY6yJ LwlBCevoner1H4DxIHGodl+b4nlh0/SXNgZc+DWk1m4NA0t7fRbDN/kZHsMCgqlwlOfJ4i PV5rCrN6vRO/yj4O207uftTjIhwQRGPG49jglPtZjZ+aaqxUnQ/faE05mrZ3YemMbGp3aw 4hE87PsacCnoJYflkuBxCq7sN/LANhFzf2Tsj0EjvsuxG4KIIzrsoWc8jq5UGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1669421591; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=PsD3Dh7BZ9ySe84Zn8sfKBjpqjTFf/F44reu0a9Y16k=; b=INbMvkvjZsOlePpenS9R/ZWagx4NK0ur7z17HGMpQ+ZOySbIGpu5RN94FYthgQSwtbEzb8 zIQ1/f1n6zmmOdr+c9QwbAuzTdHSmV4VglWqoHPo++ofJ2UrbpTYBCJCR/mszHcjkr+fXP DFnEH/fUDQlFCVORg2NvFSw24SohrvPUmLiqnwRwBCxVfwIt9oLxxd0yitHm7HFigNyCcB 2IAouZdylPoudDsuWie9iDuX9VpERJIBwPCUA8pnHKElUskK2Uuf6bnNyqLfia1srYvtmn zkEpNFRCfDGmr74CA7nl4QY2I0UW99Swv6VvNClNOb/6SIaFh2M2MnYymlDUvg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1669421591; a=rsa-sha256; cv=none; b=nosWDG4jXj7+V/7m9O8I7B29sau1qDSu1q6WSM8kCgSAxx5ZuEnJBKmZaaBnJjAeIwj64V oxxMjhR4atzRANs72WkGLRz/VZ5AcIoawMsALV5Vc0FrGwCRqHu4tnzFW3mGnUdLKzm+9X 3wQUqeNtFXLcMpF1+eS0y1m5J39J6sMciGQfiA3Dfjr/n2s4SnuTLBIpoG1tLCZtqYxlTA 6gmA2Uif66orIYDg22zzbT5lJ7UDWAjOmtAITOCkOcjPRnaU5wto321cCbG0GtncMWOfnv gt6mchBTDWCPlsJXJZQWHaOM1v2JkFjUUTJfMM3dFMbxnYPcHrPe9U8o+Jh8zw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4NJsdM1rZkz10fl; Sat, 26 Nov 2022 00:13:11 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2AQ0DBeA034014; Sat, 26 Nov 2022 00:13:11 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2AQ0DBZZ034013; Sat, 26 Nov 2022 00:13:11 GMT (envelope-from git) Date: Sat, 26 Nov 2022 00:13:11 GMT Message-Id: <202211260013.2AQ0DBZZ034013@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Wen Heping Subject: git: 40511fbefbd8 - main - graphics/zathura-pdf-mupdf: Update to 0.3.8 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: wen X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 40511fbefbd83168e749ba0ba28e4dbc4191e7eb Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by wen: URL: https://cgit.FreeBSD.org/ports/commit/?id=40511fbefbd83168e749ba0ba28e4dbc4191e7eb commit 40511fbefbd83168e749ba0ba28e4dbc4191e7eb Author: Wen Heping AuthorDate: 2022-11-26 00:11:50 +0000 Commit: Wen Heping CommitDate: 2022-11-26 00:11:50 +0000 graphics/zathura-pdf-mupdf: Update to 0.3.8 PR: 264938 Reported by: wen@ Approved by: maintainer --- graphics/zathura-pdf-mupdf/Makefile | 7 +++---- graphics/zathura-pdf-mupdf/distinfo | 6 +++--- .../files/patch-zathura-pdf-mupdf_index.c | 11 ----------- .../files/patch-zathura-pdf-mupdf_links.c | 15 --------------- 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;