summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2016-04-07 16:02:43 +0200
committerLars Wendler <polynomial-c@gentoo.org>2016-04-07 16:02:43 +0200
commitf26825a2e6698e8d10136cedf4863b36f10debc6 (patch)
treef8f91e5a1ac2261c29c16e1c355110d0b6a4dc4f /media-fonts
parentmedia-gfx/graphite2: Removed old. (diff)
downloadgentoo-f26825a2e6698e8d10136cedf4863b36f10debc6.tar.gz
gentoo-f26825a2e6698e8d10136cedf4863b36f10debc6.tar.bz2
gentoo-f26825a2e6698e8d10136cedf4863b36f10debc6.zip
media-fonts/terminus-font: Bump to version 4.40 (bug #563630).
Package-Manager: portage-2.2.28 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'media-fonts')
-rw-r--r--media-fonts/terminus-font/Manifest1
-rw-r--r--media-fonts/terminus-font/terminus-font-4.40.ebuild86
2 files changed, 87 insertions, 0 deletions
diff --git a/media-fonts/terminus-font/Manifest b/media-fonts/terminus-font/Manifest
index 11697722b6db..b60e5ea9ea4f 100644
--- a/media-fonts/terminus-font/Manifest
+++ b/media-fonts/terminus-font/Manifest
@@ -1,3 +1,4 @@
DIST terminus-font-4.36.tar.gz 309387 SHA256 7b0dcebd8ef2e36aeeb7fcd97082ad881e95b2871e40c9a6255377bea6bcd345 SHA512 c42b8aac1cb7ba8d2259a1d1c37fccc885b91818129802917c01697397f3cb9ee6ce5510a42892ab531597d339e65462292ea72d7927598271fc24c31ef7a033 WHIRLPOOL e9be1019b6bd755c1361f308d760b032dc9ddae50c25c89e36bc12d65cb1300afc37d3cf4e642eedf9aac9fba3243e5adc320539079b07d183c2b5c507bc0d36
DIST terminus-font-4.38.tar.gz 316507 SHA256 f6f4876a4dabe6a37c270c20bb9e141e38fb50e0bba200e1b9d0470e5eed97b7 SHA512 e37e20852645b247dffedf37f864e1cdbe2a23287e7f5737d89289eef1058f9621ef8d6339045b1be9ef603237a855a9f295022b8117685a6840c1f260966fd5 WHIRLPOOL e7f8c1b0040eb2e41869351360463783a0394d3c2ad3cccffbd80769046994b0cd76f8e16d1a38c88f1bee97ed28c8c6c2ce4166c0138fe6cb25848754dd0b44
DIST terminus-font-4.39.tar.gz 324890 SHA256 3108383986b365a4b9cc08c31a4195196f6de974d2735d77f6c6efa9feb1f5bf SHA512 d2b1c55584eabf423a455ea11d90ba8037b4e5823c677a8c604de1e41c55d829b743db2d1932cd755064db681fcd0b5be8484439ddde4394955d0af5174ff591 WHIRLPOOL 00f2e84660e492cd0a047fa0d636dda39b48248f0ce490e4b0dac74425d378a657ebe73c7f234d6681a4ae18cd53acf53c2234368e727bd35b370884db4e8d84
+DIST terminus-font-4.40.tar.gz 558440 SHA256 64f52c24d3f1c1e39f21e6c43077a9be3e21d4384f176f5766c00558ba670711 SHA512 843da1f51e37d48ae88c88def965ed96c2236c183fb596705290a96eba41256a02197a298439b83913eb7679b32c2a8f44dd04de031be4db56285efd3d4c6900 WHIRLPOOL d5f5422eb6699ea93fc960a50cd409e7cef211391095c07a178c5cde6b7c7df94374923475e7d9c9728281d5a174009bfa36cdd9e49028339de27076d6d6f411
diff --git a/media-fonts/terminus-font/terminus-font-4.40.ebuild b/media-fonts/terminus-font/terminus-font-4.40.ebuild
new file mode 100644
index 000000000000..2122e2670f87
--- /dev/null
+++ b/media-fonts/terminus-font/terminus-font-4.40.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit font
+
+DESCRIPTION="A clean fixed font for the console and X11"
+HOMEPAGE="http://terminus-font.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}/${P}.tar.gz"
+
+LICENSE="OFL-1.1 GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+IUSE="a-like-o +center-tilde distinct-l +pcf +pcf-unicode-only +psf quote
+ raw-font-data ru-dv +ru-g ru-i ru-k"
+
+DEPEND="app-arch/gzip
+ dev-lang/perl
+ virtual/awk
+ pcf? ( x11-apps/bdftopcf )"
+RDEPEND=""
+
+FONTDIR=/usr/share/fonts/terminus
+FONT_CONF=( 75-yes-terminus.conf )
+DOCS="README README-BG AUTHORS CHANGES"
+
+REQUIRED_USE="X? ( pcf )"
+
+src_prepare() {
+ default
+
+ # 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
+ use a-like-o && eapply "${S}"/alt/ao2.diff
+ use center-tilde && eapply "${S}"/alt/td1.diff
+ use distinct-l && eapply "${S}"/alt/ll2.diff
+ use ru-i && eapply "${S}"/alt/ij1.diff
+ use ru-k && eapply "${S}"/alt/ka2.diff
+ use ru-dv && eapply "${S}"/alt/dv1.diff
+ use ru-g && eapply "${S}"/alt/ge2.diff
+ use quote && eapply "${S}"/alt/gq2.diff
+}
+
+src_configure() {
+ # selfwritten configure script
+ ./configure \
+ --prefix="${EPREFIX}"/usr \
+ --psfdir="${EPREFIX}"/usr/share/consolefonts \
+ --acmdir="${EPREFIX}"/usr/share/consoletrans \
+ --unidir="${EPREFIX}"/usr/share/consoletrans \
+ --x11dir="${EPREFIX}"/${FONTDIR} || die
+}
+
+src_compile() {
+ local args=(
+ $(usex psf 'psf txt' '')
+ $(usex raw-font-data 'raw' '')
+ $(usex pcf 'pcf' '')
+ )
+ [[ ${#args[@]} -gt 0 ]] && emake "${args[@]}"
+}
+
+src_install() {
+ local args=(
+ $(usex psf 'install-psf install-uni install-acm install-ref' '')
+ $(usex raw-font-data 'install.raw' '')
+ $(usex pcf 'install-pcf' '')
+ )
+ # Set the CHECKDIR to a dummy location so we always get the same set of
+ # files installed regardless of what is in / or ROOT or wherever.
+ [[ ${#args[@]} -gt 0 ]] && emake DESTDIR="${D}" CHECKDIR="${D}" "${args[@]}"
+
+ # Remove trans files that the kbd package takes care of installing.
+ rm -f "${ED}"/usr/share/consoletrans/*.trans
+
+ if use pcf-unicode-only; then
+ # Only the ter-x* fonts are unicode (ISO-10646-1) based
+ rm -f "${ED}"/usr/share/fonts/terminus/ter-[0-9a-wy-z]* || die
+ fi
+
+ font_src_install
+}