In the latest release of terminus-font-4.46, all 8bit encodings stopped being installed by default. This is also mentioned in the release notes: - The X11 8-bit code pages are not installed by default. I know I live in the ancient times, but I'd like my iso-8859-2 encoded fonts back. I tried to apply this to the ebuild, and it appears to be working. It looks like pcf-unicode-only should still work and purge everything non-unicode, just like it used to work. Please consider applying this, thanks ;-) --- terminus-font-4.46.ebuild 2018-07-11 23:21:24.687628732 +0200 +++ terminus-font-4.46-r1.ebuild 2018-07-11 23:14:00.274276077 +0200 @@ -71,7 +71,7 @@ src_install() { local args=( $(usex psf 'install-psf install-psf-vgaw install-psf-ref' '') - $(usex pcf 'install-pcf' '') + $(usex pcf 'install-pcf install-pcf-8bit' '') ) # 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.
This is still a problem in version 4.48-r2. Disabling USE flag pcf-unicode-only does not install the pcf fonts for 8-bit code pages. I applied the following patch to fix it. --- terminus-font-4.48-r2.ebuild.orig 2020-11-06 14:27:56.105497567 +0000 +++ terminus-font-4.48-r2.ebuild 2020-11-06 14:28:40.848739519 +0000 @@ -64,7 +64,8 @@ src_compile() { local args=( $(usex psf 'psf psf-vgaw' '') - $(usex pcf 'pcf pcf-8bit' '') + $(usex pcf 'pcf' '') + $(usex pcf-unicode-only '' 'pcf-8bit') ) [[ ${#args[@]} -gt 0 ]] && emake "${args[@]}" @@ -108,6 +109,7 @@ local args=( $(usex psf 'install-psf install-psf-vgaw install-psf-ref' '') $(usex pcf 'install-pcf' '') + $(usex pcf-unicode-only '' 'install-pcf-8bit') ) # 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.
Correction: the 8-bit compile and install arguments should be conditional on USE=pcf as well as USE=-pcf-unicode-only --- terminus-font-4.48-r2.ebuild.orig 2020-11-09 08:32:23.682929773 +0000 +++ terminus-font-4.48-r2.ebuild 2020-11-09 08:42:18.612881874 +0000 @@ -64,7 +64,8 @@ src_compile() { local args=( $(usex psf 'psf psf-vgaw' '') - $(usex pcf 'pcf pcf-8bit' '') + $(usex pcf 'pcf' '') + $(use pcf && usex pcf-unicode-only '' 'pcf-8bit') ) [[ ${#args[@]} -gt 0 ]] && emake "${args[@]}" @@ -108,6 +109,7 @@ local args=( $(usex psf 'install-psf install-psf-vgaw install-psf-ref' '') $(usex pcf 'install-pcf' '') + $(use pcf && usex pcf-unicode-only '' 'install-pcf-8bit') ) # 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.
Is there still any interest in this?
It would still be nice to have this fixed, yes.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b771ccd62d5f2b03b4d3f09c0f9a92418496afa7 commit b771ccd62d5f2b03b4d3f09c0f9a92418496afa7 Author: Marek Szuba <marecki@gentoo.org> AuthorDate: 2021-07-19 15:57:16 +0000 Commit: Marek Szuba <marecki@gentoo.org> CommitDate: 2021-07-19 16:04:32 +0000 media-fonts/terminus-font: fix PCF-related USE flags Since version 4.46 upstream build scripts no longer install PCFs for 8-bit encodings unless explicitly told to - meaning on the one one hand both the building and the installation of Unicode and 8-bit PCF files is now handled by separate make targets, and on the other that there is no longer any need for "install all PCFs, then if only Unicode is requested delete other encodings" logic. In short: if you want Unicode PCFs set USE=pcf-unicode (ebuild default), if you want 8-bit ones set USE=pcf-8bit (off by default). Closes: https://bugs.gentoo.org/660966 Signed-off-by: Marek Szuba <marecki@gentoo.org> .../terminus-font/terminus-font-4.49.1.ebuild | 34 +++++++++------------- 1 file changed, 14 insertions(+), 20 deletions(-)