Age | Commit message (Collapse) | Author |
|
The 'tdx' override is not relevant for meta-toradex-demos. This layer is
solely for building demos for the Toradex distribution, and all recipes
within it are expected to be applied. If the user intends to build only
the distribution, they should use meta-toradex-distro instead.
Related-to: ELB-6231
Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
(cherry picked from commit 5207251ac61b521db2f3d96cc52149e53d4ad354)
|
|
Qt 5 has reached end-of-life and is being removed from Toradex Layers.
The Toradex Reference Multimedia Image now features the Weston desktop
by default with the weston-simple-egl client, replacing the previous Qt
Cinematic Experience demo.
Related-to: ELB-6229
Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
|
|
When the APPLICATION_ENVIRONMENT is not set, the second "Environment"
inside wayland-app-launch gets empty. As example:
Environment=WAYLAND_DISPLAY=/run/wayland-0
Environment=
This causes systemd to clear all the enviroment variables, unsetting the
WAYLAND_DISPLAY previously set, which causes the some apps to no
function anymore (e.g. weston-simple-egl).
Therefore remove it and if anyone needs to add more environment
variables, this should be done by bbappending the recipe and changing
the systemd service file.
Related-to: ELB-6229
Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
|
|
Add the possibility to launch the weston-simple-egl demo, as it is done
with the Qt cinematic experience.
Related-to: ELB-6229
Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
|
|
Since the meta-gnome layer is not used anymore, drop related recipes.
Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
(cherry picked from commit a901f8f369a51f1abf24ddb0449c40c18eeda690)
|
|
These was initially required to build this layer with both master
(styhead) and scarthgap branches from other layers, as the
meta-toradex-demos/scarthgap-7.x.y did not exist at that time. With
the creation of a specific scarthgap branch, we can remove the workaround.
Related-to: ELB-5840
Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
|
|
OE-core enabled the picky QA check on Upstream-Status.
commit b7fb91c797ab ("insane: add patch-status to default ERROR_QA")
Change our layers patches according to the used python regex.
strict_status_re = re.compile(r"^Upstream-Status: (Pending|Submitted|Denied|Inappropriate|Backport|Inactive-Upstream)( .+)?$", re.MULTILINE)
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
OE master (styhead) no longer unpacks in ${WORKDIR} but rather does
it in path defined by the new variable UNPACKDIR.
Additionally '${S} = ${WORKDIR}' is no longer allowed and results in
a parse time error.
Cope with the change so that the layer builds against scarthgap and
styhead.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
With GCC14 this results now in an compile time error.
Backport the upstream fix not yet released.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Remove the recipe.
Related-to: ELB-5740
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Remove the recipes.
Related-to: ELB-5740
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Our X11 distros are unmaintained for a while now. Likely built images
will not run if they even build. Drop them for BSP 7.
Related-to: ELB-5740
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
meta-openemebedded provides unclutter-xfixes, a drop in replacement
of unclutter.
Remove the recipe and use unclutter-xfixes for the X11 images.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
gnome-disk-utility in a later version is available from meta-openembedded.
joe version 4.6 has landed in meta-openembedded.
tinycompress version 1.1.6 has landed in meta-freescale.
imlib2: now available from meta-openembedded.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
The recipe already patches the code tree to no longer call into gdk
(remove-gdk-x11.patch) which does not work in wayland/xwayland.
Thus the dependency on X11 headers is gone.
Remove additionally checking for them in the configure script.
This allows to build gpicview for weston without having xwayland
enabled.
Squash the changes into the existing remove-gdk-x11.patch and change
the file name and commit description accordingly.
Add missing upstream status to patch
Related-to: ELB-5451
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit 6b65323381ffd8d25d040b658dac26e7e781c967)
|
|
This reverts commit c6baf131a27bad3515cec907e307c7d0af297409.
Now that the cinematicexperience application doesn't crash anymore we
can enable the restart on failure again. This will handle the unlikely
case when the application would still crash in an unlikely event.
Related-to: ELB-4884
Signed-off-by: Stefan Eichenberger <stefan.eichenberger@toradex.com>
(cherry picked from commit 34121f5c91729f7b9185f879318bfd85746e7112)
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
If the wayland application fails to start we no longer restart it. This
can happen when there is no display connected. For example the
Qt5_CinematicExperience will fail to start with the following message:
xdg_surface geometry (1920 x 1080) is larger than the configured
fullscreen state (0 x 0)
If we keep restarting the application we spam the kernel log with
the following messages:
imx-drm display-subsystem: [drm] Cannot find any crtc or sizes
Related-to: ELB-4726
Signed-off-by: Stefan Eichenberger <stefan.eichenberger@toradex.com>
(cherry picked from commit c6baf131a27bad3515cec907e307c7d0af297409)
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
- Avoid use INI_UNCOMMENT_ASSIGNMENTS to handle [libinput] section,
since that's done in meta-freescale layer which can create a race
condiction depending on the order of meta-freescale and
meta-toradex-demos in BBLAYERS.
- Add a sanity check to ensure "calibration_helper" and
"touchscreen_calibrator" to be added to weston.ini only when they are
not already in it by deleteting them in advance. This can prevent a
force do_install (bitbake install -f) to add them in more than once.
Related-to: ELB-4570
Signed-off-by: Ming Liu <ming.liu@toradex.com>
(cherry picked from commit 3e7226afbfd01187f13f8b6e4b0ae7996844ebe7)
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
weston uses now systemd-notify to notify systemd when it is up and
running. This is the reason why we do no longer need
wayland-app-launch.sh with the synchronization point in it.
Remove wayland-app-launch.sh script. Remove also the init directory
feature as it is no longer needed. qtsmarthome works now from any
directory.
Related-to: ELB-4784
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
Weston is no longer being started as root. To allow applications and
other users to start applications that render to weston there is the
socket-file in /run/wayland-0 created.
Do also specify the user we want the app to be started from. Do also
instruct systemd with PAMName to treat as a login so XDG_RUNTIME_DIR is
also set.
Related-to: ELB-4784
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
Add a new PACKAGECONFIG touchscreen-calibration, when it's enabled,
add the following fields in weston.ini:
```
[libinput]
enable_tap=true
touchscreen_calibrator=true
calibration_helper=/usr/bin/toradex-save-touchscreen-calibration
```
When weston-touch-calibrator is called by an end user,
/usr/bin/toradex-save-touchscreen-calibration will be triggered to
create a udev rule to export LIBINPUT_CALIBRATION_MATRIX then trigger
that udev rule. The end users need to restart weston to let the new
calibration matrix to take effect.
Related-to: ELB-4570
Signed-off-by: Ming Liu <ming.liu@toradex.com>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
meta-openembedded contains a recipe which builds a newer version.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
While at it set the pointers to the documentation in the README to
latest developer website.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Fix weston service name, it was changed in oe-core
commit dd83fb40f767 ("weston-init: Stop running weston as root")
from weston@root.service to weston.service.
Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
|
|
Since OE-Core commit 9379f80f48 ("license/insane: Show warning for
obsolete license usage"), LICENSE field not containing SPDX identifiers
are treated with WARNING.
An automated conversion using scripts/contrib/convert-spdx-licenses.py to
convert to use the standard SPDX license identifiers has been done on
the entire layer.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
This is the result of automated script (0.9.3) conversion:
+# meta-toradex-distro
+vars = vars + ["preempt-rt","tdx","upstream"]
+# meta-toradex-* machines
+vars = vars + ["apalis-","colibri-","verdin-","tegra124"]
+# meta-freescale
+vars = vars + ["imx","mx6","mx7","mx8","use-mainline-bsp","use-nxp-bsp"]
../openembedded-core/scripts/contrib/convert-overrides.py .
converting the metadata to use ":" as the override character instead of "_".
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
(cherry picked from commit 07a1a12d2487df6175da53644f645ed156e0ca06)
|
|
Related-to: ELB-3153
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
(cherry picked from commit 3964c2cfc63e0c3418a2d693b61c3dc95d55c8d2)
|
|
For low-end modules without GPU only show the QT analogclock. For TK1
also choose a different QT-demo.
Related-to: ELB-3153
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
(cherry picked from commit c79cc904871adae96d1c0d0743c5a2605cb25e20)
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
0.5 seconds is not enough in some cases. Wait a little bit longer
to avoid having the app restarted multiple times.
Related-to: ELB-2838
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
Related-to: ELB-2838
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
And limit the restart to once per second.
Related-to: ELB-2838
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
Related-to: ELB-2838
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
Related-to: ELB-2838
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
Related-to: ELB-2838
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
The desktop file has key 'MimeType' which mandates 'inhert mime-xdg'.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Related-to: ELB-1284
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Add the missing RDEPENDS.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
We want to choose different display managers for different image
recipes. Thus do not inject one through this packagegroup.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
The service expects the script to return (Type=forking). Change the script
so that the wayland app is started in the background.
While at it configure the service to restart the application.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
This tries to start a wayland application after weston got started.
Create a copy of wayland-terminal-launch_1.0.bb with the variables
changed according to your needs.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
RDEPENDS is set by bitbake to an empty string, so using ?= is pointless.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
This recipe starts xterm as the first X11 application.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Pull out common code so that the bb file only contains information about
the application which is to be started.
Rename the recipe so that one knows what is going to be started.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
The changes have been added upstream.
This reverts commit d568bc40cabdb27fb1948206b8d2f3f911f6e252.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Revert once 8382cdc0888ca645a44aacaac1155afb8dcde979 and
77c353cc9bdfbf1b6453b2579b72726db05eb69c are backported to rocko.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|