1 |
commit: b86de0942126d6005b21f34a2a93ed2ad07d400e |
2 |
Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Oct 28 10:35:11 2019 +0000 |
4 |
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Oct 28 10:35:32 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b86de094 |
7 |
|
8 |
media-sound/lilypond-{2.19.80-r1,9999}: fix #681630 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/681630 |
11 |
Package-Manager: Portage-2.3.78, Repoman-2.3.17 |
12 |
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org> |
13 |
|
14 |
.../files/lilypond-2.19.80-fontforge-version.patch | 16 ++++++++++++++++ |
15 |
media-sound/lilypond/lilypond-2.19.80-r1.ebuild | 5 ++++- |
16 |
media-sound/lilypond/lilypond-9999.ebuild | 7 +++++-- |
17 |
3 files changed, 25 insertions(+), 3 deletions(-) |
18 |
|
19 |
diff --git a/media-sound/lilypond/files/lilypond-2.19.80-fontforge-version.patch b/media-sound/lilypond/files/lilypond-2.19.80-fontforge-version.patch |
20 |
new file mode 100644 |
21 |
index 00000000000..4e2c2ce77c1 |
22 |
--- /dev/null |
23 |
+++ b/media-sound/lilypond/files/lilypond-2.19.80-fontforge-version.patch |
24 |
@@ -0,0 +1,16 @@ |
25 |
+The version test fails for two reasons: |
26 |
+* fontforge --version does not print anything that resembles what the configure |
27 |
+ script expects a version to look like |
28 |
+* fontforge fails to print a version if it cannot connect to an X display |
29 |
+ |
30 |
+--- a/configure.ac |
31 |
++++ b/configure.ac |
32 |
+@@ -236,7 +236,7 @@ |
33 |
+ |
34 |
+ STEPMAKE_PYTHON_DEVEL(REQUIRED, 2.4, 3.0) |
35 |
+ |
36 |
+-STEPMAKE_PATH_PROG(FONTFORGE, fontforge, REQUIRED, 20110222) |
37 |
++STEPMAKE_PATH_PROG(FONTFORGE, fontforge, REQUIRED,) |
38 |
+ |
39 |
+ STEPMAKE_PATH_PROG(T1ASM, t1asm, REQUIRED) |
40 |
+ |
41 |
|
42 |
diff --git a/media-sound/lilypond/lilypond-2.19.80-r1.ebuild b/media-sound/lilypond/lilypond-2.19.80-r1.ebuild |
43 |
index 1a358dd52c2..3e23b2dfe64 100644 |
44 |
--- a/media-sound/lilypond/lilypond-2.19.80-r1.ebuild |
45 |
+++ b/media-sound/lilypond/lilypond-2.19.80-r1.ebuild |
46 |
@@ -55,7 +55,10 @@ DEPEND="${RDEPEND} |
47 |
# Correct output data for tests isn't bundled with releases |
48 |
RESTRICT="test" |
49 |
|
50 |
-PATCHES=( "${FILESDIR}"/${P}-remove-ly-protect.patch ) |
51 |
+PATCHES=( |
52 |
+ "${FILESDIR}"/${P}-remove-ly-protect.patch |
53 |
+ "${FILESDIR}"/${P}-fontforge-version.patch |
54 |
+) |
55 |
|
56 |
DOCS=( DEDICATION HACKING README.txt ROADMAP ) |
57 |
|
58 |
|
59 |
diff --git a/media-sound/lilypond/lilypond-9999.ebuild b/media-sound/lilypond/lilypond-9999.ebuild |
60 |
index 93bb8d785b9..4d591c81e09 100644 |
61 |
--- a/media-sound/lilypond/lilypond-9999.ebuild |
62 |
+++ b/media-sound/lilypond/lilypond-9999.ebuild |
63 |
@@ -1,4 +1,4 @@ |
64 |
-# Copyright 1999-2018 Gentoo Foundation |
65 |
+# Copyright 1999-2019 Gentoo Authors |
66 |
# Distributed under the terms of the GNU General Public License v2 |
67 |
|
68 |
EAPI=6 |
69 |
@@ -22,7 +22,10 @@ SLOT="0" |
70 |
LANGS=" ca cs da de el eo es fi fr it ja nl ru sv tr uk vi zh_TW" |
71 |
IUSE="debug emacs guile2 profile vim-syntax" |
72 |
REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
73 |
-PATCHES=(${FILESDIR}/$P-programming_error.patch) |
74 |
+PATCHES=( |
75 |
+ "${FILESDIR}"/$P-programming_error.patch |
76 |
+ "${FILESDIR}"/${PN}-2.19.80-fontforge-version.patch |
77 |
+) |
78 |
|
79 |
RDEPEND=">=app-text/ghostscript-gpl-8.15 |
80 |
>=dev-scheme/guile-1.8.2:12[deprecated,regex] |