Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 623732

Summary: app-text/mupdf-1.11-r1 does not build on non-GUI profile: USE dependencies incomplete
Product: Gentoo Linux Reporter: John R. Graham <john_r_graham>
Component: Current packagesAssignee: Virgil Dupras (RETIRED) <vdupras>
Status: RESOLVED FIXED    
Severity: normal CC: jstein
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch to ebuild to correct its USE dependencies.

Description John R. Graham gentoo-dev 2017-07-03 18:20:43 UTC
Created attachment 480586 [details, diff]
Patch to ebuild to correct its USE dependencies.

Current stable app-text/mupdf needs /usr/include/harfbuzz/hb-ft.h which is only built if its dependency media-libs/harfbuzz is built with the truetype USE flag set. Testing branch mupdf has the same issue.
Comment 1 Virgil Dupras (RETIRED) gentoo-dev 2018-11-30 02:46:19 UTC
I can reproduce the problem on a pristine barbone env, but I have to explicitly add "-truetype" because it's enabled by default. Still, it's good to specify. Will fix in next bump, thanks.
Comment 2 Larry the Git Cow gentoo-dev 2019-02-19 21:02:28 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5247eb5569e7573eba63db4cf5e6012607e1a6d

commit a5247eb5569e7573eba63db4cf5e6012607e1a6d
Author:     Virgil Dupras <vdupras@gentoo.org>
AuthorDate: 2019-02-19 20:22:34 +0000
Commit:     Virgil Dupras <vdupras@gentoo.org>
CommitDate: 2019-02-19 21:01:02 +0000

    app-text/mupdf: fix libressl and openssl
    
    openssl's requirements is actually 1.1+. prior to this change, mupdf
    compiled with openssl support unless openssl 1.1+ was installed.
    
    libressl support requires a patch to work properly.
    
    Also, other minor fixes. See closed bugs.
    
    Closes: https://bugs.gentoo.org/671062
    Closes: https://bugs.gentoo.org/623732
    Closes: https://bugs.gentoo.org/669698
    Closes: https://bugs.gentoo.org/670832
    Signed-off-by: Virgil Dupras <vdupras@gentoo.org>
    Package-Manager: Portage-2.3.51, Repoman-2.3.11

 app-text/mupdf/files/mupdf-1.14-libressl.patch     |  45 +++++++
 .../files/mupdf-1.14-r3-openssl-curl-x11.patch     |  35 ++++++
 app-text/mupdf/mupdf-1.14.0-r3.ebuild              | 132 +++++++++++++++++++++
 3 files changed, 212 insertions(+)