aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-mono
AgeCommit message (Collapse)Author
2024-02-20ci: fix LICENSE warning and refactor CI .ymlBenjamin Szőke
2024-02-19dotnet: revert create-spdxBenjamin Szőke
2024-02-19dotnet: add create-spdxBenjamin Szőke
2024-02-19dotnet: Add INSANE_SKIP for "libdir"Benjamin Szőke
2024-02-19dotnet: Update to v8.0.201Benjamin Szőke
2024-02-19dotnet: remove dotnet 7 since we want to keep lts versions onlyBen Fekih, Hichem
Signed-off-by: Ben Fekih, Hichem <hichem.benfekih@ifm.com>
2024-02-19dotnet-helloworld: suppress the error when removing libcoreclrtraceptprovider.soBen Fekih, Hichem
it seams that dotnet 8 doesn't produce libcoreclrtraceptprovider.so for the helloworld application anymore. so suppress the error by adding "-f". when dotnet 6 and 7 reach EOF, then we can remove this line. Signed-off-by: Ben Fekih, Hichem <hichem.benfekih@ifm.com>
2024-02-18dotnet: Update to v6.0.419Benjamin Szőke
2024-01-09mono: add BBCLASSEXTEND=native to mono-6.xx.inc (#149)Marc Ferland
* mono-base: append dependencies instead of using the hard assignment op * Remove extra space Not needed when using the += operator. Signed-off-by: Marc Ferland <ferlandm@amotus.ca> * Fix build on aarch64 builds When building for aarch64 targets, I get build failures like: ERROR: msbuild-native-16.6-r0 do_prepare_recipe_sysroot: Manifest /workdir/build/tmp/sstate-control/manifest-x86_64_x86_64-nativesdk-mono.populate_sysroot not found in imx8mn_ddr4_evk cortexa53 armv8a-crc armv8a aarch64 allarch x86_64_x86_64-nativesdk (variant '')? The problem comes from the fact that some include files (i.e.: mono-6.xx.inc) are used in both the mono and mono-native variants. This seems to confuse the native class in some way. Ideally we would have a single mono recipe declaring BBCLASSEXTEND = "native" and we'd let bitbake generate the recipe variant. See: https://docs.yoctoproject.org/ref-manual/variables.html?highlight=bbclassextend#term-BBCLASSEXTEND Signed-off-by: Marc Ferland <ferlandm@amotus.ca> * Fix build error of CI-Build: Error: Problem 1: conflicting requests - nothing provides mono-gac needed by mono-6.12.0.161-r0.core2_64 - nothing provides mono-libs-4.5 needed by mono-6.12.0.161-r0.core2_64 Problem 2: package msbuild-16.6-r0.core2_64 requires mono, but none of the providers can be installed - conflicting requests - nothing provides mono-gac needed by mono-6.12.0.161-r0.core2_64 - nothing provides mono-libs-4.5 needed by mono-6.12.0.161-r0.core2_64 Problem 3: package mono-helloworld-1.2-r0.core2_64 requires mono, but none of the providers can be installed - conflicting requests - nothing provides mono-gac needed by mono-6.12.0.161-r0.core2_64 - nothing provides mono-libs-4.5 needed by mono-6.12.0.161-r0.core2_64 (try to add '--skip-broken' to skip uninstallable packages) Signed-off-by: Marc Ferland <ferlandm@amotus.ca> Co-authored-by: Georg Gebauer <georg.gebauer@zeiss.com>
2023-11-29dotnet: fix version number for v7.0.404Benjamin Szőke
2023-11-29dotnet: update .NET 7 to v7.0.404Benjamin Szőke
2023-11-29dotnet: update .NET 6 to v6.0.417Benjamin Szőke
2023-10-31mono-addins: Add protocol=https to SRC_URIBuildbot
This fixes the warning with Yocto 4.3: WARNING: .../layers/meta-mono/recipes-mono/mono-addins/mono-addins_1.1.bb: URL: git://github.com/mono/mono-addins.git;branch=master uses git protocol which is no longer supported by github. Please change to ;protocol=https in the url. Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
2023-10-31gtk-sharp3: Add protocol=https to SRC_URIBuildbot
This fixes the warning with Yocto 4.3: WARNING: .../layers/meta-mono/recipes-mono/gtk-sharp/gtk-sharp3_2.99.4.bb: URL: git://github.com/mono/gtk-sharp.git;branch=master uses git protocol which is no longer supported by github. Please change to ;protocol=https in the url. Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
2023-10-31taglib-sharp: Set protocol=https in SRC_URIBuildbot
This fixes this warning in Yocto 4.3: WARNING: .../layers/meta-mono/recipes-mono/taglib-sharp/taglib-sharp_2.1.0.0.bb: URL: git://github.com/mono/taglib-sharp.git;branch=master uses git protocol which is no longer supported by github. Please change to ;protocol=https in the url. Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
2023-10-31mono-upnp: Set protocol=https in SRC_URIBuildbot
This fixes the warning in Yocto 4.3: WARNING: .../layers/meta-mono/recipes-mono/mono-upnp/mono-upnp_0.1.2.bb: URL: git://github.com/mono/mono-upnp.git;branch=master uses git protocol which is no longer supported by github. Please change to ;protocol=https in the url. Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
2023-10-31libgdiplus: Fix SRC_URIBuildbot
I misunderstood gitsm:// , no need to list the submodules separately. Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
2023-09-05dotnet: update dotnet versions (#191)Benjamin Szőke
* dotnet: update dotnet versions * dotnet: update CI_github.yml to use dotnet 7.0.400
2023-08-15libgdiplus: Use git:// SRC_URI (#186)Zoltán Böszörményi
2023-06-09Add msbuild 16.10.1 recipe (#184)Zoltán Böszörményi
* msbuild: Add recipe for version 16.10.1 Mono 6.12.0.182 needs the new msbuild version. Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com> * conf/layer.conf: Prefer the newest msbuild version Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com> * Bump CI to use Mono 6.12.0.182 Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com> --------- Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
2023-05-136.12.0.182 (#181)Zoltán Böszörményi
* mono: Add recipe for version 6.12.0.182 This is a recent stable release. Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com> * Prefer version 6.12.0.182 Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com> --------- Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
2023-05-10Fix mmap segfault on recent kernels (#183)Zoltán Böszörményi
* Add a patch to disable using MAP_32BIT to mmap() The patch was published at https://github.com/mono/mono/issues/21651#issuecomment-1539830484 It had to be slightly adapted to be applicable. Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com> * Use oe_runmake for Mono 6.xx This allows parallel builds. Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com> --------- Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
2023-04-06remove dotnet v3.1.11 and update dotnet 6 to 6.0.15 (#171)Hichem
2023-04-05dotnet: add dotnet v7.0.202 (#167)Hichem
Signed-off-by: Ben Fekih, Hichem <hichem.benfekih@ifm.com>
2023-03-30Msbuild replace libhostfxr with dotnet with fixes (#166)Zoltán Böszörményi
2023-03-12msbuild: Depend on curl-native and ca-certificates-native (#165)Zoltán Böszörményi
2023-03-10Mickledore support (#164)Zoltán Böszörményi
* conf/layer.conf: Add mickledore to LAYERSERIES_COMPAT Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com> * mono: Fix early parsing errors for mono 4.x and 5.x versions Apparently, PV is unset when mono_workspace_version() is first used. Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com> --------- Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
2022-11-30add Python.NET recipe (#159)Benjamin Szőke
* dotnet: update to v6.0.11 * python: Add Python.NET v3.0.1 * python3-clr-loader: fix typo * pythonnet: fix proxy config * pythonnet: separated folder for nuget downloads and cache * python3-clr-loader: test proxy * dotnet restore try to fix #1 * dotnet restore next try * dotnet restore try some http env settings * dotnet restore fix libcurl-native syntax * dotnet restore curl fix * dotnet restore test http download * dotnet restore http next try * dotnet restore test DNS * dotnet restore, dns fix not works, revert some parts * dotnet restore fix, version appending fix in __init__.py * fix endline, restore original yml * fix again endline * fix again endline and trigger a new fetch * append endline in do_patch, restore latest package versions * do_configure:prepend() must be used for version append * append __version__ only if it is does not exist * fix typo * if proxy used, it must be defined in task environment
2022-11-09dotnet: update to v6.0.11 (#158)Benjamin Szőke
2022-07-18mono: Adds patch for aot-compiler Makefile (#145)Jan Kraemer
Adds compatibility for GNU Make versions >= 4.3 which changed behaviour around appending to empty variables Signed-off-by: Jan Kraemer <jan.kraemer@mbition.io>
2022-07-17dotnet: update to v6.0.7 (#133)Hichem
- update the dotnet6 recipes - patch the library to not use liblttng-ust instead of deleting it completely - for x86 correct the interpreter path instead of creating a link - replace RUNTIME by DOTNET_RUNTIME, since RUNTIME is too general Signed-off-by: Ben Fekih, Hichem <hichem.f@live.de>
2022-05-08update dotnet recipes (#131)Hichem
* dotnet: update to v6.0.4 Signed-off-by: Ben Fekih, Hichem <hichem.f@live.de> * drop dotnet 5 recipe since microsoft will end the support on May 2022 Signed-off-by: Ben Fekih, Hichem <hichem.f@live.de> * add arm64 to the github - CI so we can test for qemuarm64 Signed-off-by: Ben Fekih, Hichem <hichem.f@live.de>
2022-04-26dotnet 5: remove the dependency to lttng-ust (#130)Hichem
* dotnet 5: remove the dependency to lttng-ust issue #124 since dotnet 5 depends on an older version of lttng-ust, and this dependency is not really needed for dotnet apps, remove libcoreclrtraceptprovider.so Signed-off-by: Ben Fekih, Hichem <hichem.f@live.de> * ci: build meta-mono master branch against kirkstone poky branch building against the master branch of poky and meta-openembedded will result in sporadic errors. Signed-off-by: Ben Fekih, Hichem <hichem.f@live.de>
2022-04-04add dotnet 6 recipe (#126)Hichem
* FIXME: add dotnet 6 recipe since dotnet 5 and 6 have almost the same structure. this recipe is base on the dotnet_5.0.300.bb issue #125 FIXME: since the current version depends on liblttng-ust.so.0, but yocto delivers liblttng-ust.so.1. the libcoreclrtraceptprovider.so is removed from the runtime. Signed-off-by: Ben Fekih, Hichem <hichem.benfekih@ifm.com> * add dotnet hello world recipe for testing Signed-off-by: Ben Fekih, Hichem <hichem.f@live.de> * test-image-mono: add dotnet-helloworld to IMAGE_INSTALL Signed-off-by: Ben Fekih, Hichem <hichem.f@live.de> * testimage: add a dotnet python test function Signed-off-by: Ben Fekih, Hichem <hichem.f@live.de> * add dotnet to DEFAULT_TEST_SUITES to enable the dotnet test Signed-off-by: Ben Fekih, Hichem <hichem.f@live.de> Co-authored-by: Ben Fekih, Hichem <hichem.benfekih@ifm.com>
2022-02-26dotnet: Remove liblttng-ust from RDEPENDSAlex J Lennon
@see https://github.com/DynamicDevices/meta-mono/issues/124 Signed-off-by: Alex J Lennon <ajlennon@dynamicdevices.co.uk>
2022-02-25test-image-mono: Introduce dtotnet to test-imageClemens Terasa
In order to test the build of the dotnet recipe add the dotnet recipe to the test-image. It is the first test package of this image that is not included by the core-image-mono.inc. Signed-off-by: Clemens Terasa <clemens.terasa@garz-fricke.com> Signed-off-by: Alex J Lennon <ajlennon@dynamicdevices.co.uk>
2022-02-17Disabled pango support as it breaks cursor measurement. (#122)Sven Luther
* Update libgdiplus-6.xx.inc * Update libgdiplus_6.0.5.bb * Update libgdiplus_6.0.4.bb
2022-01-29mono-xsp: Use "main" branchAlex J Lennon
Signed-off-by: Alex J Lennon <ajlennon@dynamicdevices.co.uk>
2022-01-29mono_xsp: Fix Github URI to https (#116)Alex Lennon
Signed-off-by: Alex J Lennon <ajlennon@dynamicdevices.co.uk>
2022-01-28mono: add 6.12.0.161 (#102)Zoltán Böszörményi
Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
2022-01-25msbuild: Update recipe to allow networking in compile stepAlex J Lennon
Signed-off-by: Alex J Lennon <ajlennon@dynamicdevices.co.uk>
2022-01-24mono-X.xx.inc: libtool is no longer prefixed with host so don't fixup in recipeAlex J Lennon
@see: https://lists.openembedded.org/g/openembedded-devel/message/94322 Signed-off-by: Alex J Lennon <ajlennon@dynamicdevices.co.uk>
2021-11-06Fix SRC_URI warnings (#101)Zoltán Böszörményi
* msbuild-libhostfxr: Use protocol=https for git://github.com/... GitHub will remove the unauthenticated git protocol in favour of the (still anonymous) https protocol and they even exercised a short brownout period. Yocto/Bitbake started printing warnings about this. Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com> * msbuild: Use protocol=https for git://github.com/... See the previous commit for the reasoning. Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
2021-10-15add dotnet 5 to the master branch (#99)Hichem
issue #97 Signed-off-by: Ben Fekih, Hichem <hichem.benfekih@ifm.com> Co-authored-by: Ben Fekih, Hichem <hichem.benfekih@ifm.com>
2021-10-13msbuild-libhostfxr: Upgrade to 3.1.16 (#96)Zoltán Böszörményi
3.1.11 was hitting this compile error on Fedora 34 with GCC 11 as the host compiler: | .../3.1.11-r0/git/src/corehost/cli/test/nativehost/host_context_test.cpp: In function ‘void {anonymous}::wait_for_signal_mock_execute_assembly()’: | .../3.1.11-r0/git/src/corehost/cli/test/nativehost/host_context_test.cpp:436:31: error: ‘sleep_for’ is not a member of ‘std::this_thread’ | 436 | std::this_thread::sleep_for(std::chrono::milliseconds(100)); | | ^~~~~~~~~ This was fixed in commit a49e99c5517054c2fa8a6772ce028acf56dfc54c ("Fix build errors using GCC 11 (#46334) (#9136)") which is in 3.1.16 The current set of patches still apply to 3.1.16 but not newer. Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
2021-09-23Fix mono 6.12.0.147 and add 6.12.0.154 (#95)Zoltán Böszörményi
* mono: Rebase 6.12.0.147 to use the stable 6.12.0.122 tarball mono 6.12.0.147 from git does not work properly, even if git submodule update --init --recursive is run before do_configure. Something else is still missing that would make mono to build and work from git. Use the 6.12.0.122 stable tarball and cherry-pick most of the patches from the 2020-02 (6.12.0.x) branch from git. The ones that update git submodules' revisions are omitted. Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com> * mono: Add recipe for version 6.12.0.154 It's done similarly to 6.12.0.147, so we start off of the 6.12.0.122 stable release tarball and add cherry-picked patches from github. Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
2021-09-11nuget: Set BB_CHECK_SSL_CERTS=0 (#93)Zoltán Böszörményi
Maybe Microsoft didn't renew their certificate but downloading nuget.exe fails because the cert is untrusted now. This should only be a temporary measure. Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
2021-08-24Add honister compatibility (#90)Zoltán Böszörményi
* Remove compatibility for sumo, thud, warrior and zeus The next change (introduced by honister and backported back only to dunfell) requires it. Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com> * Use ":" override syntax instead of "_" Scripted change with oe-core/scripts/contrib/convert-overrides.py The proposal for this was at https://www.mail-archive.com/openembedded-architecture@lists.openembedded.org/msg00500.html The necessary changes to bitbake to accept ":" along with "_" were backported to bitbake 1.46 (Yocto 3.1 Dunfell), 1.48 (3.2 Gatesgarth) and 1.50 (3.3 Hardknott). Yocto 3.4 Honister will only accept ":" Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com> * Add honister compatibility Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
2021-08-09mono: Add recipe for version 6.12.0.147 (#89)Zoltán Böszörményi
Use the tagged release from GitHub. Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
2021-06-17mono: fix removing x86 binaries (#87)Marco Felsch
We already have a fix to remove the objects but this fix depends on the bash globbing mechanism. Since bitbake uses '#!/bin/sh' and not '#!/bin/bash' this depends on your host. Ubuntu/Debian /bin/sh not always refer to /bin/bash instead they are using /bin/dash which don't support the globbing. Replace the globbing with the mechanism used by commit ffa8c9992f8 which is part of Mono 6.x. Also add a few more files to search for like the commit did. While on it add message why this is needed and move it to prepend so the configure phase uses clean dirs. Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>