summaryrefslogtreecommitdiff
path: root/media-fonts/terminus-font
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-03-20 14:27:17 +0000
committerV3n3RiX <venerix@redcorelinux.org>2021-03-20 14:27:17 +0000
commit5bb9ff1ee56d2b5e75e01a7f066d8b0cec84ec02 (patch)
tree66e860a5099bcad013f1cf667255dc372a7c11b3 /media-fonts/terminus-font
parent7218e1b46bceac05841e90472501742d905fb3fc (diff)
gentoo resync : 20.03.2021
Diffstat (limited to 'media-fonts/terminus-font')
-rw-r--r--media-fonts/terminus-font/Manifest2
-rw-r--r--media-fonts/terminus-font/terminus-font-4.48-r2.ebuild128
2 files changed, 0 insertions, 130 deletions
diff --git a/media-fonts/terminus-font/Manifest b/media-fonts/terminus-font/Manifest
index ba4f3c231d35..4c1040543a1b 100644
--- a/media-fonts/terminus-font/Manifest
+++ b/media-fonts/terminus-font/Manifest
@@ -1,5 +1,3 @@
-DIST terminus-font-4.48.tar.gz 620561 BLAKE2B 8ab977a0b4b529faa38d082969e10a8f0ca3860b745441ed8f45761b95869194226446c487bc7c5490d2a88d1836aa6152424d6646b63b9fbc11e43dc8e255d6 SHA512 5f45f7d0e7396f02158f4751aaafb3f0a3fb68dbe3e5501f86a5138c6d52f5106053e38c368d560e5979e29250074dbde5165702b8905a564d029663a2219af4
DIST terminus-font-4.49.tar.gz 648477 BLAKE2B 67bddaae88b7411381bce5e8fe5c1b0dab334a33f1371a33038556beffa779afec8706f27b156e5660bfab5b8b7aeda75267c68945e1be3b41dbea7e9345f164 SHA512 27d396e7fe399728b5e9228c901922588eab0b344ea438fcf98f18f80ce816d838a42d5a3da0b5644d895747bcbda0e30bb8dabf342c0439d1f6b51f7acf8496
-EBUILD terminus-font-4.48-r2.ebuild 4050 BLAKE2B d99b80ccb89a8b19c10892bc0d4a07380d0025d91fee9cf4d5d70dffff198fd65031036e1a341295835bac0088074f41e1fa6969f02a33cfd3435b1783bb97f1 SHA512 24a6a5b6d802f31aba25eaa7b9d0b0f6905847e70d3cf73728d9d7fc7023b9fd43eb8e1dc13edfe87569f199532740ca4c9ec3b5eeee6e254b6c402a96863ff5
EBUILD terminus-font-4.49.ebuild 2688 BLAKE2B f9e88bcf242d44a2a45fe87f57c87e4911f8ce458435bdd885ac0851d8771ce39c623acae61a0f98821df89634fdece9bbf3a6babd16590aaecff284555c450f SHA512 f04df99d5b13f877e485828c413b2ed02b11e46dd25585817180f616188e9059517fd5cac99d25b74227f09a0acfbf442463ea1fae9c79673cc81c2fe3bfbc70
MISC metadata.xml 1787 BLAKE2B f83cf459e35bae521d4f6176c7d873cbde7413ca52241feaf442c818a9e1c30640cca1127788737da53eb659ab73913471d830f0234198880fca33aafe811678 SHA512 8dbb13ccb276600255a0188254098e78540f54b4ff5a481909c94e15519b1cbf58dd58f5f4c44adbd48252da22579fff8d1d4301eb798c466132ab820609affe
diff --git a/media-fonts/terminus-font/terminus-font-4.48-r2.ebuild b/media-fonts/terminus-font/terminus-font-4.48-r2.ebuild
deleted file mode 100644
index e66975cc3c1d..000000000000
--- a/media-fonts/terminus-font/terminus-font-4.48-r2.ebuild
+++ /dev/null
@@ -1,128 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7,8,9} )
-inherit font python-any-r1
-
-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 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
-IUSE="a-like-o +center-tilde distinct-l otf +pcf +pcf-unicode-only +psf quote
- ru-dv +ru-g ru-i ru-k"
-
-DEPEND="app-arch/gzip
- ${PYTHON_DEPS}
- virtual/awk
- otf? ( media-gfx/fontforge )
- 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 )"
-
-pkg_setup() {
- python_setup
-}
-
-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() {
- local configure_args=(
- --prefix="${EPREFIX}"/usr
- --psfdir="${EPREFIX}"/usr/share/consolefonts
- --x11dir="${EPREFIX}"/${FONTDIR}
- )
- # selfwritten configure script
- ./configure "${configure_args[@]}" || die
-}
-
-src_compile() {
- local args=(
- $(usex psf 'psf psf-vgaw' '')
- $(usex pcf 'pcf pcf-8bit' '')
- )
- [[ ${#args[@]} -gt 0 ]] && emake "${args[@]}"
-
- # Follow https://bugs.gentoo.org/728308#c5
- # build ".otf" (bitmap-only) fonts out of .bdf ones
- #
- # Important details (copying notes as-is):
- #
- # 0. Pango 1.44 now returns floating point ascent and
- # descent, instead of integer. The functions were always returning float,
- # all right... but so far, without a fractional part. Which makes problems
- # too, for example in Scintilla based editors such as SciTE and Geany
- # (there is a quick and dirty fix).
- #
- # 1. 'fonttosfnt' adds 0.5 to at least the logical (OpenType-scaled)
- # character width, ascent and height. Haven't checked the physical (pixel)
- # metrics yet. With some sizes/applications, the fonttosfnt converted
- # fonts do indeed have extra wrong spacing, 1 pixel horizontal or
- # vertical. It has other bugs too, but they don't seem important.
- #
- # 2. If you pack 2+ terminus sizes into a single .otb font file, KDE will
- # (may? YMMV) use *only the first size*.
- #
- # 3. OTB has a single set of logical metrics. So, for example, the logical
- # character width (which is relative to height) can never be correct for
- # an .otb file including both 8x14 and 8x16.
-
- if use otf; then
- local source_bdf
- for source_bdf in ter-u*n.bdf ter-u*b.bdf; do
- set -- fontforge -lang=ff -c 'Open($1); ScaleToEm(1024); Generate($2)' \
- "${source_bdf}" "${source_bdf%.bdf}.otb"
- einfo "$@"
- "$@" || die
- done
- fi
-
-}
-
-src_install() {
- local args=(
- $(usex psf 'install-psf install-psf-vgaw install-psf-ref' '')
- $(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
-
- use otf && FONT_SUFFIX=otb
- font_src_install
-
- einstalldocs
-}