Bug 118431 - Dependancies on XFree86-xfs should not be present
Summary: Dependancies on XFree86-xfs should not be present
Alias: None
Product: Fedora
Classification: Fedora
Component: fonts-ja
Version: rawhide
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Akira TAGOH
QA Contact:
Depends On:
Blocks: xorgdeps
TreeView+ depends on / blocked
Reported: 2004-03-16 18:18 UTC by Mike A. Harris
Modified: 2007-11-30 22:10 UTC (History)
0 users

Fixed In Version: 8.0-12
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2004-03-17 04:29:34 UTC

Attachments (Terms of Use)

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

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@redhat.com> 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!

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