summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen de Groot <yngwin@gentoo.org>2013-04-05 08:58:58 +0000
committerBen de Groot <yngwin@gentoo.org>2013-04-05 08:58:58 +0000
commit908792593676bce85ba880fb1c2260b37ff6f1d0 (patch)
treeeea8c71250287eef42f0f19650cb85e4cd31dfc4 /media-libs
parentBump for #464652 (diff)
downloadgentoo-2-908792593676bce85ba880fb1c2260b37ff6f1d0.tar.gz
gentoo-2-908792593676bce85ba880fb1c2260b37ff6f1d0.tar.bz2
gentoo-2-908792593676bce85ba880fb1c2260b37ff6f1d0.zip
Version bump, fixes bug #456652, #430550, #452860, #462924, and #436500
(Portage version: 2.2.0_alpha171/cvs/Linux x86_64, signed Manifest commit with key 0x2B2474AD43CE296E!)
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/fontconfig-infinality/ChangeLog12
-rw-r--r--media-libs/fontconfig-infinality/files/Xresources25
-rw-r--r--media-libs/fontconfig-infinality/fontconfig-infinality-20130404.ebuild57
3 files changed, 69 insertions, 25 deletions
diff --git a/media-libs/fontconfig-infinality/ChangeLog b/media-libs/fontconfig-infinality/ChangeLog
index c8015326e694..0d3c1700860a 100644
--- a/media-libs/fontconfig-infinality/ChangeLog
+++ b/media-libs/fontconfig-infinality/ChangeLog
@@ -1,6 +1,16 @@
# ChangeLog for media-libs/fontconfig-infinality
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/fontconfig-infinality/ChangeLog,v 1.4 2013/01/25 11:06:15 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/fontconfig-infinality/ChangeLog,v 1.5 2013/04/05 08:58:58 yngwin Exp $
+
+*fontconfig-infinality-20130404 (05 Apr 2013)
+
+ 05 Apr 2013; Ben de Groot <yngwin@gentoo.org>
+ +fontconfig-infinality-20130404.ebuild, files/Xresources:
+ Version bump, thanks to lxnay for rolling the tarball.
+ Fixes bugs #456652 (version bump), #430550 (broken link), #452860 (wrong
+ Xresources syntax), #462924 (multiple values in test warning), and adds
+ a warning about type-1 fonts (#436500). Implements readme.gentoo eclass.
+ Apologies for the delay.
25 Jan 2013; Agostino Sarubbo <ago@gentoo.org>
fontconfig-infinality-20120619.ebuild:
diff --git a/media-libs/fontconfig-infinality/files/Xresources b/media-libs/fontconfig-infinality/files/Xresources
index d34e00121d3f..c65472e24001 100644
--- a/media-libs/fontconfig-infinality/files/Xresources
+++ b/media-libs/fontconfig-infinality/files/Xresources
@@ -1,27 +1,4 @@
-#################################################################
-################## 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.
+! basic settings for infinality
Xft.antialias: 1
Xft.autohint: 0
diff --git a/media-libs/fontconfig-infinality/fontconfig-infinality-20130404.ebuild b/media-libs/fontconfig-infinality/fontconfig-infinality-20130404.ebuild
new file mode 100644
index 000000000000..2c8b5328688d
--- /dev/null
+++ b/media-libs/fontconfig-infinality/fontconfig-infinality-20130404.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/fontconfig-infinality/fontconfig-infinality-20130404.ebuild,v 1.1 2013/04/05 08:58:58 yngwin Exp $
+
+EAPI=5
+inherit readme.gentoo
+
+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-2.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[infinality]"
+
+DOC_CONTENTS="Use eselect fontconfig enable 52-infinality.conf to enable the
+configuration. Then use eselect infinality to set your fontconfig style and
+eselect lcdfilter to set freetype variables. If you run into trouble with
+applications not being able to find Type-1 fonts, then comment out the
+relevant lines in /etc/fonts/infinality/infinality.conf"
+
+src_configure() {
+ :
+}
+
+src_compile() {
+ :
+}
+
+src_install() {
+ dodoc infinality/{CHANGELOG,CHANGELOG.pre_git,README}
+ readme.gentoo_create_doc
+
+ 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
+}