diff options
author | Jeffrey Gardner <je_fro@gentoo.org> | 2007-06-10 05:00:02 +0000 |
---|---|---|
committer | Jeffrey Gardner <je_fro@gentoo.org> | 2007-06-10 05:00:02 +0000 |
commit | f6642076fac8d36323229723c7e5e2e8bc1237f4 (patch) | |
tree | 47b1e8c6ea85744c5a72f185789016bddcffd614 /media-fonts/liberation-fonts-ttf | |
parent | Adding fontconfig file. Thanks to Ed Catmur and Wouter Bolsterlee. (diff) | |
download | gentoo-2-f6642076fac8d36323229723c7e5e2e8bc1237f4.tar.gz gentoo-2-f6642076fac8d36323229723c7e5e2e8bc1237f4.tar.bz2 gentoo-2-f6642076fac8d36323229723c7e5e2e8bc1237f4.zip |
Bumping to -r1 with addition of fontconfig file.
(Portage version: 2.1.2.7)
Diffstat (limited to 'media-fonts/liberation-fonts-ttf')
4 files changed, 49 insertions, 17 deletions
diff --git a/media-fonts/liberation-fonts-ttf/ChangeLog b/media-fonts/liberation-fonts-ttf/ChangeLog index 7f4e7a165ac1..a0bd638fb7a8 100644 --- a/media-fonts/liberation-fonts-ttf/ChangeLog +++ b/media-fonts/liberation-fonts-ttf/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-fonts/liberation-fonts-ttf # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-fonts/liberation-fonts-ttf/ChangeLog,v 1.11 2007/06/10 04:42:59 je_fro Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-fonts/liberation-fonts-ttf/ChangeLog,v 1.12 2007/06/10 05:00:02 je_fro Exp $ + +*liberation-fonts-ttf-3-r1 (10 Jun 2007) + + 10 Jun 2007; Jeff Gardner <je_fro@gentoo.org> + liberation-fonts-ttf-3.ebuild, +liberation-fonts-ttf-3-r1.ebuild: + Bumping to -r1 with addition of fontconfig file. 10 Jun 2007; Jeff Gardner <je_fro@gentoo.org> +files/liberation-fonts-ttf-fontconfig.txt, liberation-fonts-ttf-3.ebuild: diff --git a/media-fonts/liberation-fonts-ttf/files/digest-liberation-fonts-ttf-3-r1 b/media-fonts/liberation-fonts-ttf/files/digest-liberation-fonts-ttf-3-r1 new file mode 100644 index 000000000000..785629a21857 --- /dev/null +++ b/media-fonts/liberation-fonts-ttf/files/digest-liberation-fonts-ttf-3-r1 @@ -0,0 +1,3 @@ +MD5 77728078a17e39f7c242b42c3bf6feb8 liberation-fonts-ttf-3.tar.gz 648223 +RMD160 40b33ec4415cfabafbf9a6fb5f7c335722edd14b liberation-fonts-ttf-3.tar.gz 648223 +SHA256 174cf27c57612971434ec8cc4a52bfd37bad8408e9b9219539c6d5113df6ff8f liberation-fonts-ttf-3.tar.gz 648223 diff --git a/media-fonts/liberation-fonts-ttf/liberation-fonts-ttf-3-r1.ebuild b/media-fonts/liberation-fonts-ttf/liberation-fonts-ttf-3-r1.ebuild new file mode 100644 index 000000000000..5518b7566206 --- /dev/null +++ b/media-fonts/liberation-fonts-ttf/liberation-fonts-ttf-3-r1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-fonts/liberation-fonts-ttf/liberation-fonts-ttf-3-r1.ebuild,v 1.1 2007/06/10 05:00:02 je_fro Exp $ + +inherit font + +MY_PV="0.2" + +DESCRIPTION="A GPL-2 TrueType font replacement, courtesy of Red Hat." +SRC_URI="https://www.redhat.com/f/fonts/${P}.tar.gz" +HOMEPAGE="http://www.redhat.com" +KEYWORDS="~amd64 ~x86" +SLOT="0" +LICENSE="GPL-2-with-exceptions" +IUSE="X" + +FONT_PN="${PN/-ttf/}" +FONT_S="${WORKDIR}/${FONT_PN}-${MY_PV}" +S="${FONT_S}" + +FONT_SUFFIX="ttf" +DOCS="License.txt" + +src_install() { + font_src_install + + # from http://uwstopia.nl/blog/2007/05/free-your-fonts + insinto /etc/fonts/conf.avail + newins ${FILESDIR}/${PN}-fontconfig.txt 60-liberation.conf \ + || die "newins failed" +} + +pkg_postinst() { + einfo + einfo "To substitute Liberation fonts for Microsoft equivalents, use:" + einfo " cd /etc/fonts/conf.d/ && ln -sf ../conf.avail/60-liberation.conf ." + einfo +} diff --git a/media-fonts/liberation-fonts-ttf/liberation-fonts-ttf-3.ebuild b/media-fonts/liberation-fonts-ttf/liberation-fonts-ttf-3.ebuild index 5f6fa9f1c16e..bea1b9b586b6 100644 --- a/media-fonts/liberation-fonts-ttf/liberation-fonts-ttf-3.ebuild +++ b/media-fonts/liberation-fonts-ttf/liberation-fonts-ttf-3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-fonts/liberation-fonts-ttf/liberation-fonts-ttf-3.ebuild,v 1.8 2007/06/10 04:42:59 je_fro Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-fonts/liberation-fonts-ttf/liberation-fonts-ttf-3.ebuild,v 1.9 2007/06/10 05:00:02 je_fro Exp $ inherit font @@ -20,18 +20,3 @@ S="${FONT_S}" FONT_SUFFIX="ttf" DOCS="License.txt" - -src_install() { - font_src_install - - # from http://uwstopia.nl/blog/2007/05/free-your-fonts - insinto /etc/fonts/conf.avail - newins ${FILESDIR}/${PN}-fontconfig.txt 60-liberation.conf \ - || die "newins failed" -} - -pkg_postinst() { - einfo - einfo "To substitute Liberation fonts for Microsoft equivalents, use:" - einfo " cd /etc/fonts/conf.d/ && ln -sf ../conf.avail/60-liberation.conf ." -} |