From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1038153-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id B8C03138334
	for <garchives@archives.gentoo.org>; Sun, 22 Jul 2018 13:29:12 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id CCD56E08F5;
	Sun, 22 Jul 2018 13:29:11 +0000 (UTC)
Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 9F4B7E08F5
	for <gentoo-commits@lists.gentoo.org>; Sun, 22 Jul 2018 13:29:11 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id EC097335D5D
	for <gentoo-commits@lists.gentoo.org>; Sun, 22 Jul 2018 13:29:08 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 6BED82CC
	for <gentoo-commits@lists.gentoo.org>; Sun, 22 Jul 2018 13:29:07 +0000 (UTC)
From: "Akinori Hattori" <hattya@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Akinori Hattori" <hattya@gentoo.org>
Message-ID: <1532266125.42c2979cf8fa4941a049a75e2891e3f5d260fd06.hattya@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: media-fonts/arphicfonts/
X-VCS-Repository: repo/gentoo
X-VCS-Files: media-fonts/arphicfonts/arphicfonts-0.2.20080216.1-r2.ebuild
X-VCS-Directories: media-fonts/arphicfonts/
X-VCS-Committer: hattya
X-VCS-Committer-Name: Akinori Hattori
X-VCS-Revision: 42c2979cf8fa4941a049a75e2891e3f5d260fd06
X-VCS-Branch: master
Date: Sun, 22 Jul 2018 13:29:07 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Archives-Salt: 036376cc-8516-46cc-9342-373cd611c511
X-Archives-Hash: bf7ebfa22cc76730b1f56064e0d8a49a

commit:     42c2979cf8fa4941a049a75e2891e3f5d260fd06
Author:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 22 13:27:46 2018 +0000
Commit:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
CommitDate: Sun Jul 22 13:28:45 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42c2979c

media-fonts/arphicfonts: call xdg_environment_reset

Closes: https://bugs.gentoo.org/586590
Package-Manager: Portage-2.3.40, Repoman-2.3.9

 media-fonts/arphicfonts/arphicfonts-0.2.20080216.1-r2.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/media-fonts/arphicfonts/arphicfonts-0.2.20080216.1-r2.ebuild b/media-fonts/arphicfonts/arphicfonts-0.2.20080216.1-r2.ebuild
index fd83c1f2a83..e9669cc0824 100644
--- a/media-fonts/arphicfonts/arphicfonts-0.2.20080216.1-r2.ebuild
+++ b/media-fonts/arphicfonts/arphicfonts-0.2.20080216.1-r2.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
-inherit font eutils
+inherit eutils font xdg-utils
 
 DESCRIPTION="Chinese TrueType Arphic Fonts"
 HOMEPAGE="http://www.arphic.com.tw/
@@ -59,6 +59,7 @@ src_prepare() {
 	find "${WORKDIR}" -mindepth 2 -maxdepth 2 -name '*.ttc' -exec mv {} . \;
 	find "${WORKDIR}" -name '*.conf' -exec mv "{}" . \;
 	epatch "${FILESDIR}"/${P}-fontconfig.patch
+	xdg_environment_reset
 	fontforge -script "${FILESDIR}"/${P}.pe b*.ttf || die
 }
 
@@ -68,7 +69,7 @@ src_install() {
 	do
 		cd "${WORKDIR}"/${myfont}
 		docinto ${myfont}
-		for doc in  FONTLOG KNOWN_ISSUES TODO README README.Bitmap NEWS CONTRIBUTERS
+		for doc in FONTLOG KNOWN_ISSUES TODO README README.Bitmap NEWS CONTRIBUTERS
 		do
 			[ -f ${doc} ] && dodoc ${doc}
 		done