Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 865103 - media-fonts/source-pro: removal in favor of source-code-pro, source-sand and source-serif
Summary: media-fonts/source-pro: removal in favor of source-code-pro, source-sand and ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Fonts Team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2022-08-13 16:55 UTC by tea
Modified: 2022-10-13 05:49 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 tea 2022-08-13 16:55:55 UTC
The version in the repo includes an SVG table that causes =media-libs/freetype-2.12.1 to be unable to calculate cell height, resulting in unusable output with lines stacked on top of each other in alacritty and probably other programs.[1]

2.038 / 20210115 resolves this issue, according to [2].

[1] <https://github.com/alacritty/alacritty/issues/6048>
[2] <https://bugzilla.redhat.com/show_bug.cgi?id=2087984>
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-08-13 16:56:33 UTC
Could you do a  PR?
Comment 2 tea 2022-08-13 17:35:50 UTC
(In reply to Sam James from comment #1)
> Could you do a  PR?

Yep, looks doable. I'll get to it in a few hours probably.
Comment 3 Larry the Git Cow gentoo-dev 2022-09-15 07:05:45 UTC
The bug has been closed via the following commit(s):

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

commit c2546fbe53e4a5fa24cf9d723bc1155c7289654d
Author:     Ronny (tastytea) Gutbrod <gentoo@tastytea.de>
AuthorDate: 2022-08-14 17:29:38 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2022-09-15 07:05:41 +0000

    media-fonts/source-han-sans: add 2.004
    
    add zh-HK, license change, EAPI 7 -> 8, download locations changed
    
    Closes: https://bugs.gentoo.org/865103
    Signed-off-by: Ronny (tastytea) Gutbrod <gentoo@tastytea.de>
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 media-fonts/source-han-sans/Manifest               |  5 +++
 .../source-han-sans/source-han-sans-2.004.ebuild   | 39 ++++++++++++++++++++++
 2 files changed, 44 insertions(+)

Additionally, it has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=272de12fa88f500d0d27c551f223e15d7639fe9a

commit 272de12fa88f500d0d27c551f223e15d7639fe9a
Author:     Joonas Niilola <juippis@gentoo.org>
AuthorDate: 2022-09-15 06:56:23 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2022-09-15 07:05:43 +0000

    profiles: last-rite media-fonts/source-pro
    
     - it's split into three different packages now:
       source-pro-code, source-sans, source-serif.
    
    Bug: https://bugs.gentoo.org/865103
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 profiles/package.mask | 6 ++++++
 1 file changed, 6 insertions(+)

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

commit b496dad016248de210b798e570c73c2c96c1524c
Author:     Joonas Niilola <juippis@gentoo.org>
AuthorDate: 2022-09-15 06:51:53 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2022-09-15 07:05:42 +0000

    dev-lang/nasm: update the newly split media-fonts/source-pro dep
    
    Bug: https://bugs.gentoo.org/865103
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 dev-lang/nasm/nasm-2.15.05.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

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

commit aec82d77d7d5ff4c60625bc7df3a5074facbc89d
Author:     Joonas Niilola <juippis@gentoo.org>
AuthorDate: 2022-09-15 06:50:32 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2022-09-15 07:05:42 +0000

    virtual/ttf-fonts: drop media-fonts/source-pro as it's split now
    
     - and therefore doesn't provide sans/serif/monospace in one package.
    
    Bug: https://bugs.gentoo.org/865103
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 virtual/ttf-fonts/{ttf-fonts-1-r1.ebuild => ttf-fonts-1-r2.ebuild} | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

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

commit dd330c19c9a9f3477c3c2f7c38ee36efc248770a
Author:     Ronny (tastytea) Gutbrod <gentoo@tastytea.de>
AuthorDate: 2022-08-14 00:05:33 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2022-09-15 07:05:41 +0000

    media-fonts/source-code-pro: new package, add 2.038
    
    media-fonts/source-pro installs 3 font families. A while ago the serif
    and sans-serif fonts were renamed (and will be renamed again) while the
    monospace font kept the same name. Furthermore, the fonts now have the
    major version in their name.
        The fonts will be split into their own packages and the old package
    will be masked since it isn't bump-able.
    
    Bug: https://bugs.gentoo.org/865103
    Upstream-announcement: https://github.com/adobe-fonts/source-serif/issues/77
    Signed-off-by: Ronny (tastytea) Gutbrod <gentoo@tastytea.de>
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 media-fonts/source-code-pro/Manifest               |  1 +
 .../source-code-pro/files/63-source-code-pro.conf  | 16 +++++++++++
 media-fonts/source-code-pro/metadata.xml           | 12 ++++++++
 .../source-code-pro/source-code-pro-2.038.ebuild   | 32 ++++++++++++++++++++++
 4 files changed, 61 insertions(+)
Comment 4 Joonas Niilola gentoo-dev 2022-09-15 07:06:44 UTC
Let's keep this as the last-rites bug.
Comment 5 Hans F. Nordhaug 2022-09-28 11:06:10 UTC
I don't understand the need for removing media-fonts/source-pro? Existing software that uses for example the "Source Sans Pro" font will be broken (because of the name change).

Isn't it enough to require the new font for media-libs/freetype? And since the fonts are renamed they can coexist. Read https://github.com/adobe-fonts/source-sans/issues/233
Comment 6 tea 2022-09-28 11:32:58 UTC
(In reply to Hans F. Nordhaug from comment #5)
> I don't understand the need for removing media-fonts/source-pro?
media-fonts/source-code-pro can not be installed at the same time as media-fonts/source-pro, because the files would clash. Updating only the monospace variant in source-pro would be confusing IMO.

> Existing software that uses for example the "Source Sans Pro" font will be
> broken (because of the name change).
The only package in the tree depending on “Source Sans Pro” has been modified to use “Source Sans 3” instead. The “Pro” families can be added to source-{sans,serif} if necessary (i have done so in ::tastytea).
Comment 7 Larry the Git Cow gentoo-dev 2022-10-13 05:49:26 UTC
The bug has been closed via the following commit(s):

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

commit f662764632252c3be3349582d91f8da060eefbce
Author:     Joonas Niilola <juippis@gentoo.org>
AuthorDate: 2022-10-13 05:47:01 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2022-10-13 05:48:03 +0000

    media-fonts/source-pro: treeclean
    
    Closes: https://bugs.gentoo.org/865103
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 media-fonts/source-pro/Manifest                   |  3 --
 media-fonts/source-pro/files/63-source-pro.conf   | 40 --------------------
 media-fonts/source-pro/metadata.xml               | 12 ------
 media-fonts/source-pro/source-pro-20170111.ebuild | 46 -----------------------
 profiles/package.mask                             |  6 ---
 5 files changed, 107 deletions(-)