Created attachment 438912 [details] kde-apps/okular-backend-mupdf-0.0.5.ebuild This ebuild adds a backend for okular that actually works with large documents, allowing the user to render each page not in minutes (as with poppler), but nearly instantly. Good for viewing documents with many images. To use it: 1. Open okular 2. Navigate to Settings -> Configure Okular -> General 3. On Program Features group select "Show backend selection dialog" 4. Open any PDF and select MuPDF as the backend in the dialog box that appears 5. PDF will be rendered using MuPDF backend 6. Now you can uncheck the box -> MuPDF will be used by default instead of poppler
Any reason this can't be bumped to EAPI6? Aside from that, think it looks ok. CC'ing KDE team for comments and potential maintainership.
It is unlikely that we will add more packages based on kdelibs:4.
(In reply to Michael Everitt (IRC: veremit) from comment #1) > Any reason this can't be bumped to EAPI6? > > Aside from that, think it looks ok. CC'ing KDE team for comments and > potential maintainership. Not that I see... EAPI5 was the default from the vim template when I wrote it
(In reply to Johannes Huber from comment #2) > It is unlikely that we will add more packages based on kdelibs:4. I don't see it depending on kdelibs:4... Here's a depgraph: * dependency graph for kde-apps/okular-backend-mupdf-0.0.5 `-- kde-apps/okular-backend-mupdf-0.0.5 ~amd64 `-- kde-apps/okular-15.12.3 (kde-apps/okular) amd64 `-- app-text/mupdf-1.5-r1 (app-text/mupdf) amd64 `-- dev-lang/mujs-0_p20160504 (dev-lang/mujs) ~amd64 `-- dev-util/automoc-0.9.88-r1 (dev-util/automoc) amd64 `-- sys-devel/make-4.1-r1 (sys-devel/make) amd64 `-- dev-util/cmake-3.3.1-r1 (>=dev-util/cmake-2.8.12) amd64 `-- dev-vcs/git-2.7.3-r1 (>=dev-vcs/git-1.8.2.1) amd64 [ kde-apps/okular-backend-mupdf-0.0.5 stats: packages (8), max depth (1) ]
I do find the following in CMakeLists.txt: find_package(KDE4 REQUIRED)
(In reply to Andreas Sturmlechner from comment #5) > I do find the following in CMakeLists.txt: > > find_package(KDE4 REQUIRED) I stand corrected. It works against the plasma version of okular, but apparently the CMake build still depends on the KDE4 package. I still see that line in the latest git commit, so it hasn't been updated away from KDE4 yet. Hopefully they'll migrate away from KDE4, as the current poppler-based backend is simply unusable for large image-based documents.
There is no KF5-based version of okular in tree. If you use okular-15.12.3 or 16.04.2, that is still based on kdelibs-4.
Created attachment 451931 [details] kde-apps/okular-backend-mupdf-0.0.5.ebuild Updated version 0.0.5 to only accept ~app-text/mupdf-1.5, as version 1.8 fails to build
Created attachment 451933 [details] kde-apps/okular-backend-mupdf-9999.ebuild Another ebuild to support the master branch, which does support app-text/mupdf-1.8
I assume this is obsolete unless upstream is porting this to KF5. But I don't see any activity since April 2015.