Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 739596 - media-fonts/noto-cjk-20190416 media-fonts/noto-20200521 and media-fonts/noto-emoji-20200317 Use a slimmer distfile
Summary: media-fonts/noto-cjk-20190416 media-fonts/noto-20200521 and media-fonts/noto-...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Fonts Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-30 05:36 UTC by Francisco Blas Izquierdo Riera
Modified: 2023-01-10 10:59 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Francisco Blas Izquierdo Riera gentoo-dev 2020-08-30 05:36:57 UTC
The current distfiles of media-fonts/noto-cjk-20190416 and media-fonts/noto-20200521 are unnecessarily large creating a lot of stress on mirrors and user connections when downloading (and updating the packages).

I have reduced them by removing files that we aren't currently using and compressing the whole package using xz instead of gzip. The result is fairly clear. For the current distfiles:
822M    noto-20200521.tar.gz
1,8G    noto-cjk-20190416.tar.gz
59M     noto-emoji-20200317.tar.gz
2,7G    total

For the slimmed distfiles:
136M    noto-20200521.tar.xz
168M    noto-cjk-20190416.tar.xz
48M     noto-emoji-20200317.tar.xz
351M    total

Whilst for noto-emoji the impact isn't as big, there is a very clear rationale for the noto and noto-cjk fonts.

The scripts used to generate the slimmed versions are available on https://github.com/klondi/noto-scripts whilst the respective .tar.xz I generated are on https://github.com/klondi/noto-cjk/releases/download/20190416/noto-cjk-20190416.tar.xz https://github.com/klondi/noto-fonts/releases/download/20200521/noto-20200521.tar.xz and https://github.com/klondi/noto-emoji/releases/download/20200317/noto-emoji-20200317.tar.xz