Gentoo Archives: gentoo-commits

From: Marek Szuba <marecki@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-fonts/terminus-font/
Date: Wed, 07 Jul 2021 12:13:27
Message-Id: 1625659997.9132e445615b082700e09ef586a7bbf03a2ec6df.marecki@gentoo
1 commit: 9132e445615b082700e09ef586a7bbf03a2ec6df
2 Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jul 7 12:12:47 2021 +0000
4 Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
5 CommitDate: Wed Jul 7 12:13:17 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9132e445
7
8 media-fonts/terminus-font: drop 4.49
9
10 Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
11
12 media-fonts/terminus-font/Manifest | 1 -
13 .../terminus-font/terminus-font-4.49.ebuild | 94 ----------------------
14 2 files changed, 95 deletions(-)
15
16 diff --git a/media-fonts/terminus-font/Manifest b/media-fonts/terminus-font/Manifest
17 index 3530f1154bb..c4ed8f08b3c 100644
18 --- a/media-fonts/terminus-font/Manifest
19 +++ b/media-fonts/terminus-font/Manifest
20 @@ -1,2 +1 @@
21 DIST terminus-font-4.49.1.tar.gz 648345 BLAKE2B 8c2edff7e57572361cf9a4907a165f8af69cbd5a3ae15817d02d43ab5134278ab64b269e6bd8c79d2107e5c8c51b58f07ab45c308891464cbc8e3e15767efadb SHA512 2e3a99960c459a453b5879bebbebeb653f0a22060177bf75c67bbeb7d32cfe1acce9e74a88fdc42e299b6dc402e0708552487abd26e80e985c7d6059b0d445a8
22 -DIST terminus-font-4.49.tar.gz 648477 BLAKE2B 67bddaae88b7411381bce5e8fe5c1b0dab334a33f1371a33038556beffa779afec8706f27b156e5660bfab5b8b7aeda75267c68945e1be3b41dbea7e9345f164 SHA512 27d396e7fe399728b5e9228c901922588eab0b344ea438fcf98f18f80ce816d838a42d5a3da0b5644d895747bcbda0e30bb8dabf342c0439d1f6b51f7acf8496
23
24 diff --git a/media-fonts/terminus-font/terminus-font-4.49.ebuild b/media-fonts/terminus-font/terminus-font-4.49.ebuild
25 deleted file mode 100644
26 index 7f8326f79ed..00000000000
27 --- a/media-fonts/terminus-font/terminus-font-4.49.ebuild
28 +++ /dev/null
29 @@ -1,94 +0,0 @@
30 -# Copyright 1999-2021 Gentoo Authors
31 -# Distributed under the terms of the GNU General Public License v2
32 -
33 -EAPI=7
34 -
35 -PYTHON_COMPAT=( python3_{7,8,9,10} )
36 -inherit font python-any-r1
37 -
38 -DESCRIPTION="A clean fixed font for the console and X11"
39 -HOMEPAGE="http://terminus-font.sourceforge.net/"
40 -SRC_URI="mirror://sourceforge/${PN}/${P}/${P}.tar.gz"
41 -
42 -LICENSE="OFL-1.1 GPL-2"
43 -SLOT="0"
44 -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
45 -IUSE="a-like-o +center-tilde distinct-l +otf +pcf +pcf-unicode-only +psf quote
46 - ru-dv +ru-g ru-i ru-k"
47 -
48 -DEPEND="app-arch/gzip
49 - ${PYTHON_DEPS}
50 - virtual/awk
51 - pcf? ( x11-apps/bdftopcf )"
52 -RDEPEND=""
53 -
54 -FONTDIR=/usr/share/fonts/terminus
55 -FONT_CONF=( 75-yes-terminus.conf )
56 -DOCS=( README README-BG AUTHORS CHANGES )
57 -
58 -REQUIRED_USE="X? ( pcf )"
59 -
60 -pkg_setup() {
61 - python_setup
62 -}
63 -
64 -src_prepare() {
65 - default
66 -
67 - # Upstream patches. Some of them are suggested to be applied by default
68 - # dv - de NOT like latin g, but like caps greek delta
69 - # ve NOT like greek beta, but like caps latin B
70 - # ge - ge NOT like "mirrored" latin s, but like caps greek gamma
71 - # ka - small ka NOT like minimised caps latin K, but like small latin k
72 - use a-like-o && eapply "${S}"/alt/ao2.diff
73 - use center-tilde && eapply "${S}"/alt/td1.diff
74 - use distinct-l && eapply "${S}"/alt/ll2.diff
75 - use ru-i && eapply "${S}"/alt/ij1.diff
76 - use ru-k && eapply "${S}"/alt/ka2.diff
77 - use ru-dv && eapply "${S}"/alt/dv1.diff
78 - use ru-g && eapply "${S}"/alt/ge2.diff
79 - use quote && eapply "${S}"/alt/gq2.diff
80 -}
81 -
82 -src_configure() {
83 - local configure_args=(
84 - --prefix="${EPREFIX}"/usr
85 - --psfdir="${EPREFIX}"/usr/share/consolefonts
86 - --x11dir="${EPREFIX}"/${FONTDIR}
87 - )
88 - # selfwritten configure script
89 - ./configure "${configure_args[@]}" || die
90 -}
91 -
92 -src_compile() {
93 - local args=(
94 - $(usex psf 'psf psf-vgaw' '')
95 - $(usex pcf 'pcf pcf-8bit' '')
96 - $(usex otf otb '')
97 - )
98 - [[ ${#args[@]} -gt 0 ]] && emake "${args[@]}"
99 -}
100 -
101 -src_install() {
102 - local args=(
103 - $(usex psf 'install-psf install-psf-vgaw install-psf-ref' '')
104 - $(usex pcf 'install-pcf' '')
105 - $(usex otf 'install-otb' '')
106 - )
107 - # Set the CHECKDIR to a dummy location so we always get the same set of
108 - # files installed regardless of what is in / or ROOT or wherever.
109 - [[ ${#args[@]} -gt 0 ]] && emake DESTDIR="${D}" CHECKDIR="${D}" "${args[@]}"
110 -
111 - # Remove trans files that the kbd package takes care of installing.
112 - rm -f "${ED}"/usr/share/consoletrans/*.trans
113 -
114 - if use pcf-unicode-only; then
115 - # Only the ter-x* fonts are unicode (ISO-10646-1) based
116 - rm -f "${ED}"/usr/share/fonts/terminus/ter-[0-9a-wy-z]* || die
117 - fi
118 -
119 - use otf && FONT_SUFFIX=otb
120 - font_src_install
121 -
122 - einstalldocs
123 -}