summaryrefslogtreecommitdiff
path: root/media-fonts/hkscs-ming
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /media-fonts/hkscs-ming
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.xz
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'media-fonts/hkscs-ming')
-rw-r--r--media-fonts/hkscs-ming/Manifest1
-rw-r--r--media-fonts/hkscs-ming/hkscs-ming-1.0_pre20030919-r2.ebuild49
-rw-r--r--media-fonts/hkscs-ming/metadata.xml5
3 files changed, 55 insertions, 0 deletions
diff --git a/media-fonts/hkscs-ming/Manifest b/media-fonts/hkscs-ming/Manifest
new file mode 100644
index 00000000000..6260947711d
--- /dev/null
+++ b/media-fonts/hkscs-ming/Manifest
@@ -0,0 +1 @@
+DIST mandrake_setup.bin 17157184 SHA256 eb48d48f6e82517aac7b7767f577050bba8bd677825b591c04d867486205933c SHA512 230466146642f3348483bbfb6a63a27dc3e76e248abb34fc5872edfa6b5b9a2a93cf8446c23f64b80bcac6c0c8a16059a8dc3945925a30815d222a6621daccb2 WHIRLPOOL 8e54fba8cb9c116d87afec362b0eebe75ef5f557751f34d7d3e9f9c5ba7ed261548bc6822840ca9bd3e084420eb4e0ce9c364e1aa85e297984bbc4bcab7c85aa
diff --git a/media-fonts/hkscs-ming/hkscs-ming-1.0_pre20030919-r2.ebuild b/media-fonts/hkscs-ming/hkscs-ming-1.0_pre20030919-r2.ebuild
new file mode 100644
index 00000000000..b9210b21475
--- /dev/null
+++ b/media-fonts/hkscs-ming/hkscs-ming-1.0_pre20030919-r2.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+inherit rpm font
+
+RESTRICT="mirror strip binchecks"
+
+RPM_V=1.0
+
+DESCRIPTION="Hong Kong SAR Government Official Reference Chinese Font that implements ISO10646 and HKSCS-2001"
+HOMEPAGE="http://www.ogcio.gov.hk/en/business/tech_promotion/ccli/hkscs/"
+SRC_URI="http://www.ogcio.gov.hk/en/business/tech_promotion/ccli/terms/doc/mandrake_setup.bin"
+
+LICENSE="HKSCS-2001"
+SLOT="0"
+KEYWORDS="alpha ~amd64 arm ia64 ppc s390 sh sparc x86 ~x86-fbsd"
+IUSE=""
+
+DEPEND=""
+
+S=${WORKDIR}
+FONT_S="${S}/usr/share/inputmethod"
+FONT_SUFFIX="ttf"
+
+src_unpack() {
+ # complicated and convoluted unpack procedure
+ local linenumber=237
+ cd "${S}"; tail -n +${linenumber} "${DISTDIR}/${A}" | tar zxvf - || die "unpack failed"
+
+ # then we rpm_unpack the fonts package
+ rpm_unpack "${S}/package_mdk/imfont-${RPM_V}-0.i386.rpm"
+}
+
+src_compile() { :; }
+
+pkg_postinst() {
+ elog "The font name installed is 'Ming(for ISO10646)'. To add make it"
+ elog "the default Chinese font, you should add entries to your"
+ elog "/etc/fonts/local.conf similar to:"
+ elog
+ elog "<alias>"
+ elog " <family>Luxi Sans</family>"
+ elog " <family>Bitstream Vera Sans</family>"
+ elog " <family>Ming(for ISO10646)</family>"
+ elog " <default><family>sans-serif</family></default>"
+ elog "</alias>"
+ elog
+}
diff --git a/media-fonts/hkscs-ming/metadata.xml b/media-fonts/hkscs-ming/metadata.xml
new file mode 100644
index 00000000000..aef01fc3d59
--- /dev/null
+++ b/media-fonts/hkscs-ming/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>cjk</herd>
+</pkgmetadata>