Red Hat Bugzilla – Bug 148942
Patch to conditionnaly remove X11 support
Last modified: 2008-02-06 18:35:11 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3)
Description of problem:
This patch adds %define use_X to the spec file. This define is then
used to conditionnaly turn functionnaly that needs X11 on or off.
Deactivating X11 is useful for servers.
Ghostscript requires urw-fonts.
The %post and %postun use mkfontdir and mkfontscale to create
font.dirs and font.scale. I think only xfs needs these files, but I
include the ones that are in the tar ball with the final noarch.rpm.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Default FC3 install
2. rpm -e xorg-x11-font-utils
Actual Results: ghostscript requires urw-fonts, urw-fonts requires
mkfontscale, which is in xorg-x11-font-utils.
Expected Results: Being able to install a server w/o X11 libs.
Created attachment 111149 [details]
Patch to spec file
Fedora Core 3 is now maintained by the Fedora Legacy project for security
updates only. If this problem is a security issue, please reopen and
reassign to the Fedora Legacy product. If it is not a security issue and
hasn't been resolved in the current FC5 updates or in the FC6 test
release, reopen and change the version to match.
Fedora Core 3 is not maintained anymore.
Setting status to "INSUFFICIENT_DATA". If you can reproduce this bug in the
current Fedora release please reopen this bug and assign it to the corresponding