Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 769263 - media-fonts/iosevka: build from source to allow different styles to be installed
Summary: media-fonts/iosevka: build from source to allow different styles to be installed
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Aisha Tammy
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-07 07:47 UTC by Joonas Niilola
Modified: 2021-09-11 05:12 UTC (History)
3 users (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 Joonas Niilola gentoo-dev 2021-02-07 07:47:46 UTC
The release we use doesn't contain all available styles to iosevka, but downloading ALL styles is worth ~1,1 GB tarball. So I suggest to rework iosevka package so it downloads the source, and then builds the fonts based on USE flags, adding different styles requested by user. With -* it'd build the minimal core, that is installed currently by iosevka.

Apparently to build iosevka fonts from source, two extra packages are required: 
ttfautohint and otfcc. A user also suggested 'savedconfig' USE flag to be added, which may easen up src_configure a bit, but I wouldn't implement it at least just yet.
https://github.com/gentoo/gentoo/pull/15505
Comment 1 Eternal Sorrow 2021-09-11 02:56:50 UTC
I'm looking into this. Is there a way to install npm packages for build without disabling network-sandbox?
Comment 2 Joonas Niilola gentoo-dev 2021-09-11 05:12:36 UTC
(In reply to Eternal Sorrow from comment #1)
> I'm looking into this. Is there a way to install npm packages for build
> without disabling network-sandbox?

You can fetch the nodes, package tarball on your own, and put that to SRC_URI.

Although didn't upstream kind of fix this bug already?