summaryrefslogtreecommitdiff
path: root/recipes-graphics
AgeCommit message (Collapse)Author
2025-02-19weston-init: Remove tdx overrideHiago De Franco
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)
2025-02-04qt5: Remove all recipes related to Qt 5 and set weston-simple-egl as default appHiago De Franco
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>
2025-02-04wayland-app-launch: Remove APPLICATION_ENVIRONMENT variableHiago De Franco
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>
2025-02-04weston-simple-egl-launch: add recipeHiago De Franco
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>
2024-10-18recipes-{graphics|gnome}: {gvfs|cogl}: drop recipesHiago De Franco
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)
2024-07-22recipes: remove OURFILEPATH/S workaroundsHiago De Franco
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>
2024-06-18patches: fix upstream-statusMax Krummenacher
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>
2024-05-31recipes: cope with moved directory for unpackMax Krummenacher
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>
2024-05-31gpicview: fix missing return valueMax Krummenacher
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>
2024-05-07rdesktop: remove x11 only toolMax Krummenacher
Remove the recipe. Related-to: ELB-5740 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2024-05-07vnc: remove x11/directfb only toolsMax Krummenacher
Remove the recipes. Related-to: ELB-5740 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2024-05-07x-window-simple-app: drop x11 app start scriptMax Krummenacher
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>
2024-05-07unclutter: remove recipe in favour of unclutter-xfixesMax Krummenacher
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>
2024-05-07recipes: remove recipe now available in other layersMax Krummenacher
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>
2023-11-29gpicview: allow building without xwaylandMax Krummenacher
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)
2022-12-07Revert "wayland-app-launch: do not restart on failure"Stefan Eichenberger
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>
2022-12-07wayland-app-launch: do not restart on failureStefan Eichenberger
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>
2022-12-07weston-init: shore up touch calibrator installationMing Liu
- 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>
2022-09-29wayland-app-launch: remove shell-scriptPhilippe Schenker
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>
2022-09-29wayland-app-launch: add xwayland_display env variablePhilippe Schenker
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>
2022-09-26weston-init: support weston touch calibrationMing Liu
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>
2022-08-16giblib: fix buildMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2022-08-16graphviz: remove outdated recipeMax Krummenacher
meta-openembedded contains a recipe which builds a newer version. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2022-08-16layer: change to https where possibleMax Krummenacher
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>
2022-08-08wayland-app-launch: Fix weston service nameFrancesco Dolcini
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>
2022-03-06layer: Update LICENSE variable to use SPDX license identifiersMax Krummenacher
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>
2022-01-17imxlib2: set branch name explicitelyMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-08-14layer: convert to new override syntaxMax Krummenacher
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>
2020-12-08wayland-app-launch: cinematicexperience: add correct dependenciesPhilippe Schenker
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com> (cherry picked from commit 07a1a12d2487df6175da53644f645ed156e0ca06)
2020-12-08wayland-app-launch: make initial path workingPhilippe Schenker
Related-to: ELB-3153 Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com> (cherry picked from commit 3964c2cfc63e0c3418a2d693b61c3dc95d55c8d2)
2020-12-08tdx-reference-multimedia-images: choose different qt demosPhilippe Schenker
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)
2020-10-18recipes: drop trailing / from path specifierMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-07-22wayland-app-launch: wait longer until application is startedPhilippe Schenker
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>
2020-07-22x-window-simple-app: add recipe for starting cinematicexperience demoPhilippe Schenker
Related-to: ELB-2838 Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2020-07-22wayland-app-launch: restart app only in case of a failurePhilippe Schenker
And limit the restart to once per second. Related-to: ELB-2838 Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2020-07-22wayland-app-launch: add recipe for qtdemo launchPhilippe Schenker
Related-to: ELB-2838 Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2020-07-22wayland-app-launch: add possibility to set environment for appPhilippe Schenker
Related-to: ELB-2838 Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2020-07-22wayland-app-launch: use new weston@root.service naming schemePhilippe Schenker
Related-to: ELB-2838 Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2020-02-13gpicview: inherit mime-xdgMax Krummenacher
The desktop file has key 'MimeType' which mandates 'inhert mime-xdg'. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-01-09gpicview: import from meta-lxdeMax Krummenacher
Related-to: ELB-1284 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-01-07mesa-demos: fix linker error against vivanteMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-07-11x-window-simple-app: rdepend on xserver-nodm-initMax Krummenacher
Add the missing RDEPENDS. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-06-21packagegroup-core-x11: don't rdepend on any display managerMax Krummenacher
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>
2019-06-11wayland-app-launch: fix service status detectionApalis-iMX8_Console-Image_3.0b1.40-20190612Max Krummenacher
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>
2019-05-29wayland-app-launch: add a simple systemd serviceMax Krummenacher
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>
2019-05-29x-window-simple-app: fix rdependsMax Krummenacher
RDEPENDS is set by bitbake to an empty string, so using ?= is pointless. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-05-22x-window-xterm: add recipeMax Krummenacher
This recipe starts xterm as the first X11 application. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-05-22x-window-simple-app: create common inc file and rename recipeMax Krummenacher
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>
2019-03-04Revert "recipes: update git.gnome.org address"Max Krummenacher
The changes have been added upstream. This reverts commit d568bc40cabdb27fb1948206b8d2f3f911f6e252. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2018-12-18recipes: update git.gnome.org addressMax Krummenacher
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>