Gentoo Archives: gentoo-commits

From: Sebastian Pipping <sping@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-fonts/encodings/
Date: Thu, 20 Sep 2018 22:11:02
Message-Id: 1537481443.b9d7af55d844b0ba0da7030fc84283a94d7d2a8a.sping@gentoo
1 commit: b9d7af55d844b0ba0da7030fc84283a94d7d2a8a
2 Author: Sebastian Pipping <sping <AT> gentoo <DOT> org>
3 AuthorDate: Thu Sep 20 21:29:03 2018 +0000
4 Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 20 22:10:43 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9d7af55
7
8 media-fonts/encodings: Turn into well-behaved font
9
10 Lack of file /usr/share/fonts/encodings/.uuid
11 causes sandbox violation issues in other packages.
12 font_pkg_postinst take care of its creation now.
13
14 eclass xorg-2.eclass would inherit font.eclass for us
15 but package "media-fonts/encodings" does not pass the guard
16 for pattern media-fonts/font* in xorg-2.eclass, so we need
17 to inherit font.eclass, explicitly.
18
19 Bug: https://bugs.gentoo.org/665008
20
21 Package-Manager: Portage-2.3.49, Repoman-2.3.10
22
23 media-fonts/encodings/encodings-1.0.4-r2.ebuild | 15 +++++++++++++++
24 1 file changed, 15 insertions(+)
25
26 diff --git a/media-fonts/encodings/encodings-1.0.4-r2.ebuild b/media-fonts/encodings/encodings-1.0.4-r2.ebuild
27 new file mode 100644
28 index 00000000000..0d23578cb78
29 --- /dev/null
30 +++ b/media-fonts/encodings/encodings-1.0.4-r2.ebuild
31 @@ -0,0 +1,15 @@
32 +# Copyright 1999-2018 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=5
36 +inherit xorg-2 font # since media-fonts/encodings does not match media-fonts/font*
37 +
38 +DESCRIPTION="X.Org font encodings"
39 +
40 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
41 +IUSE=""
42 +
43 +DEPEND="x11-apps/mkfontscale
44 + >=media-fonts/font-util-1.1.1-r1"
45 +
46 +ECONF_SOURCE="${S}"