summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2013-08-27 16:26:46 +0000
committerAlexis Ballier <aballier@gentoo.org>2013-08-27 16:26:46 +0000
commitea56553c26a17de8cc2ed4f1b68cfea807512707 (patch)
treea6422515ed704f407e7794c57acceecfa0f1f368 /app-text/texlive-core
parentStable for HPPA (bug #473202). (diff)
downloadgentoo-2-ea56553c26a17de8cc2ed4f1b68cfea807512707.tar.gz
gentoo-2-ea56553c26a17de8cc2ed4f1b68cfea807512707.tar.bz2
gentoo-2-ea56553c26a17de8cc2ed4f1b68cfea807512707.zip
handle KanjiMaps too when stripping updmap.cfg, bug #481130
(Portage version: 2.2.1/cvs/Linux x86_64, signed Manifest commit with key 160F534A)
Diffstat (limited to 'app-text/texlive-core')
-rw-r--r--app-text/texlive-core/ChangeLog5
-rw-r--r--app-text/texlive-core/texlive-core-2013.ebuild5
2 files changed, 7 insertions, 3 deletions
diff --git a/app-text/texlive-core/ChangeLog b/app-text/texlive-core/ChangeLog
index 5cd4818a20c4..6ae0137b6d0d 100644
--- a/app-text/texlive-core/ChangeLog
+++ b/app-text/texlive-core/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-text/texlive-core
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/texlive-core/ChangeLog,v 1.209 2013/08/27 16:09:28 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/texlive-core/ChangeLog,v 1.210 2013/08/27 16:26:46 aballier Exp $
+
+ 27 Aug 2013; Alexis Ballier <aballier@gentoo.org> texlive-core-2013.ebuild:
+ handle KanjiMaps too when stripping updmap.cfg, bug #481130
27 Aug 2013; Alexis Ballier <aballier@gentoo.org> texlive-core-2013.ebuild:
tests work these days even if they do not have a good coverage, enable them
diff --git a/app-text/texlive-core/texlive-core-2013.ebuild b/app-text/texlive-core/texlive-core-2013.ebuild
index 685b76e636c8..26137cdd398a 100644
--- a/app-text/texlive-core/texlive-core-2013.ebuild
+++ b/app-text/texlive-core/texlive-core-2013.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/texlive-core/texlive-core-2013.ebuild,v 1.7 2013/08/27 16:09:28 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/texlive-core/texlive-core-2013.ebuild,v 1.8 2013/08/27 16:26:46 aballier Exp $
EAPI=5
@@ -237,12 +237,13 @@ src_compile() {
cd "${B}"
# Mimic updmap --syncwithtrees to enable only fonts installed
# Code copied from updmap script
- for i in `egrep '^(Mixed)?Map' "texmf-dist/web2c/updmap.cfg" | sed 's@.* @@'`; do
+ for i in `egrep '^(Mixed|Kanji)?Map' "texmf-dist/web2c/updmap.cfg" | sed 's@.* @@'`; do
texlive-common_is_file_present_in_texmf "$i" || echo "$i"
done > "${T}/updmap_update"
{
sed 's@/@\\/@g; s@^@/^MixedMap[ ]*@; s@$@$/s/^/#! /@' <"${T}/updmap_update"
sed 's@/@\\/@g; s@^@/^Map[ ]*@; s@$@$/s/^/#! /@' <"${T}/updmap_update"
+ sed 's@/@\\/@g; s@^@/^KanjiMap[ ]*@; s@$@$/s/^/#! /@' <"${T}/updmap_update"
} > "${T}/updmap_update2"
sed -f "${T}/updmap_update2" "texmf-dist/web2c/updmap.cfg" > "${T}/updmap_update3"\
&& cat "${T}/updmap_update3" > "texmf-dist/web2c/updmap.cfg"