Bug 174566 - RFE: generalise text browser requirement
Summary: RFE: generalise text browser requirement
Alias: None
Product: Fedora
Classification: Fedora
Component: docbook-utils
Version: rawhide
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Ondrej Vasik
QA Contact:
Keywords: FutureFeature
Depends On:
TreeView+ depends on / blocked
Reported: 2005-11-30 08:19 UTC by SEKINE Tatsuo
Modified: 2016-07-01 17:38 UTC (History)
1 user (show)

Clone Of:
Last Closed: 2007-10-12 10:18:52 UTC

Attachments (Terms of Use)

External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Bugzilla 1310897 None None None Never

Internal Trackers: 1310897

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:

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):


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

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


Comment 9 Ondrej Vasik 2007-10-12 10:18:52 UTC
built elinks-0.11.3-6.fc8

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

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