Urgent doc fixes for gtk+
cover Urgent doc fixes for gtk+
From: Scott Garman <[email protected]>
Hi Richard/Saul,
This pull request should finally sort out the issues building documentation for gtk+.
I was able to reproduce the problem reliably by building docbook-utils-native *before* attempting to build gtk+. With that known, I have tested this under an openSUSE 11.2 chroot and on a 40-core Fedora 13 server, building for qemux86 and qemuppc. I also did a full poky-image-sato build on the
40-way which completed successfully after I disabledPARALLEL_MAKE for perl-native.
Pull URL: git://git.pokylinux.org/poky-contrib.git
Branch: sgarman/gtk-doc-fixes
Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=sgarman/gtk-doc-fixes
Thanks,
Scott Garman <[email protected]>
---
Scott Garman (4):
docbook-dsssl-stylesheets-native: add missing files to install
openjade-native: Set datadir explicitly
docbook-utils-native: set SGML_EXTRA_CATALOGS in jw gtk+: Fix build of documentation
.../docbook-dsssl-stylesheets-native_1.79.bb | 4 +- .../docbook-utils/docbook-utils-native_0.6.14.bb | 5 ++- .../openjade/openjade-native_1.3.2.bb | 6 +++- .../recipes-gnome/gtk+/gtk+-2.22.1/doc-fixes.patch | 33 ++++++++++++++++++++ meta/recipes-gnome/gtk+/gtk+.inc | 5 ++- meta/recipes-gnome/gtk+/gtk+_2.12.7.bb | 2 +- meta/recipes-gnome/gtk+/gtk+_2.16.6.bb | 2 +- meta/recipes-gnome/gtk+/gtk+_2.22.1.bb | 5 ++- 8 files changed, 52 insertions(+), 10 deletions(-) create mode 100644 meta/recipes-gnome/gtk+/gtk+-2.22.1/doc-fixes.patch
PATCH 1/4 docbook-dsssl-stylesheets-native: add missing files to install
From: Scott Garman <[email protected]>
--- .../docbook-dsssl-stylesheets-native_1.79.bb | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
meta/recipes-devtools/docbook-dsssl-stylesheets/docbook-dsssl-stylesheets-native_1.79.bb +2 -2
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://README;beginline=41;endline=74;md5=875385159b2ee76ecf DEPENDS = "sgml-common-native" -PR = "r0" +PR = "r1" SRC_URI = "${SOURCEFORGE_MIRROR}/docbook/docbook-dsssl-${PV}.tar.bz2"
@@ -28,7 +28,7 @@ do_install () { install -d ${D}${datadir}/sgml/docbook/dsssl-stylesheets-${PV} install -m 0644 catalog ${D}${datadir}/sgml/docbook/dsssl-stylesheets-${PV} - cp -PpRr common ${D}${datadir}/sgml/docbook/dsssl-stylesheets-${PV} + cp -v -R * ${D}${datadir}/sgml/docbook/dsssl-stylesheets-${PV} install-catalog --add ${sysconfdir}/sgml/dsssl-docbook-stylesheets.cat \ ${D}${datadir}/sgml/docbook/dsssl-stylesheets-${PV}/catalog
Signature · 1 line
1.7.1
PATCH 2/4 openjade-native: Set datadir explicitly
In reply to Scott GarmanFrom: Scott Garman <[email protected]>
datadir was previously defaulting to usr/share and hence could not find openjade's data files.
--- .../openjade/openjade-native_1.3.2.bb | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-)
meta/recipes-devtools/openjade/openjade-native_1.3.2.bb +5 -1
@@ -7,7 +7,7 @@ SECTION = "base" LICENSE = "BSD" LIC_FILES_CHKSUM = "file://COPYING;md5=641ff1e4511f0a87044ad42f87cb1045" -PR = "r0" +PR = "r1" DEPENDS = "opensp-native sgml-common-native" RDEPENDS_${PN} = "sgml-common"
@@ -23,6 +23,10 @@ inherit autotools native EXTRA_OECONF = "--enable-spincludedir=${STAGING_INCDIR}/OpenSP \ --enable-splibdir=${STAGING_LIBDIR}" +# We need to set datadir explicitly, but adding it to EXTRA_OECONF +# results in it being specified twice when configure is run. +CONFIGUREOPTS := "${@d.getVar('CONFIGUREOPTS', True).replace('--datadir=${datadir}', '--datadir=${STAGING_DATADIR}/sgml/openjade-${PV}')}" + CFLAGS =+ "-I${S}/include" do_install() {
Signature · 1 line
1.7.1
PATCH 3/4 docbook-utils-native: set SGML_EXTRA_CATALOGS in jw
In reply to Scott GarmanFrom: Scott Garman <[email protected]>
Point jw to the native sysroot master catalog.
--- .../docbook-utils/docbook-utils-native_0.6.14.bb | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-)
meta/recipes-devtools/docbook-utils/docbook-utils-native_0.6.14.bb +4 -1
@@ -8,7 +8,7 @@ LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" DEPENDS = "openjade-native sgmlspl-native docbook-dsssl-stylesheets-native docbook-sgml-dtd-3.1-native" -PR = "r0" +PR = "r1" SRC_URI = "ftp://sources.redhat.com/pub/docbook-tools/new-trials/SOURCES/docbook-utils-${PV}.tar.gz"
@@ -22,6 +22,9 @@ do_configure_prepend() { sed -i -e "s|/etc/sgml|${sysconfdir}/sgml|g" bin/jw.in sed -i -e "s|/etc/sgml|${sysconfdir}/sgml|g" doc/man/Makefile.am sed -i -e "s|/etc/sgml|${sysconfdir}/sgml|g" doc/HTML/Makefile.am + + # Point jw to the native sysroot catalog + sed -i -e 's|^SGML_EXTRA_CATALOGS=""|SGML_EXTRA_CATALOGS=":${sysconfdir}/sgml/catalog"|g' bin/jw.in } do_install() {
Signature · 1 line
1.7.1
PATCH 4/4 gtk+: Fix build of documentation
In reply to Scott GarmanFrom: Scott Garman <[email protected]>
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.
--- .../recipes-gnome/gtk+/gtk+-2.22.1/doc-fixes.patch | 33 ++++++++++++++++++++ meta/recipes-gnome/gtk+/gtk+.inc | 5 ++- meta/recipes-gnome/gtk+/gtk+_2.12.7.bb | 2 +- meta/recipes-gnome/gtk+/gtk+_2.16.6.bb | 2 +- meta/recipes-gnome/gtk+/gtk+_2.22.1.bb | 5 ++- 5 files changed, 41 insertions(+), 6 deletions(-) create mode 100644 meta/recipes-gnome/gtk+/gtk+-2.22.1/doc-fixes.patch
meta/recipes-gnome/gtk+/gtk+-2.22.1/doc-fixes.patch new file +33 -0
@@ -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 <[email protected]> +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
meta/recipes-gnome/gtk+/gtk+.inc +3 -2
@@ -10,8 +10,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7" SECTION = "libs" PRIORITY = "optional" -DEPENDS = "glib-2.0 pango atk jpeg libpng libxext libxcursor gtk-doc-native libxrandr \ - libgcrypt libxdamage libxrender libxcomposite cairo gdk-pixbuf" +DEPENDS = "glib-2.0 pango atk jpeg libpng libxext libxcursor \ + gtk-doc-native docbook-utils-native libxrandr libgcrypt \ + libxdamage libxrender libxcomposite cairo gdk-pixbuf" inherit autotools pkgconfig
meta/recipes-gnome/gtk+/gtk+_2.12.7.bb +1 -1
@@ -1,6 +1,6 @@ require gtk+.inc -PR = "r10" +PR = "r11" SRC_URI = "http://download.gnome.org/sources/gtk+/2.12/gtk+-${PV}.tar.bz2 \ file://xsettings.patch;patch=1 \
meta/recipes-gnome/gtk+/gtk+_2.16.6.bb +1 -1
@@ -1,6 +1,6 @@ require gtk+.inc -PR = "r6" +PR = "r7" SRC_URI = "http://download.gnome.org/sources/gtk+/2.16/gtk+-${PV}.tar.bz2 \ file://xsettings.patch;patch=1 \
meta/recipes-gnome/gtk+/gtk+_2.22.1.bb +3 -2
@@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7 \ file://gtk/gtk.h;endline=27;md5=c59e0b4490dd135a5726ebf851f9b17f \ file://gdk/gdk.h;endline=27;md5=07db285ec208fb3e0bf7d861b0614202 \ file://tests/testgtk.c;endline=27;md5=262db5db5f776f9863e56df31423e24c" -PR = "r0" +PR = "r1" SRC_URI = "http://download.gnome.org/sources/gtk+/2.22/gtk+-${PV}.tar.bz2 \ file://xsettings.patch;patch=1 \
@@ -13,7 +13,8 @@ SRC_URI = "http://download.gnome.org/sources/gtk+/2.22/gtk+-${PV}.tar.bz2 \ file://no-demos.patch;patch=1 \ file://cellrenderer-cairo.patch;patch=1;pnum=0 \ file://toggle-font.diff;patch=1;pnum=0 \ - file://0001-bgo-584832-Duplicate-the-exec-string-returned-by-gtk.patch;patch=1 \ + file://0001-bgo-584832-Duplicate-the-exec-string-returned-by-gtk.patch;patch=1 \ + file://doc-fixes.patch \ # TO MERGE # file://entry-cairo.patch;patch=1;pnum=0 \ # file://filesystem-volumes.patch;patch=1 \
Signature · 1 line
1.7.1
Re: [PATCH 3/4] docbook-utils-native: set SGML_EXTRA_CATALOGS in jw
In reply to Scott GarmanHi, Scott
I continuously meet below compile errors when I bitbake doc-utils-native today. I paste the log in the attachment, could you help to have a look. Thanks a lot for your help!
criping
Quoted 48 lines
-----Original Message-----
From: [email protected] [mailto:poky- [email protected]] On Behalf Of Scott Garman
Sent: Friday, February 18, 2011 7:40 AM
To: [email protected]
Subject: [poky] [PATCH 3/4] docbook-utils-native: setSGML_EXTRA_CATALOGSin jwFrom: Scott Garman <[email protected]>
Point jw to the native sysroot master catalog.
Signed-off-by Scott Garman <[email protected]>--- .../docbook-utils/docbook-utils-native_0.6.14.bb | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-)(quoted diff) +0
-0native_0.6.14.bb b/meta/recipes-devtools/docbook-utils/docbook-utils- native_0.6.14.bb
index 2263c0a..c0084b3 100644
--- a/meta/recipes-devtools/docbook-utils/docbook-utils- native_0.6.14.bb
+++ b/meta/recipes-devtools/docbook-utils/docbook-utils- native_0.6.14.bb(quoted diff) +0
-0@@ -8,7 +8,7 @@ LICENSE = "GPLv2" LIC_FILES_CHKSUM ="file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
DEPENDS = "openjade-native sgmlspl-native docbook-dsssl-stylesheets-
native docbook-sgml-dtd-3.1-native"meta/recipes-devtools/docbook-utils/docbook-utils-native_0.6.14.bb +1
-1-PR = "r0" +PR = "r1" SRC_URI = "ftp://sources.redhat.com/pub/docbook-tools/new-trials/SOURCES/docbook-utils-${PV}.tar.gz"
meta/recipes-devtools/docbook-utils/docbook-utils-native_0.6.14.bb +3
-0@@ -22,6 +22,9 @@ do_configure_prepend() { sed -i -e "s|/etc/sgml|${sysconfdir}/sgml|g" bin/jw.in sed -i -e "s|/etc/sgml|${sysconfdir}/sgml|g" doc/man/Makefile.am sed -i -e "s|/etc/sgml|${sysconfdir}/sgml|g" doc/HTML/Makefile.am + + # Point jw to the native sysroot catalog + sed -i -e's|^SGML_EXTRA_CATALOGS=""|SGML_EXTRA_CATALOGS=":${sysconfdir}/sgml/cat alog"|g' bin/jw.in
}
Quoted 8 lines
do_install(){
--
1.7.1_______________________________________________
poky mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/poky
NOTE: make -j 1
Making all in backends
make[1]: Entering directory /media/poky/new.git/build-x86-new/tmp/work/i686-linux/docbook-utils-native-0.6.14-r1/docbook-utils-0.6.14/backends' make[1]: Nothing to be done for all'.
make[1]: Leaving directory `/media/poky/new.git/build-x86-new/tmp/work/i686-linux/docbook-utils-native-0.6.14-r1/docbook-utils-0.6.14/backends' Making all in bin
make[1]: Entering directory /media/poky/new.git/build-x86-new/tmp/work/i686-linux/docbook-utils-native-0.6.14-r1/docbook-utils-0.6.14/bin' make[1]: Nothing to be done for all'.
make[1]: Leaving directory `/media/poky/new.git/build-x86-new/tmp/work/i686-linux/docbook-utils-native-0.6.14-r1/docbook-utils-0.6.14/bin' Making all in doc
make[1]: Entering directory `/media/poky/new.git/build-x86-new/tmp/work/i686-linux/docbook-utils-native-0.6.14-r1/docbook-utils-0.6.14/doc' Making all in refentry
make[2]: Entering directory /media/poky/new.git/build-x86-new/tmp/work/i686-linux/docbook-utils-native-0.6.14-r1/docbook-utils-0.6.14/doc/refentry' make[2]: Nothing to be done for all'.
make[2]: Leaving directory `/media/poky/new.git/build-x86-new/tmp/work/i686-linux/docbook-utils-native-0.6.14-r1/docbook-utils-0.6.14/doc/refentry' Making all in man
make[2]: Entering directory /media/poky/new.git/build-x86-new/tmp/work/i686-linux/docbook-utils-native-0.6.14-r1/docbook-utils-0.6.14/doc/man' make[2]: Nothing to be done for all'.
make[2]: Leaving directory `/media/poky/new.git/build-x86-new/tmp/work/i686-linux/docbook-utils-native-0.6.14-r1/docbook-utils-0.6.14/doc/man' Making all in HTML
make[2]: Entering directory `/media/poky/new.git/build-x86-new/tmp/work/i686-linux/docbook-utils-native-0.6.14-r1/docbook-utils-0.6.14/doc/HTML'
SGML_CATALOG_FILES=/media/poky/new.git/build-x86-new/tmp/sysroots/i686-linux/etc/sgml/catalog \ SGML_SEARCH_PATH=../..:../../doc:.. \ jade -t sgml -i html -d ../../docbook-utils.dsl\#html \ -V '%use-id-as-filename%' ../../doc/docbook-utils.sgml
jade:../../doc/docbook-utils.sgml:1:55:W: cannot generate system identifier for public text "-//OASIS//DTD DocBook V3.1//EN" jade:../../doc/docbook-utils.sgml:9:0:E: reference to entity "BOOK" for which no system identifier could be generated jade:../../doc/docbook-utils.sgml:1:0: entity was defined here
jade:../../doc/docbook-utils.sgml:9:0:E: DTD did not contain element declaration for document type name jade:../../doc/docbook-utils.sgml:11:11:E: there is no attribute "LANG"
jade:../../doc/docbook-utils.sgml:11:19:E: there is no attribute "ID"
jade:../../doc/docbook-utils.sgml:11:34:E: element "BOOK" undefined
jade:../../doc/docbook-utils.sgml:12:11:E: element "BOOKINFO" undefined
jade:../../doc/docbook-utils.sgml:13:10:E: element "TITLE" undefined
jade:../../doc/docbook-utils.sgml:14:12:E: element "PUBDATE" undefined
jade:../../doc/docbook-utils.sgml:16:16:E: element "LEGALNOTICE" undefined
jade:../../doc/docbook-utils.sgml:17:6:E: element "PARA" undefined
jade:../../doc/docbook-utils.sgml:24:13:E: element "ABSTRACT" undefined
jade:../../doc/docbook-utils.sgml:25:11:E: element "PARA" undefined
jade:../../doc/docbook-utils.sgml:28:11:E: element "PARA" undefined
jade:../../doc/docbook-utils.sgml:34:16:E: element "AUTHORGROUP" undefined
jade:../../doc/docbook-utils.sgml:35:13:E: element "AUTHOR" undefined
jade:../../doc/docbook-utils.sgml:36:11:E: element "FIRSTNAME" undefined
jade:../../doc/docbook-utils.sgml:36:37:E: element "SURNAME" undefined
jade:../../doc/docbook-utils.sgml:37:20:E: element "AFFILIATION" undefined
jade:../../doc/docbook-utils.sgml:38:18:E: element "ADDRESS" undefined
jade:../../doc/docbook-utils.sgml:38:25:E: element "EMAIL" undefined
jade:../../doc/docbook-utils.sgml:41:13:E: element "AUTHOR" undefined
jade:../../doc/docbook-utils.sgml:42:11:E: element "FIRSTNAME" undefined
jade:../../doc/docbook-utils.sgml:42:39:E: element "SURNAME" undefined
jade:../../doc/docbook-utils.sgml:43:20:E: element "AFFILIATION" undefined
jade:../../doc/docbook-utils.sgml:44:18:E: element "ADDRESS" undefined
jade:../../doc/docbook-utils.sgml:44:25:E: element "EMAIL" undefined
jade:../../doc/docbook-utils.sgml:47:13:E: element "AUTHOR" undefined
jade:../../doc/docbook-utils.sgml:48:11:E: element "FIRSTNAME" undefined
jade:../../doc/docbook-utils.sgml:48:38:E: element "SURNAME" undefined
jade:../../doc/docbook-utils.sgml:49:20:E: element "AFFILIATION" undefined
jade:../../doc/docbook-utils.sgml:50:18:E: element "ADDRESS" undefined
jade:../../doc/docbook-utils.sgml:50:25:E: element "EMAIL" undefined
jade:../../doc/docbook-utils.sgml:53:13:E: element "AUTHOR" undefined
jade:../../doc/docbook-utils.sgml:54:11:E: element "FIRSTNAME" undefined
jade:../../doc/docbook-utils.sgml:54:41:E: element "SURNAME" undefined
jade:../../doc/docbook-utils.sgml:55:20:E: element "AFFILIATION" undefined
jade:../../doc/docbook-utils.sgml:56:18:E: element "ADDRESS" undefined
jade:../../doc/docbook-utils.sgml:56:25:E: element "EMAIL" undefined
jade:../../doc/docbook-utils.sgml:63:14:E: there is no attribute "ID"
jade:../../doc/docbook-utils.sgml:63:28:E: element "CHAPTER" undefined
jade:../../doc/docbook-utils.sgml:64:12:E: element "DOCINFO" undefined
jade:../../doc/docbook-utils.sgml:65:13:E: element "AUTHOR" undefined
jade:../../doc/docbook-utils.sgml:66:18:E: element "FIRSTNAME" undefined
jade:../../doc/docbook-utils.sgml:66:44:E: element "SURNAME" undefined
jade:../../doc/docbook-utils.sgml:69:10:E: element "TITLE" undefined
jade:../../doc/docbook-utils.sgml:71:9:E: element "PARA" undefined
jade:../../doc/docbook-utils.sgml:76:9:E: element "PARA" undefined
jade:../../doc/docbook-utils.sgml:76:21:E: there is no attribute "URL"
jade:../../doc/docbook-utils.sgml:76:57:E: element "ULINK" undefined
jade:../../doc/docbook-utils.sgml:81:9:E: element "PARA" undefined
jade:../../doc/docbook-utils.sgml:89:9:E: element "PARA" undefined
jade:../../doc/docbook-utils.sgml:94:9:E: element "PARA" undefined
jade:../../doc/docbook-utils.sgml:95:19:E: element "ITEMIZEDLIST" undefined
jade:../../doc/docbook-utils.sgml:96:17:E: element "LISTITEM" undefined
jade:../../doc/docbook-utils.sgml:97:15:E: element "PARA" undefined
jade:../../doc/docbook-utils.sgml:97:28:E: element "APPLICATION" undefined
jade:../../doc/docbook-utils.sgml:101:17:E: element "LISTITEM" undefined
jade:../../doc/docbook-utils.sgml:102:15:E: element "PARA" undefined
jade:../../doc/docbook-utils.sgml:102:28:E: element "APPLICATION" undefined
jade:../../doc/docbook-utils.sgml:108:19:E: element "ITEMIZEDLIST" undefined jade:../../doc/docbook-utils.sgml:109:17:E: element "LISTITEM" undefined
jade:../../doc/docbook-utils.sgml:110:15:E: element "PARA" undefined
jade:../../doc/docbook-utils.sgml:113:17:E: element "LISTITEM" undefined
jade:../../doc/docbook-utils.sgml:114:15:E: element "PARA" undefined
jade:../../doc/docbook-utils.sgml:117:17:E: element "LISTITEM" undefined
jade:../../doc/docbook-utils.sgml:118:15:E: element "PARA" undefined
jade:../../doc/docbook-utils.sgml:123:9:E: element "PARA" undefined
jade:../../doc/docbook-utils.sgml:129:9:E: element "NOTE" undefined
jade:../../doc/docbook-utils.sgml:130:14:E: element "SIMPARA" undefined
jade:../../doc/docbook-utils.sgml:131:12:E: element "EMAIL" undefined
jade:../../doc/docbook-utils.sgml:134:14:E: element "SIMPARA" undefined
jade:../../doc/docbook-utils.sgml:135:12:E: element "EMAIL" undefined
jade:../../doc/docbook-utils.sgml:138:14:E: element "SIMPARA" undefined
jade:../../doc/docbook-utils.sgml:139:41:E: element "ULINK" undefined
jade:../../doc/docbook-utils.sgml:145:24:E: element "CHAPTER" undefined
jade:../../doc/docbook-utils.sgml:146:12:E: element "DOCINFO" undefined
jade:../../doc/docbook-utils.sgml:147:13:E: element "AUTHOR" undefined
jade:../../doc/docbook-utils.sgml:148:18:E: element "FIRSTNAME" undefined
jade:../../doc/docbook-utils.sgml:148:46:E: element "SURNAME" undefined
jade:../../doc/docbook-utils.sgml:151:10:E: element "TITLE" undefined
jade:../../doc/docbook-utils.sgml:153:6:E: element "SECT1" undefined
jade:../../doc/docbook-utils.sgml:154:6:E: element "TITLE" undefined
jade:../../doc/docbook-utils.sgml:156:9:E: element "PARA" undefined
jade:../../doc/docbook-utils.sgml:156:23:E: element "CITEREFENTRY" undefined jade:../../doc/docbook-utils.sgml:156:39:E: element "REFENTRYTITLE" undefined jade:../../doc/docbook-utils.sgml:157:14:E: element "MANVOLNUM" undefined
jade:../../doc/docbook-utils.sgml:160:9:E: element "PARA" undefined
jade:../../doc/docbook-utils.sgml:161:16:E: element "APPLICATION" undefined
jade:../../doc/docbook-utils.sgml:162:37:E: element "FIRSTTERM" undefined
jade:../../doc/docbook-utils.sgml:163:14:E: element "FIRSTTERM" undefined
jade:../../doc/docbook-utils.sgml:168:9:E: element "PARA" undefined
jade:../../doc/docbook-utils.sgml:170:23:E: element "FIRSTTERM" undefined
jade:../../doc/docbook-utils.sgml:171:14:E: element "FIRSTTERM" undefined
jade:../../doc/refentry/jw.sgml:1:13:E: there is no attribute "ID"
jade:../../doc/refentry/jw.sgml:1:17:E: element "REFENTRY" undefined
jade:../../doc/refentry/jw.sgml:2:10:E: element "DOCINFO" undefined
jade:../../doc/refentry/jw.sgml:3:11:E: element "AUTHOR" undefined
jade:../../doc/refentry/jw.sgml:4:16:E: element "FIRSTNAME" undefined
jade:../../doc/refentry/jw.sgml:4:42:E: element "SURNAME" undefined
jade:../../doc/refentry/jw.sgml:5:18:E: element "AFFILIATION" undefined
jade:../../doc/refentry/jw.sgml:6:16:E: element "ADDRESS" undefined
jade:../../doc/refentry/jw.sgml:6:23:E: element "EMAIL" undefined
jade:../../doc/refentry/jw.sgml:10:10:E: element "REFMETA" undefined
jade:../../doc/refentry/jw.sgml:11:18:E: element "REFENTRYTITLE" undefined
jade:../../doc/refentry/jw.sgml:12:14:E: element "MANVOLNUM" undefined
jade:../../doc/refentry/jw.sgml:15:13:E: element "REFNAMEDIV" undefined
jade:../../doc/refentry/jw.sgml:16:12:E: element "REFNAME" undefined
jade:../../doc/refentry/jw.sgml:17:12:E: element "REFNAME" undefined
jade:../../doc/refentry/jw.sgml:18:12:E: element "REFNAME" undefined
jade:../../doc/refentry/jw.sgml:19:12:E: element "REFNAME" undefined
jade:../../doc/refentry/jw.sgml:20:12:E: element "REFNAME" undefined
jade:../../doc/refentry/jw.sgml:21:12:E: element "REFNAME" undefined
jade:../../doc/refentry/jw.sgml:22:12:E: element "REFNAME" undefined
jade:../../doc/refentry/jw.sgml:23:12:E: element "REFNAME" undefined
jade:../../doc/refentry/jw.sgml:24:12:E: element "REFNAME" undefined
jade:../../doc/refentry/jw.sgml:25:12:E: element "REFNAME" undefined
jade:../../doc/refentry/jw.sgml:26:15:E: element "REFPURPOSE" undefined
jade:../../doc/refentry/jw.sgml:29:17:E: element "REFSYNOPSISDIV" undefined
jade:../../doc/refentry/jw.sgml:30:16:E: element "CMDSYNOPSIS" undefined
jade:../../doc/refentry/jw.sgml:31:14:E: element "COMMAND" undefined
jade:../../doc/refentry/jw.sgml:32:20:E: there is no attribute "CHOICE"
jade:../../doc/refentry/jw.sgml:32:25:E: element "GROUP" undefined
jade:../../doc/refentry/jw.sgml:32:30:E: element "ARG" undefined
jade:../../doc/refentry/jw.sgml:32:38:E: element "OPTION" undefined
jade:../../doc/refentry/jw.sgml:33:18:E: element "REPLACEABLE" undefined
jade:../../doc/refentry/jw.sgml:34:5:E: element "ARG" undefined
jade:../../doc/refentry/jw.sgml:34:13:E: element "OPTION" undefined
jade:../../doc/refentry/jw.sgml:35:18:E: element "REPLACEABLE" undefined
jade:../../doc/refentry/jw.sgml:36:18:E: element "SBR" undefined
jade:../../doc/refentry/jw.sgml:38:25:E: element "GROUP" undefined
jade:../../doc/refentry/jw.sgml:38:30:E: element "ARG" undefined
jade:../../doc/refentry/jw.sgml:38:38:E: element "OPTION" undefined
jade:../../doc/refentry/jw.sgml:39:18:E: element "REPLACEABLE" undefined
jade:../../doc/refentry/jw.sgml:40:5:E: element "ARG" undefined
jade:../../doc/refentry/jw.sgml:40:13:E: element "OPTION" undefined
jade:../../doc/refentry/jw.sgml:40:45:E: element "REPLACEABLE" undefined
jade:../../doc/refentry/jw.sgml:41:18:E: element "SBR" undefined
jade:../../doc/refentry/jw.sgml:43:25:E: element "GROUP" undefined
jade:../../doc/refentry/jw.sgml:43:30:E: element "ARG" undefined
jade:../../doc/refentry/jw.sgml:43:38:E: element "OPTION" undefined
jade:../../doc/refentry/jw.sgml:43:63:E: element "REPLACEABLE" undefined
jade:../../doc/refentry/jw.sgml:44:12:E: element "ARG" undefined
jade:../../doc/refentry/jw.sgml:44:20:E: element "OPTION" undefined
jade:../../doc/refentry/jw.sgml:44:48:E: element "REPLACEABLE" undefined
jade:../../doc/refentry/jw.sgml:45:18:E: element "SBR" undefined
jade:../../doc/refentry/jw.sgml:47:25:E: element "GROUP" undefined
jade:../../doc/refentry/jw.sgml:47:30:E: element "ARG" undefined
jade:../../doc/refentry/jw.sgml:47:38:E: element "OPTION" undefined
jade:../../doc/refentry/jw.sgml:48:12:E: element "ARG" undefined
jade:../../doc/refentry/jw.sgml:48:20:E: element "OPTION" undefined
jade:../../doc/refentry/jw.sgml:49:18:E: element "SBR" undefined
jade:../../doc/refentry/jw.sgml:51:25:E: element "GROUP" undefined
jade:../../doc/refentry/jw.sgml:52:5:E: element "ARG" undefined
jade:../../doc/refentry/jw.sgml:52:13:E: element "OPTION" undefined
jade:../../doc/refentry/jw.sgml:53:20:E: element "REPLACEABLE" undefined
jade:../../doc/refentry/jw.sgml:54:12:E: element "ARG" undefined
jade:../../doc/refentry/jw.sgml:54:20:E: element "OPTION" undefined
jade:../../doc/refentry/jw.sgml:55:20:E: element "REPLACEABLE" undefined
jade:../../doc/refentry/jw.sgml:56:18:E: element "SBR" undefined
jade:../../doc/refentry/jw.sgml:58:25:E: element "GROUP" undefined
jade:../../doc/refentry/jw.sgml:59:12:E: element "ARG" undefined
jade:../../doc/refentry/jw.sgml:59:20:E: element "OPTION" undefined
jade:../../doc/refentry/jw.sgml:59:45:E: element "REPLACEABLE" undefined
jade:../../doc/refentry/jw.sgml:60:12:E: element "ARG" undefined
jade:../../doc/refentry/jw.sgml:60:20:E: element "OPTION" undefined
jade:../../doc/refentry/jw.sgml:60:48:E: element "REPLACEABLE" undefined
jade:../../doc/refentry/jw.sgml:61:18:E: element "SBR" undefined
jade:../../doc/refentry/jw.sgml:63:25:E: element "GROUP" undefined
jade:../../doc/refentry/jw.sgml:64:12:E: element "ARG" undefined
jade:../../doc/refentry/jw.sgml:64:20:E: element "OPTION" undefined
jade:../../doc/refentry/jw.sgml:64:45:E: element "REPLACEABLE" undefined
jade:../../doc/refentry/jw.sgml:65:12:E: element "ARG" undefined
jade:../../doc/refentry/jw.sgml:65:20:E: element "OPTION" undefined
jade:../../doc/refentry/jw.sgml:65:53:E: element "REPLACEABLE" undefined
jade:../../doc/refentry/jw.sgml:66:18:E: element "SBR" undefined
jade:../../doc/refentry/jw.sgml:68:25:E: element "GROUP" undefined
jade:../../doc/refentry/jw.sgml:69:12:E: element "ARG" undefined
jade:../../doc/refentry/jw.sgml:69:20:E: element "OPTION" undefined
jade:../../doc/refentry/jw.sgml:69:45:E: element "REPLACEABLE" undefined
jade:../../doc/refentry/jw.sgml:70:12:E: element "ARG" undefined
jade:../../doc/refentry/jw.sgml:70:20:E: element "OPTION" undefined
jade:../../doc/refentry/jw.sgml:70:51:E: element "REPLACEABLE" undefined
jade:../../doc/refentry/jw.sgml:71:18:E: element "SBR" undefined
jade:../../doc/refentry/jw.sgml:73:25:E: element "GROUP" undefined
jade:../../doc/refentry/jw.sgml:74:12:E: element "ARG" undefined
jade:../../doc/refentry/jw.sgml:74:20:E: element "OPTION" undefined
jade:../../doc/refentry/jw.sgml:74:45:E: element "REPLACEABLE" undefined
jade:../../doc/refentry/jw.sgml:75:12:E: element "ARG" undefined
jade:../../doc/refentry/jw.sgml:75:20:E: element "OPTION" undefined
jade:../../doc/refentry/jw.sgml:75:51:E: element "REPLACEABLE" undefined
jade:../../doc/refentry/jw.sgml:76:18:E: element "SBR" undefined
jade:../../doc/refentry/jw.sgml:78:18:E: there is no attribute "CHOICE"
jade:../../doc/refentry/jw.sgml:78:23:E: element "ARG" undefined
jade:../../doc/refentry/jw.sgml:78:31:E: element "OPTION" undefined
jade:../../doc/refentry/jw.sgml:79:20:E: element "REPLACEABLE" undefined
jade:../../doc/refentry/jw.sgml:79:57:E: element "REPLACEABLE" undefined
jade:../../doc/refentry/jw.sgml:79:88:E: element "SBR" undefined
jade:../../doc/refentry/jw.sgml:81:25:E: element "GROUP" undefined
jade:../../doc/refentry/jw.sgml:82:12:E: element "ARG" undefined
jade:../../doc/refentry/jw.sgml:82:20:E: element "OPTION" undefined
jade:I: maximum number of errors (200) reached; change with -E option
jade:../../docbook-utils.dsl:9:96:W: cannot generate system identifier for public text "-//Norman Walsh//DOCUMENT DocBook HTML Stylesheet//EN" jade:../../docbook-utils.dsl:19:39:E: no style-specification or external-specification with ID "DOCBOOK"
DocBook Utils
18 June 2000
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation. A copy of the license is included in the section entitled "GNU Free Documentation License".
This documentation describes the DocBook-utils version
0.2.
The DocBook-utils are a collection of various utilites to convert and analyse SGML documents in general and DocBook files in particular. They are developped by many authors and released under GPL licence.
Eric Bischoff
[email protected]
Jochem Huhmann
[email protected]
Steve Cheng
[email protected]
Frederik Fouvry
[email protected]
Eric Bischoff
Introduction
The DocBook-utils are a collection of various utilites to convert and analyse SGML documents in general and DocBook files in particular. They are developped by many authors and released under GPL licence.
DocBook
is a SGML-based or XML-based standard for writing technical documentation defined by the DocBook Technical Committee of the OASIS consortium.
The DocBook-utils try to be as general as possible, and therefore it is possible to use them with other SGML formats than DocBook, like TEI or HTML. But each time there was an opportunity to make them biased to DocBook to ease the life of DocBook users, this opportunity has been given a higher priority than generality considerations. This is why this package is not called "SGML-utils".
The DocBook-utils are independant of any existing distribution of SGML parsers and of DocBook resources. However, they conform with the new draft on SGML and DocBook standardization being discussed at Linux Standard Base project.
So far, the DocBook-utils only consist of:
jw, a script used to convert
from DocBook or other SGML formats into "classical" file formats like HTML, man, info, RTF...
sgmldiff, a script used to
compare the markup of a SGML file with its translation into another language.
but we would like to see them accomplish other tasks in the future:
Conversion from "legacy" formats like LinuxDoc, man,
info, HTML or PDF into DocBook.
Refined analysis of DocBook files like a "sgmlgrep"
program that would allow context-sensitive searchs.
Support for XML.
If you want to help or keep informed of the latest developments, please subscribe to the "[email protected]" mailing list. This list has been set up to allow collaborative development of these
tools.
To subscribe: Send a message to
[email protected]
- you will get a confirmation message, just reply to it.
To unsubscribe: Send a message to [email protected] and reply to the confirmation message
For any additional information, write to Jorge Godoy who is the maintainer of this list.
Jochem Huhmann
jw
Command reference
jw
1 converts DocBook or other
SGML-based formats into "classical" file formats.
The modular architecture used by
jw allows to write plug-in
programs (we call them backends and
frontends). The backends are specific to
output formats while the frontends are specific to input formats. We would like to encourage you to write such programs and to submit them to the docbook-utils project.
While most backends are based on Jame's Clark Jade, or its OpenJade alternative, some of the backends make use of the programs from the docbook2X project. We call these
helper programs.
Eric Bischoff
[email protected]
jw
1
jw
docbook2dvi
docbook2html
docbook2man
docbook2pdf
docbook2ps
docbook2rtf
docbook2tex
docbook2texi
docbook2txt
(Jade Wrapper) converts SGML files to other formats
jw
-f
frontend
--frontend
frontend
-b
backend
--backend backend
-c file
--cat file
-n
--nostd
-d
file|default|none
--dsl
file|default|none
-l file
--dcl file
-s path
--sgmlbase path
-p program
--parser program
-o directory
--output directory
-V
variable[=value]
make[2]: *** [api.html] Error 1
make[2]: Leaving directory `/media/poky/new.git/build-x86-new/tmp/work/i686-linux/docbook-utils-native-0.6.14-r1/docbook-utils-0.6.14/doc/HTML' make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/media/poky/new.git/build-x86-new/tmp/work/i686-linux/docbook-utils-native-0.6.14-r1/docbook-utils-0.6.14/doc'
make: *** [all-recursive] Error 1
FATAL: oe_runmake failed
ERROR: Function 'do_compile' failed (see /media/poky/new.git/build-x86-new/tmp/work/i686-linux/docbook-utils-native-0.6.14-r1/temp/log.do_compile.31134 for further information)
Re: [PATCH 3/4] docbook-utils-native: set SGML_EXTRA_CATALOGS in jw
Quoted 5 lines · Liping
Hi, Scott
I continuously meet below compile errors when I bitbake doc-utils-native today. I paste the log in the attachment, could you help to have a look. Thanks a lot for your help!
Hi Criping,
This looks like a problem I had fixed with the docbook-dsssl-stylesheets package. I am going to guess that this was an incremental build as well?
These commands should clean out most of the suspect docbook-related utilities:
bitbake docbook-utils-native -c cleanall bitbake openjade-native -c cleanall
bitbake opensp-native -c cleanall
bitbake docbook-dsssl-stylesheets-native -c cleanall
Then do a bitbake docbook-utils-native and see if it builds this time.
Let me know how it goes.
Scott
Signature · 3 lines
Scott Garman Embedded Linux Engineer - Yocto Project Intel Open Source Technology Center
Quoted 39 lines · Scott Garman
From: Scott Garman<[email protected]>
Hi Richard/Saul,
This pull request should finally sort out the issues building documentation for gtk+.
I was able to reproduce the problem reliably by building docbook-utils-native *before* attempting to build gtk+. With that known, I have tested this under an openSUSE 11.2 chroot and on a 40-core Fedora 13 server, building for qemux86 and qemuppc. I also did a full poky-image-sato build on the
40-way which completed successfully after I disabledPARALLEL_MAKEfor perl-native.Pull URL:
git://git.pokylinux.org/poky-contrib.git
Branch: sgarman/gtk-doc-fixes
Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=sgarman/gtk-doc-fixesThanks,
Scott Garman<[email protected]>
---Scott Garman (4):
docbook-dsssl-stylesheets-native: add missing files to install
openjade-native: Set datadir explicitly
docbook-utils-native: setSGML_EXTRA_CATALOGSin jw gtk+: Fix build of documentation.../docbook-dsssl-stylesheets-native_1.79.bb | 4 +- .../docbook-utils/docbook-utils-native_0.6.14.bb | 5 ++- .../openjade/openjade-native_1.3.2.bb | 6 +++- .../recipes-gnome/gtk+/gtk+-2.22.1/doc-fixes.patch | 33 ++++++++++++++++++++ meta/recipes-gnome/gtk+/gtk+.inc | 5 ++- meta/recipes-gnome/gtk+/gtk+_2.12.7.bb | 2 +- meta/recipes-gnome/gtk+/gtk+_2.16.6.bb | 2 +- meta/recipes-gnome/gtk+/gtk+_2.22.1.bb | 5 ++- 8 files changed, 52 insertions(+), 10 deletions(-)
Quoted 7 lines
create mode 100644
meta/recipes-gnome/gtk+/gtk+-2.22.1/doc-fixes.patch_______________________________________________
poky mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/poky
Pulled into Master
Sau!