From 16b8f9693655a1964014fc4afba861c4d59ea93f Mon Sep 17 00:00:00 2001 From: Scott Garman Date: Fri, 25 Feb 2011 15:39:16 -0800 Subject: linuxdoc-tools-native: disable doc builds requriing latex and dvips This fixes the following errors during do_install on hosts which have latex and/or dvips installed: fmt_latex2e::postASP: LaTeX first run problem. Aborting ... dvips: ! DVI file can't be opened. Our goal is to have native versions of these tools eventually. Until then, disable these parts of the documentation install process. This fixes [BUGID #774]. Signed-off-by: Scott Garman --- .../linuxdoc-tools-native/disable_dvips_doc.patch | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 meta/recipes-devtools/linuxdoc-tools/linuxdoc-tools-native/disable_dvips_doc.patch (limited to 'meta/recipes-devtools/linuxdoc-tools/linuxdoc-tools-native/disable_dvips_doc.patch') diff --git a/meta/recipes-devtools/linuxdoc-tools/linuxdoc-tools-native/disable_dvips_doc.patch b/meta/recipes-devtools/linuxdoc-tools/linuxdoc-tools-native/disable_dvips_doc.patch new file mode 100644 index 0000000000..7ac1a1fa93 --- /dev/null +++ b/meta/recipes-devtools/linuxdoc-tools/linuxdoc-tools-native/disable_dvips_doc.patch @@ -0,0 +1,29 @@ +Disable building documentation which requires the dvips utility. +This patch should be dropped once we include a native version of +dvips. + +Signed-off-by: Scott Garman +diff -urN linuxdoc-tools-0.9.66.orig/doc/Makedoc.sh linuxdoc-tools-0.9.66/doc/Makedoc.sh +--- linuxdoc-tools-0.9.66.orig/doc/Makedoc.sh 2011-02-25 15:26:41.142917782 -0800 ++++ linuxdoc-tools-0.9.66/doc/Makedoc.sh 2011-02-25 15:27:25.141917472 -0800 +@@ -52,13 +52,13 @@ + # $TMPDIR/sgml2latex --pass="\usepackage{times}" -o dvi ./guide + #fi + +-if [ -n "`which dvips`" ]; then +- echo " + dvips" >&2 +- dvips -t letter -o ./guide.ps ./guide.dvi +- if [ -n "`which gzip`" -a -f ./guide.ps ]; then +- gzip -fN ./guide.ps +- fi +-fi ++#if [ -n "`which dvips`" ]; then ++# echo " + dvips" >&2 ++# dvips -t letter -o ./guide.ps ./guide.dvi ++# if [ -n "`which gzip`" -a -f ./guide.ps ]; then ++# gzip -fN ./guide.ps ++# fi ++#fi + + + echo "- Building info docs" >&2 -- cgit v1.2.3-54-g00ecf