Red Hat Bugzilla – Bug 174566
RFE: generalise text browser requirement
Last modified: 2016-07-01 13:38:05 EDT
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
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
Version-Release number of selected component (if applicable):
xmlto, w3m, elinks and lynx packages are involved in this RFE.
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?
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.
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.
ok. Will add following line to w3m.spec
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?
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...
Thanks. will update w3m by tomorrow.
I have built w3m-0.5.2-5.fc8 successfully now that Provides: text-www-browser
Please document on
Lynx maintainer is informed about that, she will build new lynx package soon.
Hopefully everything done, so closing RAWHIDE.