Bug 174566

Summary: RFE: generalise text browser requirement
Product: [Fedora] Fedora Reporter: SEKINE Tatsuo <sekine.t>
Component: docbook-utilsAssignee: Ondrej Vasik <ovasik>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: pnemade
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-10-12 10:18:52 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 SEKINE Tatsuo 2005-11-30 08:19:00 UTC
Description of problem:

docbook-utils package requires elinks package for the backend processor to dump
HTML into plain text internally. Inspite of its default requirement, other text
browsers(w3m or lynx) are also available by the script:
  /usr/share/sgml/docbook/utils-0.6.14/backends/txt

In the case of xmlto package, it needs w3m package for the same purpose. It
means different packages are required for the same functionality. It is more
than enough.

My suggestion is that each text browsing package provides its functionality such
as "Provides: text-www-browser", then both docbook-utils and xmlto can specify
"Requires: text-www-browser".

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

docbook-utils-0.6.14-4

Additional info:

xmlto, w3m, elinks and lynx packages are involved in this RFE.

Comment 1 Parag Nemade 2007-10-11 04:53:21 UTC
Regarding w3m package,
 w3m already Provides : webclient, But at same time I saw that many other
packages also provides it. 
repoquery --whatprovides webclient
curl-0:7.16.4-7.fc8.i386
elinks-0:0.11.3-5.fc8.i386
w3m-0:0.5.2-4.fc8.i386
wget-0:1.10.2-16.fc8.i386
lynx-0:2.8.6-6.fc8.i386
w3m-el-xemacs-0:1.4.4-6.fc7.noarch
w3m-el-0:1.4.4-6.fc7.noarch
elinks-0:0.11.3-5.fc8.i386
firefox-0:2.0.0.6-11.fc8.i386
wget-0:1.10.2-16.fc8.i386
curl-0:7.16.4-7.fc8.i386
dillo-0:0.8.6-4.fc8.i386
w3m-0:0.5.2-4.fc8.i386
firefox-0:2.0.0.6-11.fc8.i386


Do you see any problem in adding Requires: w3m in docbook-utils.spec?


Comment 2 Parag Nemade 2007-10-11 05:33:37 UTC
Better I suggest do similar things as done in xmlto.spec in devel branch
==============================================================================
# We need w3m or elinks or lynx for text output.  Let's go for w3m,
# since this one is preferred upstream.
Requires: w3m
==============================================================================




Comment 3 Ondrej Vasik 2007-10-11 08:35:13 UTC
Provides: webclient is not useful in this case - I need special provide for TEXT
web clients - it means w3m, elinks(links) and lynx. Current situation is that if
you are using lynx as text-www-browser(as I'm using to be honest) and you want
xmlto and docbook-utils package, yum will install elinks for docbook-utils and
w3m for xmlto - and this is wasting of space. If there will be Provides:
Text-www-browser in spec of all of text-www-clients, I could use in xmlto and
docbook-utils that Requires: text-www-browser and it yum in this case will keep
lynx and will not install anything else. This is the point. Current situation is
a bit silly.

Comment 4 Parag Nemade 2007-10-11 08:53:42 UTC
ok. Will add following line to w3m.spec
Provides: text-www-browser

But I saw you are maintainer of elinks and still its missing same required
Provides. I guess you want all packages to be updated with that Provides.

Also, Do I need to remove Provides: webclient or I should keep it in w3m.spec?

Comment 5 Ondrej Vasik 2007-10-11 09:55:51 UTC
Thanks. I will update my packages and will inform lynx maintainer about that
change. Keep Provides: webclient - this is generic webclient provide - no matter
if graphical or not ... so it should be kept. This text-www-browser provide
should be only additional...

Comment 6 Parag Nemade 2007-10-11 10:39:25 UTC
Thanks. will update w3m by tomorrow.

Comment 7 Parag Nemade 2007-10-12 05:58:03 UTC
Ondrej,
  I have built w3m-0.5.2-5.fc8 successfully now that Provides: text-www-browser

Comment 8 Patrice Dumas 2007-10-12 06:57:09 UTC
Please document on

http://fedoraproject.org/wiki/VilleSkytt%C3%A4/VirtualProvides

Comment 9 Ondrej Vasik 2007-10-12 10:18:52 UTC
built elinks-0.11.3-6.fc8
      docbook-utils-0.6.14-10.fc8
      xmlto-0.0.18-17

Lynx maintainer is informed about that, she will build new lynx package soon.
Hopefully everything done, so closing RAWHIDE.