summaryrefslogtreecommitdiff
path: root/meta/recipes-gnome/gnome/gnome-doc-utils
diff options
context:
space:
mode:
authorScott Garman <scott.a.garman@intel.com>2011-05-04 21:23:35 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-05-05 11:54:46 +0100
commitc6f791853acf8fec922c1ebcf62195be2615870d (patch)
treed01536d649e787981847b43b35b5d9c2b616f2a0 /meta/recipes-gnome/gnome/gnome-doc-utils
parentf680b0e81c7d40b42f1fb3bd3f0790d3b89ed563 (diff)
downloadopenembedded-core-c6f791853acf8fec922c1ebcf62195be2615870d.tar.gz
openembedded-core-c6f791853acf8fec922c1ebcf62195be2615870d.tar.bz2
openembedded-core-c6f791853acf8fec922c1ebcf62195be2615870d.tar.xz
openembedded-core-c6f791853acf8fec922c1ebcf62195be2615870d.zip
gnome-doc-utils: Add -nonet option to xsltproc
This adds the -nonet option to xsltproc invocations, which fixes compile errors when building gnome-doc-xslt-de.omf. Also add intltool-native to DEPENDS, which was discovered to be needed when building this recipe. Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Diffstat (limited to 'meta/recipes-gnome/gnome/gnome-doc-utils')
-rw-r--r--meta/recipes-gnome/gnome/gnome-doc-utils/xsltproc_nonet.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/meta/recipes-gnome/gnome/gnome-doc-utils/xsltproc_nonet.patch b/meta/recipes-gnome/gnome/gnome-doc-utils/xsltproc_nonet.patch
new file mode 100644
index 000000000..73d22bfc9
--- /dev/null
+++ b/meta/recipes-gnome/gnome/gnome-doc-utils/xsltproc_nonet.patch
@@ -0,0 +1,34 @@
+This adds the -nonet option to xsltproc invocations, which fixes
+compile errors when building gnome-doc-xslt-de.omf.
+
+Upstream-Status: Pending
+
+Signed-off-by: Scott Garman <scott.a.garman@intel.com>
+
+diff -urN gnome-doc-utils-0.20.5.orig//doc/xslt/Makefile.am gnome-doc-utils-0.20.5/doc/xslt/Makefile.am
+--- gnome-doc-utils-0.20.5.orig//doc/xslt/Makefile.am 2011-03-22 06:56:17.000000000 -0700
++++ gnome-doc-utils-0.20.5/doc/xslt/Makefile.am 2011-05-04 21:03:29.382491164 -0700
+@@ -21,14 +21,14 @@
+
+ $(xsldoc_docs): $(xsldoc_xsls) xsldoc.awk xsldoc-fill.xsl
+ $(GDU_AWK) -f "$(srcdir)/xsldoc.awk" "$(filter %/$(basename $(notdir $@)).xsl,$(xsldoc_xsls))" \
+- | xsltproc -o "$@" \
++ | xsltproc -nonet -o "$@" \
+ --stringparam basename "$(basename $(notdir $@))" \
+ --stringparam xsl_file "$(filter %/$(basename $(notdir $@)).xsl,$(xsldoc_xsls))" \
+ "$(srcdir)/xsldoc-fill.xsl" -
+
+ $(xsldoc_xmls): xsldoc-docbook.xsl
+ $(xsldoc_xmls): C/%.xml : C/%.xsldoc
+- xsltproc -o "$@" \
++ xsltproc -nonet -o "$@" \
+ --stringparam basename "$(basename $(notdir $@))" \
+ --stringparam xsl_file "$(filter %/$(basename $(notdir $@)).xsl,$(xsldoc_xsls))" \
+ "$(srcdir)/xsldoc-docbook.xsl" "$<"
+@@ -75,4 +75,4 @@
+ DOC_MODULE = gnome-doc-xslt
+ DOC_INCLUDES = legal.xml translating.xml $(patsubst %,%.xml,$(xsldoc_base))
+
+-DOC_LINGUAS = de
+\ No newline at end of file
++DOC_LINGUAS = de