Investigate hotdoc and add a recipe to build it
cover Investigate hotdoc and add a recipe to build it
Add new recipe hotdoc and its runtime dependence.
Liu Yiding (6):
[OE-core][PATCH v3] hotdoc : Add new recipe
[OE-core][PATCH] orc: Enable hotdoc to produce doc
Make a recipe to use hotdoc
Add following 4 recipes for runtime dependence of hotdoc.
[OE-core][PATCH] python3-appdirs: Add new recipe
Move it from meta-openembedded to openembedded-core as it is required by hotdoc 0.17.4.
[OE-core][PATCH] python3-schema: Add new recipe
[OE-core][PATCH] python3-toposort: Add new recipe
[OE-core][PATCH v2] python3-wheezy-template: Add new recipe
meta/conf/distro/include/maintainers.inc | 1 + ...ment_scanner-fix-function-prototypes.patch | 32 +++++++++ ...y-backports-dependency-on-sufficient.patch | 72 +++++++++++++++++++ .../hotdoc/0003-CMake-4-compatibility.patch | 44 ++++++++++++ ...ke-path-to-relative-in-FlexExtension.patch | 34 +++++++++ meta/recipes-devtools/hotdoc/hotdoc_0.17.4.bb | 27 +++++++ .../orc/orc/0001-Fix-hotdoc-run-error.patch | 37 ++++++++++ meta/recipes-devtools/orc/orc_0.4.42.bb | 5 +- .../python/python3-appdirs_1.4.4.bb | 11 +++ .../python/python3-schema_0.7.8.bb | 10 +++ .../python/python3-toposort_1.10.bb | 10 +++ .../python/python3-wheezy-template_3.2.4.bb | 13 ++++ 12 files changed, 295 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-devtools/hotdoc/hotdoc/0001-c_comment_scanner-fix-function-prototypes.patch create mode 100644 meta/recipes-devtools/hotdoc/hotdoc/0002-avoid-third-party-backports-dependency-on-sufficient.patch create mode 100644 meta/recipes-devtools/hotdoc/hotdoc/0003-CMake-4-compatibility.patch create mode 100644 meta/recipes-devtools/hotdoc/hotdoc/0004-Make-path-to-relative-in-FlexExtension.patch create mode 100644 meta/recipes-devtools/hotdoc/hotdoc_0.17.4.bb create mode 100644 meta/recipes-devtools/orc/orc/0001-Fix-hotdoc-run-error.patch create mode 100644 meta/recipes-devtools/python/python3-appdirs_1.4.4.bb create mode 100644 meta/recipes-devtools/python/python3-schema_0.7.8.bb create mode 100644 meta/recipes-devtools/python/python3-toposort_1.10.bb create mode 100644 meta/recipes-devtools/python/python3-wheezy-template_3.2.4.bb
Signature · 1 line
2.43.0
PATCH 1/6 python3-appdirs: Add new recipe
Move it from meta-openembedded to openembedded-core as it is required by hotdoc 0.17.4.
--- meta/recipes-devtools/python/python3-appdirs_1.4.4.bb | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 meta/recipes-devtools/python/python3-appdirs_1.4.4.bb
meta/recipes-devtools/python/python3-appdirs_1.4.4.bb new file +11 -0
@@ -0,0 +1,11 @@ +SUMMARY = "A small Python module for determining appropriate + platform-specific dirs, e.g. a user data dir." +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=31625363c45eb0c67c630a2f73e438e4" + +SRC_URI[sha256sum] = "7d5d0167b2b1ba821647616af46a749d1c653740dd0d2415100fe26e27afdf41" + +inherit pypi setuptools3 ptest-python-pytest + +PTEST_PYTEST_DIR = "test" + +BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.43.0
Re: [OE-core][PATCH 1/6] python3-appdirs: Add new recipe
Quoted 4 lines · Yiding Liu (Fujitsu) via lists.openembedded.org
Move it from meta-openembedded to openembedded-core as it is required by hotdoc 0.17.4.
Signed-off-by Liu Yiding <[email protected]>---
Hi Liu,
Thanks for your patch.
meta/recipes-devtools/python/python3-appdirs_1.4.4.bb line 3
Quoted 13 lines
meta/recipes-devtools/python/python3-appdirs_1.4.4.bb | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 meta/recipes-devtools/python/python3-appdirs_1.4.4.bbmeta/recipes-devtools/python/python3-appdirs_1.4.4.bb new file +3
-0@@ -0,0 +1,11 @@ +SUMMARY = "A small Python module for determining appropriate + platform-specific dirs, e.g. a user data dir." +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=31625363c45eb0c67c630a2f73e438e4"
You will also need to add an HOMEPAGE line in there.
Thanks,
Mathieu
Signature · 3 lines
Mathieu Dubois-Briand, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
Re: [OE-core][PATCH 1/6] python3-appdirs: Add new recipe
Quoted 26 lines · Mathieu Dubois-Briand
Quoted 4 lines · Yiding Liu (Fujitsu) via lists.openembedded.org
Move it from meta-openembedded to openembedded-core as it is required by hotdoc 0.17.4.
Signed-off-by Liu Yiding <[email protected]>---
Hi Liu,
Thanks for your patch.
meta/recipes-devtools/python/python3-appdirs_1.4.4.bb line 3
Quoted 13 lines
meta/recipes-devtools/python/python3-appdirs_1.4.4.bb | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 meta/recipes-devtools/python/python3-appdirs_1.4.4.bbmeta/recipes-devtools/python/python3-appdirs_1.4.4.bb new file +3
-0@@ -0,0 +1,11 @@ +SUMMARY = "A small Python module for determining appropriate + platform-specific dirs, e.g. a user data dir." +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=31625363c45eb0c67c630a2f73e438e4"You will also need to add an HOMEPAGE line in there.
Quoted 2 lines
Thanks,
Mathieu
Hi Liu,
I missed that at first, but you will also need to add an entry into meta/conf/distro/include/maintainers.inc for all added recipes.
Thanks,
Mathieu
Signature · 3 lines
Mathieu Dubois-Briand, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
PATCH 2/6 python3-schema: Add new recipe
In reply to Liu YidingAdd this new recipe for runtime dependence of hotdoc.
--- meta/recipes-devtools/python/python3-schema_0.7.8.bb | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 meta/recipes-devtools/python/python3-schema_0.7.8.bb
meta/recipes-devtools/python/python3-schema_0.7.8.bb new file +10 -0
@@ -0,0 +1,10 @@ +SUMMARY = "A library for validating Python data structures" +HOMEPAGE = "https://github.com/keleshev/schema" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE-MIT;md5=7e70914c99a6ec706baa9fad5e0502df" + +SRC_URI[sha256sum] = "e86cc08edd6fe6e2522648f4e47e3a31920a76e82cce8937535422e310862ab5" + +inherit pypi python_setuptools_build_meta + +BBCLASSEXTEND = "native"
Signature · 1 line
2.43.0
PATCH 3/6 python3-toposort: Add new recipe
In reply to Liu YidingAdd this new recipe for runtime dependence of hotdoc.
--- meta/recipes-devtools/python/python3-toposort_1.10.bb | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 meta/recipes-devtools/python/python3-toposort_1.10.bb
meta/recipes-devtools/python/python3-toposort_1.10.bb new file +10 -0
@@ -0,0 +1,10 @@ +SUMMARY = "Implements a topological sort algorithm" +HOMEPAGE = "https://gitlab.com/ericvsmith/toposort" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3b83ef96387f14655fc854ddc3c6bd57" + +SRC_URI[sha256sum] = "bfbb479c53d0a696ea7402601f4e693c97b0367837c8898bc6471adfca37a6bd" + +inherit pypi python_setuptools_build_meta + +BBCLASSEXTEND = "native"
Signature · 1 line
2.43.0
PATCH v2 4/6 python3-wheezy-template: Add new recipe
In reply to Liu YidingAdd this new recipe for runtime dependence of hotdoc.
--- .../python/python3-wheezy-template_3.2.4.bb | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 meta/recipes-devtools/python/python3-wheezy-template_3.2.4.bb
meta/recipes-devtools/python/python3-wheezy-template_3.2.4.bb new file +13 -0
@@ -0,0 +1,13 @@ +SUMMARY = "a lightweight template library" +HOMEPAGE = "https://github.com/akornatskyy/wheezy.template" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=fa10554c46b94944529c6a886cf85631" + +PYPI_PACKAGE = "wheezy_template" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" + +SRC_URI[sha256sum] = "465b9ac52e1c38bc9fc30127ae90bd232ce8df07fc2ac53383cb784f238b144f" + +inherit pypi python_setuptools_build_meta + +BBCLASSEXTEND = "native"
Signature · 1 line
2.43.0
PATCH v3 5/6 hotdoc: Add new recipe
In reply to Liu Yiding1. Backport following patch to solve build and runtime issue 0001-c_comment_scanner-fix-function-prototypes.patch 0002-avoid-third-party-backports-dependency-on-sufficient.patch 0003-CMake-4-compatibility.patch
2. Add do_configure:prepend() to solve buildpaths QA check
do_package_qa: QA Issue: File /usr/lib/python3.14/site-packages/hotdoc/parsers/cmark.cpython-314-x86_64-linux-gnu.so in package hotdoc contains reference to TMPDIR [buildpaths]
3. Add 0004-Make-path-to-relative-in-FlexExtension.patch to solve buildpaths QA check
do_package_qa: QA Issue: File /usr/src/debug/hotdoc/0.17.4/hotdoc/parsers/c_comment_scanner/scanner.c in package hotdoc-src contains reference to TMPDIR [buildpaths]
--- meta/conf/distro/include/maintainers.inc | 1 + ...ment_scanner-fix-function-prototypes.patch | 32 +++++++++ ...y-backports-dependency-on-sufficient.patch | 72 +++++++++++++++++++ .../hotdoc/0003-CMake-4-compatibility.patch | 44 ++++++++++++ ...ke-path-to-relative-in-FlexExtension.patch | 34 +++++++++ meta/recipes-devtools/hotdoc/hotdoc_0.17.4.bb | 27 +++++++ 6 files changed, 210 insertions(+) create mode 100644 meta/recipes-devtools/hotdoc/hotdoc/0001-c_comment_scanner-fix-function-prototypes.patch create mode 100644 meta/recipes-devtools/hotdoc/hotdoc/0002-avoid-third-party-backports-dependency-on-sufficient.patch create mode 100644 meta/recipes-devtools/hotdoc/hotdoc/0003-CMake-4-compatibility.patch create mode 100644 meta/recipes-devtools/hotdoc/hotdoc/0004-Make-path-to-relative-in-FlexExtension.patch create mode 100644 meta/recipes-devtools/hotdoc/hotdoc_0.17.4.bb
meta/conf/distro/include/maintainers.inc +1 -0
@@ -268,6 +268,7 @@ RECIPE_MAINTAINER:pn-harfbuzz = "Unassigned <[email protected]>" RECIPE_MAINTAINER:pn-hdparm = "Denys Dmytriyenko <[email protected]>" RECIPE_MAINTAINER:pn-help2man = "Hongxu Jia <[email protected]>" RECIPE_MAINTAINER:pn-hicolor-icon-theme = "Unassigned <[email protected]>" +RECIPE_MAINTAINER:pn-hotdoc = "Liu Yiding <[email protected]>" RECIPE_MAINTAINER:pn-hwdata = "Hiago De Franco <[email protected]>" RECIPE_MAINTAINER:pn-hwlatdetect = "Unassigned <[email protected]>" RECIPE_MAINTAINER:pn-i2c-tools = "Unassigned <[email protected]>"
meta/recipes-devtools/hotdoc/hotdoc/0001-c_comment_scanner-fix-function-prototypes.patch new file +32 -0
@@ -0,0 +1,32 @@ +Subject: [PATCH 1/2] c_comment_scanner: fix function prototypes + +scanner.l: Fix compile error as the following: + +python3-hotdoc/0.17.4/sources/hotdoc-0.17.4/hotdoc/parsers/c_comment_scanner/scanner.l:126:1: error: conflicting types for 'parse_comment'; have 'int(PyObject *)' {aka 'int(struct _object *)'} +| 126 | parse_comment (PyObject *comments) + +Upstream-Status: Backport [https://github.com/hotdoc/hotdoc/commit/adf8518431fafb78c9b47862a0a9a58824b6a421] + +Signed-off-by: Liu Yiding <[email protected]> +--- + hotdoc/parsers/c_comment_scanner/scanner.l | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/hotdoc/parsers/c_comment_scanner/scanner.l b/hotdoc/parsers/c_comment_scanner/scanner.l +index 0408601..7bccd64 100644 +--- a/hotdoc/parsers/c_comment_scanner/scanner.l ++++ b/hotdoc/parsers/c_comment_scanner/scanner.l +@@ -34,8 +34,8 @@ + extern int yylex (PyObject *comments); + #define YY_DECL int yylex (PyObject *comments) + static int yywrap (void); +-static int parse_comment (); +-static int parse_define (); ++static int parse_comment (PyObject *); ++static int parse_define (PyObject *); + %} + + %option nounput +-- +2.43.0 +
meta/recipes-devtools/hotdoc/hotdoc/0002-avoid-third-party-backports-dependency-on-sufficient.patch new file +72 -0
72 lines not on this page · raw message
meta/recipes-devtools/hotdoc/hotdoc/0003-CMake-4-compatibility.patch new file +44 -0
44 lines not on this page · raw message
meta/recipes-devtools/hotdoc/hotdoc/0004-Make-path-to-relative-in-FlexExtension.patch new file +34 -0
@@ -0,0 +1,34 @@ +Subject: [PATCH] Make path to relative in FlexExtension + +To fix following do_package QA Issue: + +do_package_qa:QA Issue: File /usr/src/debug/hotdoc/0.17.4/hotdoc/parsers/c_comment_scanner/scanner.c in package hotdoc-src contains reference to TMPDIR [buildpaths] + +Upstream-Status: Inappropriate [oe-specific] + +Signed-off-by: Liu Yiding <[email protected]> +--- + setup.py | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/setup.py b/setup.py +index 9ee504d..fc03c57 100644 +--- a/setup.py ++++ b/setup.py +@@ -357,11 +357,11 @@ build_c_extension = os.environ.get('HOTDOC_BUILD_C_EXTENSION', 'auto') + class FlexExtension (Extension): + def __init__(self, flex_sources, *args, **kwargs): + Extension.__init__(self, *args, **kwargs) +- self.__flex_sources = [src(s) for s in flex_sources] ++ self.__flex_sources = list(flex_sources) + + def __build_flex(self): + src_dir = os.path.dirname(self.__flex_sources[0]) +- built_scanner_path = src(os.path.join(src_dir, 'scanner.c')) ++ built_scanner_path = os.path.join(src_dir, 'scanner.c') + + self.sources.append(built_scanner_path) + if newer_group(self.__flex_sources, built_scanner_path): +-- +2.43.0 +
meta/recipes-devtools/hotdoc/hotdoc_0.17.4.bb new file +27 -0
@@ -0,0 +1,27 @@ +SUMMARY = "Hotdoc is a documentation framework" +DESCRIPTION = "Hotdoc is a documentation micro-framework. It provides an interface for extensions to plug upon, along with some base objects (formatters, ...)" +HOMEPAGE = "https://github.com/hotdoc/hotdoc" + +LICENSE = "LGPL-2.1-or-later" +LIC_FILES_CHKSUM = "file://COPYING;md5=90263a49bc1d9a204656fec4d5616c66" + +SRC_URI[sha256sum] = "c4d5dff647f03aa87a1d2d06035d2819edd099b91635e3b2ee390829357ae9fc" + +SRC_URI = "file://0001-c_comment_scanner-fix-function-prototypes.patch \ + file://0002-avoid-third-party-backports-dependency-on-sufficient.patch \ + file://0003-CMake-4-compatibility.patch \ + file://0004-Make-path-to-relative-in-FlexExtension.patch \ + " + +DEPENDS += "libxml2 glib-2.0 json-glib" + +inherit pypi python_setuptools_build_meta pkgconfig + +#Fix LIBDIR path to fix buildpaths QA check of hotdoc/parsers/cmark.cpython-314-x86_64-linux-gnu.so +do_configure:prepend() { + sed -i -e "s#'\"%s\"' % CMARK_BUILD_DIR#'\"${PYTHON_SITEPACKAGES_DIR}/${PN}\"'#" ${S}/setup.py +} + +RDEPENDS:${PN} += "python3-appdirs python3-lxml python3-pyyaml python3-schema python3-toposort python3-wheezy-template" + +BBCLASSEXTEND = "native"
Signature · 1 line
2.43.0
PATCH 6/6 orc: Enable hotdoc to produce doc
In reply to Liu Yiding--- .../orc/orc/0001-Fix-hotdoc-run-error.patch | 37 +++++++++++++++++++ meta/recipes-devtools/orc/orc_0.4.42.bb | 5 ++- 2 files changed, 41 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-devtools/orc/orc/0001-Fix-hotdoc-run-error.patch
meta/recipes-devtools/orc/orc/0001-Fix-hotdoc-run-error.patch new file +36 -0
@@ -0,0 +1,36 @@ +Subject: [PATCH] Fix hotdoc run error. + +Fix the following error. +| Running custom install script 'tmp/work/x86-64-v3-poky-linux/orc/0.4.42/recipe-sysroot-native/usr/bin/meson.real --internal hotdoc --install orc-doc/html --docdir /usr/share/doc/orc/html --name orc --builddir tmp/work/x86-64-v3-poky-linux/orc/0.4.42/build/doc tmp/work/x86-64-v3-poky-linux/orc/0.4.42/recipe-sysroot-native/usr/bin/hotdoc run --conf-file orc-doc.json' +| --- stdout --- +| +| --- stderr --- +| ERROR: [doc-tree]: (index-extension-not-found): tmp/work/x86-64-v3-poky-linux/orc/0.4.42/sources/orc-0.4.42/doc/sitemap.txt:8:10: No extension named c for index page +| 00006: tutorial.md +| 00007: opcodes.md +| 00008: c-index +| ^ +| 00009: +| + +Remove c-index as it is not in the doc directory. + +Upstream-Status: Pending + +Signed-off-by: Liu Yiding <[email protected]> +--- + doc/sitemap.txt | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/doc/sitemap.txt b/doc/sitemap.txt +index 568b367..40a7f99 100644 +--- a/doc/sitemap.txt ++++ b/doc/sitemap.txt +@@ -5,4 +5,3 @@ index.md + concepts.md + tutorial.md + opcodes.md +- c-index +-- +2.43.0 +
meta/recipes-devtools/orc/orc_0.4.42.bb +4 -1
@@ -4,11 +4,14 @@ DESCRIPTION = "Optimised Inner Loop Runtime Compiler is a Library and set of too LICENSE = "BSD-2-Clause & BSD-3-Clause" LIC_FILES_CHKSUM = "file://COPYING;md5=1400bd9d09e8af56b9ec982b3d85797e" -SRC_URI = "http://gstreamer.freedesktop.org/src/orc/orc-${PV}.tar.xz" +SRC_URI = "http://gstreamer.freedesktop.org/src/orc/orc-${PV}.tar.xz \ + file://0001-Fix-hotdoc-run-error.patch \ + " SRC_URI[sha256sum] = "7ec912ab59af3cc97874c456a56a8ae1eec520c385ec447e8a102b2bd122c90c" inherit meson pkgconfig +DEPENDS = "hotdoc-native" # distinguish from apache:orc CVE_PRODUCT = "gstreamer:orc"
Signature · 1 line
2.43.0
Patchtest results for [OE-core][PATCH 6/6] orc: Enable hotdoc to produce doc
Thank you for your submission. Patchtest identified one or more issues with the patch. Please see the log below for more information:
---
Testing patch /home/patchtest/share/mboxes/6-6-orc-Enable-hotdoc-to-produce-doc.patch
FAIL: test commit message presence: Please include a commit message on your patch explaining the change (test_mbox.TestMbox.test_commit_message_presence)
PASS: test CVE tag format (test_patch.TestPatch.test_cve_tag_format)
PASS: test Signed-off-by presence (test_mbox.TestMbox.test_signed_off_by_presence)
PASS: test Signed-off-by presence (test_patch.TestPatch.test_signed_off_by_presence)
PASS: test Upstream-Status presence (test_patch.TestPatch.test_upstream_status_presence_format)
PASS: test author valid (test_mbox.TestMbox.test_author_valid)
PASS: test commit message user tags (test_mbox.TestMbox.test_commit_message_user_tags)
PASS: test mbox format (test_mbox.TestMbox.test_mbox_format)
PASS: test non-AUH upgrade (test_mbox.TestMbox.test_non_auh_upgrade)
PASS: test shortlog format (test_mbox.TestMbox.test_shortlog_format)
PASS: test shortlog length (test_mbox.TestMbox.test_shortlog_length)
PASS: test target mailing list (test_mbox.TestMbox.test_target_mailing_list)
SKIP: pretest pylint: No python related patches, skipping test (test_python_pylint.PyLint.pretest_pylint)
SKIP: test bugzilla entry format: No bug ID found (test_mbox.TestMbox.test_bugzilla_entry_format)
SKIP: test pylint: No python related patches, skipping test (test_python_pylint.PyLint.test_pylint)
SKIP: test series merge on head: Merge test is disabled for now (test_mbox.TestMbox.test_series_merge_on_head)
---
Please address the issues identified and
submit a new revision of the patch, or alternatively, reply to this email with an explanation of why the patch should be accepted. If you believe these results are due to an error in patchtest, please submit a bug at https://bugzilla.yoctoproject.org/ (use the 'Patchtest' category under 'Yocto Project Subprojects'). For more information on specific failures, see: https://wiki.yoctoproject.org/wiki/Patchtest. Thank you!
Re: [OE-core][PATCH 6/6] orc: Enable hotdoc to produce doc
In reply to Liu YidingThanks for looking into this. Are there other recipes in oe-core that have hotdoc support? You can perhaps unpack everything (without building it), and then grep in WORKDIR for hotdoc.
If there's just orc, we could probably add hotdoc to meta-openembedded first.
The pending patch needs to be submitted upstream.
Alex
Quoted 82 lines · Yiding Liu (Fujitsu) via lists.openembedded.org
Signed-off-by Liu Yiding <[email protected]>--- .../orc/orc/0001-Fix-hotdoc-run-error.patch | 37 +++++++++++++++++++ meta/recipes-devtools/orc/orc_0.4.42.bb | 5 ++- 2 files changed, 41 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-devtools/orc/orc/0001-Fix-hotdoc-run-error.patchmeta/recipes-devtools/orc/orc/0001-Fix-hotdoc-run-error.patch new file +36
-0@@ -0,0 +1,36 @@ +Subject: [PATCH] Fix hotdoc run error. + +Fix the following error. +| Running custom install script 'tmp/work/x86-64-v3-poky-linux/orc/0.4.42/recipe-sysroot-native/usr/bin/meson.real --internal hotdoc --install orc-doc/html --docdir /usr/share/doc/orc/html --name orc --builddir tmp/work/x86-64-v3-poky-linux/orc/0.4.42/build/doc tmp/work/x86-64-v3-poky-linux/orc/0.4.42/recipe-sysroot-native/usr/bin/hotdoc run --conf-file orc-doc.json' +| --- stdout --- +| +| --- stderr --- +| ERROR: [doc-tree]: (index-extension-not-found): tmp/work/x86-64-v3-poky-linux/orc/0.4.42/sources/orc-0.4.42/doc/sitemap.txt:8:10: No extension named c for index page +| 00006: tutorial.md +| 00007: opcodes.md +| 00008: c-index +| ^ +| 00009: +| + +Remove c-index as it is not in the doc directory. + +Upstream-Status: Pending + +Signed-off-by: Liu Yiding <[email protected]> +--- + doc/sitemap.txt | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/doc/sitemap.txt b/doc/sitemap.txt +index 568b367..40a7f99 100644 +--- a/doc/sitemap.txt ++++ b/doc/sitemap.txt +@@ -5,4 +5,3 @@ index.md + concepts.md + tutorial.md + opcodes.md +- c-index +-- +2.43.0 +meta/recipes-devtools/orc/orc_0.4.42.bb +4
-2@@ -4,11 +4,14 @@ DESCRIPTION = "Optimised Inner Loop Runtime Compiler is a Library and set of too LICENSE = "BSD-2-Clause & BSD-3-Clause" LIC_FILES_CHKSUM = "file://COPYING;md5=1400bd9d09e8af56b9ec982b3d85797e" -SRC_URI = "http://gstreamer.freedesktop.org/src/orc/orc-${PV}.tar.xz" +SRC_URI = "http://gstreamer.freedesktop.org/src/orc/orc-${PV}.tar.xz \ + file://0001-Fix-hotdoc-run-error.patch \ + " SRC_URI[sha256sum] = "7ec912ab59af3cc97874c456a56a8ae1eec520c385ec447e8a102b2bd122c90c" inherit meson pkgconfig +DEPENDS = "hotdoc-native" # distinguish from apache:orc CVE_PRODUCT = "gstreamer:orc" --2.43.0
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#230118): https://lists.openembedded.org/g/openembedded-core/message/230118
Mute This Topic: https://lists.openembedded.org/mt/117521454/1686489
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
回复: [OE-core][PATCH 6/6] orc: Enable hotdoc to produce doc
Hi Alex
I search the changelog in git log, and found that besides orc, gstreamer1.0-vaapi, gstreamer1.0-plugins-base and gstreamer1.0 used hotdoc in new version.
Liu
________________________________
发件人: Alexander Kanavin <[email protected]>
发送时间: 2026年1月29日 19:26
收件人: Liu, Yiding/刘 乙丁 <[email protected]>
抄送: [email protected] <[email protected]> 主题: Re: [OE-core][PATCH 6/6] orc: Enable hotdoc to produce doc
Thanks for looking into this. Are there other recipes in oe-core that have hotdoc support? You can perhaps unpack everything (without building it), and then grep in WORKDIR for hotdoc.
If there's just orc, we could probably add hotdoc to meta-openembedded first.
The pending patch needs to be submitted upstream.
Alex
Quoted 82 lines · Yiding Liu (Fujitsu) via lists.openembedded.org
Signed-off-by Liu Yiding <[email protected]>--- .../orc/orc/0001-Fix-hotdoc-run-error.patch | 37 +++++++++++++++++++ meta/recipes-devtools/orc/orc_0.4.42.bb | 5 ++- 2 files changed, 41 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-devtools/orc/orc/0001-Fix-hotdoc-run-error.patchmeta/recipes-devtools/orc/orc/0001-Fix-hotdoc-run-error.patch new file +36
-0@@ -0,0 +1,36 @@ +Subject: [PATCH] Fix hotdoc run error. + +Fix the following error. +| Running custom install script 'tmp/work/x86-64-v3-poky-linux/orc/0.4.42/recipe-sysroot-native/usr/bin/meson.real --internal hotdoc --install orc-doc/html --docdir /usr/share/doc/orc/html --name orc --builddir tmp/work/x86-64-v3-poky-linux/orc/0.4.42/build/doc tmp/work/x86-64-v3-poky-linux/orc/0.4.42/recipe-sysroot-native/usr/bin/hotdoc run --conf-file orc-doc.json' +| --- stdout --- +| +| --- stderr --- +| ERROR: [doc-tree]: (index-extension-not-found): tmp/work/x86-64-v3-poky-linux/orc/0.4.42/sources/orc-0.4.42/doc/sitemap.txt:8:10: No extension named c for index page +| 00006: tutorial.md +| 00007: opcodes.md +| 00008: c-index +| ^ +| 00009: +| + +Remove c-index as it is not in the doc directory. + +Upstream-Status: Pending + +Signed-off-by: Liu Yiding <[email protected]> +--- + doc/sitemap.txt | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/doc/sitemap.txt b/doc/sitemap.txt +index 568b367..40a7f99 100644 +--- a/doc/sitemap.txt ++++ b/doc/sitemap.txt +@@ -5,4 +5,3 @@ index.md + concepts.md + tutorial.md + opcodes.md +- c-index +-- +2.43.0 +meta/recipes-devtools/orc/orc_0.4.42.bb +4
-2@@ -4,11 +4,14 @@ DESCRIPTION = "Optimised Inner Loop Runtime Compiler is a Library and set of too LICENSE = "BSD-2-Clause & BSD-3-Clause" LIC_FILES_CHKSUM = "file://COPYING;md5=1400bd9d09e8af56b9ec982b3d85797e" -SRC_URI = "http://gstreamer.freedesktop.org/src/orc/orc-${PV}.tar.xz" +SRC_URI = "http://gstreamer.freedesktop.org/src/orc/orc-${PV}.tar.xz \ + file://0001-Fix-hotdoc-run-error.patch \ + " SRC_URI[sha256sum] = "7ec912ab59af3cc97874c456a56a8ae1eec520c385ec447e8a102b2bd122c90c" inherit meson pkgconfig +DEPENDS = "hotdoc-native" # distinguish from apache:orc CVE_PRODUCT = "gstreamer:orc" --2.43.0
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#230118): https://lists.openembedded.org/g/openembedded-core/message/230118
Mute This Topic: https://lists.openembedded.org/mt/117521454/1686489
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
回复: [OE-core][PATCH 6/6] orc: Enable hotdoc to produce doc
Ping
________________________________
发件人: Liu, Yiding/刘 乙丁 <[email protected]>
发送时间: 2026年1月30日 10:19
收件人: Alexander Kanavin <[email protected]>
抄送: [email protected] <[email protected]> 主题: 回复: [OE-core][PATCH 6/6] orc: Enable hotdoc to produce doc
Hi Alex
I search the changelog in git log, and found that besides orc, gstreamer1.0-vaapi, gstreamer1.0-plugins-base and gstreamer1.0 used hotdoc in new version.
Liu
________________________________
发件人: Alexander Kanavin <[email protected]>
发送时间: 2026年1月29日 19:26
收件人: Liu, Yiding/刘 乙丁 <[email protected]>
抄送: [email protected] <[email protected]> 主题: Re: [OE-core][PATCH 6/6] orc: Enable hotdoc to produce doc
Thanks for looking into this. Are there other recipes in oe-core that have hotdoc support? You can perhaps unpack everything (without building it), and then grep in WORKDIR for hotdoc.
If there's just orc, we could probably add hotdoc to meta-openembedded first.
The pending patch needs to be submitted upstream.
Alex
Quoted 82 lines · Yiding Liu (Fujitsu) via lists.openembedded.org
Signed-off-by Liu Yiding <[email protected]>--- .../orc/orc/0001-Fix-hotdoc-run-error.patch | 37 +++++++++++++++++++ meta/recipes-devtools/orc/orc_0.4.42.bb | 5 ++- 2 files changed, 41 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-devtools/orc/orc/0001-Fix-hotdoc-run-error.patchmeta/recipes-devtools/orc/orc/0001-Fix-hotdoc-run-error.patch new file +36
-0@@ -0,0 +1,36 @@ +Subject: [PATCH] Fix hotdoc run error. + +Fix the following error. +| Running custom install script 'tmp/work/x86-64-v3-poky-linux/orc/0.4.42/recipe-sysroot-native/usr/bin/meson.real --internal hotdoc --install orc-doc/html --docdir /usr/share/doc/orc/html --name orc --builddir tmp/work/x86-64-v3-poky-linux/orc/0.4.42/build/doc tmp/work/x86-64-v3-poky-linux/orc/0.4.42/recipe-sysroot-native/usr/bin/hotdoc run --conf-file orc-doc.json' +| --- stdout --- +| +| --- stderr --- +| ERROR: [doc-tree]: (index-extension-not-found): tmp/work/x86-64-v3-poky-linux/orc/0.4.42/sources/orc-0.4.42/doc/sitemap.txt:8:10: No extension named c for index page +| 00006: tutorial.md +| 00007: opcodes.md +| 00008: c-index +| ^ +| 00009: +| + +Remove c-index as it is not in the doc directory. + +Upstream-Status: Pending + +Signed-off-by: Liu Yiding <[email protected]> +--- + doc/sitemap.txt | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/doc/sitemap.txt b/doc/sitemap.txt +index 568b367..40a7f99 100644 +--- a/doc/sitemap.txt ++++ b/doc/sitemap.txt +@@ -5,4 +5,3 @@ index.md + concepts.md + tutorial.md + opcodes.md +- c-index +-- +2.43.0 +meta/recipes-devtools/orc/orc_0.4.42.bb +4
-2@@ -4,11 +4,14 @@ DESCRIPTION = "Optimised Inner Loop Runtime Compiler is a Library and set of too LICENSE = "BSD-2-Clause & BSD-3-Clause" LIC_FILES_CHKSUM = "file://COPYING;md5=1400bd9d09e8af56b9ec982b3d85797e" -SRC_URI = "http://gstreamer.freedesktop.org/src/orc/orc-${PV}.tar.xz" +SRC_URI = "http://gstreamer.freedesktop.org/src/orc/orc-${PV}.tar.xz \ + file://0001-Fix-hotdoc-run-error.patch \ + " SRC_URI[sha256sum] = "7ec912ab59af3cc97874c456a56a8ae1eec520c385ec447e8a102b2bd122c90c" inherit meson pkgconfig +DEPENDS = "hotdoc-native" # distinguish from apache:orc CVE_PRODUCT = "gstreamer:orc" --2.43.0
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#230118): https://lists.openembedded.org/g/openembedded-core/message/230118
Mute This Topic: https://lists.openembedded.org/mt/117521454/1686489
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Re: [OE-core][PATCH 6/6] orc: Enable hotdoc to produce doc
Hello,
sorry for not saying this explicitly, as you've found other recipes with hotdoc support, can you look into enabling it there as well?
Alex
Quoted 116 lines · Yiding Liu (Fujitsu)
Ping
________________________________
发件人: Liu, Yiding/刘 乙丁 <[email protected]>
发送时间: 2026年1月30日 10:19
收件人: Alexander Kanavin <[email protected]>
抄送: [email protected] <[email protected]> 主题: 回复: [OE-core][PATCH 6/6] orc: Enable hotdoc to produce docHi Alex
I search the changelog in git log, and found that besides orc, gstreamer1.0-vaapi, gstreamer1.0-plugins-base and gstreamer1.0 used hotdoc in new version.
Liu
________________________________
发件人: Alexander Kanavin <[email protected]>
发送时间: 2026年1月29日 19:26
收件人: Liu, Yiding/刘 乙丁 <[email protected]>
抄送: [email protected] <[email protected]> 主题: Re: [OE-core][PATCH 6/6] orc: Enable hotdoc to produce docThanks for looking into this. Are there other recipes in oe-core that have hotdoc support? You can perhaps unpack everything (without building it), and then grep in WORKDIR for hotdoc.
If there's just orc, we could probably add hotdoc to meta-openembedded first.
The pending patch needs to be submitted upstream.
Alex
Quoted 82 lines · Yiding Liu (Fujitsu) via lists.openembedded.org
Signed-off-by Liu Yiding <[email protected]>--- .../orc/orc/0001-Fix-hotdoc-run-error.patch | 37 +++++++++++++++++++ meta/recipes-devtools/orc/orc_0.4.42.bb | 5 ++- 2 files changed, 41 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-devtools/orc/orc/0001-Fix-hotdoc-run-error.patchmeta/recipes-devtools/orc/orc/0001-Fix-hotdoc-run-error.patch new file +36
-0@@ -0,0 +1,36 @@ +Subject: [PATCH] Fix hotdoc run error. + +Fix the following error. +| Running custom install script 'tmp/work/x86-64-v3-poky-linux/orc/0.4.42/recipe-sysroot-native/usr/bin/meson.real --internal hotdoc --install orc-doc/html --docdir /usr/share/doc/orc/html --name orc --builddir tmp/work/x86-64-v3-poky-linux/orc/0.4.42/build/doc tmp/work/x86-64-v3-poky-linux/orc/0.4.42/recipe-sysroot-native/usr/bin/hotdoc run --conf-file orc-doc.json' +| --- stdout --- +| +| --- stderr --- +| ERROR: [doc-tree]: (index-extension-not-found): tmp/work/x86-64-v3-poky-linux/orc/0.4.42/sources/orc-0.4.42/doc/sitemap.txt:8:10: No extension named c for index page +| 00006: tutorial.md +| 00007: opcodes.md +| 00008: c-index +| ^ +| 00009: +| + +Remove c-index as it is not in the doc directory. + +Upstream-Status: Pending + +Signed-off-by: Liu Yiding <[email protected]> +--- + doc/sitemap.txt | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/doc/sitemap.txt b/doc/sitemap.txt +index 568b367..40a7f99 100644 +--- a/doc/sitemap.txt ++++ b/doc/sitemap.txt +@@ -5,4 +5,3 @@ index.md + concepts.md + tutorial.md + opcodes.md +- c-index +-- +2.43.0 +meta/recipes-devtools/orc/orc_0.4.42.bb +4
-2@@ -4,11 +4,14 @@ DESCRIPTION = "Optimised Inner Loop Runtime Compiler is a Library and set of too LICENSE = "BSD-2-Clause & BSD-3-Clause" LIC_FILES_CHKSUM = "file://COPYING;md5=1400bd9d09e8af56b9ec982b3d85797e" -SRC_URI = "http://gstreamer.freedesktop.org/src/orc/orc-${PV}.tar.xz" +SRC_URI = "http://gstreamer.freedesktop.org/src/orc/orc-${PV}.tar.xz \ + file://0001-Fix-hotdoc-run-error.patch \ + " SRC_URI[sha256sum] = "7ec912ab59af3cc97874c456a56a8ae1eec520c385ec447e8a102b2bd122c90c" inherit meson pkgconfig +DEPENDS = "hotdoc-native" # distinguish from apache:orc CVE_PRODUCT = "gstreamer:orc" --2.43.0
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#230118): https://lists.openembedded.org/g/openembedded-core/message/230118
Mute This Topic: https://lists.openembedded.org/mt/117521454/1686489
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
回复: [OE-core][PATCH 6/6] orc: Enable hotdoc to produce doc
Hi Alex
I try to enable doc in gstreamer1.0-vaapi, gstreamer1.0-plugins-base and gstreamer1.0 but found a problem
There is a definition in docs/meson.build which prevent building doc in cross building.
if meson.is_cross_build()
if get_option('doc').enabled()
error('Documentation enabled but building the doc while cross building is not supported yet.')
endif
message('Documentation not built as building it while cross building is not supported yet.') subdir_done()
endif
So what should I do next? Maybe I should send thest patchsets to meta-oe?
Liu
________________________________
发件人: Alexander Kanavin <[email protected]>
发送时间: 2026年2月5日 17:50
收件人: Liu, Yiding/刘 乙丁 <[email protected]>
抄送: [email protected] <[email protected]> 主题: Re: [OE-core][PATCH 6/6] orc: Enable hotdoc to produce doc
Hello,
sorry for not saying this explicitly, as you've found other recipes with hotdoc support, can you look into enabling it there as well?
Alex
Quoted 116 lines · Yiding Liu (Fujitsu)
Ping
________________________________
发件人: Liu, Yiding/刘 乙丁 <[email protected]>
发送时间: 2026年1月30日 10:19
收件人: Alexander Kanavin <[email protected]>
抄送: [email protected] <[email protected]> 主题: 回复: [OE-core][PATCH 6/6] orc: Enable hotdoc to produce docHi Alex
I search the changelog in git log, and found that besides orc, gstreamer1.0-vaapi, gstreamer1.0-plugins-base and gstreamer1.0 used hotdoc in new version.
Liu
________________________________
发件人: Alexander Kanavin <[email protected]>
发送时间: 2026年1月29日 19:26
收件人: Liu, Yiding/刘 乙丁 <[email protected]>
抄送: [email protected] <[email protected]> 主题: Re: [OE-core][PATCH 6/6] orc: Enable hotdoc to produce docThanks for looking into this. Are there other recipes in oe-core that have hotdoc support? You can perhaps unpack everything (without building it), and then grep in WORKDIR for hotdoc.
If there's just orc, we could probably add hotdoc to meta-openembedded first.
The pending patch needs to be submitted upstream.
Alex
Quoted 82 lines · Yiding Liu (Fujitsu) via lists.openembedded.org
Signed-off-by Liu Yiding <[email protected]>--- .../orc/orc/0001-Fix-hotdoc-run-error.patch | 37 +++++++++++++++++++ meta/recipes-devtools/orc/orc_0.4.42.bb | 5 ++- 2 files changed, 41 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-devtools/orc/orc/0001-Fix-hotdoc-run-error.patchmeta/recipes-devtools/orc/orc/0001-Fix-hotdoc-run-error.patch new file +36
-0@@ -0,0 +1,36 @@ +Subject: [PATCH] Fix hotdoc run error. + +Fix the following error. +| Running custom install script 'tmp/work/x86-64-v3-poky-linux/orc/0.4.42/recipe-sysroot-native/usr/bin/meson.real --internal hotdoc --install orc-doc/html --docdir /usr/share/doc/orc/html --name orc --builddir tmp/work/x86-64-v3-poky-linux/orc/0.4.42/build/doc tmp/work/x86-64-v3-poky-linux/orc/0.4.42/recipe-sysroot-native/usr/bin/hotdoc run --conf-file orc-doc.json' +| --- stdout --- +| +| --- stderr --- +| ERROR: [doc-tree]: (index-extension-not-found): tmp/work/x86-64-v3-poky-linux/orc/0.4.42/sources/orc-0.4.42/doc/sitemap.txt:8:10: No extension named c for index page +| 00006: tutorial.md +| 00007: opcodes.md +| 00008: c-index +| ^ +| 00009: +| + +Remove c-index as it is not in the doc directory. + +Upstream-Status: Pending + +Signed-off-by: Liu Yiding <[email protected]> +--- + doc/sitemap.txt | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/doc/sitemap.txt b/doc/sitemap.txt +index 568b367..40a7f99 100644 +--- a/doc/sitemap.txt ++++ b/doc/sitemap.txt +@@ -5,4 +5,3 @@ index.md + concepts.md + tutorial.md + opcodes.md +- c-index +-- +2.43.0 +meta/recipes-devtools/orc/orc_0.4.42.bb +4
-2@@ -4,11 +4,14 @@ DESCRIPTION = "Optimised Inner Loop Runtime Compiler is a Library and set of too LICENSE = "BSD-2-Clause & BSD-3-Clause" LIC_FILES_CHKSUM = "file://COPYING;md5=1400bd9d09e8af56b9ec982b3d85797e" -SRC_URI = "http://gstreamer.freedesktop.org/src/orc/orc-${PV}.tar.xz" +SRC_URI = "http://gstreamer.freedesktop.org/src/orc/orc-${PV}.tar.xz \ + file://0001-Fix-hotdoc-run-error.patch \ + " SRC_URI[sha256sum] = "7ec912ab59af3cc97874c456a56a8ae1eec520c385ec447e8a102b2bd122c90c" inherit meson pkgconfig +DEPENDS = "hotdoc-native" # distinguish from apache:orc CVE_PRODUCT = "gstreamer:orc" --2.43.0
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#230118): https://lists.openembedded.org/g/openembedded-core/message/230118
Mute This Topic: https://lists.openembedded.org/mt/117521454/1686489
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Re: [OE-core][PATCH 6/6] orc: Enable hotdoc to produce doc
Quoted 9 lines · Yiding Liu (Fujitsu)
I try to enable doc in gstreamer1.0-vaapi, gstreamer1.0-plugins-base and gstreamer1.0 but found a problem
There is a definition in docs/meson.build which prevent building doc in cross building.
if
meson.is_cross_build()
if get_option('doc').enabled()
error('Documentation enabled but building the doc while cross building is not supported yet.')
endif
Quoted 5 lines
message('Documentation not built as building it while cross building is not supported yet.')
subdir_done()
endifSo what should I do next? Maybe I should send thest patchsets to meta-oe?
If you have time to look into gstreamer issues, then you could add a local patch to gstreamer recipes to remove the above code block, then set 'doc' to enabled and see what happens (upstream-status doesn't matter at this point yet). Presumably gstreamer upstream has that because 'doc' needs running target binaries, but in yocto we have ways to do it (via qemu). So please try and report, then we'll decide what to do next.
If you do not have time to do this (which is totally fine), then yes, hotdoc should be sent to meta-oe in my opinion, because enabling it to support docs in a single, minor recipe in oe-core does not make sense.
Alex
回复: [OE-core][PATCH 6/6] orc: Enable hotdoc to produce doc
Hi Alex
In order to make hotdoc work for orc and gstreamer1.0, I need to enable Extensions of hotdoc to work.
So I need to add additional RDEPENDS including: python3-dbus-deviation python3-networkx python3-cchardet python3-pkgconfig clang llvm
After addind additional RDEPENDS, the RDEPENDS is as following:
RDEPENDS:${PN} += "clang llvm python3-appdirs python3-cchardet python3-dbus-deviation python3-lxml python3-networkx python3-pkgconfig python3-pyyaml python3-schema python3-toposort python3-wheezy-template"
Among these RDEPENDS, some OSS do not exist in the OE‑core, I need to add them newly. Others already exist in meta‑oe, I need to move them from meta‑oe to OE‑core as following .
Is it okay? If so, I will send the v4 patchsets.
New Added:
python3-dbus-deviation
python3-schema
python3-toposort
python3-wheezy-template
Move from meta-oe:
python3-appdirs
python3-networkx
python3-cchardet
python3-pkgconfig
Liu
________________________________
发件人: Alexander Kanavin <[email protected]>
发送时间: 2026年2月10日 17:41
收件人: Liu, Yiding/刘 乙丁 <[email protected]>
抄送: [email protected] <[email protected]> 主题: Re: [OE-core][PATCH 6/6] orc: Enable hotdoc to produce doc
Quoted 9 lines · Yiding Liu (Fujitsu)
I try to enable doc in gstreamer1.0-vaapi, gstreamer1.0-plugins-base and gstreamer1.0 but found a problem
There is a definition in docs/meson.build which prevent building doc in cross building.
if
meson.is_cross_build()
if get_option('doc').enabled()
error('Documentation enabled but building the doc while cross building is not supported yet.')
endif
Quoted 5 lines
message('Documentation not built as building it while cross building is not supported yet.')
subdir_done()
endifSo what should I do next? Maybe I should send thest patchsets to meta-oe?
If you have time to look into gstreamer issues, then you could add a local patch to gstreamer recipes to remove the above code block, then set 'doc' to enabled and see what happens (upstream-status doesn't matter at this point yet). Presumably gstreamer upstream has that because 'doc' needs running target binaries, but in yocto we have ways to do it (via qemu). So please try and report, then we'll decide what to do next.
If you do not have time to do this (which is totally fine), then yes, hotdoc should be sent to meta-oe in my opinion, because enabling it to support docs in a single, minor recipe in oe-core does not make sense.
Alex
Re: [OE-core][PATCH 6/6] orc: Enable hotdoc to produce doc
Quoted 8 lines · Yiding Liu (Fujitsu)
In order to make hotdoc work for orc and gstreamer1.0, I need to enable Extensions of hotdoc to work.
So I need to add additional RDEPENDS including: python3-dbus-deviation python3-networkx python3-cchardet python3-pkgconfig clang llvmAfter addind additional RDEPENDS, the RDEPENDS is as following:
RDEPENDS:${PN} += "clang llvm python3-appdirs python3-cchardet python3-dbus-deviation python3-lxml python3-networkx python3-pkgconfig python3-pyyaml python3-schema python3-toposort python3-wheezy-template"Among these RDEPENDS, some OSS do not exist in the OE‑core, I need to add them newly. Others already exist in meta‑oe, I need to move them from meta‑oe to OE‑core as following .
Is it okay? If so, I will send the v4 patchsets.
That's okay, yes. Thanks for persevering with this. Please do explain the need for llvm and clang particularly in the commit messages, those are heavy dependencies and we should try to avoid them where possible.
I am starting to lean towards just adding all of the needed recipes to meta-oe to be honest (and not enabling docs in orc/gstreamer by default), the amount of new recipes we need to support in oe-core does not seem to justify the outcome (building documentation for gstreamer, a minor enhancement in my opinion). The patch review will make the decision based on the final patchset.
Alex
回复: [OE-core][PATCH 6/6] orc: Enable hotdoc to produce doc
Hi Alex
Quoted 1 line
Please do explain the need for llvm and clang particularly in the commit messages,
1.
Yes, I will explain it.
hotdoc has some Extensions and orc need the c-Extension
https://gitlab.freedesktop.org/gstreamer/orc/-/blob/main/doc/sitemap.txt?ref_type=heads
The c-Extension will need llvm and clang in runtime as introduced in doc of hotdoc.
https://hotdoc.github.io/c-extension.html#c-extension
"The extension uses Clang to build and walk an AST from the source code"
By the way, the use of llvm and clang can refer to this source code.
https://github.com/hotdoc/hotdoc/blob/master/hotdoc/extensions/c/c_extension.py
Quoted 1 line
I am starting to lean towards just adding all of the needed recipes to
meta-oe to be honest
1.
Yes, I am also prefer to add new recipes to meta-oe as meta-oe already have half of the RDEPENDS.
Then I will send following patchset
a. Send hotdoc and its depend recipes to meta-oe. b. Send orc/gstreamer docs enable patches to oe-core.
Is that ok?
Liu
________________________________
发件人: Alexander Kanavin <[email protected]>
发送时间: 2026年2月11日 19:47
收件人: Liu, Yiding/刘 乙丁 <[email protected]>
抄送: [email protected] <[email protected]> 主题: Re: [OE-core][PATCH 6/6] orc: Enable hotdoc to produce doc
Quoted 8 lines · Yiding Liu (Fujitsu)
In order to make hotdoc work for orc and gstreamer1.0, I need to enable Extensions of hotdoc to work.
So I need to add additional RDEPENDS including: python3-dbus-deviation python3-networkx python3-cchardet python3-pkgconfig clang llvmAfter addind additional RDEPENDS, the RDEPENDS is as following:
RDEPENDS:${PN} += "clang llvm python3-appdirs python3-cchardet python3-dbus-deviation python3-lxml python3-networkx python3-pkgconfig python3-pyyaml python3-schema python3-toposort python3-wheezy-template"Among these RDEPENDS, some OSS do not exist in the OE‑core, I need to add them newly. Others already exist in meta‑oe, I need to move them from meta‑oe to OE‑core as following .
Is it okay? If so, I will send the v4 patchsets.
That's okay, yes. Thanks for persevering with this. Please do explain the need for llvm and clang particularly in the commit messages, those are heavy dependencies and we should try to avoid them where possible.
I am starting to lean towards just adding all of the needed recipes to meta-oe to be honest (and not enabling docs in orc/gstreamer by default), the amount of new recipes we need to support in oe-core does not seem to justify the outcome (building documentation for gstreamer, a minor enhancement in my opinion). The patch review will make the decision based on the final patchset.
Alex
Re: [OE-core][PATCH 6/6] orc: Enable hotdoc to produce doc
Quoted 10 lines · Yiding Liu (Fujitsu)
Quoted 1 line
I am starting to lean towards just adding all of the needed recipes to
meta-oe to be honest
Yes, I am also prefer to add new recipes to meta-oe as meta-oe already have half of the RDEPENDS.
Then I will send following patchset
a. Send hotdoc and its depend recipes to meta-oe. b. Send orc/gstreamer docs enable patches to oe-core.Is that ok?
Yes please. The oe-core patches should make all the changes that are needed to enable docs (e.g. add PACKAGECONFIG[doc], adjust dependencies, etc.), but not actually enable them by default, as default oe-core must work without meta-oe :)
Alex
Re: [OE-core][PATCH 6/6] orc: Enable hotdoc to produce doc
In reply to Liu YidingQuoted 1 line · Yiding Liu (Fujitsu) via lists.openembedded.org
+DEPENDS = "hotdoc-native"
We have an api-documentation DISTRO_FEATURE, please respect that.
Ross