Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 739596

Summary: media-fonts/noto-cjk-20190416 media-fonts/noto-20200521 and media-fonts/noto-emoji-20200317 Use a slimmer distfile
Product: Gentoo Linux Reporter: Francisco Blas Izquierdo Riera <klondike>
Component: Current packagesAssignee: Gentoo Fonts Team <fonts>
Status: CONFIRMED ---    
Severity: normal CC: pacho
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Francisco Blas Izquierdo Riera (RETIRED) 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