Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 35166 - app-text/docbook-sgml-utils requires lynx or links. this adds w3m support.
Summary: app-text/docbook-sgml-utils requires lynx or links. this adds w3m support.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Text-Markup Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
: 41384 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-12-05 17:33 UTC by jim_jim33
Modified: 2005-09-01 12:59 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch to go in files directory (docbook-sgml-utils-w3m.patch,373 bytes, patch)
2003-12-05 17:34 UTC, jim_jim33
Details | Diff
patch against latest ebuild (docbook-sgml-utils-0.6.12-r2.ebuild.patch,653 bytes, patch)
2003-12-05 17:34 UTC, jim_jim33
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description jim_jim33 2003-12-05 17:33:33 UTC
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:
Comment 1 jim_jim33 2003-12-05 17:34:31 UTC
Created attachment 21773 [details, diff]
patch to go in files directory
Comment 2 jim_jim33 2003-12-05 17:34:54 UTC
Created attachment 21774 [details, diff]
patch against latest ebuild
Comment 3 Mamoru KOMACHI (RETIRED) gentoo-dev 2003-12-06 05:31:41 UTC
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?)
Comment 4 Mike Gardiner (RETIRED) gentoo-dev 2003-12-16 06:38:28 UTC
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.
Comment 5 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-02-12 09:01:52 UTC
*** Bug 41384 has been marked as a duplicate of this bug. ***
Comment 6 bugs 2004-02-12 09:55:48 UTC
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.
Comment 7 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-02-12 10:16:17 UTC
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!)
Comment 8 bugs 2004-02-12 11:31:56 UTC
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.
Comment 9 Mike Gardiner (RETIRED) gentoo-dev 2004-02-12 15:30:03 UTC
will bump to .14, add w3m and html2text patches, and mark ~ tonight, thanks for the heads up.
Comment 10 Stephane Loeuillet 2004-04-02 03:41:37 UTC
forgot to put this one in portage CVS ?
seems 6.0.12-r2 is still the latest in portage
Comment 11 Mike Gardiner (RETIRED) gentoo-dev 2004-04-27 23:01:44 UTC
Have been away/busy, will fix asap.
Comment 12 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-09-03 11:52:43 UTC
Added 0.6.14 to CVS. Thanks for the bug report.