git: 9abc70478bd9 - 2022Q2 - graphics/zathura: Update to 0.4.9

From: Fernando Apesteguía <fernape_at_FreeBSD.org>
Date: Wed, 13 Apr 2022 18:36:57 UTC
The branch 2022Q2 has been updated by fernape:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9abc70478bd9d43c30dbb1ae9c2181af8dd72eeb

commit 9abc70478bd9d43c30dbb1ae9c2181af8dd72eeb
Author:     Faraz Vahedi <kfv@kfv.io>
AuthorDate: 2022-04-13 06:12:15 +0000
Commit:     Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2022-04-13 18:34:59 +0000

    graphics/zathura: Update to 0.4.9
    
    This patch was previously reviewed and accepted by the maintainer in D32266
    
     - Add SYNCTEX port option.
     - Enable meson build option for SyncTeX support (fixes
       non-working feature configuration).
     - Improve clarity and remove ambiguity from pkg-descr and pkg-message.
     - Removed PATCHFILES: no longer required.
    
    Approved by: Quentin Stiévenart <quentin.stievenart AT gmail DOT com> (maintainer)
    Reviewd by: koobs@
    MFH: 2022Q2 (broken use of a library dependency)
    Differential Revision: https://reviews.freebsd.org/D34851
    
    (cherry picked from commit 58f14041a79e2ebb056b2b71517e6f563d540b60)
---
 graphics/zathura/Makefile    | 18 ++++++++++--------
 graphics/zathura/distinfo    |  8 +++-----
 graphics/zathura/pkg-descr   |  7 +++----
 graphics/zathura/pkg-message |  7 ++++---
 graphics/zathura/pkg-plist   |  4 ++--
 5 files changed, 22 insertions(+), 22 deletions(-)

diff --git a/graphics/zathura/Makefile b/graphics/zathura/Makefile
index 192003978f4b..1aa26c137ffb 100644
--- a/graphics/zathura/Makefile
+++ b/graphics/zathura/Makefile
@@ -1,33 +1,35 @@
 # Created by: Quentin Stievenart <acieroid@awesom.eu>
 
 PORTNAME=	zathura
-DISTVERSION=	0.4.5
+DISTVERSION=	0.4.9
 CATEGORIES=	graphics print
 MASTER_SITES=	https://git.pwmt.org/pwmt/${PORTNAME}/-/archive/${DISTVERSION}/
 
-PATCH_SITES=	https://git.pwmt.org/pwmt/${PORTNAME}/-/commit/
-PATCHFILES+=	c6ec5044c5ff.patch:-p1 # meson 0.61
-
 MAINTAINER=	quentin.stievenart@gmail.com
 COMMENT=	Customizable lightweight pdf viewer
 
 LICENSE=	ZLIB
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sphinx>=1.2.2,1:textproc/py-sphinx@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}sphinx_rtd_theme>0:textproc/py-sphinx_rtd_theme@${PY_FLAVOR}
 LIB_DEPENDS=	libcairo.so:graphics/cairo \
 		libgirara-gtk3.so:x11-toolkits/girara \
 		libsynctex.so:devel/tex-synctex
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sphinx>=1.2.2,1:textproc/py-sphinx@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}sphinx_rtd_theme>0:textproc/py-sphinx_rtd_theme@${PY_FLAVOR}
 
 USES=		compiler:c11 gettext-tools:build gnome meson ninja pkgconfig \
 		python:3.6+
 USE_GNOME=	glib20 gtk30 gdkpixbuf2
 
-OPTIONS_DEFINE=		SQLITE
-OPTIONS_DEFAULT=	SQLITE
+OPTIONS_DEFINE=		SQLITE SYNCTEX
+OPTIONS_DEFAULT=	SQLITE SYNCTEX
 
 SQLITE_USES=		sqlite
 SQLITE_MESON_ENABLED=	sqlite
 
+SYNCTEX_DESC=		Direct and reverse synchronisation support with SyncTeX
+SYNCTEX_BUILD_DEPENDS=	tex-synctex>=1.19.0:devel/tex-synctex
+SYNCTEX_RUN_DEPENDS=	${SYNCTEX_BUILD_DEPENDS}
+SYNCTEX_MESON_ENABLED=	synctex
+
 .include <bsd.port.mk>
diff --git a/graphics/zathura/distinfo b/graphics/zathura/distinfo
index ecd9eebe5461..9d40f6e1ee3a 100644
--- a/graphics/zathura/distinfo
+++ b/graphics/zathura/distinfo
@@ -1,5 +1,3 @@
-TIMESTAMP = 1583082376
-SHA256 (zathura-0.4.5.tar.gz) = 317882fc4e05104591c011c237b2ba6bf0b3978c189f5cdf3c978cb333ee04fe
-SIZE (zathura-0.4.5.tar.gz) = 195275
-SHA256 (c6ec5044c5ff.patch) = 27355d33be2308e7727e162f79516abdc17b6f184c123a77ba0cfe2bae46a68d
-SIZE (c6ec5044c5ff.patch) = 939
+TIMESTAMP = 1649442140
+SHA256 (zathura-0.4.9.tar.gz) = 82235cbc89899421fca98477265626f2149df7d072740f0360550cc8d4e449d6
+SIZE (zathura-0.4.9.tar.gz) = 206194
diff --git a/graphics/zathura/pkg-descr b/graphics/zathura/pkg-descr
index 92427bc3c697..4f9886abe057 100644
--- a/graphics/zathura/pkg-descr
+++ b/graphics/zathura/pkg-descr
@@ -1,6 +1,5 @@
-zathura is a highly customizable and functional PDF viewer based on the poppler
-rendering library and the gtk+ toolkit. The idea behind zathura is an
-application that provides a minimalistic and space saving interface as well as
-an easy usage that mainly focuses on keyboard interaction.
+zathura is a highly customizable and functional document viewer. It provides a
+minimalistic and space saving interface as well as an easy usage that mainly
+focuses on keyboard interaction.
 
 WWW: https://pwmt.org/projects/zathura/
diff --git a/graphics/zathura/pkg-message b/graphics/zathura/pkg-message
index 0060b13c3208..73f46e32f078 100644
--- a/graphics/zathura/pkg-message
+++ b/graphics/zathura/pkg-message
@@ -1,9 +1,10 @@
 [
 { type: install
   message: <<EOM
-    In order to read documents, zathura need at least one plugin. Such
-    plugins are in graphics/zathura-* ports. If you want to read pdf files,
-    install the graphics/zathura-pdf-poppler port.
+    zathura uses a plugin based system for supported document types. Plugins
+    are provided as graphics/zathura-* ports. For instance, to view PDF
+    documents, graphics/zathura-pdf-poppler and graphics/zathura-pdf-mupdf
+    are available.
 EOM
 }
 ]
diff --git a/graphics/zathura/pkg-plist b/graphics/zathura/pkg-plist
index a8118f01a79c..7ff22414b086 100644
--- a/graphics/zathura/pkg-plist
+++ b/graphics/zathura/pkg-plist
@@ -12,13 +12,13 @@ man/man5/zathurarc.5.gz
 share/applications/org.pwmt.zathura.desktop
 share/bash-completion/completions/zathura
 share/dbus-1/interfaces/org.pwmt.zathura.xml
-share/fish/completions/zathura.fish
+share/fish/vendor_completions.d/zathura.fish
 share/icons/hicolor/128x128/apps/org.pwmt.zathura.png
 share/icons/hicolor/16x16/apps/org.pwmt.zathura.png
 share/icons/hicolor/256x256/apps/org.pwmt.zathura.png
 share/icons/hicolor/32x32/apps/org.pwmt.zathura.png
 share/icons/hicolor/64x64/apps/org.pwmt.zathura.png
-share/icons/scalable/apps/org.pwmt.zathura.svg
+share/icons/hicolor/scalable/apps/org.pwmt.zathura.svg
 share/locale/ar/LC_MESSAGES/zathura.mo
 share/locale/ca/LC_MESSAGES/zathura.mo
 share/locale/cs/LC_MESSAGES/zathura.mo