Gentoo Archives: gentoo-commits

From: Virgil Dupras <vdupras@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/mupdf/
Date: Tue, 07 May 2019 11:31:52
Message-Id: 1557228686.e417f177e13442dae204548c4f25bb9b8142ea12.vdupras@gentoo
1 commit: e417f177e13442dae204548c4f25bb9b8142ea12
2 Author: Virgil Dupras <vdupras <AT> gentoo <DOT> org>
3 AuthorDate: Tue May 7 11:30:20 2019 +0000
4 Commit: Virgil Dupras <vdupras <AT> gentoo <DOT> org>
5 CommitDate: Tue May 7 11:31:26 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e417f177
7
8 app-text/mupdf: use bundled mujs
9
10 Fixes broken building process.
11
12 Closes: https://bugs.gentoo.org/685244
13 Signed-off-by: Virgil Dupras <vdupras <AT> gentoo.org>
14 Package-Manager: Portage-2.3.62, Repoman-2.3.11
15
16 app-text/mupdf/mupdf-1.15.0.ebuild | 8 ++++++--
17 1 file changed, 6 insertions(+), 2 deletions(-)
18
19 diff --git a/app-text/mupdf/mupdf-1.15.0.ebuild b/app-text/mupdf/mupdf-1.15.0.ebuild
20 index 258ffd76802..440a343441f 100644
21 --- a/app-text/mupdf/mupdf-1.15.0.ebuild
22 +++ b/app-text/mupdf/mupdf-1.15.0.ebuild
23 @@ -15,7 +15,6 @@ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~x86 ~amd64-li
24 IUSE="X +javascript libressl opengl ssl static-libs vanilla"
25
26 RDEPEND="
27 - >=dev-lang/mujs-1.0.4
28 media-libs/freetype:2=[static-libs?]
29 media-libs/harfbuzz:=[static-libs?,truetype]
30 media-libs/jbig2dec:=[static-libs?]
31 @@ -73,15 +72,20 @@ src_prepare() {
32
33 _emake() {
34 # When HAVE_OBJCOPY is yes, we end up with a lot of QA warnings.
35 +
36 # We don't use system's freeglut because upstream has a special modified
37 # version of it that gives mupdf clipboard support. See bug #653298
38 +
39 + # As of v1.15.0, mupdf started using symbols in mujs that were not part
40 + # of any release. We thus go back to using the bundled version of it.
41 + # Bug #685244
42 emake \
43 GENTOO_PV=${PV} \
44 HAVE_GLUT=$(usex opengl) \
45 HAVE_LIBCRYPTO=$(usex ssl) \
46 HAVE_X11=$(usex X) \
47 USE_SYSTEM_LIBS=yes \
48 - USE_SYSTEM_MUJS=yes \
49 + USE_SYSTEM_MUJS=no \
50 USE_SYSTEM_GLUT=no \
51 HAVE_OBJCOPY=no \
52 "$@"