app-text/docbook-sgml-utils requires lynx or links for its "txt" backend. Since I am a w3m user and didn't want to emerge lynx or links, I made a teeny patch to add w3m support. The first attachment is the patch to go into the files directory, and the second attachment is a diff against the current ebuild. Reproducible: Always Steps to Reproduce:
Created attachment 21773 [details, diff] patch to go in files directory
Created attachment 21774 [details, diff] patch against latest ebuild
Nice to add w3m support to docbook-sgml-utils. btw, /usr/bin/w3mbelongs to either net-www/w3m, net-www/w3m-m17n and net-www/w3mmeeand they all provides virtual/w3m, we could write virtual/w3m insteadof net-www/w3m. (Just a thought, if only net-www/lynx, net-www/links,net-www/elinks and net-www/w3m* provide virtual/textbrowser,can we add a patch to support elinks as well and put virtual/textbrowserin DEPEND?)
Personally, I'm inclined to apply this, as well as another patch I've written for using html2text with docbook-sgml-utils, as I've felt that although lynx/links are definitely required, they're both rather 'heavy' dependencies. Thanks for reporting, I'll get looking into this as I have some time now.
*** Bug 41384 has been marked as a duplicate of this bug. ***
BTW, regarding your patch... the -T text/html - necessary in your opinion? 'cause when I hassled the actual maintainer of these tools, I just used -dump. Thus, 0.6.14 which now has this doesn't include that flag. I mean, I know what it *does*, I use it when grepping HTML files. grep mysqladmin * | sed 's/$/<br>/' | w3m -T text/html I just was wondering if it was needed for what the txt script does.
It isn't quite necessary but it's safe to add it in case w3m cannot auto-detect content-type (in most case w3m auto-detects content-type), as txt backend always gets HTML input and dumps txt output. Obz, could you have a look at it again and commit it? docbook-sgml-utils-0.6.14 was released this week but 0.6.12 seems more than one years old ... (and yet we don't have 0.6.13 in Portage!)
Ok. Just wondering if I should nag the poor guy again (who was already unwilling to add w3m without much pleading) to add the -T text/html But maybe not. In any case, the patch is no longer needed, I'd say.
will bump to .14, add w3m and html2text patches, and mark ~ tonight, thanks for the heads up.
forgot to put this one in portage CVS ? seems 6.0.12-r2 is still the latest in portage
Have been away/busy, will fix asap.
Added 0.6.14 to CVS. Thanks for the bug report.