[MacPorts] #53856: zathura does not accept synctex related command-line options

MacPorts noreply at macports.org
Fri Mar 24 14:14:07 UTC 2017


#53856: zathura does not accept synctex related command-line options
---------------------+----------------------------
 Reporter:  ymei     |      Owner:
     Type:  defect   |     Status:  new
 Priority:  Normal   |  Milestone:
Component:  ports    |    Version:  2.4.1
 Keywords:  synctex  |       Port:  office/zathura
---------------------+----------------------------
 With standard installation of zathura-0.3.6 via ports, it does not seem to
 accept synctex related options:

 {{{
 $ zathura --help
 Usage:
   zathura [OPTION...]  [file1] [file2] [...]

 Help Options:
   -h, --help                  Show help options

 Application Options:
   -e, --reparent=xid          Reparents to window specified by xid (X11)
   -c, --config-dir=path       Path to the config directory
   -d, --data-dir=path         Path to the data directory
   --cache-dir=path            Path to the cache directory
   -p, --plugins-dir=path      Path to the directories containing plugins
   --fork                      Fork into the background
   -w, --password=password     Document password
   -P, --page=number           Page number to go to
   -l, --debug=level           Log level (debug, info, warning, error)
   -v, --version               Print version information
   --mode=mode                 Start in a non-default mode
 }}}
 {{{
 $ zathura -x
 error: Error parsing command line arguments: Unknown option -x
 }}}

 However, if I extract the source of zathura-0.3.6 and compile it manually
 on the same system (simple make), the generated executable does accept
 synctex options:
 {{{
 $ build/release/bin/zathura --help
 Usage:
   zathura [OPTION...]  [file1] [file2] [...]

 Help Options:
   -h, --help                           Show help options

 Application Options:
   -e, --reparent=xid                   Reparents to window specified by
 xid (X11)
   -c, --config-dir=path                Path to the config directory
   -d, --data-dir=path                  Path to the data directory
   --cache-dir=path                     Path to the cache directory
   -p, --plugins-dir=path               Path to the directories containing
 plugins
   --fork                               Fork into the background
   -w, --password=password              Document password
   -P, --page=number                    Page number to go to
   -l, --debug=level                    Log level (debug, info, warning,
 error)
   -v, --version                        Print version information
   -x, --synctex-editor-command=cmd     Synctex editor (forwarded to the
 synctex command)
   --synctex-forward=position           Move to given synctex position
   --synctex-pid=pid                    Highlight given position in the
 given process
   --mode=mode                          Start in a non-default mode
 }}}
 {{{
 $ build/release/bin/zathura -x
 error: Error parsing command line arguments: Missing argument for -x
 }}}

 I am wondering that ports is not detecting the build parameters correctly.

--
Ticket URL: <https://trac.macports.org/ticket/53856>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list