Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 581344 - media-fonts/noto: cjk use flag request
Summary: media-fonts/noto: cjk use flag request
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Gentoo Fonts Team
URL: https://www.google.com/get/noto/
Whiteboard:
Keywords:
Depends on:
Blocks: 571098 576930
  Show dependency tree
 
Reported: 2016-04-27 10:09 UTC by Johannes Huber (RETIRED)
Modified: 2016-05-26 02:02 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
noto-cjk.patch (noto-cjk.patch,2.78 KB, patch)
2016-04-27 14:59 UTC, Michael Palimaka (kensington)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Johannes Huber (RETIRED) gentoo-dev 2016-04-27 10:09:22 UTC
KDE Plasma hard depends on media-fonts/noto present on system as default font. The font tarball is very huge:

>johu@chianti ~ $ ls -lah /usr/portage/distfiles/*noto*
>-rw-rw-r-- 1 portage portage 472M 16. Dez 01:04 /usr/portage/distfiles/noto-20160305.zip

It could be drastically removed with an alternate tarball not including CJK. This would be an real enhancement for our users.
Comment 1 Johannes Huber (RETIRED) gentoo-dev 2016-04-27 10:13:02 UTC
s/removed/reduced/
Comment 2 Michael Palimaka (kensington) gentoo-dev 2016-04-27 14:59:03 UTC
Created attachment 432272 [details, diff]
noto-cjk.patch

Suggested patch.
Comment 3 Michael Palimaka (kensington) gentoo-dev 2016-05-05 16:36:37 UTC
Added in git.

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5602c28fbad29197c4f485ff7cc0227cc12ad42
Comment 4 Pacho Ramos gentoo-dev 2016-05-05 17:40:57 UTC
Thanks, maybe it would be interesting to add a comment to the ebuild about how to generate that non-cjk tarball, for allowing people doing the upcoming bumps to keep it
Comment 5 reisio 2016-05-21 22:24:00 UTC
I'm all for USE flags for things that can be optional, but this particular USE flag should be enabled by default, not disabled.

The description of this package is:
"Google's font family that aims to support all the world's languages"

Not only should one expect this file to be a little larger than some others, but one should expect it to include CJK languages.
Comment 6 Pacho Ramos gentoo-dev 2016-05-22 10:58:26 UTC
If you really want to have cjk support you should enable "cjk" USE globally to ensure all is built with the needed support :/

Hence, people needing cjk will likely have the USE flag enabled for noto while not affecting the other people
Comment 7 reisio 2016-05-22 18:01:19 UTC
I suppose that's technically true, but by the same logic I'm not sure why a person would install a font to support all languages... except for the many languages that're disabled on purpose. <shrug>
Comment 8 Johannes Huber (RETIRED) gentoo-dev 2016-05-22 18:16:05 UTC
(In reply to reisio from comment #7)
> I suppose that's technically true, but by the same logic I'm not sure why a
> person would install a font to support all languages... except for the many
> languages that're disabled on purpose. <shrug>

Supports doesn't mean install all by default.
Comment 9 reisio 2016-05-26 02:02:16 UTC
(In reply to Johannes Huber from comment #8)
> Supports doesn't mean install all by default.

Again technically true, but I think most people seeking out Noto will want it for one purpose: to have fonts for all languages.

I don't envy KDE users their downloads, but download conscious KDE users are not going to be the greatest percentage of people seeking this package out. (Indeed, you haven't sought it out at all, it is just a dep for some reason.)

Wouldn't it be better to remove the noto dep from KDE ebuilds that don't strictly require it (which I would guess is all of them), leaving it for the full kde-meta alone?