Bug 118431

Summary: Dependancies on XFree86-xfs should not be present
Product: [Fedora] Fedora Reporter: Mike A. Harris <mharris>
Component: fonts-jaAssignee: Akira TAGOH <tagoh>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 8.0-12 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-03-17 04:29:34 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 118423    

Description Mike A. Harris 2004-03-16 18:18:13 UTC
There are hard coded dependancies on XFree86-xfs package, which
needs to be fixed before xorg-x11 can be enabled in the development
tree.

The following is found in the spec file:
    BuildPreReq:    XFree86-xfs


This was present because the %install section uses
"/usr/X11R6/bin/mkfontdir", however mkfontdir has not been in the
XFree86-xfs package for quite a long time now, so this dependancy
is bogus.

mkfontdir should be getting called at font installation time, instead
of during package build time however, so this dependancy should
just be removed, and the call to mkfontdir should be removed as well.

The %pre/post scripts need to be modified to call mkfontdir like
the XFree86 and xorg-x11 font installation scripts do, so that
there is consistency with font installation across the distribution.
Also, when mkfontdir is used, it needs to have the umask set to
133 first, ie:

umask 133 ; /path/to/mkfontdir .

Otherwise it relies on root's umask, which could be changed.  This
can result in fonts.dir files that get created with the wrong
permissions and can prevent the xfs font server or X server from
starting up properly.

Comment 1 Mike A. Harris 2004-03-16 22:23:40 UTC
Another problem I found:

Requires:       XFree86-75dpi-fonts

Comment 2 Mike A. Harris 2004-03-16 22:28:15 UTC
Just noticed this ...

* Thu Jan 23 2003 Akira TAGOH <tagoh> 8.0-7
- remove the requirement of XFree86-100dpi-fonts.


The 75dpi one must have just gotten overlooked.

Comment 3 Akira TAGOH 2004-03-17 04:29:34 UTC
Fixed in 8.0-12. Thanks!!

Comment 4 Mike A. Harris 2004-03-17 05:40:17 UTC
Ok cool, thanks for the quick update!