I'd like to add "emoji" use flag with || ( media-fonts/noto-emoji media-fonts/joypixels ) However noto-emoji is currently under "free" fonts, and joypixel's license is a bit... restrictive to say the least. I wonder what's the right approach here. emoji? ( free? ( media-fonts/noto-emoji ) !free? ( media-fonts/joypixels ) ) (feel like this is an overcomplication, but would work) We'll need to stabilize joypixels first though, and why not bump to latest version while at it.
Why does it need to be one or another? "!free?" is a different meaning than what USE=free does now in fonts-meta. If you want to install joypixels, no need to remove all the other free fonts. In fact, joypixels and noto-emoji could be installed in parallel, to be able to select via fontconfig which icons to use for every code point. Maybe something like this? emoji? ( free? ( media-fonts/noto-emoji ) nonfree? ( media-fonts/joypixels ) )
(In reply to Alexey from comment #1) > Why does it need to be one or another? > > "!free?" is a different meaning than what USE=free does now in fonts-meta. > If you want to install joypixels, no need to remove all the other free > fonts. We wouldn't touch the contents of other deps in "free? ( .. )", just take noto-emoji out and place it under "emoji? ( .. )" instead. So something like: emoji? || ( media-fonts/noto-emoji media-fonts/joypixels ) free? ( media-fonts/heuristica media-fonts/liberation-fonts media-fonts/noto media-fonts/wqy-microhei latin? ( ... > In fact, joypixels and noto-emoji could be installed in parallel, to > be able to select via fontconfig which icons to use for every code point. They still could, obviously, just need a manual emerge for one or another. > > Maybe something like this? > > emoji? ( > free? ( media-fonts/noto-emoji ) > nonfree? ( media-fonts/joypixels ) > ) I like the idea of "nonfree", to be expanded outside joypixels, though.
(In reply to Joonas Niilola from comment #2) > (In reply to Alexey from comment #1) > emoji? || ( > media-fonts/noto-emoji > media-fonts/joypixels > ) This should've been the emoji? ( free? ( media-fonts/noto-emoji ) !free? ( media-fonts/joypixels ) ) example instead.
My problem with "!free?" is that to be able to install joypixels via fonts-meta, the user will need to set USE=-free, therefore removing media-fonts/heuristica and the rest of free fonts, making fonts-meta useless.
That's a good point, I guess the whole ebuild should be reworked so it installs some core stuff by default without any USEs. (I kind of thought it did just that)
Yeah. I'm not sure if there is any need for IUSE=free at all.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd5c593709347ae78f063d377251bcfa6b5f6a88 commit bd5c593709347ae78f063d377251bcfa6b5f6a88 Author: Joonas Niilola <juippis@gentoo.org> AuthorDate: 2022-02-26 14:52:40 +0000 Commit: Joonas Niilola <juippis@gentoo.org> CommitDate: 2022-03-05 07:20:45 +0000 media-fonts/fonts-meta: bump to v2 - add more latin fonts, remove some personally preferred options, - add l10n_ru for a minimal cyrillic support, - combine japan, korean and chinese fonts under 'cjk' for tree consistency, - drop "free" USE flag and provide some of the "core" fonts under 'latin' USE. May be subject to change. Closes: https://bugs.gentoo.org/830671 Signed-off-by: Joonas Niilola <juippis@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/24361 media-fonts/fonts-meta/fonts-meta-2.ebuild | 126 +++++++++++++++++++++++++++++ media-fonts/fonts-meta/metadata.xml | 1 + 2 files changed, 127 insertions(+)