summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen de Groot <yngwin@gentoo.org>2012-07-29 15:59:47 +0000
committerBen de Groot <yngwin@gentoo.org>2012-07-29 15:59:47 +0000
commite6c57fdd1fac285a831cc094458261a3d0c73b51 (patch)
tree3213ce189acdad52d64cea37e0daa59965231cce /media-libs
parentGenerate native assembly code for fix-gnustack test (diff)
downloadgentoo-2-e6c57fdd1fac285a831cc094458261a3d0c73b51.tar.gz
gentoo-2-e6c57fdd1fac285a831cc094458261a3d0c73b51.tar.bz2
gentoo-2-e6c57fdd1fac285a831cc094458261a3d0c73b51.zip
Initial commit. Ebuild based on the one in infinality-overlay.
(Portage version: 2.2.0_alpha120/cvs/Linux x86_64, RepoMan options: --force)
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/fontconfig-infinality/ChangeLog9
-rw-r--r--media-libs/fontconfig-infinality/Manifest5
-rw-r--r--media-libs/fontconfig-infinality/files/Xresources32
-rw-r--r--media-libs/fontconfig-infinality/fontconfig-infinality-20120619.ebuild56
-rw-r--r--media-libs/fontconfig-infinality/metadata.xml11
5 files changed, 113 insertions, 0 deletions
diff --git a/media-libs/fontconfig-infinality/ChangeLog b/media-libs/fontconfig-infinality/ChangeLog
new file mode 100644
index 000000000000..8ef0898706f4
--- /dev/null
+++ b/media-libs/fontconfig-infinality/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for media-libs/fontconfig-infinality
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/fontconfig-infinality/ChangeLog,v 1.1 2012/07/29 15:59:47 yngwin Exp $
+
+*fontconfig-infinality-20120619 (29 Jul 2012)
+
+ 29 Jul 2012; Ben de Groot <yngwin@gentoo.org> +files/Xresources,
+ +fontconfig-infinality-20120619.ebuild, +metadata.xml:
+ Initial commit. Ebuild based on the one in infinality-overlay.
diff --git a/media-libs/fontconfig-infinality/Manifest b/media-libs/fontconfig-infinality/Manifest
new file mode 100644
index 000000000000..e74b41deb190
--- /dev/null
+++ b/media-libs/fontconfig-infinality/Manifest
@@ -0,0 +1,5 @@
+AUX Xresources 1814 SHA256 edbc78ddf590ab9bdf19e6f34fedf6ecdc54c29da67c0d14f25c74e7ae8207a4 SHA512 0647e3a2ed6f68c8d1266de52288bac2fca9320aef1573e74f30bff0e0176c6a63c8c71d3d4aae764b5bf57fe3ca8f3f2906e1c51d8cb26c855bb9858490f3b0 WHIRLPOOL f41770a99158482b25d332a6fdb2d64d31d94c4ec95423e462ef44aecc54fa19391c31061d79305c6194bda83b23a59b019e29a507a7f0c9563decc7a07b17c1
+DIST fontconfig-infinality-20120619.tar.xz 18956 SHA256 56563ea3200fa9c9b0a269260115e93bb4a635cef073655bef8dbe541031cac6 SHA512 2b20dd6c459572d8864459c32b9a50cfa3757df9fbdab75528772be81dbe7de31d2e997c4047083270769ee80d5e110ca43a9bddaf8c771f70e4181cab7cfb56 WHIRLPOOL 9fb51dbd24e118b276a0e7688a5d8d1f3db4952a399ef076db62531bb13f48c5b7484f3664c0d8de6fc809ad37b76275a95124bea366d3a6bd4e847b5f354d2e
+DIST fontconfig-nyx-1.tar.xz 1344 SHA256 17b51546e95c5062789d9359b38a41bab9a40ab48889247c7baf340bba2441d5 SHA512 d4959b0e81f9dc3529f5ee043dd5e0c45dc66848f4685daa1ef02aa8a40ed8e229f1da3f20a1ff9e315b15daddf9fb37c6ec1396eb9965fdbe3faf22c1cc70c8 WHIRLPOOL 7eeb7c1ad460cd08b682b1da167df842daefcbde0eb759ccbb774f3b9c6d9f6454af7046d4301f0afcb51ac8cc94d97d69b985c94628b94a626457658815b4d6
+EBUILD fontconfig-infinality-20120619.ebuild 1385 SHA256 4e66edd198d2161abcac8dbe357ef0df33e2b01d44fea4ff03eb0e46f7583376 SHA512 a46a32102c28c13423c821c5d923e10e597e57cac841d5b1c9b31e1706a3f886178f413f78180aef5ede51f06c2c14b500f1447b3dbfa5457abf039ec3c2df6f WHIRLPOOL 912e817348ce7d0805a0ff0188c98fbdf8374dceb85f5728bf94d1483aa9695ec08edbfdd7a8850864265db83ca67d760230aeb614faa29b9717a026c395980a
+MISC metadata.xml 326 SHA256 9c7176fa28d98b4701e96f250578600720eceba3d275e82c76087520060d458e SHA512 2378d93927b3e92cf7567e19879e2528f4755ed51ca1721630414a7153cf33e8aa22382cef15b7fb4eb18c79e2664101f2c7a9d8009e0586055be727e4887eec WHIRLPOOL 64b4a25f562b780dab0898e6dde4e9fb547511ae2f9868cd393b87f684f120681373c473342a2d2c0261fae791962140556a6a805af63a358cefa9660df2df65
diff --git a/media-libs/fontconfig-infinality/files/Xresources b/media-libs/fontconfig-infinality/files/Xresources
new file mode 100644
index 000000000000..d34e00121d3f
--- /dev/null
+++ b/media-libs/fontconfig-infinality/files/Xresources
@@ -0,0 +1,32 @@
+#################################################################
+################## EXPLANATION OF SETTINGS ######################
+#################################################################
+
+# XFT settings are like a red-headed stepchild that should be beaten severely.
+# These only affect legacy programs, and *parts* of some modern programs like
+# google-chrome. We only deal with these settings because we have to, otherwise
+# crap will slip by. I recommend using hintslight and autohint as the defaults
+# normally in local.conf. The reason hintfull and autohint:0 is needed here
+# because otherwise some programs will occassionally request slight hinting for
+# a truetype font. When a program does this, Freetype automatically uses the
+# autohinter, when you may actually want it to be rendered with the TT hinter,
+# (if specified in local.conf). So setting this to hintfull guarantees that the
+# TT font will be rendered with the TT hinter (assuming it is specified in
+# /etc/fonts/local.conf to be rendered that way.) For TT fonts that you want
+# rendered with autohint, specifiying that in the /etc/fonts/local.conf
+# should be enough. But you might think that by setting this to hintfull
+# that it's going to use Freetype's full autohinting (which we *completely*
+# avoid) for fonts you want autohinted. This is where
+# INFINALITY_FT_AUTOFIT_FORCE_SLIGHT_HINTING comes in. It tells freetype to
+# use slight hinting on fonts set for autohinting, even if the program requests
+# full autohinting. Freetype's full hinting only looks OK under certain
+# circumstances. The goal of infinality is to make infinality hinting look
+# good all the time.
+
+Xft.antialias: 1
+Xft.autohint: 0
+Xft.dpi: 96
+Xft.hinting: 1
+Xft.hintstyle: hintfull
+Xft.lcdfilter: lcddefault
+Xft.rgba: rgb
diff --git a/media-libs/fontconfig-infinality/fontconfig-infinality-20120619.ebuild b/media-libs/fontconfig-infinality/fontconfig-infinality-20120619.ebuild
new file mode 100644
index 000000000000..43ed53661367
--- /dev/null
+++ b/media-libs/fontconfig-infinality/fontconfig-infinality-20120619.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/fontconfig-infinality/fontconfig-infinality-20120619.ebuild,v 1.1 2012/07/29 15:59:47 yngwin Exp $
+
+EAPI="4"
+
+DESCRIPTION="Configuration to be used in conjunction with the freetype-infinality subpixel hinting"
+HOMEPAGE="http://www.infinality.net/blog/infinality-freetype-patches/"
+SRC_URI="http://dev.gentoo.org/~yngwin/distfiles/${P}.tar.xz
+ nyx? ( http://dev.gentoo.org/~yngwin/distfiles/fontconfig-nyx-1.tar.xz )"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+nyx"
+
+DEPEND=""
+RDEPEND="app-admin/eselect-fontconfig
+ app-admin/eselect-infinality
+ app-admin/eselect-lcdfilter
+ >=x11-libs/libXft-2.3.0
+ nyx? ( media-fonts/croscorefonts )"
+PDEPEND="media-libs/freetype:2[lcdfilter]"
+
+src_configure() {
+ :
+}
+
+src_compile() {
+ :
+}
+
+src_install() {
+ dodoc infinality/{CHANGELOG,CHANGELOG.pre_git,README}
+
+ insinto /etc/fonts/conf.avail
+ doins conf.avail/52-infinality.conf
+
+ insinto /etc/fonts/infinality
+ doins -r infinality/{conf.src,styles.conf.avail,infinality.conf}
+
+ insinto /etc/X11/
+ doins "${FILESDIR}"/Xresources
+
+ if use nyx ; then
+ insinto /etc/fonts/infinality/styles.conf.avail
+ doins -r "${WORKDIR}"/nyx
+ fi
+}
+
+pkg_postinst() {
+ elog "Use eselect fontconfig enable 52-infinality.conf"
+ elog "to enable the configuration"
+ elog "Then use eselect infinality to set your fontconfig style"
+ elog "and eselect lcdfilter to set freetype variables"
+}
diff --git a/media-libs/fontconfig-infinality/metadata.xml b/media-libs/fontconfig-infinality/metadata.xml
new file mode 100644
index 000000000000..6709f5bb7438
--- /dev/null
+++ b/media-libs/fontconfig-infinality/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>yngwin@gentoo.org</email>
+ </maintainer>
+ <herd>fonts</herd>
+ <use>
+ <flag name="nyx">Additional style by Ben de Groot using croscorefonts</flag>
+ </use>
+</pkgmetadata>