diff options
author | Peter Volkov <pva@gentoo.org> | 2009-12-22 11:50:45 +0000 |
---|---|---|
committer | Peter Volkov <pva@gentoo.org> | 2009-12-22 11:50:45 +0000 |
commit | 230f38779236ab5678d37bbe197f8663501e8830 (patch) | |
tree | b72720eff38dd6295a484d43136f2b1eb6bf3d41 /media-fonts | |
parent | Version bump wrt #297579 by Jan Vansteenkiste. (diff) | |
download | gentoo-2-230f38779236ab5678d37bbe197f8663501e8830.tar.gz gentoo-2-230f38779236ab5678d37bbe197f8663501e8830.tar.bz2 gentoo-2-230f38779236ab5678d37bbe197f8663501e8830.zip |
Version bump, bug #297841, thank Jacek Sowiński for report.
(Portage version: 2.2_rc60/cvs/Linux x86_64)
Diffstat (limited to 'media-fonts')
-rw-r--r-- | media-fonts/terminus-font/ChangeLog | 7 | ||||
-rw-r--r-- | media-fonts/terminus-font/terminus-font-4.30.ebuild | 98 |
2 files changed, 104 insertions, 1 deletions
diff --git a/media-fonts/terminus-font/ChangeLog b/media-fonts/terminus-font/ChangeLog index b099593c045e..2f5c3a57c5ea 100644 --- a/media-fonts/terminus-font/ChangeLog +++ b/media-fonts/terminus-font/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-fonts/terminus-font # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-fonts/terminus-font/ChangeLog,v 1.70 2009/09/07 19:55:53 dirtyepic Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-fonts/terminus-font/ChangeLog,v 1.71 2009/12/22 11:50:45 pva Exp $ + +*terminus-font-4.30 (22 Dec 2009) + + 22 Dec 2009; Peter Volkov <pva@gentoo.org> +terminus-font-4.30.ebuild: + Version bump, bug #297841, thank Jacek Sowiński for report. 07 Sep 2009; Ryan Hill <dirtyepic@gentoo.org> -terminus-font-4.20.ebuild, -terminus-font-4.26.ebuild: diff --git a/media-fonts/terminus-font/terminus-font-4.30.ebuild b/media-fonts/terminus-font/terminus-font-4.30.ebuild new file mode 100644 index 000000000000..a430f8ba9ae7 --- /dev/null +++ b/media-fonts/terminus-font/terminus-font-4.30.ebuild @@ -0,0 +1,98 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-fonts/terminus-font/terminus-font-4.30.ebuild,v 1.1 2009/12/22 11:50:45 pva Exp $ + +EAPI="1" + +inherit eutils font + +DESCRIPTION="A clean fixed font for the console and X11" +HOMEPAGE="http://www.is-vn.bg/hamster/" +SRC_URI="http://www.is-vn.bg/hamster/${P}.tar.gz + ru-dv? ( http://www.is-vn.bg/hamster/${P}-dv1.diff.gz ) + ru-g? ( http://www.is-vn.bg/hamster/${P}-ge1.diff.gz ) + quote? ( http://www.is-vn.bg/hamster/${P}-gq2.diff.gz ) + width? ( http://www.is-vn.bg/hamster/${P}-cm2.diff.gz ) + bolddiag? ( http://www.is-vn.bg/hamster/${P}-kx3.diff.gz + a-like-o? ( http://www.is-vn.bg/hamster/${P}-kx3-ao2.diff.gz ) + ru-i? ( http://www.is-vn.bg/hamster/${P}-kx3-ij1.diff.gz ) + ru-k? ( http://www.is-vn.bg/hamster/${P}-kx3-ka2.diff.gz ) ) + !bolddiag? ( a-like-o? ( http://www.is-vn.bg/hamster/${P}-ao2.diff.gz ) + ru-i? ( http://www.is-vn.bg/hamster/${P}-ij1.diff.gz ) + ru-k? ( http://www.is-vn.bg/hamster/${P}-ka2.diff.gz ) ) + " +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" +IUSE="a-like-o ru-dv +ru-g quote ru-i ru-k width bolddiag +psf raw-font-data +pcf" + +DEPEND="dev-lang/perl + sys-apps/gawk + app-arch/gzip + pcf? ( x11-apps/bdftopcf )" +RDEPEND="" + +FONTDIR=/usr/share/fonts/terminus +DOCS="README README-BG" + +pkg_setup() { + # Note: that pcf fonts can be loaded by freetype even if X is not installed. + # That's why configuration +pcf and -X is supported, bug #155783. + if use X && ! use pcf ; then + eerror "Fonts which works with Xserver are intalled only if pcf is enabled." + die "Either disable X use flag or enabled pcf." + fi +} + +src_unpack() { + unpack ${A} + cd "${S}" + + # Upstream patches. Some of them are suggested to be applied by default + # dv - de NOT like latin g, but like caps greek delta + # ve NOT like greek beta, but like caps latin B + # ge - ge NOT like "mirrored" latin s, but like caps greek gamma + # ka - small ka NOT like minimised caps latin K, but like small latin k + if use bolddiag; then + epatch "${WORKDIR}"/${P}-kx3.diff + use a-like-o && epatch "${WORKDIR}"/${P}-kx3-ao2.diff + use ru-i && epatch "${WORKDIR}"/${P}-kx3-ij1.diff + use ru-k && epatch "${WORKDIR}"/${P}-kx3-ka2.diff + else + use a-like-o && epatch "${WORKDIR}"/${P}-ao2.diff + use ru-i && epatch "${WORKDIR}"/${P}-ij1.diff + use ru-k && epatch "${WORKDIR}"/${P}-ka2.diff + fi + use ru-dv && epatch "${WORKDIR}"/${P}-dv1.diff + use ru-g && epatch "${WORKDIR}"/${P}-ge1.diff + use quote && epatch "${WORKDIR}"/${P}-gq2.diff + use width && epatch "${WORKDIR}"/${P}-cm2.diff +} + +src_compile() { + # selfwritten configure script + ./configure \ + --prefix=/usr \ + --psfdir=/usr/share/consolefonts \ + --acmdir=/usr/share/consoletrans \ + --unidir=/usr/share/consoletrans \ + --x11dir=${FONTDIR} || die + + if use psf; then emake psf txt || die; fi + if use raw-font-data; then emake raw || die; fi + if use pcf; then emake pcf || die; fi +} + +src_install() { + if use psf; then + emake DESTDIR="${D}" install-psf install-uni install-acm install-ref || die + fi + if use raw-font-data; then + emake DESTDIR="${D}" install.raw || die + fi + if use pcf; then + emake DESTDIR="${D}" install-pcf || die + fi + + font_src_install +} |