summaryrefslogtreecommitdiffstats
path: root/meta/recipes-gnome/gtk+/gtk+-2.22.1/doc-fixes.patch
diff options
context:
space:
mode:
authorScott Garman <scott.a.garman@intel.com>2011-02-17 13:35:05 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-02-18 01:16:26 +0000
commit40ed2718177b022c85fe9cd54e1cb7b424023302 (patch)
tree01199a762cc662ec6f7da28449283faa6fa1fe17 /meta/recipes-gnome/gtk+/gtk+-2.22.1/doc-fixes.patch
parent0bc7de5179c9844315f303aa6e0f237ed8586a87 (diff)
downloadpoky-40ed2718177b022c85fe9cd54e1cb7b424023302.tar.gz
gtk+: Fix build of documentation
This resolves the following error messages when building gtk+ documentation: mv: cannot stat `gtk-faq': No such file or directory mv: cannot stat `gtk-tut': No such file or directory Fixes [BUGID #730] Also adds docbook-utils-native to DEPENDS so we don't rely on host documentation building tools. Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Diffstat (limited to 'meta/recipes-gnome/gtk+/gtk+-2.22.1/doc-fixes.patch')
-rw-r--r--meta/recipes-gnome/gtk+/gtk+-2.22.1/doc-fixes.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/meta/recipes-gnome/gtk+/gtk+-2.22.1/doc-fixes.patch b/meta/recipes-gnome/gtk+/gtk+-2.22.1/doc-fixes.patch
new file mode 100644
index 0000000000..67fd29a897
--- /dev/null
+++ b/meta/recipes-gnome/gtk+/gtk+-2.22.1/doc-fixes.patch
@@ -0,0 +1,33 @@
1This fixes the following build errors with the gtk+ faq and tutorial
2documentation:
3
4mv: cannot stat `gtk-faq': No such file or directory
5mv: cannot stat `gtk-tut': No such file or directory
6
7Signed-off-by: Scott Garman <scott.a.garman@intel.com>
8diff -urN gtk+-2.22.1.orig//docs/faq/Makefile.am gtk+-2.22.1/docs/faq/Makefile.am
9--- gtk+-2.22.1.orig//docs/faq/Makefile.am 2010-11-15 04:13:09.000000000 -0800
10+++ gtk+-2.22.1/docs/faq/Makefile.am 2011-02-17 13:16:30.603214103 -0800
11@@ -9,7 +9,8 @@
12 (cd $(srcdir); \
13 db2html gtk-faq.sgml; \
14 test -d html && rm -r html; \
15- mv gtk-faq html); \
16+ mkdir html; \
17+ mv *.html html); \
18 fi
19
20 pdf:
21diff -urN gtk+-2.22.1.orig//docs/tutorial/Makefile.am gtk+-2.22.1/docs/tutorial/Makefile.am
22--- gtk+-2.22.1.orig//docs/tutorial/Makefile.am 2010-11-15 04:13:09.000000000 -0800
23+++ gtk+-2.22.1/docs/tutorial/Makefile.am 2011-02-17 13:15:40.110369180 -0800
24@@ -42,7 +42,8 @@
25 (cd $(srcdir); \
26 db2html gtk-tut.sgml; \
27 test -d html && rm -r html; \
28- mv gtk-tut html; \
29+ mkdir html; \
30+ mv *.html html; \
31 mkdir html/images; \
32 cp images/*.png html/images); \
33 fi