summaryrefslogtreecommitdiffstats
path: root/meta-agl-core/recipes-graphics
AgeCommit message (Collapse)AuthorFilesLines
2021-11-04Update github.com git:// SRC_URIsScott Murray1-1/+1
GitHub is dropping unauthenticated git protocol access in January 2022, per: https://github.blog/2021-09-01-improving-git-protocol-security-github/#no-more-unauthenticated-git While a workaround in the BitBake git fetcher is forthcoming, not specifying protocol=https for github.com git:// SRC_URIs will start resulting in warnings in Yocto 3.5/Kirkstone. To ease our upgrade path, go ahead and update our affected SRC_URIs. Note that this has been done by running the scripts/contrib/convert-srcuri.py script from latest poky, which also makes git branch specification explicit since the git fetcher is likely to require that in the future due to widespread switches from master to main branches. Bug-AGL: SPEC-4126 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I1b5003a79de5283f88bb51f2decadbabeaff8ed5 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26779 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> (cherry picked from commit abc4742a714cfc60a868c0912432a6f59fd41b77) Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26800
2021-09-06agl-compositor: Bump SRCREVMarius Vlad2-1/+9
This bumps up SRCREV to include 'compositor: Do not allow vt-switching by default'. Note this patch also includes - re-building libweston with headless backend as lamprey was cut after some of the changes made into agl-compositor and it those it requires having the headless backend installed - includes the libcompositor updates required to avoid QA build errors - compliance with weston ini configuration wrt to loading up systemd plugin. Bug-AGL: SPEC-4063 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I9abbb84895de2e37d814ff0485ae0d004982fc34 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26604 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2021-08-06recipes-graphics/wayland/weston-ini-conf: Add missing transmitter-outputMarius Vlad1-0/+1
Seems that re-shuffling of recipes missed out the transmitter-output file when using waltham-remoting (in AGL_FEATURES). Bug-AGL: SPEC-4047 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I589960eb13532cfaab66a6d32ca79a8628398563 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26553 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Kenji Hosokawa <khosokawa@jp.adit-jv.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> (cherry picked from commit ce21cba7432a434c359235be901fa0efb9c7b784) Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26526
2021-05-13agl-shell-activator_git: Add recipelamprey_11.91.0lamprey/11.91.011.91.0Marius Vlad1-0/+22
This adds the recipe for agl-activator/agl-shell-activator, a simple tool that switches (already started) applications. It assumes the first output, but can be enhanced to support use multi output if needed. Bug-AGL: SPEC-3817 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I32f8bb246d75591cd7fc4f7d4b4047ee2b8f1b09 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26348 ci-image-build: Jenkins Job builder account Tested-by: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2021-04-30meta-agl-core/recipes-graphics/wayland: Do not export seat related functionsMarius Vlad1-1/+3
We're only using the seat initialization parts for waltham-transmitter-plugin so add them only there. So far there's only a user for it (the transmitter-plugin) so it is easier to just build it conditionally for now. Bug-AGL: SPEC-3879 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I3af5578c319c361babf3fc5497517f2b075a4271 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26244 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2021-04-26recipes-graphics/wayland/weston_8.0_aglcore: Remove unneeded patchMarius Vlad2-31/+0
With the last SRCREV bump for agl-compositor we no longer need the patch that made a private function, public. Bug-AGL: SPEC-3641 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I3f58f88b8b33fad5eff1812112acef00306f1cb5 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26279 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2021-04-26recipes-graphics/wayland/agl-compositor: SRCREV bumpMarius Vlad1-1/+1
The major change in this bump, besides some smaller fixes, is that the compositor would send to the client (before attaching a buffer to a surface) the initial surface dimensions, thus not needing any resizing code for the client to handle, making this a nice optimization to have to in. Obviously, this happens only for regular clients, w/ the client shell, still required to handle the resizing of its buffers. With this bump we also remove an external dependency patch (which should come as a follow-up to this) and increase the compositor version. In detail the following changes have been added: - 68d184f9d541a47 meson.build: Do a release update before libweston9 integration - 483d363b9e724a0 layout: Remove weston_output_damage dependecy - e35c7858a788b46 layout: Fix split role sending invalid dimensions - 80febb3fbcebe88 desktop: Tell clients to use current geometry area from start - 46e2d5e441dfb9f desktop: Send remove event only if output and app_id is set - d85915199c8a321 Notify about application destruction - fd860492da6fb07 Allow unregistered applications in rba Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: Iaed23aae27695db51260b7b04e3d9e0a5a053aa2 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26278 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2021-03-01meta-agl-core: fix S definition in waltham-transmitter-pluginScott Murray1-1/+1
Bitbake now warns if the path in the S variable definition has a trailing '/', remove it. Bug-AGL: SPEC-3819 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ib1f24e03a0878b895b3bd08d2579b0e7b379a2b2 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26095 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2021-02-05agl-compositor: Bump SRCREVMarius Vlad1-1/+1
This update is needed to allow unregistered/unknown applications in/to the RBAModel json to be displayed. By default no application would be allowed. This can be tweaked by modifying the weston.ini file. By default it is off/not set. In detail this update includes the following the changes: - fd860492da6fb07f Allow unregistered applications in rba - 47386558dbc95387 Use parameterized constructor of RBAArbitrator - 79bc7999332d55b7 Update architecture diagram with a small legend Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I6249fd934868b6c064cf9f183e3db5282ffdc2bf Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26024 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2021-02-05meta-agl-core: Update weston-ini-conf landscape supportScott Murray3-2/+30
Rework to change the weston-ini-conf-landscape configuration to be no rotation, and add a new weston-ini-conf-landscape-inverted configuration with the 180 degree rotation that was being used as landscape before for the cluster demo (which has an inverted screen installation). Bug-AGL: SPEC-3791 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ia5179b26b30b484157e4d911ee07fe08f02415d8 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25993 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2021-02-05RBAModel: Added unknown_app content_idAnusha Gugale1-0/+20
Bug-AGL: SPEC-3738 Change-Id: I7b501696bdb7ec13abe67d07c0c29128d0068ee3 Signed-off-by: Anusha Gugale <external.agogale@jp.adit-jv.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25935 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Marius Vlad <marius.vlad@collabora.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2021-01-26change SRCREV of librbaAnusha Gugale1-1/+1
- To hide unnecessary internal interfaces from user, reconstructed public files of librba. - Removed installation of internal header files. Bug-AGL: SPEC-3738 Change-Id: If54a4601b65b04fedb93712906a12f78d75dd2e8 Signed-off-by: Anusha Gugale <external.agogale@jp.adit-jv.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25934 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
2021-01-22agl-compositor_git: Enable loading waltham-transmitter-pluginMarius Vlad1-1/+3
The build system is able to determine if it can build support for loading the plug-in when waltham depedency is satified. We add that based on AGL_FEATURES. Bug-AGL: SPEC-3601 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: Id7279fddc12c78472ae22a480626106a00ea30db Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25699 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2021-01-22waltham-transmitter-plugin: Add waltham-transmitter plug-in recipeMarius Vlad2-34/+17
And remove waltham-transmitter_git recipe. v6 (mvlad): plain rebase to new folder structure (actually remove waltham-transmitter_git recipe). v5 (jsmoeller): plain rebase to new folder structure Bug-AGL: SPEC-3601 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: Ie18f1c8b91e5d7a222d38b2e451de6d045c1e3bd Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25455 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2021-01-22wayland/weston-ini-conf: Add transmitter-output ini sectionMarius Vlad3-0/+7
And with it, build remoting plug-in when weston-waltham-remoting AGL feature is set. agl-compositor will use the remoting plug-in to create a remote output so we need the remoting plug-in built as well as weston-remoting distro feature. v8 (mvlad): plain rebase to new folder structure, use AGL_FEATURES instead of DISTRO_FEATURES v7 (mvlad): plain rebase to new folder structure v6 (jsmoeller): plain rebase to new folder structure Bug-AGL: SPEC-3601 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: Idf591e3f6954bdaafe917e5ceb93fde134dde8db Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25454 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2021-01-13agl-compositor: include runtime dependencies in PACKAGECONFIG for policy-rbaJan-Simon Moeller1-1/+1
Update the PACKAGECONFIG line to include run time dependencies next to the compile time dependencies. Without these there is not policy file in the image leading to: [14:54:42.539] Sending ready to systemd [14:54:43.126] Unable to find /etc/rba/RBAModel.json file!! [14:54:43.126] libwayland: error in client communication (pid 851) [14:54:43.244] Unable to find /etc/rba/RBAModel.json file!! [14:54:43.244] libwayland: error in client communication (pid 837) Bug-AGL: SPEC-3738 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I95052f51c24957c89aaa8da4385b7bf878eebf03 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25903 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
2021-01-12agl-compositor: Bump SRCREV for agl-compositorMarius Vlad1-1/+1
Bumps agl-compositor to latest changes to include support for RBA (role base arbitration policy) and make screenshoting debug feature a bit easier. - e1e8c07e202ffc Added rba policy implementation - 838efcb58cbe08 meson.build: Fix building with cross SDK - c5d2c447df7c07 main: Add activate_by_default ini option Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I6935daa51730a34dcc1bce8705409d7f6e96264b Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25890 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2021-01-12agl-compositor: added option to build rba policyAnusha Gugale1-0/+2
- Changes related to install specific file of rba, add PACKAGECONFIG option for rba policy. Bug-AGL: SPEC-3738 Signed-off-by: Anusha Gugale <external.agogale@jp.adit-jv.com> Change-Id: If9697fce3be8c238c363558fddec53bff5da8df6 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25845 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2021-01-12meta-agl-core: add recipe for librba and rba-configAnusha Gugale3-0/+339
- Required for agl-compositor rba policy - RBAModel.json will be install using rba-config recipe file Bug-AGL: SPEC-3738 Signed-off-by: Anusha Gugale <external.agogale@jp.adit-jv.com> Change-Id: I05244dcceb8f0ba56865ce1edf1563b90bdfbae3 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25821 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2021-01-12meta-agl-core: Revise weston-ini-conf mechanismScott Murray8-61/+109
The recent layer reorganization broke the landscape vs portrait scheme based on bbappend'ing the weston-ini-conf recipe in the previous cluster and html5 demo layers. To fix this and to facilitate being able to easily build the mix of demo platform images, the weston.ini generation mechanism in the weston-ini-conf has been revised to build multiple packages. Instead of relying on SRC_URI to install weston.ini fragments into WORKDIR and grabbing all of them with a *.cfg glob, an explicit list built from new WESTON_FRAGMENTS and WESTON_DISPLAYS variables is used. The fragments listed in WESTON_FRAGMENTS are used to generate both weston-ini-conf and weston-ini-conf-landscape packages containing uniquely named files (weston.ini.default and weston.ini.landscape, respectively), and the OE update-alternatives mechanism is used to have weston.ini point at the appropriate file on installation. For now, the two packages are explicitly marked as incompatible with one another, but this could be tweaked in the future if switching between them on target is desired. Additional notes: - A RPROVIDES of "weston-ini" has been defined for the weston-ini-conf packages and a RDEPENDS on it added to weston-init. This should allow members to drop in a complete alternative solution while still having a dependency chain. - The various meta-agl-bsp bbappends of weston-ini-conf have for the most part been updated to yield the same behavior as before, though with an eye towards using machine overrides to ease multiconfig usage down the road. This includes the currently unused Raspberry Pi touchscreen support, which has been left since it may still see use. - An exception to the above, however, is that the support for the touchscreen on the dra7 EVM has been removed, as upstream dropped the support for the screen on the available test hardware and at present it only seems feasible to support external HDMI monitors. - The unused fbdev fragment used to support meta-freescale in the past has been removed. - The virtual and virtual-landscape fragments have been renamed to virtual-270 and virtual-0 to better indicate the orientation and match the naming used for the other fragments. It is likely that future work will need to split the display enabling and orientation aspects, as the current tying together of the two results in configurations somewhat overly specific to the actual AGL demo systems. Bug-AGL: SPEC-3745 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I2a968781182a346c1d483cca4fd7337679e58118 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25860 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2020-12-17SPEC-3723: restructure meta-aglJan-Simon Moeller23-0/+582
Goal is to reach a minimal meta-agl-core as base for IVI and IC work at the same time. Trim dependencies and move most 'demo' related recipes to meta-agl-demo. v2: changed to bbapend + .inc , added description v3: testbuild of all images v4: restore -test packagegroup and -qa images, compare manifests and adapt packagegroups. v5: rebased v6: merged meta-agl-distro into meta-agl-core, due to dependency on meta-oe, moved -test packagegroup and -qa images to own layer meta-agl-core-test v7: Fixed comments from Paul Barker v8: Update the markdown files v9: restore wayland/weston/agl-compositor recipes/appends, reworked to move app f/w specific changes to bbappends in meta-app-framework and only demo specific weston-init changes to meta-agl-demo v10: fix s/agldemo/aglcore/ missed in weston-init.bbappend Description: This patch is part 1 out of 2 large patches that implement the layer rework discussed during the previous workshop. Essentially meta-agl-core is the small but versatile new core layer of AGL serving as basis for the work done by the IC and IVI EGs. All demo related work is moved to meta-agl-demo in the 2nd patchset. This should be applied together as atomic change. The resulting meta-agl/* follows these guidelines: - only bsp adaptations in meta-agl-bsp - remove the agl-profile-* layers for simplicity -- the packagegroup-agl(-profile)-graphical and so on have been kept in meta-agl-demo - meta-agl-profile-core is now meta-agl-core - meta-agl-core does pass yocto-check-layer -- therefore use the bbappend + conditional + .inc file construct found in meta-virtualization - meta-agl/meta-security has been merged into meta-agl/meta-app-framework - meta-netboot does pass yocto-check-layer - meta-pipewire does pass yocto-check-layer Migration: All packagegroups are preserved but they're now enabled by 'agl-demo'. Bug-AGL: SPEC-3723 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ia6c6e5e6ce2b4ffa69ea94959cdc57c310ba7c53 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25769