Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
324 changes: 264 additions & 60 deletions .github/workflows/CI_github.yml

Large diffs are not rendered by default.

9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,11 @@ meta-mono is an OpenEmbedded layer that builds dotNet, the mono runtime and mono

| Branch | Version | Support Status* | Status of Build & Tests |
| ------ | ------- | --------------- | ----------------------- |
| walnascar | 5.2 | Future (April 2025) | [![walnascar](https://img.shields.io/github/actions/workflow/status/dynamicdevices/meta-mono/CI_github.yml?branch=walnascar&label=build%20%26%20test)](https://github.com/DynamicDevices/meta-mono/actions/workflows/CI_github.yml) |
| styhead | 5.1 | Support for 7 months (May 2025) | [![styhead](https://img.shields.io/github/actions/workflow/status/dynamicdevices/meta-mono/CI_github.yml?branch=styhead&label=build%20%26%20test)](https://github.com/DynamicDevices/meta-mono/actions/workflows/CI_github.yml) |
| scarthgap | 5.0 | Long Term Support (until Apr. 2028) | [![scarthgap](https://img.shields.io/github/actions/workflow/status/dynamicdevices/meta-mono/CI_github.yml?branch=scarthgap&label=build%20%26%20test)](https://github.com/DynamicDevices/meta-mono/actions/workflows/CI_github.yml) |
| kirkstone | 4.0 | Long Term Support (minimum Apr. 2024) | [![kirkstone](https://img.shields.io/github/actions/workflow/status/dynamicdevices/meta-mono/CI_github.yml?branch=kirkstone&label=build%20%26%20test)](https://github.com/DynamicDevices/meta-mono/actions/workflows/CI_github.yml) |
| whinlatter | 5.3 | Support for 6 months (until May 2026) | [![whinlatter](https://img.shields.io/github/actions/workflow/status/dynamicdevices/meta-mono/CI_github.yml?branch=whinlatter&label=build%20%26%20test)](https://github.com/DynamicDevices/meta-mono/actions/workflows/CI_github.yml) |
| scarthgap | 5.0 | Long Term Support (until Apr. 2028) | [![scarthgap](https://img.shields.io/github/actions/workflow/status/dynamicdevices/meta-mono/CI_github.yml?branch=scarthgap&label=build%20%26%20test)](https://github.com/DynamicDevices/meta-mono/actions/workflows/CI_github.yml) |
| kirkstone | 4.0 | Long Term Support (until Apr. 2026) | [![kirkstone](https://img.shields.io/github/actions/workflow/status/dynamicdevices/meta-mono/CI_github.yml?branch=kirkstone&label=build%20%26%20test)](https://github.com/DynamicDevices/meta-mono/actions/workflows/CI_github.yml) |

*support status as of 21/03/25, follows main Yocto release support schedule [here](https://wiki.yoctoproject.org/wiki/Releases)
*support status as of Feb 2026, follows main Yocto release support schedule [here](https://wiki.yoctoproject.org/wiki/Releases)

## Limitations

Expand Down
2 changes: 1 addition & 1 deletion conf/layer.conf
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ INSANE_SKIP:msbuild-dev += "buildpaths"
INSANE_SKIP:python3-clr-loader += "buildpaths"
INSANE_SKIP:python3-pythonnet += "buildpaths"

LAYERSERIES_COMPAT_mono = "styhead"
LAYERSERIES_COMPAT_mono = "whinlatter"
2 changes: 0 additions & 2 deletions recipes-mono/gtk-sharp/gtk-sharp3_2.99.4.bb
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ SRCREV = "9a72bb67fff7e4845b7bb430a608282668c3e4da"
SRC_URI = "git://github.com/mono/gtk-sharp.git;protocol=https;branch=master \
file://0001-fixup-gmcs-to-mcs.patch"

S = "${UNPACKDIR}/git"

do_configure:prepend() {
export PROFILER_CFLAGS="-D_REENTRANT -I${STAGING_DIR_TARGET}/usr/include/glib-2.0 -I${STAGING_DIR_TARGET}/usr/lib/glib-2.0 -I${STAGING_DIR_TARGET}/usr/lib/glib-2.0/include -I${STAGING_DIR_TARGET}/usr/include/mono-2.0"
}
Expand Down
2 changes: 0 additions & 2 deletions recipes-mono/libgdiplus/libgdiplus-common.inc
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ SRC_URI = " \
gitsm://github.com/mono/libgdiplus.git;protocol=https;branch=${BRANCH} \
"

S = "${UNPACKDIR}/git"

inherit autotools pkgconfig

FILES:${PN} += "${libdir}/libgdiplus.so"
Expand Down
2 changes: 0 additions & 2 deletions recipes-mono/mono-addins/mono-addins-xbuild.inc
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ SRCBRANCH = "master"

SRC_URI = "git://github.com/mono/mono-addins.git;protocol=https;branch=${SRCBRANCH}"

S = "${UNPACKDIR}/git"

do_configure() {
}

Expand Down
2 changes: 0 additions & 2 deletions recipes-mono/mono-addins/mono-addins.inc
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,5 @@ SRCBRANCH = "master"
SRC_URI = "git://github.com/mono/mono-addins.git;protocol=https;branch=${SRCBRANCH} \
file://0001-configure-mcs.patch"

S = "${UNPACKDIR}/git"

inherit autotools-brokensep pkgconfig
inherit mono
2 changes: 0 additions & 2 deletions recipes-mono/mono-upnp/mono-upnp.inc
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}-${PV}:"
SRC_URI = "git://github.com/mono/mono-upnp.git;protocol=https;branch=${SRCBRANCH} \
"

S = "${UNPACKDIR}/git"

inherit autotools-brokensep pkgconfig

do_configure () {
Expand Down
2 changes: 0 additions & 2 deletions recipes-mono/mono-xsp/mono-xsp_git.bb
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,3 @@ require mono-xsp-3.x.inc
SRCREV= "e272a2c006211b6b03be2ef5bbb9e3f8fefd0768"
SRC_URI = "git://github.com/mono/xsp.git;branch=main;protocol=https \
"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Git xsp wrong source path

Medium Severity

Removing the git-specific S override in mono-xsp_git.bb leaves S from mono-xsp-3.x.inc as ${UNPACKDIR}/xsp-${PV}, which matches the tarball layout, not the git checkout. Configure and compile then run against a directory that does not contain the cloned xsp tree.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit d4ee48a. Configure here.

S = "${UNPACKDIR}/git"
2 changes: 0 additions & 2 deletions recipes-mono/mono/mono-6.12.0.206.inc
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
S = "${UNPACKDIR}/git"

DEPENDS += " cmake-native"
2 changes: 0 additions & 2 deletions recipes-mono/mono/mono-git.inc
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ SRC_URI = "git://github.com/mono/mono.git;branch=${SRCBRANCH}\
# file://0001-reintroduce-gmcs.patch \
#

S = "${UNPACKDIR}/git"

FILESPATH =. "${FILE_DIRNAME}/mono-4.xx:"
FILESPATH =. "${FILE_DIRNAME}/mono-${PV}:"

Expand Down
2 changes: 0 additions & 2 deletions recipes-mono/msbuild/msbuild_16.10.1.bb
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ SRC_URI = "git://github.com/mono/linux-packaging-msbuild.git;branch=main;protoco
file://0001-Copy-hostfxr.patch \
"

S = "${UNPACKDIR}/git"

do_configure () {
sed "s|%libhostfxr%|${STAGING_DIR_TARGET}${libdir}/libhostfxr.so|g" -i ${S}/eng/cibuild_bootstrapped_msbuild.sh

Expand Down
2 changes: 0 additions & 2 deletions recipes-mono/taglib-sharp/taglib-sharp.inc
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ DEPENDS = "mono"

SRC_URI = "git://github.com/mono/taglib-sharp.git;protocol=https;branch=${SRCBRANCH}"

S = "${UNPACKDIR}/git"

inherit autotools-brokensep pkgconfig

EXTRA_OECONF = " --disable-docs"
Expand Down
Loading