Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zegervdv/homebrew-zathura
Homebrew formulae to build Zathura on Mac OS X
https://github.com/zegervdv/homebrew-zathura
homebrew zathura
Last synced: 1 day ago
JSON representation
Homebrew formulae to build Zathura on Mac OS X
- Host: GitHub
- URL: https://github.com/zegervdv/homebrew-zathura
- Owner: zegervdv
- Created: 2015-04-12T17:29:04.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2024-06-01T20:14:49.000Z (8 months ago)
- Last Synced: 2025-01-22T17:06:06.372Z (8 days ago)
- Topics: homebrew, zathura
- Language: Ruby
- Homepage:
- Size: 99.6 KB
- Stars: 566
- Watchers: 8
- Forks: 47
- Open Issues: 28
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Zathura
Homebrew formulae to install zathura and plugins on Mac OS X
## Installation steps
### Tap the repository
```
brew tap zegervdv/zathura
```### Install zathura
```
brew install zathura
```### Install and link one of the two plugins
For poppler:
```
$ brew install zathura-pdf-poppler
$ mkdir -p $(brew --prefix zathura)/lib/zathura
$ ln -s $(brew --prefix zathura-pdf-poppler)/libpdf-poppler.dylib $(brew --prefix zathura)/lib/zathura/libpdf-poppler.dylib
```For mupdf:
```
$ brew install zathura-pdf-mupdf
$ mkdir -p $(brew --prefix zathura)/lib/zathura
$ ln -s $(brew --prefix zathura-pdf-mupdf)/libpdf-mupdf.dylib $(brew --prefix zathura)/lib/zathura/libpdf-mupdf.dylib
```### OSX_native_integration
The OSX native integration (dock, window manager) has been added to the develop branch of zathura.
You can install it by
```
# unlink installed zathura and girara
brew unlink girara
brew unlink zathura# install HEAD
brew install girara --HEAD
brew install zathura --HEAD
mkdir -p $(brew --prefix zathura)/lib/zathura
ln -s $(brew --prefix zathura-pdf-poppler)/libpdf-poppler.dylib $(brew --prefix zathura)/lib/zathura/libpdf-poppler.dylib
```### Copying to clipboard
Add the following to your `~/.config/zathura/zathurarc`:
```
set selection-clipboard clipboard
```
Thanks to [geigi](https://github.com/geigi) (see [#5](https://github.com/zegervdv/homebrew-zathura/issues/5))### Operation not supported error
If you are seeing errors like this:
```
error: Can not copy to temporary file: Operation not supported
```Try using an absolute path to the document:
```
$ zathura document.pdf
error: Can not copy to temporary file: Operation not supported
# Try:
$ zathura /path/to/document.pdf```
## Known Issues
Currently plugins are installed in the zathura folder, which means that uninstalling
a plugin does not work.