Bug 1933542 - Require mkfontdir directly, not just xorg-x11-font-utils
Summary: Require mkfontdir directly, not just xorg-x11-font-utils
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: libdockapp
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jani Juhani Sinervo
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1932731
TreeView+ depends on / blocked
 
Reported: 2021-03-01 02:55 UTC by Peter Hutterer
Modified: 2021-03-19 20:03 UTC (History)
6 users (show)

Fixed In Version: libdockapp-0.7.3-4.fc35
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-03-04 05:26:53 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Peter Hutterer 2021-03-01 02:55:21 UTC
libdockapp currently BuildRequires: xorg-x11-font-utils only.

xorg-x11-font-utils is to be split up into multiple packages, see Bug 1932731. 

This package requires mkfontdir which is to be split out, so let's BuildRequires it directly. xorg-x11-font-utils has had a Provides for this for ages now anyway, so this should ensure the upgrade path is smooth.

Suggested diff:

diff --git a/libdockapp.spec b/libdockapp.spec
index 6744413..2390c59 100644
--- a/libdockapp.spec
+++ b/libdockapp.spec
@@ -38,7 +38,7 @@ developing applications that use %{name}.
 %package        fonts
 Summary:        Fonts provided with %{name}
 Requires:      xorg-x11-font-utils
-BuildRequires: xorg-x11-font-utils
+BuildRequires: xorg-x11-font-utils mkfontdir
 BuildRequires:  fontconfig
 BuildRequires: make
 


Verified successful build in a local F33 container with only the mkfontscale (Bug 1932734) and an updated mkfontscale-less xorg-x11-font-utils packages installed.

Comment 1 Peter Hutterer 2021-03-04 05:10:06 UTC
Revisiting this, looks like the Requires: xorg-x11-font-utils should be changed to just mkfontdir. font-utils provides m4 macros (can only be used at build time), the ucs2any tool (unused) and a script that's used by xorg-x11-fonts but no-one else. I'm unsure whether mkfontdir is required outside of BuildRequires, it's not used in the specfile. But to be on the safe side, let's leave it in.

Comment 2 Fedora Update System 2021-03-05 00:08:18 UTC
FEDORA-2021-8cfc91c13a has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-8cfc91c13a

Comment 3 Fedora Update System 2021-03-05 17:20:22 UTC
FEDORA-2021-8cfc91c13a has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-8cfc91c13a`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-8cfc91c13a

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

Comment 4 Fedora Update System 2021-03-09 22:46:18 UTC
FEDORA-2021-8cfc91c13a has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-8cfc91c13a

Comment 5 Fedora Update System 2021-03-10 18:51:19 UTC
FEDORA-2021-8cfc91c13a has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-8cfc91c13a`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-8cfc91c13a

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

Comment 6 Fedora Update System 2021-03-12 06:22:06 UTC
FEDORA-2021-8cfc91c13a has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-8cfc91c13a

Comment 7 Fedora Update System 2021-03-12 18:54:55 UTC
FEDORA-2021-8cfc91c13a has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-8cfc91c13a`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-8cfc91c13a

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

Comment 8 Fedora Update System 2021-03-19 20:03:55 UTC
FEDORA-2021-8cfc91c13a has been pushed to the Fedora 34 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.