Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 701722 - media-fonts/cascadia-code-1911.21 version bump
Summary: media-fonts/cascadia-code-1911.21 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jan Henke
URL:
Whiteboard:
Keywords: PullRequest
: 703422 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-12-02 06:56 UTC by cyshei
Modified: 2020-06-08 13:41 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 cyshei 2019-12-02 06:56:17 UTC
https://github.com/microsoft/cascadia-code/releases/tag/v1911.21

Thanks in advance!

Reproducible: Always
Comment 1 Jan Henke 2019-12-02 08:24:53 UTC
I already looked into it. Unfortunately upstream changed their release artefacts, no longer providing the ready-to-use font files in the source archive. So I have to rework the ebuild to build the font files locally, which will take some time to make it work.

Just that you know it will take a bit of time.
Comment 2 cyshei 2019-12-04 08:17:51 UTC
No worries and thanks for the update... I can always install it manually to ~/.fonts, but it's nice to automatically get updates across all my machines.
Comment 3 Joakim Tjernlund 2019-12-20 14:36:31 UTC
*** Bug 703422 has been marked as a duplicate of this bug. ***
Comment 4 Jan Henke 2020-01-16 21:04:56 UTC
This is unfortunately even more difficult than I initially anticipated.

Before this version, upstream published a source archive with both the sources and the compiled font files. This was easy to package.

Unfortunately, upstream changed this, now there is a source archive with the sources only and separate per-file downloads for the compiled font files.

This leaves two options: Either download each file individually (which is not really a good style and also introduced questions about how these files should be named, so they can be cached etc.) or download the source archive and build the font files from source.

I intended to do the latter one (also after advice from #proxy-maintainers on IRC). Though even as the build script is completely in Python and straight forward, it unfortunately depends on a number of Python packages currently not in-tree. I do not have the time or motivation to add and maintain a number of additional Python packages. Also in the mean time I learned from upstream's build instructions (https://github.com/microsoft/cascadia-code/wiki/Modifying-Cascadia-Code#building-the-font-from-source) that building from source would result in font files without the hinting information, which is build using a Windows only application.

So now I am stuck as both ways are blocked. If there is anyone willing to help, I would appreciate. Meanwhile there is an upstream issue asking to include the font files again into the archive (https://github.com/microsoft/cascadia-code/issues/208), but it currently does not look like there is any activity about that.
Comment 5 Larry the Git Cow gentoo-dev 2020-06-08 13:41:42 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d8e615130bf959e8d78d229a597d527d0647e0c

commit 0d8e615130bf959e8d78d229a597d527d0647e0c
Author:     Jan Henke <Jan.Henke@taujhe.de>
AuthorDate: 2020-05-15 21:20:00 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2020-06-08 13:41:27 +0000

    media-fonts/cascadia-code: Bump to 2004.30
    
    Closes: https://bugs.gentoo.org/701722
    Package-Manager: Portage-2.3.99, Repoman-2.3.22
    Signed-off-by: Jan Henke <Jan.Henke@taujhe.de>
    Closes: https://github.com/gentoo/gentoo/pull/15812
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 media-fonts/cascadia-code/Manifest                    |  1 +
 .../cascadia-code/cascadia-code-2004.30.ebuild        | 19 +++++++++++++++++++
 2 files changed, 20 insertions(+)