From 40ed2718177b022c85fe9cd54e1cb7b424023302 Mon Sep 17 00:00:00 2001 From: Scott Garman Date: Thu, 17 Feb 2011 13:35:05 -0800 Subject: 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 --- .../recipes-gnome/gtk+/gtk+-2.22.1/doc-fixes.patch | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 meta/recipes-gnome/gtk+/gtk+-2.22.1/doc-fixes.patch (limited to 'meta/recipes-gnome/gtk+/gtk+-2.22.1') 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 @@ +This fixes the following build errors with the gtk+ faq and tutorial +documentation: + +mv: cannot stat `gtk-faq': No such file or directory +mv: cannot stat `gtk-tut': No such file or directory + +Signed-off-by: Scott Garman +diff -urN gtk+-2.22.1.orig//docs/faq/Makefile.am gtk+-2.22.1/docs/faq/Makefile.am +--- gtk+-2.22.1.orig//docs/faq/Makefile.am 2010-11-15 04:13:09.000000000 -0800 ++++ gtk+-2.22.1/docs/faq/Makefile.am 2011-02-17 13:16:30.603214103 -0800 +@@ -9,7 +9,8 @@ + (cd $(srcdir); \ + db2html gtk-faq.sgml; \ + test -d html && rm -r html; \ +- mv gtk-faq html); \ ++ mkdir html; \ ++ mv *.html html); \ + fi + + pdf: +diff -urN gtk+-2.22.1.orig//docs/tutorial/Makefile.am gtk+-2.22.1/docs/tutorial/Makefile.am +--- gtk+-2.22.1.orig//docs/tutorial/Makefile.am 2010-11-15 04:13:09.000000000 -0800 ++++ gtk+-2.22.1/docs/tutorial/Makefile.am 2011-02-17 13:15:40.110369180 -0800 +@@ -42,7 +42,8 @@ + (cd $(srcdir); \ + db2html gtk-tut.sgml; \ + test -d html && rm -r html; \ +- mv gtk-tut html; \ ++ mkdir html; \ ++ mv *.html html; \ + mkdir html/images; \ + cp images/*.png html/images); \ + fi -- cgit v1.2.3-54-g00ecf