commit: 3bcf7b55b86016993d20923aaf06af8bdd6bd4bd Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> AuthorDate: Wed Apr 18 18:42:38 2018 +0000 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> CommitDate: Wed Apr 18 18:55:54 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3bcf7b55
media-fonts/dejavu: Fix sandbox violations (#622940) Package-Manager: Portage-2.3.28, Repoman-2.3.9 media-fonts/dejavu/dejavu-2.37.ebuild | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/media-fonts/dejavu/dejavu-2.37.ebuild b/media-fonts/dejavu/dejavu-2.37.ebuild index dd07747d42a..ce6dbf935a8 100644 --- a/media-fonts/dejavu/dejavu-2.37.ebuild +++ b/media-fonts/dejavu/dejavu-2.37.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 -inherit font versionator +inherit font versionator xdg-utils DESCRIPTION="DejaVu fonts, bitstream vera with ISO-8859-2 characters" HOMEPAGE="https://dejavu-fonts.github.io/" @@ -28,12 +28,14 @@ SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="fontforge" -DEPEND="fontforge? ( x11-apps/mkfontscale +DEPEND="fontforge? ( + x11-apps/mkfontscale >=media-gfx/fontforge-20080429 x11-apps/mkfontdir dev-perl/Font-TTF app-i18n/unicode-data - >media-libs/fontconfig-2.6.0 )" + >media-libs/fontconfig-2.6.0:1.0 ) +" FONT_CONF=( fontconfig/20-unhint-small-dejavu-sans-mono.conf @@ -57,6 +59,11 @@ src_unpack() { fi } +src_prepare() { + default + xdg_environment_reset +} + src_compile() { if use fontforge; then emake \
