Bug 133483

Summary: Excessive dependency list on system-config-printer
Product: [Fedora] Fedora Reporter: Pawel Salek <pawsa>
Component: system-config-printerAssignee: Tim Waugh <twaugh>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 2   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-09-24 13:00:25 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:

Description Pawel Salek 2004-09-24 12:04:46 UTC
Description of problem:
I have tried to setup a simple print server. Installed minimal
configuration. After that, I attempted to install
system-config-printer and got an excessively long dependency list.

[install: system-config-printer 0.6.98-1.i386]
I will install/upgrade these to satisfy the dependencies:
[deps: perl-libxml-enno 1.02-30.noarch]
[deps: Omni-foomatic 0.9.1-6.i386]
[deps: ghostscript 7.07-25.i386]
[deps: perl-libwww-perl 5.79-1.noarch]
[deps: ttmkfdir 3.0.9-11.i386]
[deps: xorg-x11-xfs 6.7.0-5.i386]
[deps: m4 1.4.1-15.i386]
[deps: mpage 2.5.3-7.i386]
[deps: urw-fonts 2.1-7.noarch]
[deps: libxslt 1.1.5-1.i386]
[deps: pnm2ppa 1:1.04-10.i386]
[deps: perl-DateManip 5.42a-1.noarch]
[deps: chkfontpath 1.10.0-1.i386]
[deps: alchemist 1.0.33-1.i386]
[deps: PyXML 0.8.3-4.1.i386]
[deps: perl-libxml-perl 0.07-29.noarch]
[deps: VFlib2 2.25.6-21.i386]
[deps: perl-Parse-Yapp 1.05-31.noarch]
[deps: perl-XML-Dumper 0.71-1.noarch]
[deps: perl-URI 1.30-1.noarch]
[deps: foomatic 3.0.1-3.1.i386]
[deps: xorg-x11-font-utils 6.7.0-5.i386]
[deps: perl-XML-Encoding 1.01-25.noarch]
[deps: Omni 0.9.1-6.i386]
[deps: perl-XML-Parser 2.34-2.i386]
[deps: ghostscript-fonts 5.50-11.noarch]

Expected results:

Do I really need VFlib2 to be able to configure printers? both PyXML
and perl-XML-parser? x font server? libxslt?

Comment 1 Tim Waugh 2004-09-24 13:00:25 UTC
If you think there is a specific requirement that is not ever needed,
let me know.  As for the ones you list:

VFlib2: required by ghostscript, or else it won't start
PyXML: used in system-config-printer directly
perl-XML-parser: used by foomatic
xfs: required by chkfontpath, which urw-fonts uses in its %pre/post.
libxslt: required by alchemist


Comment 2 Pawel Salek 2004-09-24 13:26:38 UTC
I am aware that it is not system-config-printer that directly requires
all these packages but please do see the big picture:  excessive
dependencies ARE a problem, are they not? I do not think one can just
dismiss it.

postscript conversion SHOULD be possible even if some operations on
Japanese fonts cannot be done.

urw-fonts -> chkfontpath -> xfs chain can be broken too - perhaps
chfontpath can be noop if there is no xfs installed?

While I understand that foomatic needs some way to organize the data,
I wonder what system-config-printer needs alchemist and libxslt for?
To store own data - there is not simpler way to store few or even
several hundred key-value pairs? It certainly does not need alchemist
to parse or generate cups config files. 

I chose just a few examples but the the dependency list above is much
longer.