diff options
author | Sam James <sam@gentoo.org> | 2023-04-27 07:37:56 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-04-27 07:39:38 +0100 |
commit | 994cc012905d733e8dbfb0fa94d7eade79223345 (patch) | |
tree | 62eedbdbf6a5dd8edb36bd7b657f9e79e6044a50 /media-libs/fontconfig | |
parent | net-analyzer/zabbix: fixed patches not being applied in 6.0.x (diff) | |
download | gentoo-994cc012905d733e8dbfb0fa94d7eade79223345.tar.gz gentoo-994cc012905d733e8dbfb0fa94d7eade79223345.tar.bz2 gentoo-994cc012905d733e8dbfb0fa94d7eade79223345.zip |
media-libs/fontconfig: don't override user prefs. on antialiasing
2.14.2 installed 10-sub-pixel-none.conf unconditionally outside of our own
preference management system (eselect). For versions 2.14.2 <= x <= 2.14.2-r2,
delete that file if it's installed.
Closes: https://bugs.gentoo.org/900681
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-libs/fontconfig')
-rw-r--r-- | media-libs/fontconfig/fontconfig-2.14.2-r2.ebuild (renamed from media-libs/fontconfig/fontconfig-2.14.2-r1.ebuild) | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/media-libs/fontconfig/fontconfig-2.14.2-r1.ebuild b/media-libs/fontconfig/fontconfig-2.14.2-r2.ebuild index 025d4099fc68..ceae1d19f3e5 100644 --- a/media-libs/fontconfig/fontconfig-2.14.2-r1.ebuild +++ b/media-libs/fontconfig/fontconfig-2.14.2-r2.ebuild @@ -208,6 +208,17 @@ pkg_postinst() { readme.gentoo_print_elog + local ver + for ver in ${REPLACING_VERSIONS} ; do + # 2.14.2 and 2.14.2-r1 included the bad 10-sub-pixel-none.conf + if ver_test ${ver} -lt 2.14.2-r2 && ver_test ${ver} -ge 2.14.2 ; then + if [[ -e "${EROOT}"/etc/fonts/conf.d/10-sub-pixel-none.conf ]] ; then + einfo "Deleting 10-sub-pixel-none.conf from bad fontconfig-2.14.2 (bug #900681)" + rm "${EROOT}"/etc/fonts/conf.d/10-sub-pixel-none.conf || die + fi + fi + done + if [[ -z ${ROOT} ]] ; then multilib_pkg_postinst() { ebegin "Creating global font cache for ${ABI}" |