]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
recipes: Enable nativesdk for gperf, unifdef, gi-docgen and its dependencies
authorCarlos Alberto Lopez Perez <clopez@igalia.com>
Tue, 20 Dec 2022 03:56:50 +0000 (04:56 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 21 Dec 2022 10:16:25 +0000 (10:16 +0000)
I'm building a SDK (bitbake task: populate_sdk) for WPE/WebKit
development [1] and I need the tools below to be extended with the class
nativesdk. They work fine on the SDK after this change.

The needs are because:

1) gperf and unifdef are required by the WebKit build system at build
   time.

2) gi-docgen is required by the WebKit build system when CMake option
   'ENABLE_DOCUMENTATION' is enabled, and gi-docgen itself depends on
   the following python modules that also need to enable nativesdk:
   python3-markdown, python3-smartypants and python3-typogrify

[1]
See:
 - https://github.com/Igalia/meta-webkit/pull/436
 - https://bugs.webkit.org/show_bug.cgi?id=249604

Signed-off-by: Carlos Alberto Lopez Perez <clopez@igalia.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/python/python3-markdown_3.4.1.bb
meta/recipes-devtools/python/python3-smartypants_2.0.0.bb
meta/recipes-devtools/python/python3-typogrify_2.0.7.bb
meta/recipes-devtools/ruby/ruby_3.1.3.bb
meta/recipes-devtools/unifdef/unifdef_2.12.bb
meta/recipes-extended/gperf/gperf_3.1.bb
meta/recipes-gnome/gi-docgen/gi-docgen_git.bb

index e99c3310ac917b5a0896dfc70949b3b6586f2658..b398cd8bc43cd14a6054c9d1d511ad2822ae52a9 100644 (file)
@@ -8,6 +8,6 @@ inherit pypi python_setuptools_build_meta
 PYPI_PACKAGE = "Markdown"
 SRC_URI[sha256sum] = "3b809086bb6efad416156e00a0da66fe47618a5d6918dd688f53f40c8e4cfeff"
 
-BBCLASSEXTEND = "native"
+BBCLASSEXTEND = "native nativesdk"
 
 RDEPENDS:${PN} += "${PYTHON_PN}-logging ${PYTHON_PN}-setuptools"
index 05c94c390ff98887ea32279fea052c515611e4c6..d089a89b952c47841c30bbf33900d661794dd50e 100644 (file)
@@ -9,6 +9,6 @@ PYPI_PACKAGE = "smartypants"
 SRC_URI += "file://0001-Change-hash-bang-to-python3.patch"
 SRC_URI[sha256sum] = "7812353a32022699a1aa8cd5626e01c94a946dcaeedaee2d0b382bae4c4cbf36"
 
-BBCLASSEXTEND = "native"
+BBCLASSEXTEND = "native nativesdk"
 
 UPSTREAM_CHECK_REGEX = "/${PYPI_PACKAGE}/(?P<pver>(?!2\.0\.1)(\d+[\.\-_]*)+)/"
index 83e9b5eadb896a16a5f6569a992f273b1074b0b4..826f126ad9f3227248495cad1cc62c549b94c539 100644 (file)
@@ -8,7 +8,7 @@ inherit pypi setuptools3
 PYPI_PACKAGE = "typogrify"
 SRC_URI[sha256sum] = "8be4668cda434163ce229d87ca273a11922cb1614cb359970b7dc96eed13cb38"
 
-BBCLASSEXTEND = "native"
+BBCLASSEXTEND = "native nativesdk"
 
 RDEPENDS:${PN} += "${PYTHON_PN}-smartypants"
 
index c8454da3a9e213287669ce9b271357a1161406c0..85d6184a046be2bf71925ff2fc82006b6776e7dc 100644 (file)
@@ -15,6 +15,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=5b8c87559868796979806100db3f3805 \
 
 DEPENDS = "zlib openssl libyaml gdbm readline libffi"
 DEPENDS:append:class-target = " ruby-native"
+DEPENDS:append:class-nativesdk = " ruby-native"
 
 SHRT_VER = "${@oe.utils.trim_version("${PV}", 2)}"
 SRC_URI = "http://cache.ruby-lang.org/pub/ruby/${SHRT_VER}/ruby-${PV}.tar.gz \
@@ -139,4 +140,4 @@ FILES:${PN}-ptest:append:class-target = "\
     ${libdir}/ruby/${SHRT_VER}.0/*/-test- \
 "
 
-BBCLASSEXTEND = "native"
+BBCLASSEXTEND = "native nativesdk"
index b42051b8b6088bcd3e5e7495e7c06c7ec1078d54..3e08b3a0a45174746c7664ca7b691bf8717100d7 100644 (file)
@@ -18,4 +18,4 @@ do_install() {
        oe_runmake install DESTDIR=${D} prefix=${prefix}
 }
 
-BBCLASSEXTEND = "native"
+BBCLASSEXTEND = "native nativesdk"
index c9f09c7931b6329542add9d8fbe2e3c9c6824007..4c32a5dc832ceed9d77054f6ae8c633fddc3a6e8 100644 (file)
@@ -17,4 +17,4 @@ inherit autotools
 # it where to look explicitly (mirroring the behaviour of upstream's Makefile.devel).
 EXTRA_AUTORECONF += " -I ${S} --exclude=aclocal"
 
-BBCLASSEXTEND = "native"
+BBCLASSEXTEND = "native nativesdk"
index 9e5adca3df92619c71c3f7bb52d517f0536c628d..fa41f2ccd2843b082db94a559e640580cc6824c0 100644 (file)
@@ -19,4 +19,4 @@ inherit setuptools3
 
 RDEPENDS:${PN} += "python3-asyncio python3-core python3-jinja2 python3-json python3-markdown python3-markupsafe python3-pygments python3-toml python3-typogrify python3-xml"
 
-BBCLASSEXTEND = "native"
+BBCLASSEXTEND = "native nativesdk"