summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYamakura Makoto <yakina@gentoo.org>2003-06-30 14:08:34 +0000
committerYamakura Makoto <yakina@gentoo.org>2003-06-30 14:08:34 +0000
commit7b907403090ac4b58c4db2c3b0b9c1feb103496e (patch)
treefef8746b8f038686b21ab6fb924011ad65066a19 /media-fonts
parentversion bump (diff)
downloadgentoo-2-7b907403090ac4b58c4db2c3b0b9c1feb103496e.tar.gz
gentoo-2-7b907403090ac4b58c4db2c3b0b9c1feb103496e.tar.bz2
gentoo-2-7b907403090ac4b58c4db2c3b0b9c1feb103496e.zip
version bump
Diffstat (limited to 'media-fonts')
-rw-r--r--media-fonts/kochi-substitute/ChangeLog8
-rw-r--r--media-fonts/kochi-substitute/Manifest6
-rw-r--r--media-fonts/kochi-substitute/files/digest-kochi-substitute-200306281
-rw-r--r--media-fonts/kochi-substitute/kochi-substitute-20030626.ebuild4
-rw-r--r--media-fonts/kochi-substitute/kochi-substitute-20030628.ebuild72
5 files changed, 85 insertions, 6 deletions
diff --git a/media-fonts/kochi-substitute/ChangeLog b/media-fonts/kochi-substitute/ChangeLog
index 0ee89fc6c58e..7bf67e99cc02 100644
--- a/media-fonts/kochi-substitute/ChangeLog
+++ b/media-fonts/kochi-substitute/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-fonts/kochi-fonts
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-fonts/kochi-substitute/ChangeLog,v 1.1 2003/06/27 13:31:19 yakina Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-fonts/kochi-substitute/ChangeLog,v 1.2 2003/06/30 14:08:28 yakina Exp $
+
+*kochi-substitute-20030628 (30 Jun 2003)
+
+ 30 Jun 2003; YAMAKURA Makoto <yakina@gentoo.org> kochi-substitute-20030628.ebuild,
+ files/digest-kochi-substitute-20030628, ChangeLog:
+ version bump
*kochi-substitute-20030626 (27 June 2003)
diff --git a/media-fonts/kochi-substitute/Manifest b/media-fonts/kochi-substitute/Manifest
index 3e85448278d5..08b61ea02a21 100644
--- a/media-fonts/kochi-substitute/Manifest
+++ b/media-fonts/kochi-substitute/Manifest
@@ -1,5 +1,5 @@
-MD5 c5731ae4ad1fd2c1fe71c5208aecc43e kochi-substitute-20030626.ebuild 1761
-MD5 57bbfd32e76a0d1934d352ec650bca22 kochi-substitute-20030628.ebuild 1882
-MD5 eb3467d8d5dde5a244e19adc7d274b3f ChangeLog 554
+MD5 4a2696925170ed4f62e00ec542972076 kochi-substitute-20030626.ebuild 1761
+MD5 21aa17a042d3cefc8979869f49e10b59 kochi-substitute-20030628.ebuild 1882
+MD5 ec22a9296ba243b40630a189daf5129f ChangeLog 750
MD5 57c7d4d4848ed98955f01411ef5625c8 files/digest-kochi-substitute-20030626 79
MD5 960946cb673590d966d212aefc0308de files/digest-kochi-substitute-20030628 79
diff --git a/media-fonts/kochi-substitute/files/digest-kochi-substitute-20030628 b/media-fonts/kochi-substitute/files/digest-kochi-substitute-20030628
new file mode 100644
index 000000000000..f8d362853942
--- /dev/null
+++ b/media-fonts/kochi-substitute/files/digest-kochi-substitute-20030628
@@ -0,0 +1 @@
+MD5 719d52e40fe0571915c40abfc75b2d94 kochi-substitute-20030628.tar.bz2 8076471
diff --git a/media-fonts/kochi-substitute/kochi-substitute-20030626.ebuild b/media-fonts/kochi-substitute/kochi-substitute-20030626.ebuild
index a8db4c680b11..c46a36d8fe9b 100644
--- a/media-fonts/kochi-substitute/kochi-substitute-20030626.ebuild
+++ b/media-fonts/kochi-substitute/kochi-substitute-20030626.ebuild
@@ -1,13 +1,13 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-fonts/kochi-substitute/kochi-substitute-20030626.ebuild,v 1.1 2003/06/27 13:31:19 yakina Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-fonts/kochi-substitute/kochi-substitute-20030626.ebuild,v 1.2 2003/06/30 14:08:28 yakina Exp $
IUSE="X"
FONT_PATH="/usr/X11R6/lib/X11/fonts/truetype"
DESCRIPTION="Kochi Japanese TrueType fonts with Wadalab Fonts"
HOMEPAGE="http://efont.sourceforge.jp/"
-SRC_URI="http://downloads.sourceforge.jp/efont/4812/${P}.tar.bz2"
+SRC_URI="http://downloads.sourceforge.jp/efont/4845/${P}.tar.bz2"
# naga10 has free-noncomm license
LICENSE="free-noncomm"
diff --git a/media-fonts/kochi-substitute/kochi-substitute-20030628.ebuild b/media-fonts/kochi-substitute/kochi-substitute-20030628.ebuild
new file mode 100644
index 000000000000..a4074e3f8a30
--- /dev/null
+++ b/media-fonts/kochi-substitute/kochi-substitute-20030628.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-fonts/kochi-substitute/kochi-substitute-20030628.ebuild,v 1.1 2003/06/30 14:08:28 yakina Exp $
+
+IUSE="X"
+
+FONT_PATH="/usr/X11R6/lib/X11/fonts/truetype"
+DESCRIPTION="Kochi Japanese TrueType fonts with Wadalab Fonts"
+HOMEPAGE="http://efont.sourceforge.jp/"
+SRC_URI="http://downloads.sourceforge.jp/efont/4845/${P}.tar.bz2"
+
+# naga10 has free-noncomm license
+LICENSE="free-noncomm"
+SLOT="0"
+KEYWORDS="x86 alpha sparc ppc"
+
+DEPEND="virtual/glibc
+ X? ( virtual/x11 )"
+
+S=${WORKDIR}/${PN}-${PV:0:8}
+
+src_install () {
+
+ insinto ${FONT_PATH}
+ doins kochi-gothic-subst.ttf
+ doins kochi-mincho-subst.ttf
+ dosym kochi-gothic-subst.ttf ${FONT_PATH}/kochi-gothic.ttf
+ dosym kochi-mincho-subst.ttf ${FONT_PATH}/kochi-mincho.ttf
+
+ dodoc README.ja COPYING docs/README
+ cd docs
+ for d in kappa20 k14goth ayu20gothic wadalab shinonome* naga10; do
+ docinto $d
+ dodoc $d/*
+ done
+}
+
+rebuild_fontfiles() {
+
+ einfo "Refreshing fonts.scale and fonts.dir..."
+
+ cd ${FONT_PATH}
+
+ # recreate fonts.scale
+ ttmkfdir > fonts.scale \
+ || die "Unable to create fonts.scale! Please emerge ttmkfdir and try again."
+
+ # recreate fonts.dir
+ mkfontdir -e /usr/X11R6/lib/X11/fonts/encodings
+
+ if [ -x /usr/bin/fc-cache ] ; then
+ einfo "Updating font cache..."
+ /usr/bin/fc-cache -f ${FONT_PATH}
+ fi
+}
+
+pkg_postinst() {
+
+ use X > /dev/null && rebuild_fontfiles
+
+ echo ""
+ einfo "This is a Kochi \"alternative\" font, but not kochi font itself."
+ einfo "Unfortunately, there is a possibility of copyright infringement,"
+ einfo "so the author of kochi font suspended distributing kochi font."
+ einfo "Please see http://khdd.net/kanou/fonts/stolenbitmap.en.html and"
+ einfo "${HOMEPAGE} for details."
+}
+
+pkg_postrm() {
+
+ use X > /dev/null && rebuild_fontfiles
+}