summaryrefslogtreecommitdiffstats
path: root/meta/recipes-gnome/gtk-doc
diff options
context:
space:
mode:
authorJeremy Puhlman <jpuhlman@mvista.com>2020-03-11 15:25:44 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-03-12 22:49:28 +0000
commit10847a403058bebcdb8ed50e954c39066b08a0e8 (patch)
tree60ae9b420ce094fb29a470f6d1a8468e54a89b12 /meta/recipes-gnome/gtk-doc
parent9b341f229db1a19e2fad70c1f5b9c8d3ff38b3af (diff)
downloadpoky-10847a403058bebcdb8ed50e954c39066b08a0e8.tar.gz
gtk-doc: Fix reproducibity issues
path to pkg-config and python3 encoded in scripts (From OE-Core rev: d5b051cb9226a3c6b75f1e72a946e5f4e920d9a5) Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-gnome/gtk-doc')
-rw-r--r--meta/recipes-gnome/gtk-doc/gtk-doc_1.32.bb12
1 files changed, 12 insertions, 0 deletions
diff --git a/meta/recipes-gnome/gtk-doc/gtk-doc_1.32.bb b/meta/recipes-gnome/gtk-doc/gtk-doc_1.32.bb
index 50d4d99722..b508e62741 100644
--- a/meta/recipes-gnome/gtk-doc/gtk-doc_1.32.bb
+++ b/meta/recipes-gnome/gtk-doc/gtk-doc_1.32.bb
@@ -36,6 +36,17 @@ do_configure_prepend() {
36 sed -i -e 's,^JH_CHECK_XML_CATALOG.*,,' ${S}/configure.ac 36 sed -i -e 's,^JH_CHECK_XML_CATALOG.*,,' ${S}/configure.ac
37} 37}
38 38
39do_install_append () {
40 # configure values for python3 and pkg-config encoded in scripts
41 for fn in ${bindir}/gtkdoc-depscan \
42 ${bindir}/gtkdoc-mkhtml2 \
43 ${datadir}/gtk-doc/python/gtkdoc/config.py; do
44 sed -e 's,${RECIPE_SYSROOT_NATIVE}/usr/bin/pkg-config,${bindir}/pkg-config,' \
45 -e 's,${HOSTTOOLS_DIR}/python3,${bindir}/python3,' \
46 -i ${D}$fn
47 done
48}
49
39FILES_${PN} += "${datadir}/sgml" 50FILES_${PN} += "${datadir}/sgml"
40FILES_${PN}-dev += "${libdir}/cmake" 51FILES_${PN}-dev += "${libdir}/cmake"
41FILES_${PN}-doc = "" 52FILES_${PN}-doc = ""
@@ -48,3 +59,4 @@ gtkdoc_makefiles_sysroot_preprocess() {
48 -e "s|GTKDOC_RUN =.*|GTKDOC_RUN = \$(top_builddir)/gtkdoc-qemuwrapper|" \ 59 -e "s|GTKDOC_RUN =.*|GTKDOC_RUN = \$(top_builddir)/gtkdoc-qemuwrapper|" \
49 ${SYSROOT_DESTDIR}${datadir}/gtk-doc/data/gtk-doc*make 60 ${SYSROOT_DESTDIR}${datadir}/gtk-doc/data/gtk-doc*make
50} 61}
62