<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>35166</bug_id>
          
          <creation_ts>2003-12-05 17:33 0000</creation_ts>
          <short_desc>app-text/docbook-sgml-utils requires lynx or links.  this adds w3m support.</short_desc>
          <delta_ts>2005-09-01 12:59:36 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P3</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>jim_jim33@hotmail.com</reporter>
          <assigned_to>text-markup@gentoo.org</assigned_to>
          <cc>kyberneticist@yahoo.com</cc>
    
    <cc>leroutier@gmail.com</cc>

      

      
          <long_desc isprivate="0">
            <who>jim_jim33@hotmail.com</who>
            <bug_when>2003-12-05 17:33:33 0000</bug_when>
            <thetext>app-text/docbook-sgml-utils requires lynx or links for its &quot;txt&quot; backend.  Since
I am a w3m user and didn&apos;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:</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jim_jim33@hotmail.com</who>
            <bug_when>2003-12-05 17:34:31 0000</bug_when>
            <thetext>Created an attachment (id=21773)
patch to go in files directory
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jim_jim33@hotmail.com</who>
            <bug_when>2003-12-05 17:34:54 0000</bug_when>
            <thetext>Created an attachment (id=21774)
patch against latest ebuild
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>usata@gentoo.org</who>
            <bug_when>2003-12-06 05:31:41 0000</bug_when>
            <thetext>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?)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>obz@gentoo.org</who>
            <bug_when>2003-12-16 06:38:28 0000</bug_when>
            <thetext>Personally, I&apos;m inclined to apply this, as well as another patch I&apos;ve written for using html2text with docbook-sgml-utils, as I&apos;ve felt that although lynx/links are definitely required, they&apos;re both rather &apos;heavy&apos; dependencies.

Thanks for reporting, I&apos;ll get looking into this as I have some time now.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>usata@gentoo.org</who>
            <bug_when>2004-02-12 09:01:52 0000</bug_when>
            <thetext>*** Bug 41384 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>kyberneticist@yahoo.com</who>
            <bug_when>2004-02-12 09:55:48 0000</bug_when>
            <thetext>BTW, regarding your patch...
the -T text/html  - necessary in your opinion?
&apos;cause when I hassled the actual maintainer of these tools, I just used -dump.
Thus, 0.6.14 which now has this doesn&apos;t include that flag.
I mean, I know what it *does*, I use it when grepping HTML files.
grep mysqladmin * | sed &apos;s/$/&lt;br&gt;/&apos; | w3m -T text/html

I just was wondering if it was needed for what the txt script does.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>usata@gentoo.org</who>
            <bug_when>2004-02-12 10:16:17 0000</bug_when>
            <thetext>It isn&apos;t quite necessary but it&apos;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&apos;t
have 0.6.13 in Portage!)
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>kyberneticist@yahoo.com</who>
            <bug_when>2004-02-12 11:31:56 0000</bug_when>
            <thetext>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&apos;d say.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>obz@gentoo.org</who>
            <bug_when>2004-02-12 15:30:03 0000</bug_when>
            <thetext>will bump to .14, add w3m and html2text patches, and mark ~ tonight, thanks for the heads up.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>leroutier@gmail.com</who>
            <bug_when>2004-04-02 03:41:37 0000</bug_when>
            <thetext>forgot to put this one in portage CVS ?
seems 6.0.12-r2 is still the latest in portage
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>obz@gentoo.org</who>
            <bug_when>2004-04-27 23:01:44 0000</bug_when>
            <thetext>Have been away/busy, will fix asap.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>usata@gentoo.org</who>
            <bug_when>2004-09-03 11:52:43 0000</bug_when>
            <thetext>Added 0.6.14 to CVS. Thanks for the bug report.</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>21773</attachid>
            <date>2003-12-05 17:34 0000</date>
            <desc>patch to go in files directory</desc>
            <filename>docbook-sgml-utils-w3m.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIGRvY2Jvb2stdXRpbHMtMC42LjEyL2JhY2tlbmRzL3R4dC5vcmlnCTIwMDMtMTItMDUgMjA6
MDg6MDMuODAwMzI4Nzc2IC0wNTAwCisrKyBkb2Nib29rLXV0aWxzLTAuNi4xMi9iYWNrZW5kcy90
eHQJMjAwMy0xMi0wNSAyMDowOToyNS4yNzk5NDE5OTIgLTA1MDAKQEAgLTEwLDYgKzEwLDEwIEBA
CiB0aGVuCiAgIENPTlZFUlQ9L3Vzci9iaW4vbGlua3MKICAgQVJHUz0iLWR1bXAiCitlbGlmIFsg
LXggL3Vzci9iaW4vdzNtIF0KK3RoZW4KKyAgQ09OVkVSVD0vdXNyL2Jpbi93M20KKyAgQVJHUz0i
LWR1bXAgLVQgdGV4dC9odG1sIgogZWxzZQogICBlY2hvID4mMiAiTm8gd2F5IHRvIGNvbnZlcnQg
SFRNTCB0byB0ZXh0IGZvdW5kLiIKICAgZXhpdCAxCg==
</data>        

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>21774</attachid>
            <date>2003-12-05 17:34 0000</date>
            <desc>patch against latest ebuild</desc>
            <filename>docbook-sgml-utils-0.6.12-r2.ebuild.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIGRvY2Jvb2stc2dtbC11dGlscy0wLjYuMTItcjIuZWJ1aWxkLm9yaWcJMjAwMy0xMi0wNSAy
MDoxNjoxNi43MjQzOTI5MjggLTA1MDAKKysrIGRvY2Jvb2stc2dtbC11dGlscy0wLjYuMTItcjIu
ZWJ1aWxkCTIwMDMtMTItMDUgMjA6MTQ6NTMuMDYyMTExNTI4IC0wNTAwCkBAIC0yNyw3ICsyNyw3
IEBACiAJPWFwcC10ZXh0L2RvY2Jvb2stc2dtbC1kdGQtNC4wLXIxCiAJPWFwcC10ZXh0L2RvY2Jv
b2stc2dtbC1kdGQtNC4xLXIxCiAJdGV0ZXg/ICggYXBwLXRleHQvamFkZXRleCApCi0JfHwgKCBu
ZXQtd3d3L2x5bnggbmV0LXd3dy9saW5rcyApIgorCXx8ICggbmV0LXd3dy9seW54IG5ldC13d3cv
bGlua3MgbmV0LXd3dy93M20gKSIKIAogIyBpbmNsdWRpbmcgYm90aCB4bWwtc2ltcGxlLWR0ZCA0
LjEuMi40IGFuZCAxLjAsIHRvIGVhc2UKICMgdHJhbnNpdGlvbiB0byBzaW1wbGUtZHRkIDEuMCwg
PG9iekBnZW50b28ub3JnPgpAQCAtMzUsNiArMzUsNyBAQAogc3JjX2NvbXBpbGUoKSB7CiAJZXBh
dGNoICR7RklMRVNESVJ9LyR7UE59LWZyb250ZW5kLnBhdGNoCiAJZXBhdGNoICR7RklMRVNESVJ9
LyR7UE59LWhlYWQtancucGF0Y2gKKwllcGF0Y2ggJHtGSUxFU0RJUn0vJHtQTn0tdzNtLnBhdGNo
CiAJZWNvbmYKIAltYWtlIHx8IGRpZQogfQo=
</data>        

          </attachment>
    </bug>

</bugzilla>