notes when trying to display xps files with evince
(however mupdf has less bugs and is supported by homebrew as well)
- brew install evince does not support xps file format (xps option disabled at compile time)
(check PATH variable, put /usr/local/bin as first entry if homebrew and macports are installed and errors like Python.h not found occur even if python has been freshly installed by homebrew) - an example for own brew formulas can be found here
- copy /usr/local/Library/Taps/homebrew/homebrew-core/Formula/evince.rb to
/usr/local/Library/Taps/homebrew/homebrew-x11/ - edit /usr/local/Library/Taps/homebrew/homebrew-x11/evince.rb:
uncomment the lines from bottle do to end usingĀ # to disable prebuilt binaries
add “–enable-xps”, to configure arguments
and add line depends_on “libgxps” - run brew search evince which should find homebrew/x11/evince
- run brew install homebrew/x11/evince