diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /media-fonts/arphicfonts | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
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/arphicfonts')
5 files changed, 291 insertions, 0 deletions
diff --git a/media-fonts/arphicfonts/Manifest b/media-fonts/arphicfonts/Manifest new file mode 100644 index 000000000000..36ead21b0308 --- /dev/null +++ b/media-fonts/arphicfonts/Manifest @@ -0,0 +1,6 @@ +DIST bkai00mp.ttf.gz 6013768 SHA256 7e56e73900315ac0ad3bdb7244dc20dd575ef634434b2b98bd747391528a6c45 SHA512 cec2dae60d2cea060c560587338e64e92b95e8fb7c6a4ee41946b9c578cd0dc7e457bcfa927011ca731210cad6906864bfbd5eb07acd2de317911f4ccf0646c6 WHIRLPOOL 359df6ee28a20477429bd19a971afd15083bdb7d5c2a57df98e74a7d7071854b8295837769846086c65ecc9c249e4616f86b56a2522bbd379c9ce86f2c878011 +DIST bsmi00lp.ttf.gz 5653466 SHA256 2201657f06c524111dd1f146e82460f6bdb3467fa3d5648be964a1a43921f730 SHA512 9aa360213b25780def342043f5c0d4d6c1236778488119125a9b702cf26312f9759c9bb7eb1ac93e0169cbbd26e5a8cc38970d8df538903868dec95c3692efeb WHIRLPOOL ef5bb28856665e8d9db0980ab1b801548a07ae9fe42af27feae9ba94d30a73db8c4822c55e15a3f497b7d3ffdf1bf0dfcbd3c078bf035013c563db529549972e +DIST gbsn00lp.ttf.gz 2345803 SHA256 be0ce76952f1d090a4b65a0a0b03bcf33f1b676916389e35421eb2edbbf4c6d6 SHA512 98bd8a03c901f680edc4073aea21729e5131d15792c5c4a25590a160a4359e29414b3c2457aa85681d475ebced442d9436024a5440a0011881bd7dd07a44623d WHIRLPOOL 90436ccf384d994a7a490bca7fff41118509478aca3ee8d025156e62a556d3166cfb518129026c0fc094d377f813ad22f23646f572b8b4d58260282b67ffe4a2 +DIST gkai00mp.ttf.gz 2698942 SHA256 f7cdb808e6d74878e157c4b0d92aff956dc7dfd9703dfc140dd595e1cdc99d4d SHA512 5797d1a4e49c4ba219381fe4e90225584513f47c29af77f8004bb318c5cddf2097be56ea6cc09ed31573e8ceeec5870129cbacafe81df3d68d8bd556594b2c89 WHIRLPOOL dfdedae4b699a67e3f4971d0f0b483876845f9e922d74b8fa1b2942a21da7dc221b24df7369ba795b777f95ab0d009f48b1e0ac01c7c71596fa4ac9745add4af +DIST ttf-arphic-ukai_0.2.20080216.1.orig.tar.gz 10336387 SHA256 0ea93b3efdd3bb71026bc545479e34ce14263a9faa20e1ac124bcf7315d19f4a SHA512 8c96d36f5e36eb73ec3e415cba7ee5f02a0b85c334af7362facb2dd9a7650ed3329cfadb21fe0fe7273f52c87f1bd1aeb039c40499ca32925db4cd96ebd03c21 WHIRLPOOL 16be17d339b28b078cc49a0edf3404ddb59504a7529b6e179960729924d335a9b788bef4ee80ee78cfb8847bab9fc3566c179c4b1faeaedc09bdb44d9e3d1df4 +DIST ttf-arphic-uming_0.2.20080216.1.orig.tar.gz 10684442 SHA256 8038a6db9e832456d5da5559aff8d15130243be1091bf24f3243503a6f1bda98 SHA512 ef96969d1c5f1bda14aadfbe112a1ba30ae1bc477a89838753287ceaf07804e59c2f3f306399e9d54074be99d0c963abdb33d789f3933fdd98453a1ef7731407 WHIRLPOOL 862276fb8b661c0de9542179ce5a9f0fc9678f25ffe8b74fc2048e6445f3c41b02f35f2d478b84b05db66b8e0407f35569bd465962110c971d0d557a64c01fca diff --git a/media-fonts/arphicfonts/arphicfonts-0.2.20080216.1-r2.ebuild b/media-fonts/arphicfonts/arphicfonts-0.2.20080216.1-r2.ebuild new file mode 100644 index 000000000000..19c7da19d643 --- /dev/null +++ b/media-fonts/arphicfonts/arphicfonts-0.2.20080216.1-r2.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit font eutils + +DESCRIPTION="Chinese TrueType Arphic Fonts" +HOMEPAGE="http://www.arphic.com.tw/ + http://www.freedesktop.org/wiki/Software/CJKUnifonts" +SRC_URI="mirror://gnu/non-gnu/chinese-fonts-truetype/gkai00mp.ttf.gz + mirror://gnu/non-gnu/chinese-fonts-truetype/bkai00mp.ttf.gz + mirror://gnu/non-gnu/chinese-fonts-truetype/bsmi00lp.ttf.gz + mirror://gnu/non-gnu/chinese-fonts-truetype/gbsn00lp.ttf.gz + mirror://ubuntu/pool/main/t/ttf-arphic-uming/ttf-arphic-uming_${PV}.orig.tar.gz + mirror://ubuntu/pool/main/t/ttf-arphic-ukai/ttf-arphic-ukai_${PV}.orig.tar.gz" + +LICENSE="Arphic" +SLOT="0" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~x86-macos" +IUSE="" + +DEPEND="media-gfx/fontforge" + +S="${WORKDIR}" + +#No binaries, only fonts +RESTRICT="strip binchecks" + +FONT_S="${S}" +FONT_SUFFIX="ttc ttf" +FONT_CONF=( "25-ttf-arphic-ukai-render.conf" + "35-ttf-arphic-ukai-aliases.conf" + "41-ttf-arphic-ukai.conf" + "75-ttf-arphic-ukai-select.conf" + "90-ttf-arphic-ukai-embolden.conf" + "25-ttf-arphic-uming-bitmaps.conf" + "25-ttf-arphic-uming-render.conf" + "35-ttf-arphic-uming-aliases.conf" + "41-ttf-arphic-uming.conf" + "64-ttf-arphic-uming.conf" + "90-ttf-arphic-uming-embolden.conf" ) + +src_unpack() { + #All of this is to ensure that we don't overwrite one font's docs + #with another's. + + unpack {gk,bk}ai00mp.ttf.gz {bsmi,gbsn}00lp.ttf.gz + mkdir "${WORKDIR}"/{uming,ukai} + + cd "${WORKDIR}"/uming + unpack ttf-arphic-uming_${PV}.orig.tar.gz + + cd "${WORKDIR}"/ukai + unpack ttf-arphic-ukai_${PV}.orig.tar.gz +} + +src_prepare() { + cd "${WORKDIR}" + find "${WORKDIR}" -mindepth 2 -maxdepth 2 -name '*.ttc' -exec mv {} . \; + find "${WORKDIR}" -name '*.conf' -exec mv "{}" . \; + epatch "${FILESDIR}"/${P}-fontconfig.patch + fontforge -script "${FILESDIR}"/${P}.pe b*.ttf || die +} + +src_install() { + local myfont doc + for myfont in ukai uming + do + cd "${WORKDIR}"/${myfont} + docinto ${myfont} + for doc in FONTLOG KNOWN_ISSUES TODO README README.Bitmap NEWS CONTRIBUTERS + do + [ -f ${doc} ] && dodoc ${doc} + done + done + cd "${S}" + font_src_install +} diff --git a/media-fonts/arphicfonts/files/arphicfonts-0.2.20080216.1-fontconfig.patch b/media-fonts/arphicfonts/files/arphicfonts-0.2.20080216.1-fontconfig.patch new file mode 100644 index 000000000000..5c5738a3bdf5 --- /dev/null +++ b/media-fonts/arphicfonts/files/arphicfonts-0.2.20080216.1-fontconfig.patch @@ -0,0 +1,192 @@ +--- a/41-ttf-arphic-ukai.conf ++++ b/41-ttf-arphic-ukai.conf +@@ -5,13 +5,28 @@ + <!-- + Sans-serif faces + --> +- <alias> +- <family>AR PL ZenKai Uni</family> +- <family>AR PL ZenKai Uni MBE</family> +- <family>AR PL UKai CN</family> +- <family>AR PL UKai HK</family> +- <family>AR PL UKai TW</family> +- <family>AR PL UKai TW MBE</family> +- <default><family>sans-serif</family></default> +- </alias> ++ <alias> ++ <family>AR PL ZenKai Uni</family> ++ <default><family>sans-serif</family></default> ++ </alias> ++ <alias> ++ <family>AR PL ZenKai Uni MBE</family> ++ <default><family>sans-serif</family></default> ++ </alias> ++ <alias> ++ <family>AR PL UKai CN</family> ++ <default><family>sans-serif</family></default> ++ </alias> ++ <alias> ++ <family>AR PL UKai HK</family> ++ <default><family>sans-serif</family></default> ++ </alias> ++ <alias> ++ <family>AR PL UKai TW</family> ++ <default><family>sans-serif</family></default> ++ </alias> ++ <alias> ++ <family>AR PL UKai TW MBE</family> ++ <default><family>sans-serif</family></default> ++ </alias> + </fontconfig> +--- a/41-ttf-arphic-uming.conf ++++ b/41-ttf-arphic-uming.conf +@@ -7,10 +7,25 @@ + --> + <alias> + <family>AR PL ShanHeiSun Uni</family> ++ <default><family>serif</family></default> ++ </alias> ++ <alias> + <family>AR PL ShanHeiSun Uni MBE</family> ++ <default><family>serif</family></default> ++ </alias> ++ <alias> + <family>AR PL UMing CN</family> ++ <default><family>serif</family></default> ++ </alias> ++ <alias> + <family>AR PL UMing HK</family> ++ <default><family>serif</family></default> ++ </alias> ++ <alias> + <family>AR PL UMing TW</family> ++ <default><family>serif</family></default> ++ </alias> ++ <alias> + <family>AR PL UMing TW MBE</family> + <default><family>serif</family></default> + </alias> +@@ -19,22 +34,52 @@ + --> + <alias> + <family>AR PL ShanHeiSun Uni</family> ++ <default><family>sans-serif</family></default> ++ </alias> ++ <alias> + <family>AR PL ShanHeiSun Uni MBE</family> ++ <default><family>sans-serif</family></default> ++ </alias> ++ <alias> + <family>AR PL UMing CN</family> ++ <default><family>sans-serif</family></default> ++ </alias> ++ <alias> + <family>AR PL UMing HK</family> ++ <default><family>sans-serif</family></default> ++ </alias> ++ <alias> + <family>AR PL UMing TW</family> ++ <default><family>sans-serif</family></default> ++ </alias> ++ <alias> + <family>AR PL UMing TW MBE</family> + <default><family>sans-serif</family></default> + </alias> + <!-- + Monospace faces + --> +- <alias> ++ <alias> + <family>AR PL ShanHeiSun Uni</family> ++ <default><family>monospace</family></default> ++ </alias> ++ <alias> + <family>AR PL ShanHeiSun Uni MBE</family> ++ <default><family>monospace</family></default> ++ </alias> ++ <alias> + <family>AR PL UMing CN</family> ++ <default><family>monospace</family></default> ++ </alias> ++ <alias> + <family>AR PL UMing HK</family> ++ <default><family>monospace</family></default> ++ </alias> ++ <alias> + <family>AR PL UMing TW</family> ++ <default><family>monospace</family></default> ++ </alias> ++ <alias> + <family>AR PL UMing TW MBE</family> + <default><family>monospace</family></default> + </alias> +--- a/25-ttf-arphic-uming-bitmaps.conf ++++ b/25-ttf-arphic-uming-bitmaps.conf +@@ -5,25 +5,65 @@ + <match target="font"> + <test name="family"> + <string>AR PL UMing CN</string> ++ </test> ++ <edit name="antialias"><bool>false</bool></edit> ++ <edit name="hinting"><bool>true</bool></edit> ++ <edit name="autohint"><bool>false</bool></edit> ++ </match> ++ <match target="font"> ++ <test name="family"> + <string>AR PL UMing HK</string> ++ </test> ++ <edit name="antialias"><bool>false</bool></edit> ++ <edit name="hinting"><bool>true</bool></edit> ++ <edit name="autohint"><bool>false</bool></edit> ++ </match> ++ <match target="font"> ++ <test name="family"> + <string>AR PL UMing TW</string> ++ </test> ++ <edit name="antialias"><bool>false</bool></edit> ++ <edit name="hinting"><bool>true</bool></edit> ++ <edit name="autohint"><bool>false</bool></edit> ++ </match> ++ <match target="font"> ++ <test name="family"> + <string>AR PL UMing TW MBE</string> + </test> + <edit name="antialias"><bool>false</bool></edit> + <edit name="hinting"><bool>true</bool></edit> + <edit name="autohint"><bool>false</bool></edit> + </match> +- + <match target="font"> + <test name="family"> + <string>AR PL UMing CN</string> ++ </test> ++ <test name="pixelsize" compare="more_eq"><int>17</int></test> ++ <edit name="antialias" mode="assign"><bool>true</bool></edit> ++ <edit name="hinting" mode="assign"><bool>true</bool></edit> ++ </match> ++ <match target="font"> ++ <test name="family"> + <string>AR PL UMing HK</string> ++ </test> ++ <test name="pixelsize" compare="more_eq"><int>17</int></test> ++ <edit name="antialias" mode="assign"><bool>true</bool></edit> ++ <edit name="hinting" mode="assign"><bool>true</bool></edit> ++ </match> ++ <match target="font"> ++ <test name="family"> + <string>AR PL UMing TW</string> ++ </test> ++ <test name="pixelsize" compare="more_eq"><int>17</int></test> ++ <edit name="antialias" mode="assign"><bool>true</bool></edit> ++ <edit name="hinting" mode="assign"><bool>true</bool></edit> ++ </match> ++ <match target="font"> ++ <test name="family"> + <string>AR PL UMing TW MBE</string> + </test> + <test name="pixelsize" compare="more_eq"><int>17</int></test> + <edit name="antialias" mode="assign"><bool>true</bool></edit> + <edit name="hinting" mode="assign"><bool>true</bool></edit> + </match> +- + </fontconfig> diff --git a/media-fonts/arphicfonts/files/arphicfonts-0.2.20080216.1.pe b/media-fonts/arphicfonts/files/arphicfonts-0.2.20080216.1.pe new file mode 100644 index 000000000000..49265a7a33be --- /dev/null +++ b/media-fonts/arphicfonts/files/arphicfonts-0.2.20080216.1.pe @@ -0,0 +1,8 @@ +i=1 +while (i < $argc) + Open($argv[i]) + Select(0ufe4f); Move(0, -760) + Generate($argv[i]) + Close() + i += 1 +endloop diff --git a/media-fonts/arphicfonts/metadata.xml b/media-fonts/arphicfonts/metadata.xml new file mode 100644 index 000000000000..6e63c30f1bb2 --- /dev/null +++ b/media-fonts/arphicfonts/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>fonts</herd> +<herd>cjk</herd> +</pkgmetadata> |