As the title says, following the update for x11/girara. The synctex feature works well for me (tested with vim and the vimtex plugin). This is just for zathura/core, the zathura/plugins/* are up to date.
diff -uNprx CVS /usr/ports/textproc/zathura/core/Makefile /build/usr/ports/textproc/zathura/core/Makefile --- /usr/ports/textproc/zathura/core/Makefile Tue Jan 29 08:59:46 2019 +++ /build/usr/ports/textproc/zathura/core/Makefile Sat Mar 2 11:59:19 2019 @@ -1,6 +1,6 @@ # $OpenBSD: Makefile,v 1.21 2018/09/19 09:35:32 landry Exp $ -V = 0.4.0 +V = 0.4.3 COMMENT = document viewer for PDF and other formats with a vi-like UI DISTNAME = zathura-${V} CATEGORIES = textproc x11 @@ -13,6 +13,9 @@ PERMIT_PACKAGE_CDROM = Yes MASTER_SITES = http://pwmt.org/projects/zathura/download/ +FLAVORS = synctex +FLAVOR ?= + MODULES= devel/meson BUILD_DEPENDS = textproc/py-docutils \ devel/gettext-tools \ @@ -21,15 +24,27 @@ RUN_DEPENDS = devel/desktop-file-utils \ x11/gtk+3,-guic LIB_DEPENDS = databases/sqlite3 \ devel/libmagic \ - x11/girara>=0.2.9 + x11/girara>=0.3.2 +.if ${FLAVOR:Msynctex} +LIB_DEPENDS += print/texlive/base,-synctex +.endif + WANTLIB += c cairo gdk-3 gio-2.0 girara-gtk3 glib-2.0 gmodule-2.0 WANTLIB += gobject-2.0 gtk-3 intl magic pango-1.0 sqlite3 +.if ${FLAVOR:Msynctex} +WANTLIB += synctex +.endif + COMPILER = base-clang ports-gcc COMPILER_LANGS = c CONFIGURE_ENV += LDFLAGS=-L${LOCALBASE}/lib -CONFIGURE_ARGS += -Denable-synctex=false +.if ${FLAVOR:Msynctex} +CONFIGURE_ARGS += -Dsynctex=disabled +.else +CONFIGURE_ARGS += -Dsynctex=enabled +.endif TEST_DEPENDS = devel/check TEST_TARGET = test diff -uNprx CVS /usr/ports/textproc/zathura/core/distinfo /build/usr/ports/textproc/zathura/core/distinfo --- /usr/ports/textproc/zathura/core/distinfo Wed Sep 19 11:35:32 2018 +++ /build/usr/ports/textproc/zathura/core/distinfo Sat Mar 2 11:59:19 2019 @@ -1,2 +1,2 @@ -SHA256 (zathura-0.4.0.tar.xz) = qmKSWcascp6Qq92hubUYVK2qaFEZLwilXmM3lQBUHsg= -SIZE (zathura-0.4.0.tar.xz) = 145056 +SHA256 (zathura-0.4.3.tar.xz) = fhIZRCbXCWcOD0sLEHyA3SEyKIG1fUoL+aCZmEAv/UE= +SIZE (zathura-0.4.3.tar.xz) = 145796 diff -uNprx CVS /usr/ports/textproc/zathura/core/pkg/PLIST /build/usr/ports/textproc/zathura/core/pkg/PLIST --- /usr/ports/textproc/zathura/core/pkg/PLIST Wed Sep 19 11:35:32 2018 +++ /build/usr/ports/textproc/zathura/core/pkg/PLIST Sat Mar 2 11:59:19 2019 @@ -15,10 +15,18 @@ lib/zathura/ @man man/man1/zathura.1 @man man/man5/zathurarc.5 share/applications/org.pwmt.zathura.desktop +share/bash-completion/completions/zathura share/dbus-1/interfaces/ share/dbus-1/interfaces/org.pwmt.zathura.xml share/doc/pkg-readmes/${PKGSTEM} 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/ +share/icons/scalable/apps/ +share/icons/scalable/apps/org.pwmt.zathura.svg share/locale/ca/LC_MESSAGES/zathura.mo share/locale/cs/LC_MESSAGES/zathura.mo share/locale/de/LC_MESSAGES/zathura.mo @@ -42,6 +50,7 @@ share/locale/no/LC_MESSAGES/zathura.mo share/locale/pl/LC_MESSAGES/zathura.mo share/locale/pt_BR/LC_MESSAGES/zathura.mo share/locale/ru/LC_MESSAGES/zathura.mo +share/locale/sv/LC_MESSAGES/zathura.mo share/locale/ta_IN/ share/locale/ta_IN/LC_MESSAGES/ share/locale/ta_IN/LC_MESSAGES/zathura.mo @@ -53,3 +62,7 @@ share/metainfo/ share/metainfo/org.pwmt.zathura.appdata.xml @tag gtk-update-icon-cache %D/share/icons/hicolor @tag update-desktop-database +share/zsh/ +share/zsh/vendor-completions/ +share/zsh/vendor-completions/_zathura +@tag gtk-update-icon-cache %D/share/icons/scalable