summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/meson
Commit message (Collapse)AuthorAgeFilesLines
* meson: upgrade 0.63.0 -> 0.63.1Alexander Kanavin2022-08-211-1/+1
| | | | | | | | (From OE-Core rev: b5200ffe7ec557f492dd4f783935b01e37db490f) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: provide relocation script and native/cross wrappers also for meson-nativeAlexander Kanavin2022-07-282-6/+30
| | | | | | | | | | | | | | | | | | When using meson-native directly from bitbake this has no effect and everything works as before; the use case is being able to build meson-driven projects from the 'direct SDK' environment. Build systems like cmake/autotools are entirely driven by environment variables, but meson needs configuration files, and so this replicates how SDKs set things up. In particular, with this change the libepoxy build test from the SDK test suite is able to pass. (From OE-Core rev: 87d4f6d176f27c22dbb99abc271b9a6eaca314f8) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: upgrade 0.62.2 -> 0.63.0Alexander Kanavin2022-07-231-1/+1
| | | | | | | | (From OE-Core rev: aca52f5d586b5fea8d8316b523378f51f0e7d85d) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: upgrade 0.62.1 -> 0.62.2wangmy2022-06-071-1/+1
| | | | | | | | (From OE-Core rev: bf848a40c8ca903fd4f4e7a07a9c629de194a4e7) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: update 0.61.3 -> 0.62.1Alexander Kanavin2022-04-282-15/+14
| | | | | | | | | Rebase 0001-python-module-do-not-manipulate-the-environment-when.patch (From OE-Core rev: 65411c5d632adeac5eab322ae1a54ec8b6d3e5af) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: Robustify compiler detection logicKhem Raj2022-04-012-0/+57
| | | | | | | | | | | | | | | | | | meson would fail to detect compiler type in some rare care where specific substring '-xt' is detected in compiler --version output and it so happens that this string can be generated by clang --version if clang is installed into a directory containing 'xt-' in its name. with recipe specific sysroots, this is quite likely to happen in OE build system as we are seeing the issue with newly proposed gnome-text-editor recipe https://lists.openembedded.org/g/openembedded-devel/topic/90150031#96301 (From OE-Core rev: ff75909f2a9e970aaf389e0012888c29f02376e3) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes/setuptools_build_meta: rename to python_setuptools_build_metaRoss Burton2022-03-201-1/+1
| | | | | | | | | | Rename this class to be python-prefixed to match the other new Python build system classes. (From OE-Core rev: 25d6bf8079797906bde7c0cf63a0466c981ba5bb) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: upgrade 0.61.2 -> 0.61.3Alexander Kanavin2022-03-201-1/+1
| | | | | | | (From OE-Core rev: e072a9b7cdd937b8976e87f1da1323859bb37c72) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: remove obsolete PIP_INSTALL_PACKAGERoss Burton2022-03-121-2/+0
| | | | | | | | | | PIP_INSTALL_PACKAGE isn't used anymore, so remove all instances of it from the recipes. (From OE-Core rev: 15baf24f750ab2c8b0a46d4a3bf2ae9bfa3d0aff) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: inherit setuptools_build_metaTim Orling2022-02-251-1/+3
| | | | | | | | | | | | | | | Upstream provides a pyproject.toml which declares setuptools.build_meta to be backend for PEP-517 packaging. Set PIP_INSTALL_PACKAGE as this recipe does not inherit pypi and therefor no PYPI_PACKAGE is defined [YOCTO #14638] (From OE-Core rev: 0d9bc65139a9cabbeabe166e83f2d61f47d7bdd7) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: upgrade 0.61.1 -> 0.61.2Alexander Kanavin2022-02-181-1/+1
| | | | | | | (From OE-Core rev: 572e68905b6864e64d14c606b2b31b59e5e9cca1) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: update 0.60.3 -> 0.61.1Alexander Kanavin2022-01-202-44/+3
| | | | | | | | | Backport patches to epiphany/gcr/g-i to address failures with new meson. (From OE-Core rev: 2ab302edc33681f94b2cd85b564f6feebe154392) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: fold nativesdk into the main recipeAlexander Kanavin2022-01-203-143/+133
| | | | | | | | | This allows automated version updates when possible, and reduces friction in manual ones. (From OE-Core rev: 54d4a767ab7beaa64cfc4c221317ea03b0b119ab) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: upgrade 0.60.2 -> 0.60.3Otavio Salvador2022-01-053-1/+1
| | | | | | | | [RP: Add nativesdk variant] (From OE-Core rev: ff5e1504c04a46200024353aa02b6e41fd7a59c5) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: Handle qemu riscv issuesRichard Purdie2022-01-041-12/+16
| | | | | | | | | | | | | In qemu, they merged the 32 and 64 bit riscv variants into one target for meson purposes but this isn't officially supported by upstream meson. In normal builds this would just be a warning but in OE, this is fatal. Avoid the fatal errors for now and build as qemu intended whilst this is resolved by the upstreams. (From OE-Core rev: 7c1356e762d357dad95decf7b1d6147a2efae174) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: upgrade 0.60.1 -> 0.60.2Alexander Kanavin2021-12-123-1/+1
| | | | | | | (From OE-Core rev: e020b140cc6eb93283533545c3d64e9aed0b2489) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: configure and use generic exe_wrapperAlexander Kanavin2021-12-061-9/+18
| | | | | | | | | | | | | | | | | | | | | | This replaces the specific gtkdoc wrapper setting (which was rejected by upstream in https://github.com/mesonbuild/meson/pull/9627) with a generic, officially supported and documented exe_wrapper, which is enabled subject to qemu usermode support (just as is done for g-i and gtk-doc with autotools). gtk-doc support is adjusted so that this wrapper is passed to meson's gtk-doc module, which passes it to gtk-doc. The adjusted patch is re-submitted upstream. The side effect of this is that meson is now able to run target binaries in a generic way when it wants to, so this may affect cross-builds - hopefully in a positive way. (From OE-Core rev: 17fb047282a413aae5af991ecf5bbb225e19581e) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: submit patch upstreamAlexander Kanavin2021-11-291-8/+2
| | | | | | | (From OE-Core rev: de74501bce6b87281a07c98a75349cbffb05abfe) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: upgrade 0.59.2 -> 0.60.1Alexander Kanavin2021-11-115-36/+33
| | | | | | | (From OE-Core rev: 687234cbac01608053c14cbab0fba6eecbba1b91) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: improve SDK's wrapper to make Wraps workLeif Middelschulte2021-11-081-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | Meson, as provided by the SDK, would fail to fetch Wraps' sources on bare systems (i.e. systems, that only provide little more than the SDK). This change modifies the wrapper script so that it sets an environment variable (unless it is already set) that is used to determine valid certificates for secured connections. It does not affect bitbake's interaction with meson. The SDK's SSL directory was not searched, so meson would fail when it tried to fetch sources via https, that were specified in wrap files. Specifically `urllib` would fail: ``` <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129)> ``` Caution: this patch depends on the underlying C library (i.e. openssl) to consider this environment variable. (From OE-Core rev: afad2f09ebbfe395f8fafce8218e26056479fe39) Signed-off-by: Leif Middelschulte <Leif.Middelschulte@klsmartin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: install native file in sdkHsia-Jun(Randy) Li2021-10-273-0/+55
| | | | | | | | | | | | | Without a native environment file, find_program() can't locate the native program inside SDK. That stops wayland compositor using wayland scanner. (From OE-Core rev: c6aed1084006727e3baf70ab9d1f70d9d2d6c01f) Signed-off-by: Hsia-Jun(Randy) Li <randy.li@synaptics.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: move lang args to the right sectionRandy Li2021-10-271-2/+4
| | | | | | | | | | | After meson 0.56.0, <lang>_args and <lang>_link_args would be regarded as meson built-in options. (From OE-Core rev: 50c8f654e9006a7c902dd76f75082d4f8d668d0c) Signed-off-by: Hsia-Jun(Randy) Li <randy.li@synaptics.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: update 0.59.1 -> 0.59.2Alexander Kanavin2021-10-235-43/+28
| | | | | | | | | | Drop patch as upstream fixed the issue. (From OE-Core rev: 6f9ce677f5315c82e090609314ba99ba4bebc168) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: update 0.58.1 -> 0.59.1Alexander Kanavin2021-10-116-149/+10
| | | | | | | | | | | | | | Drop 0003-native_bindir.patch: it doesn't seem to actually define anything where the use_native parameter is set to true. Also, the issue should be solved without invasive, custom patching of the code: via meson.cross, custom .pc files for the items in question or some other configuration mechanism. (From OE-Core rev: 191d6d1f614a78ef8496e4357d419c68d1e03170) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Convert to new override syntaxRichard Purdie2021-08-022-6/+6
| | | | | | | | | | | | This is the result of automated script conversion: scripts/contrib/convert-overrides.py <oe-core directory> converting the metadata to use ":" as the override character instead of "_". (From OE-Core rev: 42344347be29f0997cc2f7636d9603b1fe1875ae) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: upgrade 0.58.0 -> 0.58.1Alexander Kanavin2021-06-174-414/+1
| | | | | | | (From OE-Core rev: 0030f7f27446263995f5470fe0d801b3a66a58cf) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: update patch statusRoss Burton2021-05-171-1/+1
| | | | | | | (From OE-Core rev: 87f0b45a307bb47df5a68d6649fe5625f2dd0775) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* nativesdk-meson: correctly set cpu_familyAlexander Kanavin2021-05-141-12/+2
| | | | | | | | | | This was a warning before, but with the patch that turns it into an error, it needs to be properly addressed. (From OE-Core rev: b6257f3b88e788af3ee748a8a6366aab819dce3f) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: update 0.57.2 -> 0.58.0Alexander Kanavin2021-05-1410-98/+456
| | | | | | | | | | | | | Rebase patches; dropped chunks (and cross-prop-default.patch) have been removed upstream. Move native-only patches to all-patches, as they're a pain to rebase separately. (From OE-Core rev: cb2a7dcc86d784cb9903f69570ddc05e23d36529) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: update 0.57.1 -> 0.57.2Alexander Kanavin2021-05-096-36/+3
| | | | | | | (From OE-Core rev: 85345697c6e492598c882eb452b999b8a05f97a9) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: fix native/host confusion in gobject-introspectionRoss Burton2021-03-312-0/+42
| | | | | | | | | | | | When building G-I we want to use *native* binaries (as they need to be executed) but the *cross* libraries, as otherwise when using the correct pkg-config binary in native lookups Meson will end up linking native and cross libraries together. (From OE-Core rev: 958d7f8cebe863705dc6710b671764879ea68575) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: Work around determinism issueRichard Purdie2021-03-161-0/+14
| | | | | | | | | | The meson determinism issue is the same frozenset issue we encountered with python itself. Remove the problematic pyc file until upstream work out the best way to address the issue (as with core python). (From OE-Core rev: ad00107dc02b3211f5d1a7fe889f538ee2bc064d) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: Correctly set uid/gid of installed filesPeter Kjellerstedt2021-03-062-0/+29
| | | | | | | | | | | In 0.57.0, the uid and gid arguments passed to os.chown() when using install_mode were accidentally swapped, causing files to end up with incorrect owner/group if the owner and group are not the same. (From OE-Core rev: 8f19fb08b66cd75616345e96fa5718048daae7fe) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: update 0.56.2 -> 0.57.1Alexander Kanavin2021-03-029-75/+34
| | | | | | | | | | | | Replace hacky 0001-gnome.py-prefix-g-i-paths-with-PKG_CONFIG_SYSROOT_DI.patch with entries in meson.cross. Rest of the patches are refreshed. (From OE-Core rev: 85b4aea551ac4a0f47f916957dd9707c81813a2b) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: Fix native inheritance order in recipesTomasz Dziendzielski2021-01-271-1/+1
| | | | | | | | | | | | Classes native/nativesdk should be inherited last to prevent unexpected behaviour. See [YOCTO #5729] for details. (From OE-Core rev: 217a8974765693192cbead51ebd9845a383ef7cc) Signed-off-by: Tomasz Dziendzielski <tomasz.dziendzielski@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: upgrade 0.56.0 -> 0.56.2Anuj Mittal2021-01-205-5/+5
| | | | | | | (From OE-Core rev: 53a56bd497451552256fec335e9b241dcba16a1a) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: Don't turn string into a list in nativesdkRandy Li2021-01-121-3/+7
| | | | | | | | | | In the current version of meson, some path variables only accept a string not a list. (From OE-Core rev: 68f20ac5524a5db8a09a90df796b4862cf747d3c) Signed-off-by: Randy Li <ayaka@soulik.info> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: Add sysroot property to nativesdk-mesonRandy Li2021-01-121-0/+1
| | | | | | | | | | | I know the environment setup script would set PKG_CONFIG_PATH, but the meson won't take that env when translate the includedir property from the pkg-config. (From OE-Core rev: 4ac692422526a2924602df410d7562b31d36c0ae) Signed-off-by: Randy Li <ayaka@soulik.info> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: upgrade 0.55.1 -> 0.56.0Alexander Kanavin2020-12-095-23/+23
| | | | | | | (From OE-Core rev: 348372c2fefe57ca385be301dd372dcd473efd83) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: update 0.55.0 -> 0.55.1Alexander Kanavin2020-08-256-22/+19
| | | | | | | (From OE-Core rev: 177e0fa5fd79c174c6ab27b645f5fd17817de1c8) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: update 0.54.3 -> 0.55.0Alexander Kanavin2020-08-028-47/+47
| | | | | | | | | Rebase patches. (From OE-Core rev: 09dd785ead455fa677c5ccf336d49a32dd7ab6d1) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: upgrade 0.54.2 -> 0.54.3Alexander Kanavin2020-06-286-39/+3
| | | | | | | (From OE-Core rev: db90ff4005cdf837617a7c5c58ae03d7570b062e) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: backport library ordering fixAndrew Geissler2020-06-152-0/+36
| | | | | | | | | | | | | | | meson had a bug where they started looking for static boost libraries first vs. the default behavior of looking at shared libraries first. This caused issues because some projects assume the shared libraries first which automatically add in other shared library dependencies. Static libraries do not have the default behavior so projects that use boost start failing to compile with undefined references to other boost libraries. (From OE-Core rev: 17d1d8de8c4d50d42882586244ae5eef3a111a3c) Signed-off-by: Andrew Geissler <geissonator@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: upgrade 0.53.2 -> 0.54.2Alexander Kanavin2020-06-0410-99/+81
| | | | | | | | | | Drop 0001-mesonbuild-environment.py-check-environment-for-vari.patch as upstream has refactored the code. (From OE-Core rev: 1264edce86cafaa64428bb42844437ac4de7df3a) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: fix upstream version checkAlexander Kanavin2020-05-071-0/+1
| | | | | | | (From OE-Core rev: 95140100585311860446b053a046c16ff059b3c0) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: upgrade 0.53.1 -> 0.53.2William A. Kennington III2020-03-213-2/+2
| | | | | | | (From OE-Core rev: 8c3d3cb239c7f4cc499d7b5d082e1f9ef357a427) Signed-off-by: William A. Kennington III <wak@google.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: upgrade 0.53.0 -> 0.53.1Alexander Kanavin2020-02-216-10/+10
| | | | | | | (From OE-Core rev: c94ae81f9ebf9d4d3546a86e097cdba51b3468b0) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: update 0.52.1 -> 0.53.0Alexander Kanavin2020-01-277-28/+27
| | | | | | | | | | | Unset LD, and do not set ld in cross file from LD as new version of meson passes that value directly to -fuse-ld=... which requires one of lld, bfd, gold. (From OE-Core rev: e0e30637a139feb744ca284aa63d47efefc5cb5d) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: update 0.52.0 -> 0.52.1Alexander Kanavin2019-12-307-118/+23
| | | | | | | (From OE-Core rev: e589fc6d758689f7889b3ae50e800e51204a02c1) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: Backport fix to assist meta-oe breakageRichard Purdie2019-10-232-0/+96
| | | | | | | | | Add a backported commit from upstream which helps fix build failures in meta-oe. (From OE-Core rev: 6665e84bfba43cd8897b9561b14975ac524fbbe2) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>