Bug 148941

Summary: Patch that conditionnaly deactivates X11 support
Product: [Fedora] Fedora Reporter: Philip Gwyn <bugzilla>
Component: redhat-lsbAssignee: Leon Ho <llch>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 3Keywords: FutureFeature
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-03-21 04:46:26 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:
Attachments:
Description Flags
patch to spec file none

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)
Gecko/20040914

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):
redhat-lsb-1.3-4

How reproducible:
Always

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
distro.


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