Bug 148941 - Patch that conditionnaly deactivates X11 support
Summary: Patch that conditionnaly deactivates X11 support
Alias: None
Product: Fedora
Classification: Fedora
Component: redhat-lsb
Version: 3
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Leon Ho
QA Contact:
Keywords: FutureFeature
Depends On:
TreeView+ depends on / blocked
Reported: 2005-02-17 01:56 UTC by Philip Gwyn
Modified: 2007-11-30 22:11 UTC (History)
0 users

Clone Of:
Last Closed: 2005-03-21 04:46:26 UTC

Attachments (Terms of Use)
patch to spec file (907 bytes, patch)
2005-02-17 01:57 UTC, Philip Gwyn
no flags Details | Diff

Description Philip Gwyn 2005-02-17 01:56:39 UTC
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.

redhat-lsb Requires a bunch of X11 libraries that server will never need.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Install default fc3
2. rpm -e xorg-x11-libs


Actual Results:  Step 2 will fail because redhat-lsb Requires
librairies that are in xorg-x11-libs.

Expected Results:  Be able to install a server w/o X11 libs.

Additional info:

Comment 1 Philip Gwyn 2005-02-17 01:57:09 UTC
Created attachment 111148 [details]
patch to spec file

Comment 2 Leon Ho 2005-02-23 01:34:11 UTC
LSB 2.0 test suites need X. Any reason why you are installed redhat-lsb?

Comment 3 Philip Gwyn 2005-03-03 20:53:09 UTC
FC3 installs it by default.  Aren't /lib/lsb/init-functions and the
scripts in /etc/redhat-lsb necessary?

Comment 4 Leon Ho 2005-03-04 07:14:32 UTC
Do you mean on FC3 default installation path, or in full-installation?
If it is in full-installation, user will pull down X packages anyway.
If it is on default installation path, it is definitely a bug. 

redhat-lsb should just pull in if users install every packages on the

Comment 5 Leon Ho 2005-03-21 04:46:26 UTC
Thanks for the report. Closing out based of the rationale.

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