diff options
author | Scott Garman <scott.a.garman@intel.com> | 2011-02-17 13:35:05 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-02-18 01:16:26 +0000 |
commit | 40ed2718177b022c85fe9cd54e1cb7b424023302 (patch) | |
tree | 01199a762cc662ec6f7da28449283faa6fa1fe17 /meta/recipes-gnome/gtk+ | |
parent | 0bc7de5179c9844315f303aa6e0f237ed8586a87 (diff) | |
download | poky-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+')
-rw-r--r-- | meta/recipes-gnome/gtk+/gtk+-2.22.1/doc-fixes.patch | 33 | ||||
-rw-r--r-- | meta/recipes-gnome/gtk+/gtk+.inc | 5 | ||||
-rw-r--r-- | meta/recipes-gnome/gtk+/gtk+_2.12.7.bb | 2 | ||||
-rw-r--r-- | meta/recipes-gnome/gtk+/gtk+_2.16.6.bb | 2 | ||||
-rw-r--r-- | meta/recipes-gnome/gtk+/gtk+_2.22.1.bb | 5 |
5 files changed, 41 insertions, 6 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 @@ | |||
1 | This fixes the following build errors with the gtk+ faq and tutorial | ||
2 | documentation: | ||
3 | |||
4 | mv: cannot stat `gtk-faq': No such file or directory | ||
5 | mv: cannot stat `gtk-tut': No such file or directory | ||
6 | |||
7 | Signed-off-by: Scott Garman <scott.a.garman@intel.com> | ||
8 | diff -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: | ||
21 | diff -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 | ||
diff --git a/meta/recipes-gnome/gtk+/gtk+.inc b/meta/recipes-gnome/gtk+/gtk+.inc index 94a8fe618d..853c05946d 100644 --- a/meta/recipes-gnome/gtk+/gtk+.inc +++ b/meta/recipes-gnome/gtk+/gtk+.inc | |||
@@ -10,8 +10,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7" | |||
10 | 10 | ||
11 | SECTION = "libs" | 11 | SECTION = "libs" |
12 | PRIORITY = "optional" | 12 | PRIORITY = "optional" |
13 | DEPENDS = "glib-2.0 pango atk jpeg libpng libxext libxcursor gtk-doc-native libxrandr \ | 13 | DEPENDS = "glib-2.0 pango atk jpeg libpng libxext libxcursor \ |
14 | libgcrypt libxdamage libxrender libxcomposite cairo gdk-pixbuf" | 14 | gtk-doc-native docbook-utils-native libxrandr libgcrypt \ |
15 | libxdamage libxrender libxcomposite cairo gdk-pixbuf" | ||
15 | 16 | ||
16 | inherit autotools pkgconfig | 17 | inherit autotools pkgconfig |
17 | 18 | ||
diff --git a/meta/recipes-gnome/gtk+/gtk+_2.12.7.bb b/meta/recipes-gnome/gtk+/gtk+_2.12.7.bb index 12193f9b97..7f242d94df 100644 --- a/meta/recipes-gnome/gtk+/gtk+_2.12.7.bb +++ b/meta/recipes-gnome/gtk+/gtk+_2.12.7.bb | |||
@@ -1,6 +1,6 @@ | |||
1 | require gtk+.inc | 1 | require gtk+.inc |
2 | 2 | ||
3 | PR = "r10" | 3 | PR = "r11" |
4 | 4 | ||
5 | SRC_URI = "http://download.gnome.org/sources/gtk+/2.12/gtk+-${PV}.tar.bz2 \ | 5 | SRC_URI = "http://download.gnome.org/sources/gtk+/2.12/gtk+-${PV}.tar.bz2 \ |
6 | file://xsettings.patch;patch=1 \ | 6 | file://xsettings.patch;patch=1 \ |
diff --git a/meta/recipes-gnome/gtk+/gtk+_2.16.6.bb b/meta/recipes-gnome/gtk+/gtk+_2.16.6.bb index 1864d1ba06..5060829e4b 100644 --- a/meta/recipes-gnome/gtk+/gtk+_2.16.6.bb +++ b/meta/recipes-gnome/gtk+/gtk+_2.16.6.bb | |||
@@ -1,6 +1,6 @@ | |||
1 | require gtk+.inc | 1 | require gtk+.inc |
2 | 2 | ||
3 | PR = "r6" | 3 | PR = "r7" |
4 | 4 | ||
5 | SRC_URI = "http://download.gnome.org/sources/gtk+/2.16/gtk+-${PV}.tar.bz2 \ | 5 | SRC_URI = "http://download.gnome.org/sources/gtk+/2.16/gtk+-${PV}.tar.bz2 \ |
6 | file://xsettings.patch;patch=1 \ | 6 | file://xsettings.patch;patch=1 \ |
diff --git a/meta/recipes-gnome/gtk+/gtk+_2.22.1.bb b/meta/recipes-gnome/gtk+/gtk+_2.22.1.bb index 35aa883251..e311a8cc44 100644 --- a/meta/recipes-gnome/gtk+/gtk+_2.22.1.bb +++ b/meta/recipes-gnome/gtk+/gtk+_2.22.1.bb | |||
@@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7 \ | |||
4 | file://gtk/gtk.h;endline=27;md5=c59e0b4490dd135a5726ebf851f9b17f \ | 4 | file://gtk/gtk.h;endline=27;md5=c59e0b4490dd135a5726ebf851f9b17f \ |
5 | file://gdk/gdk.h;endline=27;md5=07db285ec208fb3e0bf7d861b0614202 \ | 5 | file://gdk/gdk.h;endline=27;md5=07db285ec208fb3e0bf7d861b0614202 \ |
6 | file://tests/testgtk.c;endline=27;md5=262db5db5f776f9863e56df31423e24c" | 6 | file://tests/testgtk.c;endline=27;md5=262db5db5f776f9863e56df31423e24c" |
7 | PR = "r0" | 7 | PR = "r1" |
8 | 8 | ||
9 | SRC_URI = "http://download.gnome.org/sources/gtk+/2.22/gtk+-${PV}.tar.bz2 \ | 9 | SRC_URI = "http://download.gnome.org/sources/gtk+/2.22/gtk+-${PV}.tar.bz2 \ |
10 | file://xsettings.patch;patch=1 \ | 10 | file://xsettings.patch;patch=1 \ |
@@ -13,7 +13,8 @@ SRC_URI = "http://download.gnome.org/sources/gtk+/2.22/gtk+-${PV}.tar.bz2 \ | |||
13 | file://no-demos.patch;patch=1 \ | 13 | file://no-demos.patch;patch=1 \ |
14 | file://cellrenderer-cairo.patch;patch=1;pnum=0 \ | 14 | file://cellrenderer-cairo.patch;patch=1;pnum=0 \ |
15 | file://toggle-font.diff;patch=1;pnum=0 \ | 15 | file://toggle-font.diff;patch=1;pnum=0 \ |
16 | file://0001-bgo-584832-Duplicate-the-exec-string-returned-by-gtk.patch;patch=1 \ | 16 | file://0001-bgo-584832-Duplicate-the-exec-string-returned-by-gtk.patch;patch=1 \ |
17 | file://doc-fixes.patch \ | ||
17 | # TO MERGE | 18 | # TO MERGE |
18 | # file://entry-cairo.patch;patch=1;pnum=0 \ | 19 | # file://entry-cairo.patch;patch=1;pnum=0 \ |
19 | # file://filesystem-volumes.patch;patch=1 \ | 20 | # file://filesystem-volumes.patch;patch=1 \ |