summaryrefslogtreecommitdiff
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-libs/fontconfig-ultimate
downloadgentoo-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-libs/fontconfig-ultimate')
-rw-r--r--media-libs/fontconfig-ultimate/Manifest2
-rw-r--r--media-libs/fontconfig-ultimate/fontconfig-ultimate-2015.04.ebuild111
-rw-r--r--media-libs/fontconfig-ultimate/fontconfig-ultimate-2015.08.01.ebuild111
-rw-r--r--media-libs/fontconfig-ultimate/metadata.xml12
4 files changed, 236 insertions, 0 deletions
diff --git a/media-libs/fontconfig-ultimate/Manifest b/media-libs/fontconfig-ultimate/Manifest
new file mode 100644
index 000000000000..c3372961ed0d
--- /dev/null
+++ b/media-libs/fontconfig-ultimate/Manifest
@@ -0,0 +1,2 @@
+DIST fontconfig-ultimate-2015.04.tar.gz 455899 SHA256 e3bc9dd9c145156bd7bfa8e70c2328f47be6873da31c319bc594a5819afb8732 SHA512 cdf11c298c9746c720dd6a4e1d361aa16244fdd46630fa00fea03d6d57956b6cee41b3ea439c84d81756a11d63768e4672851c9692a87944b6688a9763a06096 WHIRLPOOL 6847f41cb76d9da8b3b00143a7277b7be516390780ae92ef942aaa11d5ce785c555f8fe79d58200e684dbeb1b17735c215ba886db429c56750251c58abce294a
+DIST fontconfig-ultimate-2015.08.01.tar.gz 1241997 SHA256 19b3eac37f589a651e90507680c80e19bcb2ed4e3e6c63da7ca3c6e22bb209e9 SHA512 2c1e8c522c94f6db45c63cde610bd2abf95ae913241ebda275d40cda0c0b62a489047749eaefa78fcf25d802ebad442f32f2bbf5629d4fa8ee0c6dbc9f105de9 WHIRLPOOL f26910fc2bebf15cb86376ee7b690a46c2d2f6f915f410307e9e9c20155a2bdbf5b8e2d63cafb371e44e63058f41ed93b5c8b09b36feb740970cb468644e18eb
diff --git a/media-libs/fontconfig-ultimate/fontconfig-ultimate-2015.04.ebuild b/media-libs/fontconfig-ultimate/fontconfig-ultimate-2015.04.ebuild
new file mode 100644
index 000000000000..0dcc2054e22a
--- /dev/null
+++ b/media-libs/fontconfig-ultimate/fontconfig-ultimate-2015.04.ebuild
@@ -0,0 +1,111 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit readme.gentoo versionator
+
+MY_PV=$(replace_all_version_separators "-")
+DESCRIPTION="A set of font rendering and replacement rules for fontconfig-infinality"
+HOMEPAGE="http://bohoomil.com/"
+SRC_URI="https://github.com/bohoomil/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="app-eselect/eselect-infinality
+ app-eselect/eselect-lcdfilter
+ media-libs/fontconfig-infinality
+ media-libs/freetype:2[infinality]"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/${PN}-${MY_PV}
+
+DISABLE_AUTOFORMATTING="1"
+DOC_CONTENTS="1. Disable all rules but 52-infinality.conf using eselect fontconfig
+2. Enable one of the \"ultimate\" presets using eselect infinality
+3. Select ultimate lcdfilter settings using eselect lcdfilter"
+
+BLACKLIST="43-wqy-zenhei-sharp.conf"
+
+src_prepare() {
+ pushd fontconfig_patches/fonts-settings || die
+ rm ${BLACKLIST} || die
+ popd
+
+ # Generate lcdfilter config
+ echo -e "################# FONTCONFIG ULTIMATE STYLE #################\n" \
+ > "${T}"/ultimate || die
+
+ local infinality_style
+ infinality_style=$(sed --quiet \
+ -e 's/^USE_STYLE="*\([1-9]\)"*/\1/p' \
+ freetype/infinality-settings.sh) || die
+
+ if ! [ -n "$infinality_style" ]; then
+ ewarn "Missing USE_STYLE variable in package source."
+ infinality_style=1
+ fi
+
+ sed --quiet \
+ -e '/INFINALITY_FT_FILTER_PARAMS=/p' \
+ freetype/infinality-settings.sh \
+ | sed --quiet \
+ -e "${infinality_style} s/[ \t]*export[ \t]*//p" \
+ >> "${T}"/ultimate
+ assert
+
+ sed --quiet \
+ -e '/INFINALITY_FT_FILTER_PARAMS/ d' \
+ -e 's/^[ \t]*export[ \t]*INFINALITY_FT/INFINALITY_FT/p' \
+ freetype/infinality-settings.sh \
+ >> "${T}"/ultimate || die
+}
+
+src_install() {
+ insinto /etc/fonts/infinality/conf.src.ultimate
+ doins conf.d.infinality/*.conf
+ doins fontconfig_patches/{ms,free,combi}/*.conf
+
+ # Cut a list of default .conf files out of Makefile.am
+ local default_configs config fonts_settings
+ default_configs=$(sed --quiet \
+ -e ':again' \
+ -e '/\\$/ N' \
+ -e 's/\\\n/ /' \
+ -e 't again' \
+ -e 's/^CONF_LINKS =//p' \
+ conf.d.infinality/Makefile.am) || die
+
+ # Install per-font settings
+ pushd fontconfig_patches/fonts-settings || die
+ doins *.conf
+ fonts_settings=$(echo *.conf)
+ popd
+
+ # Install font presets
+ pushd fontconfig_patches/ms || die
+ for config in ${default_configs} ${fonts_settings} *.conf; do
+ dosym ../../conf.src.ultimate/"${config}" \
+ /etc/fonts/infinality/styles.conf.avail/ultimate-ms/"${config}"
+ done
+ popd
+ pushd fontconfig_patches/free || die
+ for config in ${default_configs} ${fonts_settings} *.conf; do
+ dosym ../../conf.src.ultimate/"${config}" \
+ /etc/fonts/infinality/styles.conf.avail/ultimate-free/"${config}"
+ done
+ popd
+ pushd fontconfig_patches/combi || die
+ for config in ${default_configs} ${fonts_settings} *.conf; do
+ dosym ../../conf.src.ultimate/"${config}" \
+ /etc/fonts/infinality/styles.conf.avail/ultimate-combi/"${config}"
+ done
+ popd
+
+ insinto /usr/share/eselect-lcdfilter/env.d
+ doins "${T}"/ultimate
+
+ readme.gentoo_create_doc
+}
diff --git a/media-libs/fontconfig-ultimate/fontconfig-ultimate-2015.08.01.ebuild b/media-libs/fontconfig-ultimate/fontconfig-ultimate-2015.08.01.ebuild
new file mode 100644
index 000000000000..0dcc2054e22a
--- /dev/null
+++ b/media-libs/fontconfig-ultimate/fontconfig-ultimate-2015.08.01.ebuild
@@ -0,0 +1,111 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit readme.gentoo versionator
+
+MY_PV=$(replace_all_version_separators "-")
+DESCRIPTION="A set of font rendering and replacement rules for fontconfig-infinality"
+HOMEPAGE="http://bohoomil.com/"
+SRC_URI="https://github.com/bohoomil/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="app-eselect/eselect-infinality
+ app-eselect/eselect-lcdfilter
+ media-libs/fontconfig-infinality
+ media-libs/freetype:2[infinality]"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/${PN}-${MY_PV}
+
+DISABLE_AUTOFORMATTING="1"
+DOC_CONTENTS="1. Disable all rules but 52-infinality.conf using eselect fontconfig
+2. Enable one of the \"ultimate\" presets using eselect infinality
+3. Select ultimate lcdfilter settings using eselect lcdfilter"
+
+BLACKLIST="43-wqy-zenhei-sharp.conf"
+
+src_prepare() {
+ pushd fontconfig_patches/fonts-settings || die
+ rm ${BLACKLIST} || die
+ popd
+
+ # Generate lcdfilter config
+ echo -e "################# FONTCONFIG ULTIMATE STYLE #################\n" \
+ > "${T}"/ultimate || die
+
+ local infinality_style
+ infinality_style=$(sed --quiet \
+ -e 's/^USE_STYLE="*\([1-9]\)"*/\1/p' \
+ freetype/infinality-settings.sh) || die
+
+ if ! [ -n "$infinality_style" ]; then
+ ewarn "Missing USE_STYLE variable in package source."
+ infinality_style=1
+ fi
+
+ sed --quiet \
+ -e '/INFINALITY_FT_FILTER_PARAMS=/p' \
+ freetype/infinality-settings.sh \
+ | sed --quiet \
+ -e "${infinality_style} s/[ \t]*export[ \t]*//p" \
+ >> "${T}"/ultimate
+ assert
+
+ sed --quiet \
+ -e '/INFINALITY_FT_FILTER_PARAMS/ d' \
+ -e 's/^[ \t]*export[ \t]*INFINALITY_FT/INFINALITY_FT/p' \
+ freetype/infinality-settings.sh \
+ >> "${T}"/ultimate || die
+}
+
+src_install() {
+ insinto /etc/fonts/infinality/conf.src.ultimate
+ doins conf.d.infinality/*.conf
+ doins fontconfig_patches/{ms,free,combi}/*.conf
+
+ # Cut a list of default .conf files out of Makefile.am
+ local default_configs config fonts_settings
+ default_configs=$(sed --quiet \
+ -e ':again' \
+ -e '/\\$/ N' \
+ -e 's/\\\n/ /' \
+ -e 't again' \
+ -e 's/^CONF_LINKS =//p' \
+ conf.d.infinality/Makefile.am) || die
+
+ # Install per-font settings
+ pushd fontconfig_patches/fonts-settings || die
+ doins *.conf
+ fonts_settings=$(echo *.conf)
+ popd
+
+ # Install font presets
+ pushd fontconfig_patches/ms || die
+ for config in ${default_configs} ${fonts_settings} *.conf; do
+ dosym ../../conf.src.ultimate/"${config}" \
+ /etc/fonts/infinality/styles.conf.avail/ultimate-ms/"${config}"
+ done
+ popd
+ pushd fontconfig_patches/free || die
+ for config in ${default_configs} ${fonts_settings} *.conf; do
+ dosym ../../conf.src.ultimate/"${config}" \
+ /etc/fonts/infinality/styles.conf.avail/ultimate-free/"${config}"
+ done
+ popd
+ pushd fontconfig_patches/combi || die
+ for config in ${default_configs} ${fonts_settings} *.conf; do
+ dosym ../../conf.src.ultimate/"${config}" \
+ /etc/fonts/infinality/styles.conf.avail/ultimate-combi/"${config}"
+ done
+ popd
+
+ insinto /usr/share/eselect-lcdfilter/env.d
+ doins "${T}"/ultimate
+
+ readme.gentoo_create_doc
+}
diff --git a/media-libs/fontconfig-ultimate/metadata.xml b/media-libs/fontconfig-ultimate/metadata.xml
new file mode 100644
index 000000000000..33de2dc0257f
--- /dev/null
+++ b/media-libs/fontconfig-ultimate/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>fonts</herd>
+ <maintainer>
+ <email>witold.pilat@gmail.com</email>
+ <description>Proxied/co-maintainer. CC on bugs.</description>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">bohoomil/fontconfig-ultimate</remote-id>
+ </upstream>
+</pkgmetadata>