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/wqy-zenhei | |
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/wqy-zenhei')
-rw-r--r-- | media-fonts/wqy-zenhei/Manifest | 1 | ||||
-rw-r--r-- | media-fonts/wqy-zenhei/files/44-wqy-zenhei.conf.patch | 39 | ||||
-rw-r--r-- | media-fonts/wqy-zenhei/metadata.xml | 8 | ||||
-rw-r--r-- | media-fonts/wqy-zenhei/wqy-zenhei-0.9.46.ebuild | 54 |
4 files changed, 102 insertions, 0 deletions
diff --git a/media-fonts/wqy-zenhei/Manifest b/media-fonts/wqy-zenhei/Manifest new file mode 100644 index 000000000000..dd3810a6cab4 --- /dev/null +++ b/media-fonts/wqy-zenhei/Manifest @@ -0,0 +1 @@ +DIST wqy-zenhei-0.9.46-May.tar.bz2 8665887 SHA256 00e75d03af47fa3bf79a0fba2da93711c6c89a9313c8873ab1145a5fa3f845d0 SHA512 ff41473fc9bd69c04cc509d1f8915d5bcf99d175ed9dfd2f9627fd56f6a4e7720e4930d35313d1e89f090b229f2e3f461c948046257fadee192dd618471f7833 WHIRLPOOL 67f65c8ff09a5e8c0056d4ccdaec3f61187d3df3a84ce86e5012cde25d210736b70b90faec9d761f792b9501b3b41a94472f39ab41e675773835b9a7a71ccc9f diff --git a/media-fonts/wqy-zenhei/files/44-wqy-zenhei.conf.patch b/media-fonts/wqy-zenhei/files/44-wqy-zenhei.conf.patch new file mode 100644 index 000000000000..6c90475d9e4f --- /dev/null +++ b/media-fonts/wqy-zenhei/files/44-wqy-zenhei.conf.patch @@ -0,0 +1,39 @@ +--- 44-wqy-zenhei.conf.old 2014-02-14 00:41:31.277115976 +0100 ++++ 44-wqy-zenhei.conf 2014-02-14 00:43:18.985123207 +0100 +@@ -4,9 +4,35 @@ + <fontconfig> + <!-- modified by Madsen@SMTH --> + <match target="font"> +- <test qual="any" name="family"> ++ <test name="family"> + <string>WenQuanYi Zen Hei</string> ++ </test> ++ <edit name="globaladvance"><bool>false</bool></edit> ++ <edit name="spacing"><int>0</int></edit> ++ <edit name="antialias" mode="assign"><bool>true</bool></edit> ++ <edit name="hinting" mode="assign"><bool>true</bool></edit> ++ <edit name="hintstyle" mode="assign"><const>hintnone</const></edit> ++ <edit name="autohint" mode="assign"><bool>false</bool></edit> ++ <edit name="rh_prefer_bitmaps" mode="assign"><bool>false</bool></edit> ++ <edit name="rgba" mode="assign"><const>none</const></edit> ++ <edit name="embeddedbitmap"><bool>false</bool></edit> ++ </match> ++ <match target="font"> ++ <test name="family"> + <string>文泉驿正黑</string> ++ </test> ++ <edit name="globaladvance"><bool>false</bool></edit> ++ <edit name="spacing"><int>0</int></edit> ++ <edit name="antialias" mode="assign"><bool>true</bool></edit> ++ <edit name="hinting" mode="assign"><bool>true</bool></edit> ++ <edit name="hintstyle" mode="assign"><const>hintnone</const></edit> ++ <edit name="autohint" mode="assign"><bool>false</bool></edit> ++ <edit name="rh_prefer_bitmaps" mode="assign"><bool>false</bool></edit> ++ <edit name="rgba" mode="assign"><const>none</const></edit> ++ <edit name="embeddedbitmap"><bool>false</bool></edit> ++ </match> ++ <match target="font"> ++ <test name="family"> + <string>文泉驛正黑</string> + </test> + <edit name="globaladvance"><bool>false</bool></edit> diff --git a/media-fonts/wqy-zenhei/metadata.xml b/media-fonts/wqy-zenhei/metadata.xml new file mode 100644 index 000000000000..30ddb0f15866 --- /dev/null +++ b/media-fonts/wqy-zenhei/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>fonts</herd> + <upstream> + <remote-id type="sourceforge">wqy</remote-id> + </upstream> +</pkgmetadata> diff --git a/media-fonts/wqy-zenhei/wqy-zenhei-0.9.46.ebuild b/media-fonts/wqy-zenhei/wqy-zenhei-0.9.46.ebuild new file mode 100644 index 000000000000..cfd5fea2c3de --- /dev/null +++ b/media-fonts/wqy-zenhei/wqy-zenhei-0.9.46.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +DISABLE_AUTOFORMATTING=true +inherit font readme.gentoo + +DESCRIPTION="WenQuanYi Hei-Ti Style (sans-serif) Chinese outline font" +HOMEPAGE="http://wenq.org/wqy2/index.cgi?ZenHei" +SRC_URI="mirror://sourceforge/project/wqy/${PN}-snapshot/${PV}-May/${P}-May.tar.bz2" + +LICENSE="GPL-2-with-font-exception" +SLOT="0" +KEYWORDS="amd64 arm ppc ppc64 x86 ~x86-fbsd" +IUSE="" + +S="${WORKDIR}/${PN}" +FONT_S="${S}" +FONT_SUFFIX="ttc" +FONT_CONF=( + 43-wqy-zenhei-sharp.conf + 44-wqy-zenhei.conf +) + +# Only installs fonts +RESTRICT="binchecks strip test" + +DOC_CONTENTS="This font installs two fontconfig configuration files. + +To activate preferred rendering, run: + eselect fontconfig enable 44-wqy-zenhei.conf + +To make the font only use embedded bitmap fonts when available, run: + eselect fontconfig enable 43-wqy-zenhei-sharp.conf" + +src_prepare() { + epatch "${FILESDIR}/44-wqy-zenhei.conf.patch" +} + +src_compile() { + : +} + +src_install() { + font_src_install + readme.gentoo_create_doc +} + +pkg_postinst() { + unset FONT_CONF # override default message + font_pkg_postinst + readme.gentoo_pkg_postinst +} |