Bug 104515 - app-text/docbook-sgml-utils-0.6.14 depends on virtual/textbrowser, but doesn't work with www-clients/links
Bug#: 104515 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: text-markup@gentoo.org Reported By: menno.tammens@xs4all.nl
Component: Applications
URL: 
Summary: app-text/docbook-sgml-utils-0.6.14 depends on virtual/textbrowser, but doesn't work with www-clients/links
Keywords:  
Status Whiteboard: 
Opened: 2005-09-01 12:56 0000
Description:   Opened: 2005-09-01 12:56 0000
docbook-sgml-utils uses a textbrowser in 'docbook2txt', in
/usr/share/sgml/docbook/utils-0.6.14/backends/txt are 3 options listed: lynx,
elinks and w3m. Other packages that provide virtual/textbrowser don't work.

Resolution:

replace depend on 'virtual/textbrowser' with 
'|| ( www-client/lynx www-client/elinks virtual/w3m )'



Reproducible: Always
Steps to Reproduce:
1. Remove packages lynx, elinks and w3m, install links
2. Install docbook-sgml-utils
3. convert some docbook file to txt:
docbook2txt

Actual Results:  
user@localhost ~ $ docbook2txt /some/docbook/file.sgml
Using catalogs: /etc/sgml/catalog
Using stylesheet: /usr/share/sgml/docbook/utils-0.6.14/docbook-utils.dsl#html
Working on: /some/docbook/file.sgml
No way to convert HTML to text found.


Expected Results:  
convert some docbook file to txt

app-text/docbook-sgml-utils-0.6.12 did not depend on virtual/textbrowser, but on
3 textbrowsers (lynx, links and w3m)

in 0.6.12 there was support for links in the file
/usr/share/sgml/docbook/utils-0.6.12/backends/txt, but that is replaced with
support for elinks. Support for links can be added to this file.

------- Comment #1 From Martin Ehmsen (RETIRED) 2006-04-28 03:19:56 0000 -------
Fixed in CVS. Thanks for reporting!