[MacPorts] #60059: okular @0.20.3 unable to find pdf plugin
MacPorts
noreply at macports.org
Mon Feb 17 15:29:36 UTC 2020
#60059: okular @0.20.3 unable to find pdf plugin
--------------------------+-------------------------
Reporter: jkeller2017 | Owner: NicosPavlov
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.6.2
Resolution: | Keywords:
Port: okular |
--------------------------+-------------------------
Comment (by jkeller2017):
Hi,
Wonderful, that works ! Thanks for the help.
First of all, okular is an excellent pdf viewer, light and highly
configurable. One can change the background of the pages, so useful for
scientists that are reading lots of arxiv documents and typing pdf files.
Skim lost this function and Adobe reader is full of bugs and slow.
So let's sum up the installation for the dummies like me that need to
install okular :
- install kile port, this will install okular
- install ports poppler +qt4 +quartz and poppler-qt4-mac .
- create a local port (say okular2) using instructions (till step 5) from
https://guide.macports.org/chunked/development.local-repositories.html
Note that ${prefix} is typically replaced by /opt/local , use kde for
category
- copy in the local port, files coming from
/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/kde/okular
(Portfile and the 'files' directory)
Edit Portfile in the local port adding the 2 lines+ removing one line from
https://trac.macports.org/attachment/ticket/60059/diff-Portfile.diff
- uninstall the official okular (force yes), clean, build and install the
new port okular2
- Do launchctl load -w /Library/LaunchAgents/org.freedesktop.dbus-
session.plist
- Do launchctl load -w /Library/LaunchAgents/org.macports.kdecache.plist
--
Ticket URL: <https://trac.macports.org/ticket/60059#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list