zathura errors out with error: Error parsing command line arguments: Unknown option -x when using the -x option for synctex. This makes it e.g. unable to work with the "vimtex" plugin (for editing TeX files in NeoVim) which uses the -x option. According to the man page this option should be supported. I'm using zathura 0.3.6 on FreeBSD-10.3. Tried rebuilding from ports, didn't change anything. Might be related to bug #209501
Update: compiling it from its original sources makes it work again, so this seems to be a Ports problem.
Created attachment 173140 [details] oatch-zathura
Please, try this patch, seems to work.
That patch seems to work
Created attachment 173142 [details] svn-diff_graphics_zathura
Portlint ok. Testbuilds with poudriere 103amd64, 93amd64 compiles without problem..
Testbuilds poudriere: 103i386, 93i386, 11amd64 ok.
maintainer timeout ??
testbuilds@work
Is the quarterly branch version of the port affected?
Testbuilds are fine, committed, thanks!
A commit references this bug: Author: pi Date: Sun Aug 21 19:45:30 UTC 2016 New revision: 420581 URL: https://svnweb.freebsd.org/changeset/ports/420581 Log: graphics/zathura: fix -x option - fix it by adding some additional LIB_DEPENDS and a CPP flag for SYNCTEX PR: 211468 Submitted by: Walter Schwarzenfeld <w.schwarzenfeld@utanet.at> Reported by: freebsd@schukraft.org Approved by: quentin.stievenart@gmail.com (maintainer timeout) Changes: head/graphics/zathura/Makefile
(In reply to Kubilay Kocak from comment #10) The quarterly is at 0.3.4. Untested, if it's affected.
A commit references this bug: Author: pi Date: Fri Aug 26 16:21:37 UTC 2016 New revision: 420930 URL: https://svnweb.freebsd.org/changeset/ports/420930 Log: graphics/zathura: bump portrevision after r420581 - dependencies added require a bump of portrevision PR: 211468 Reported by: marino Changes: head/graphics/zathura/Makefile
There's another serious flaw with this patch: https://lists.freebsd.org/pipermail/freebsd-ports/2016-August/104569.html I should have seen it but I was focus on something else. There are 2 possibilities here: 1) base libmagic should be used. (remove sysutils/file from list and revbump) 2) sysutils/file needs to be specified with libmagic.so.4:sysutils/file (and revbump). Grep the tree to see other examples of this. Reopening the PR!
Created attachment 174130 [details] svn-diff_zathura_correct_depency
I'm build testing now
I put the wrong PR on the commit message, I committed this though.
Ok, thanks.