From ecfa1cea20cb2207ca65049fafa1793557b8d019 Mon Sep 17 00:00:00 2001 From: Azat Bahawi Date: Sun, 8 Nov 2020 13:37:04 +0300 Subject: media-fonts/uw-ttyp0: Fix font encoding There was an encoding issue that prevented the font from using its own glyphs for languages like Russian because by default it would prioritize creating and enabling non-UTF formats Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Azat Bahawi --- media-fonts/uw-ttyp0/uw-ttyp0-1.3-r1.ebuild | 30 +++++++++++++++++++++++++++++ media-fonts/uw-ttyp0/uw-ttyp0-1.3.ebuild | 29 ---------------------------- 2 files changed, 30 insertions(+), 29 deletions(-) create mode 100644 media-fonts/uw-ttyp0/uw-ttyp0-1.3-r1.ebuild delete mode 100644 media-fonts/uw-ttyp0/uw-ttyp0-1.3.ebuild (limited to 'media-fonts') diff --git a/media-fonts/uw-ttyp0/uw-ttyp0-1.3-r1.ebuild b/media-fonts/uw-ttyp0/uw-ttyp0-1.3-r1.ebuild new file mode 100644 index 0000000..44b9e2f --- /dev/null +++ b/media-fonts/uw-ttyp0/uw-ttyp0-1.3-r1.ebuild @@ -0,0 +1,30 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit font + +DESCRIPTION="Bitmap programmer's fonts" +HOMEPAGE="http://people.mpi-inf.mpg.de/~uwe/misc/uw-ttyp0/" +SRC_URI="https://people.mpi-inf.mpg.de/~uwe/misc/uw-ttyp0/${P}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND="" +RDEPEND="${DEPEND}" +BDEPEND=" + dev-lang/perl + x11-apps/bdftopcf +" + +src_configure() { + ./configure prefix="${EPREFIX}/usr" pcfdir="${FONTDIR}" + sed -e 's/^ENCODINGS =.*/ENCODINGS = uni/' -i TARGETS.dat || die +} + +src_install() { + emake install DESTDIR="${D}" +} diff --git a/media-fonts/uw-ttyp0/uw-ttyp0-1.3.ebuild b/media-fonts/uw-ttyp0/uw-ttyp0-1.3.ebuild deleted file mode 100644 index 9bf12cf..0000000 --- a/media-fonts/uw-ttyp0/uw-ttyp0-1.3.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit font - -DESCRIPTION="Bitmap programmer's fonts" -HOMEPAGE="http://people.mpi-inf.mpg.de/~uwe/misc/uw-ttyp0/" -SRC_URI="https://people.mpi-inf.mpg.de/~uwe/misc/uw-ttyp0/${P}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -DEPEND="" -RDEPEND="${DEPEND}" -BDEPEND=" - dev-lang/perl - x11-apps/bdftopcf -" - -src_configure() { - ./configure prefix="${EPREFIX}/usr" pcfdir="${FONTDIR}" -} - -src_install() { - emake install DESTDIR="${D}" -} -- cgit 1.4.1