summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2022-07-07 13:12:02 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-07-09 20:58:35 +0100
commit8ea0d49ee4642af80e9e36f065b40ac85ae37de0 (patch)
tree2df09389b1aeb5e0a0432cad547b8024435bf2c5
parentf3d902943c2b48373b9b4f517d8e354368052f84 (diff)
downloadpoky-8ea0d49ee4642af80e9e36f065b40ac85ae37de0.tar.gz
gtk-doc: Remove hardcoded buildpath
When api-documentation is enabled, we see a hardcoded build path to xsltproc in the target python configuration file. We curate PATH carefully so we don't need the path there, tweak configure to remove it and solve the issue. (From OE-Core rev: f7924a85de548f9403d561b15c1f2c33d9912393) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-gnome/gtk-doc/gtk-doc_1.33.2.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-gnome/gtk-doc/gtk-doc_1.33.2.bb b/meta/recipes-gnome/gtk-doc/gtk-doc_1.33.2.bb
index 392913fcc6..150eca9274 100644
--- a/meta/recipes-gnome/gtk-doc/gtk-doc_1.33.2.bb
+++ b/meta/recipes-gnome/gtk-doc/gtk-doc_1.33.2.bb
@@ -18,6 +18,8 @@ PACKAGECONFIG ??= "${@bb.utils.contains("DISTRO_FEATURES", "api-documentation",
18PACKAGECONFIG[working-scripts] = ",,libxslt-native xmlto-native python3-six python3-pygments" 18PACKAGECONFIG[working-scripts] = ",,libxslt-native xmlto-native python3-six python3-pygments"
19PACKAGECONFIG[tests] = "--enable-tests,--disable-tests,glib-2.0" 19PACKAGECONFIG[tests] = "--enable-tests,--disable-tests,glib-2.0"
20 20
21CACHED_CONFIGUREVARS += "ac_cv_path_XSLTPROC=xsltproc"
22
21SRC_URI[archive.sha256sum] = "cc1b709a20eb030a278a1f9842a362e00402b7f834ae1df4c1998a723152bf43" 23SRC_URI[archive.sha256sum] = "cc1b709a20eb030a278a1f9842a362e00402b7f834ae1df4c1998a723152bf43"
22SRC_URI += "file://0001-Do-not-hardocode-paths-to-perl-python-in-scripts.patch \ 24SRC_URI += "file://0001-Do-not-hardocode-paths-to-perl-python-in-scripts.patch \
23 file://0001-Do-not-error-out-if-xsltproc-is-not-found.patch \ 25 file://0001-Do-not-error-out-if-xsltproc-is-not-found.patch \