diff options
author | Alastair Tse <liquidx@gentoo.org> | 2004-02-07 09:32:49 +0000 |
---|---|---|
committer | Alastair Tse <liquidx@gentoo.org> | 2004-02-07 09:32:49 +0000 |
commit | 5f959f3d1138ab47b4c7042068f664dd7d8b5c01 (patch) | |
tree | 7d6855a6d52e1bc936e79c26877f3f8c8e69d1c8 /media-fonts/hkscs-ming | |
parent | License for the HKSCS Font distributed by the Hong Kong Government (diff) | |
download | historical-5f959f3d1138ab47b4c7042068f664dd7d8b5c01.tar.gz historical-5f959f3d1138ab47b4c7042068f664dd7d8b5c01.tar.bz2 historical-5f959f3d1138ab47b4c7042068f664dd7d8b5c01.zip |
a unicode/iso10646 compatible chinese font from the hong kong government
Diffstat (limited to 'media-fonts/hkscs-ming')
-rw-r--r-- | media-fonts/hkscs-ming/ChangeLog | 10 | ||||
-rw-r--r-- | media-fonts/hkscs-ming/Manifest | 4 | ||||
-rw-r--r-- | media-fonts/hkscs-ming/files/digest-hkscs-ming-1.0_pre20030919 | 1 | ||||
-rw-r--r-- | media-fonts/hkscs-ming/hkscs-ming-1.0_pre20030919.ebuild | 57 | ||||
-rw-r--r-- | media-fonts/hkscs-ming/metadata.xml | 6 |
5 files changed, 78 insertions, 0 deletions
diff --git a/media-fonts/hkscs-ming/ChangeLog b/media-fonts/hkscs-ming/ChangeLog new file mode 100644 index 000000000000..c0fa4ac87b90 --- /dev/null +++ b/media-fonts/hkscs-ming/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for media-fonts/hkscs-ming +# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-fonts/hkscs-ming/ChangeLog,v 1.1 2004/02/07 09:32:49 liquidx Exp $ + +*hkscs-ming-1.0_pre20030919 (07 Feb 2004) + + 07 Feb 2004; Alastair Tse <liquidx@gentoo.org> + hkscs-ming-1.0_pre20030919.ebuild: + initial ebuild. finally a good chinese font :) + diff --git a/media-fonts/hkscs-ming/Manifest b/media-fonts/hkscs-ming/Manifest new file mode 100644 index 000000000000..4a962410d393 --- /dev/null +++ b/media-fonts/hkscs-ming/Manifest @@ -0,0 +1,4 @@ +MD5 23546c2051b2cb8ca10f867871f3b110 ChangeLog 406 +MD5 ef6e0b2dc352292d263a9a8c719dc729 hkscs-ming-1.0_pre20030919.ebuild 1623 +MD5 b1119d84c7a4c3535572b94ec508e907 metadata.xml 215 +MD5 b66bf4237a488e7a47d627d47d5ceb7f files/digest-hkscs-ming-1.0_pre20030919 56 diff --git a/media-fonts/hkscs-ming/files/digest-hkscs-ming-1.0_pre20030919 b/media-fonts/hkscs-ming/files/digest-hkscs-ming-1.0_pre20030919 new file mode 100644 index 000000000000..2d23e2f8fb13 --- /dev/null +++ b/media-fonts/hkscs-ming/files/digest-hkscs-ming-1.0_pre20030919 @@ -0,0 +1 @@ +MD5 f05fbcbf0b47ff9ecb1c95935c54613a setup.bin 17105645 diff --git a/media-fonts/hkscs-ming/hkscs-ming-1.0_pre20030919.ebuild b/media-fonts/hkscs-ming/hkscs-ming-1.0_pre20030919.ebuild new file mode 100644 index 000000000000..c9ec5b61cf73 --- /dev/null +++ b/media-fonts/hkscs-ming/hkscs-ming-1.0_pre20030919.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-fonts/hkscs-ming/hkscs-ming-1.0_pre20030919.ebuild,v 1.1 2004/02/07 09:32:49 liquidx Exp $ + +inherit rpm + +RESTRICT="nomirror nostrip" + +RPM_V=1.0 + +DESCRIPTION="Hong Kong SAR Government Official Reference Chinese Font that implements ISO10646 and HKSCS-2001" +HOMEPAGE="http://www.info.gov.hk/digital21/eng/hkscs/hkscs_iso.html" +SRC_URI="http://www.info.gov.hk/digital21/chi/hkscs/download/linux_redhat/setup.bin" + +LICENSE="HKSCS" +SLOT="0" +KEYWORDS="~x86" +IUSE="" + +DEPEND="" + +S=${WORKDIR} + +src_unpack() { + # complicated and convoluted unpack procedure + LINENUMBER=237 + cd ${S}; tail +${LINENUMBER} ${DISTDIR}/${A} | tar zxv || die "unpack failed" + + # then we rpm_unpack the fonts package + rpm_unpack ${S}/package_rh/imfont-${RPM_V}-0.i386.rpm +} + +src_compile() { + return +} + +src_install() { + insinto /usr/share/fonts/ttf/chinese/hkscs + doins usr/share/inputmethod/ming_uni.ttf + + /usr/X11R6/bin/mkfontscale ${D}/usr/share/fonts/ttf/chinese/hkscs + /usr/X11R6/bin/mkfontdir ${D}/usr/share/fonts/ttf/chinese/hkscs +} + +pkg_postinst() { + einfo "The font name installed is 'Ming(for ISO10646)'. To add make it" + einfo "the default Chinese font, you should add entries to your" + einfo "/etc/fonts/local.conf similar to:" + einfo " " + einfo "<alias>" + einfo " <family>Luxi Sans</family>" + einfo " <family>Bitstream Vera Sans</family>" + einfo " <family>Ming(for ISO10646)</family>" + einfo " <default><family>sans-serif</family></default>" + einfo "</alias>" + einfo " " +} diff --git a/media-fonts/hkscs-ming/metadata.xml b/media-fonts/hkscs-ming/metadata.xml new file mode 100644 index 000000000000..91f60df78924 --- /dev/null +++ b/media-fonts/hkscs-ming/metadata.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>cjk</herd> +<maintainer><email>liquidx@gentoo.org</email></maintainer> +</pkgmetadata> |