components/xmlto/patches/use-lynx-in-txt.patch
author Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
Mon, 10 Oct 2016 13:26:21 -0700
changeset 7081 616e1d8621e7
parent 4887 4db7e64f5de8
permissions -rw-r--r--
24824653 improve gobject-introspection typelib dependency tracking

Adjusted two files in the xmlto package to always use lynx to convert to
text (rather than w3m).

This patch will not be sent upstream.

--- xmlto-0.0.26/format/docbook/txt.orig	2015-09-22 07:24:15.113641794 -0700
+++ xmlto-0.0.26/format/docbook/txt	2015-09-22 07:24:47.569354480 -0700
@@ -1,10 +1,6 @@
 case "$USE_BACKEND" in
 DEFAULT|DBLATEX)
-	if [ -n "`type -t $W3M_PATH`" ]
-	then
-	  CONVERT="$W3M_PATH"
-	  ARGS="-T text/html -dump"
-	elif [ -n "`type -t $LYNX_PATH`" ]
+	if [ -n "`type -t $LYNX_PATH`" ]
 	then
 	  CONVERT="$LYNX_PATH"
 	  ARGS="-force_html -dump -nolist -width=72"
--- xmlto-0.0.26/format/xhtml1/txt.orig	2015-09-22 07:29:23.866130037 -0700
+++ xmlto-0.0.26/format/xhtml1/txt	2015-09-22 07:29:42.989011718 -0700
@@ -1,10 +1,6 @@
 case "$USE_BACKEND" in
 DEFAULT|DBLATEX)
-  if [ -n "`type -t $W3M_PATH`" ]
-  then
-    CONVERT="$W3M_PATH"
-    ARGS="-T text/html -dump"
-  elif [ -n "`type -t $LYNX_PATH`" ]
+  if [ -n "`type -t $LYNX_PATH`" ]
   then
     CONVERT="$LYNX_PATH"
     ARGS="-force_html -dump -nolist -width=72"