Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 587176 - kde-misc/okular-backend-mupdf: new package
Summary: kde-misc/okular-backend-mupdf: new package
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2016-06-26 18:25 UTC by Richard Ostrow
Modified: 2023-03-29 13:57 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
kde-apps/okular-backend-mupdf-0.0.5.ebuild (okular-backend-mupdf-0.0.5.ebuild,539 bytes, text/plain)
2016-06-26 18:25 UTC, Richard Ostrow
Details
kde-apps/okular-backend-mupdf-0.0.5.ebuild (okular-backend-mupdf-0.0.5.ebuild,560 bytes, text/plain)
2016-10-30 17:20 UTC, Richard Ostrow
Details
kde-apps/okular-backend-mupdf-9999.ebuild (okular-backend-mupdf-9999.ebuild,520 bytes, text/plain)
2016-10-30 17:22 UTC, Richard Ostrow
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Ostrow 2016-06-26 18:25:00 UTC
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
Comment 1 Michael 'veremitz' Everitt 2016-07-02 14:53:11 UTC
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.
Comment 2 Johannes Huber (RETIRED) gentoo-dev 2016-07-02 15:36:46 UTC
It is unlikely that we will add more packages based on kdelibs:4.
Comment 3 Richard Ostrow 2016-07-03 06:34:31 UTC
(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
Comment 4 Richard Ostrow 2016-07-03 06:36:12 UTC
(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) ]
Comment 5 Andreas Sturmlechner gentoo-dev 2016-07-03 10:46:01 UTC
I do find the following in CMakeLists.txt:

find_package(KDE4 REQUIRED)
Comment 6 Richard Ostrow 2016-07-03 18:51:40 UTC
(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.
Comment 7 Andreas Sturmlechner gentoo-dev 2016-07-03 21:35:26 UTC
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.
Comment 8 Richard Ostrow 2016-10-30 17:20:26 UTC
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
Comment 9 Richard Ostrow 2016-10-30 17:22:04 UTC
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
Comment 10 Andreas Sturmlechner gentoo-dev 2017-10-27 22:46:33 UTC
I assume this is obsolete unless upstream is porting this to KF5. But I don't see any activity since April 2015.