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

On Thu, 5 Feb 2026 at 03:59, Yiding Liu (Fujitsu)
<[email protected]> wrote:
>
> 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
>
> On Thu, 29 Jan 2026 at 04:54, Yiding Liu (Fujitsu) via
> lists.openembedded.org <[email protected]>
> wrote:
> >
> > 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.patch
> >
> > diff --git a/meta/recipes-devtools/orc/orc/0001-Fix-hotdoc-run-error.patch 
> > b/meta/recipes-devtools/orc/orc/0001-Fix-hotdoc-run-error.patch
> > new file mode 100644
> > index 0000000000..277ce038f8
> > --- /dev/null
> > +++ b/meta/recipes-devtools/orc/orc/0001-Fix-hotdoc-run-error.patch
> > @@ -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
> > +
> > diff --git a/meta/recipes-devtools/orc/orc_0.4.42.bb 
> > b/meta/recipes-devtools/orc/orc_0.4.42.bb
> > index f56b9058c2..b73c8df04d 100644
> > --- a/meta/recipes-devtools/orc/orc_0.4.42.bb
> > +++ b/meta/recipes-devtools/orc/orc_0.4.42.bb
> > @@ -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 (#230829): 
https://lists.openembedded.org/g/openembedded-core/message/230829
Mute This Topic: https://lists.openembedded.org/mt/117732263/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to