Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 616654 - app-text/mupdf: make OpenGL port default
Summary: app-text/mupdf: make OpenGL port default
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michael Weber (RETIRED)
Depends on: 616652
  Show dependency tree
Reported: 2017-04-26 10:55 UTC by Massimo Burcheri
Modified: 2020-08-20 06:19 UTC (History)
3 users (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description Massimo Burcheri 2017-04-26 10:55:23 UTC
When building app-text/mupdf with uSE="opengl", please make mupdf using the mupdf-gl port by default. It is advised to use that port over mupdf-x11 as the GL-based port beside using OpenGL has lot of advanced shortcuts like smart browsing and full history stack known from vim.

Here with
Installed versions:  1.10a-r2(09:07:30 06.04.2017)(X curl opengl openssl -javascript -libressl -static -static-libs -vanilla)
the symlink is using the x11 port by default:
/usr/bin/mupdf -> mupdf-x11*

The GL port should work on modern Linux using mesa and most probably gallium rendering and thus should be the default.

Reproducible: Always
Comment 1 Michael Weber (RETIRED) gentoo-dev 2017-04-28 09:34:18 UTC
commit 7e51c0aae90d1611ff7674963a0e3989e6124e5d
Author: Michael Weber <>
Date:   Fri Apr 28 11:33:04 2017 +0200

    app-text/mupdf: Version bump (bug 616652), make mupdf-gl default if available (bug 616654), thanks Massimo Burcheri.
    Package-Manager: Portage-2.3.5, Repoman-2.3.2

Comment 2 Leho Kraav (:macmaN @lkraav) 2017-07-17 20:17:46 UTC
Just fyi `mupdf` fails to launch in the scenario where `media-libs/glfw USE=wayland` but the Gnome session is launched via X11 fallback.

`mupdf` launch the fails with `glfw` failing to connect to a Wayland display.
Comment 3 Tamir Evan 2017-08-10 13:25:34 UTC
I think I found a typo in mupdf-1.11-openssl-curl-x11.patch. On line 27, it says:
    +WANT_X!! ?= yes
I think that should be:
    +WANT_X11 ?= yes
as the next line says:
    +ifeq "$(WANT_X11)" "yes"