1 |
commit: 47a950b00c6db383ad07502a8fc396ecca98c1ce |
2 |
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Aug 28 15:58:57 2018 +0000 |
4 |
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Aug 28 15:58:57 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47a950b0 |
7 |
|
8 |
media-fonts/cantarell: add missing appstream-glib build dep |
9 |
|
10 |
During i18n.merge_file() build rule, gettext msgfmt gets called by a meson |
11 |
script. This in turn looks for ITS rules on how to merge in translations for |
12 |
a given file. appstream-glib provides /usr/share/gettext/its/appdata.loc, |
13 |
which tells gettext how to handle *.metainfo.xml files (that in turn points |
14 |
at appdata.its, also installed by appstream-glib). If that file isn't present |
15 |
at build time, then gettext errors out due to not knowing how to handle |
16 |
*.metainfo.xml translation. |
17 |
As such, we need appstream-glib at build time here, and in various other |
18 |
packages that have a metainfo/appdata translation in meson. |
19 |
|
20 |
Closes: https://bugs.gentoo.org/656710 |
21 |
Package-Manager: Portage-2.3.48, Repoman-2.3.10 |
22 |
|
23 |
media-fonts/cantarell/cantarell-0.101.ebuild | 2 ++ |
24 |
1 file changed, 2 insertions(+) |
25 |
|
26 |
diff --git a/media-fonts/cantarell/cantarell-0.101.ebuild b/media-fonts/cantarell/cantarell-0.101.ebuild |
27 |
index 5f8b20d7d6d..990353386f0 100644 |
28 |
--- a/media-fonts/cantarell/cantarell-0.101.ebuild |
29 |
+++ b/media-fonts/cantarell/cantarell-0.101.ebuild |
30 |
@@ -15,7 +15,9 @@ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~spa |
31 |
IUSE="" |
32 |
|
33 |
RDEPEND="media-libs/fontconfig" |
34 |
+# appstream-glib provided .loc and .its files required by gettext msgfmt for translation of .metainfo.xml |
35 |
DEPEND=" |
36 |
+ dev-libs/appstream-glib |
37 |
>=sys-devel/gettext-0.19.8 |
38 |
virtual/pkgconfig |
39 |
" |