4 Commits

Author SHA1 Message Date
Markus Volk
25850e9720 Merge pull request 'squeekboard: set correct rust target' (#17) from gyorgysarvari/meta-wayland:scarthgap into scarthgap
Reviewed-on: https://codeberg.org/flk/meta-wayland/pulls/17
2025-06-26 15:35:55 +02:00
Gyorgy Sarvari
97b69bf921 squeekboard: set correct rust target
$HOST_SYS Rust target is not recognized by Rust provided by oe-core and
meta-lts-mixins layers, the correct one should be $RUST_HOST_SYS.

Fixes the following compilation error:

  error: Error loading target specification: Could not find specification
         for target "aarch64-poky-linux". Run `rustc --print target-list`
         for a list of built-in targets

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
2025-06-26 13:20:27 +02:00
Ludovic Jozeau
cacc737e24 python3: move python link to its own python3-as-python package
the FILES is overriden in the python anonymous function for dynamic packages
(python3-core)

causing the following error:

```log
ERROR: python3-3.12.8-r0 do_package: QA Issue: python3: Files/directories were installed but not shipped in any package:
  /usr/bin/python
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
python3: 1 installed and not shipped files. [installed-vs-shipped]
ERROR: python3-3.12.8-r0 do_package: Fatal QA errors were found, failing task.
```

it is safer to make a new package split and add a RRECOMMENDS to python-core
on it

fixes:
https://codeberg.org/flk/meta-wayland/issues/14

Signed-off-by: Ludovic Jozeau <ludovic.jozeau@scle.fr>
2025-04-24 05:11:22 +02:00
Markus Volk
43e8c701b7 python3: move python link to python3-core package
fixes:
https://codeberg.org/flk/meta-wayland/issues/13
2025-04-22 14:50:19 +02:00
3 changed files with 5 additions and 3 deletions

View File

@@ -2,5 +2,7 @@ do_install:append:class-target() {
ln -sf ${bindir}/python3 ${D}${bindir}/python
}
FILES:${PN}:class-target += "${bindir}/python"
PACKAGES:prepend:class-target = "${PN}-as-python "
FILES:${PN}-as-python = "${bindir}/python"
RRECOMMENDS:${PN}-core:append:class-target = " ${PN}-as-python"

View File

@@ -136,7 +136,7 @@ S = "${WORKDIR}/git"
inherit cargo meson rust pkgconfig
EXTRA_OEMESON = "\
-Dcargo-flags=[\'--target\',\'${HOST_SYS}\',\'-v\'] \
-Dcargo-flags=[\'--target\',\'${RUST_HOST_SYS}\',\'-v\'] \
-Dtests=false \
-Ddepdatadir=${datadir} \
-Donline=true \

View File

@@ -260,7 +260,7 @@ S = "${WORKDIR}/git"
inherit cargo meson rust pkgconfig
EXTRA_OEMESON = "\
-Dcargo-flags=[\'--target\',\'${HOST_SYS}\',\'-v\'] \
-Dcargo-flags=[\'--target\',\'${RUST_HOST_SYS}\',\'-v\'] \
-Dtests=false \
-Ddepdatadir=${datadir} \
-Donline=false \