Bug 2372646 - ghostscript-tools-fonts implies a font package
Summary: ghostscript-tools-fonts implies a font package
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: ghostscript
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Zdenek Dohnal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-06-13 10:49 UTC by Akira TAGOH
Modified: 2025-07-10 16:29 UTC (History)
3 users (show)

Fixed In Version: ghostscript-10.05.1-4.fc43 ghostscript-10.05.1-4.fc42 ghostscript-10.03.1-8.fc41
Clone Of:
Environment:
Last Closed: 2025-06-24 09:05:03 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Akira TAGOH 2025-06-13 10:49:39 UTC
ghostscript-tools-fonts contains some tooling but no font files contains. This is really harmful to install a font with "*-fonts". Please consider to rename it like ghostscript-fonts-tools or something.

Reproducible: Always

Comment 1 Zdenek Dohnal 2025-06-20 09:29:11 UTC
Hi Akira,

the sequence was intentional - gs contains several types of tools, while this specific package contains tools for fonts.

So while user does not get fonts with this package, but they get tools which they can use with fonts, so they are font related.

IMHO installing packages via asterisk is not a safe way how to install set of packages - is there any other reason why this name is problematic?

Comment 2 Zdenek Dohnal 2025-06-20 09:29:50 UTC
Basically IMO the name implies "tools for fonts", not "fonts package".

Comment 3 Akira TAGOH 2025-06-20 14:38:44 UTC
That obviously described in our packaging guidelines at https://docs.fedoraproject.org/en-US/packaging-guidelines/FontsPolicy/#:~:text=Other%20upstream%20files,%2Dfonts%20naming:

Other upstream files
Support for other font systems, for specific applications, non-OpenType font formats, bulky documentation, TEX, CSS, or JSON files… MUST be split in separate non-font packages, that SHOULD install outside /usr/share/fonts, and MUST NOT use <something>-fonts naming.

Comment 4 Michael J Gruber 2025-06-20 15:07:13 UTC
(In reply to Akira TAGOH from comment #3)
> That obviously described in our packaging guidelines at
> https://docs.fedoraproject.org/en-US/packaging-guidelines/FontsPolicy/#:~:
> text=Other%20upstream%20files,%2Dfonts%20naming:
> 
> Other upstream files
> Support for other font systems, for specific applications, non-OpenType font
> formats, bulky documentation, TEX, CSS, or JSON files… MUST be split in
> separate non-font packages, that SHOULD install outside /usr/share/fonts,
> and MUST NOT use <something>-fonts naming.

That is the first valid argument and SHOULD have been the first one.

Now, how can we rename the subpackages to be conformant as well as clear:

ghostscript-tools-fonts.noarch
ghostscript-tools-printing.noarch
ghostscript-tools-dvipdf.noarch

I'd suggest either ghostscript-tools-fonttools or ghostscript-tools-psfont, because reordering the stems is not helpful.

Comment 5 Akira TAGOH 2025-06-23 02:24:41 UTC
Either naming works for me.

Comment 6 Zdenek Dohnal 2025-06-23 06:30:09 UTC
Hi Michael!

IMO we don't need to rename those other two, right? I don't see an issue with them.

I'll create a PR for the fonts though - I would go for -fonttools.


Zdenek

Comment 7 Zdenek Dohnal 2025-06-23 07:20:42 UTC
I have created the PR - https://src.fedoraproject.org/rpms/ghostscript/pull-request/44 - please leave a feedback there (I have gone with -fontutils in the end, to do not repeat 'tools').

Comment 8 Michael J Gruber 2025-06-23 13:31:28 UTC
Looks good to me.

Comment 9 Fedora Update System 2025-06-24 06:55:12 UTC
FEDORA-2025-d44811a313 (ghostscript-10.05.1-4.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-d44811a313

Comment 10 Fedora Update System 2025-06-24 09:05:03 UTC
FEDORA-2025-d44811a313 (ghostscript-10.05.1-4.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 11 Fedora Update System 2025-06-24 12:32:22 UTC
FEDORA-2025-b46e3a83ee (ghostscript-10.05.1-4.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-b46e3a83ee

Comment 12 Fedora Update System 2025-06-24 13:54:03 UTC
FEDORA-2025-dcf34d8c19 (ghostscript-10.03.1-8.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-dcf34d8c19

Comment 13 Fedora Update System 2025-06-25 02:09:54 UTC
FEDORA-2025-dcf34d8c19 has been pushed to the Fedora 41 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-dcf34d8c19`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-dcf34d8c19

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 14 Fedora Update System 2025-06-25 02:41:56 UTC
FEDORA-2025-b46e3a83ee has been pushed to the Fedora 42 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-b46e3a83ee`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-b46e3a83ee

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 15 Fedora Update System 2025-06-27 01:21:18 UTC
FEDORA-2025-b46e3a83ee (ghostscript-10.05.1-4.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 16 Fedora Update System 2025-07-10 16:29:18 UTC
FEDORA-2025-dcf34d8c19 (ghostscript-10.03.1-8.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.