commit: 470b68bb8662ed973db4da94f98c1d97a1fcb76e Author: Alfred Wingate <parona <AT> protonmail <DOT> com> AuthorDate: Tue Feb 11 14:15:44 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Tue Feb 11 14:26:18 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=470b68bb
media-fonts/*: include missing font_pkg_postinst Closes: https://bugs.gentoo.org/949601 Signed-off-by: Alfred Wingate <parona <AT> protonmail.com> Signed-off-by: Sam James <sam <AT> gentoo.org> .../{source-code-pro-2.042.ebuild => source-code-pro-2.042-r1.ebuild} | 4 +++- .../{source-han-sans-2.004.ebuild => source-han-sans-2.004-r1.ebuild} | 4 +++- .../{source-sans-3.052.ebuild => source-sans-3.052-r1.ebuild} | 4 +++- .../{source-serif-4.005.ebuild => source-serif-4.005-r1.ebuild} | 4 +++- 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/media-fonts/source-code-pro/source-code-pro-2.042.ebuild b/media-fonts/source-code-pro/source-code-pro-2.042-r1.ebuild similarity index 94% rename from media-fonts/source-code-pro/source-code-pro-2.042.ebuild rename to media-fonts/source-code-pro/source-code-pro-2.042-r1.ebuild index 9292d566312a..b7818911bb6c 100644 --- a/media-fonts/source-code-pro/source-code-pro-2.042.ebuild +++ b/media-fonts/source-code-pro/source-code-pro-2.042-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -31,6 +31,8 @@ src_prepare() { } pkg_postinst() { + font_pkg_postinst + optfeature_header "Other variants of this font are:" optfeature "Chinese, Japanese and Korean support" media-fonts/source-han-sans optfeature "the sans-serif variant" media-fonts/source-sans diff --git a/media-fonts/source-han-sans/source-han-sans-2.004.ebuild b/media-fonts/source-han-sans/source-han-sans-2.004-r1.ebuild similarity index 97% rename from media-fonts/source-han-sans/source-han-sans-2.004.ebuild rename to media-fonts/source-han-sans/source-han-sans-2.004-r1.ebuild index 46af6a5c51e0..bf6d9e9e104a 100644 --- a/media-fonts/source-han-sans/source-han-sans-2.004.ebuild +++ b/media-fonts/source-han-sans/source-han-sans-2.004-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -39,6 +39,8 @@ src_install() { } pkg_postinst() { + font_pkg_postinst + optfeature_header "Other variants of this font are:" optfeature "the monospace variant" media-fonts/source-code-pro optfeature "the sans-serif variant" media-fonts/source-sans diff --git a/media-fonts/source-sans/source-sans-3.052.ebuild b/media-fonts/source-sans/source-sans-3.052-r1.ebuild similarity index 94% rename from media-fonts/source-sans/source-sans-3.052.ebuild rename to media-fonts/source-sans/source-sans-3.052-r1.ebuild index 2e0532853570..5dece6f2e4ae 100644 --- a/media-fonts/source-sans/source-sans-3.052.ebuild +++ b/media-fonts/source-sans/source-sans-3.052-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -30,6 +30,8 @@ src_prepare() { } pkg_postinst() { + font_pkg_postinst + optfeature_header "Other variants of this font are:" optfeature "the monospace variant" media-fonts/source-code-pro optfeature "Chinese, Japanese and Korean support" media-fonts/source-han-sans diff --git a/media-fonts/source-serif/source-serif-4.005.ebuild b/media-fonts/source-serif/source-serif-4.005-r1.ebuild similarity index 94% rename from media-fonts/source-serif/source-serif-4.005.ebuild rename to media-fonts/source-serif/source-serif-4.005-r1.ebuild index 96d9e1255e95..7bdfba27e89c 100644 --- a/media-fonts/source-serif/source-serif-4.005.ebuild +++ b/media-fonts/source-serif/source-serif-4.005-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -30,6 +30,8 @@ src_prepare() { } pkg_postinst() { + font_pkg_postinst + optfeature_header "Other variants of this font are:" optfeature "the monospace variant" media-fonts/source-code-pro optfeature "Chinese, Japanese and Korean support" media-fonts/source-han-sans
