Package: dict-jargon Version: 4.4.7-2 Severity: normal Tags: patch User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu lucid ubuntu-patch
*** /tmp/tmpehp15g In Ubuntu, we've applied the attached patch to achieve the following: * Replace elinks with w3m. We thought you might be interested in doing the same. We're trying to replace elinks with w3m wherever possible. -- System Information: Debian Release: squeeze/sid APT prefers lucid-updates APT policy: (500, 'lucid-updates'), (500, 'lucid-security'), (500, 'lucid') Architecture: amd64 (x86_64) Kernel: Linux 2.6.24-25-server (SMP w/2 CPU cores) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/dash
=== modified file 'debian/control' --- debian/control 2009-06-20 19:03:13 +0000 +++ debian/control 2010-01-28 23:15:59 +0000 @@ -1,9 +1,10 @@ Section: text Priority: optional Build-Depends: quilt, debhelper (>= 7) -Build-Depends-Indep: xmlto, elinks-lite, dictfmt, dictzip +Build-Depends-Indep: xmlto, w3m, dictfmt, dictzip Standards-Version: 3.8.2 Homepage: http://catb.org/jargon/ === modified file 'debian/jargon2dict.sh' --- debian/jargon2dict.sh 2009-01-29 21:47:29 +0000 +++ debian/jargon2dict.sh 2010-01-28 23:00:33 +0000 @@ -42,8 +42,8 @@ sed -i "s/\o264/'/" jargon-web.html echo " [+] dumping plain-text version" - ELINKSOPTS="-dump -dump-width 79 -no-numbering 1 -no-references 1" - elinks $ELINKSOPTS jargon-web.html > jargon.txt + W3MOPTS="-dump" + w3m $W3MOPTS jargon-web.html > jargon.txt extract() { # usage: extract 'first string' 'second string'