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 (#230118): 
https://lists.openembedded.org/g/openembedded-core/message/230118
Mute This Topic: https://lists.openembedded.org/mt/117521454/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to