summaryrefslogtreecommitdiffstats
path: root/meta-agl-profile-graphical/recipes-graphics
AgeCommit message (Collapse)AuthorFilesLines
2020-08-31Remove replaced windowmanager recipes and runxdgJan-Simon Möller2-32/+0
agl-service-windowmanager, libwindowmanager and qlibwindowmanager are deprecated. Runxdg is using these and no longer required. Also remove qtaglextras. Bug-AGL: SPEC-3555 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: I412035ea0e9694aad84aa2e8294b4d52f70f57e4 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25161 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>
2020-08-20meta-agl-profile-graphical: remove agl-desktop-configScott Murray3-41/+0
Remove recipe and usage, as it has not been needed for a long time and the user-weston-term systemd units cause spurious error messages. Bug-AGL: SPEC-3539 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I2b7bde5846f9900d8a249a7e355a3d0f1a5ea032 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25138 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-08-04recipes-graphics/wayland/agl-compositor: Bump SRCREV for agl-compositorMarius Vlad1-1/+1
Bumps the agl-compositor to the latest version. This update removes, from the default, allow-all policy, the private extensions bind tests, such that applications making use of those private extensions are free to bind to them. We'll need some better ways to corroborate/integrate with AFM to allow a dynamic way to communicate which applications can bind to those private extensions. On the other hand, for the deny-all policy, the permitted application list has been extended to include the cluster dashboard and the cluster receiver applications, and users can use that in practice if they require some mechanism in place to control which application can bind to the private extensions. In more detail, the changes are: - c7bc55dce459 layout: Add missing hooks for other surface roles - bf016d204089 layout: Advertise state change for other types of surface roles - 35f6733fb39b shell: Assume consistency with the desktop roles - 5fe16df23483 policy-*: Remove any private binding restrictions for allow-all policy Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I3c25af73a76404c87e09245fee04d0f3a2a48ad9 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25057 ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Scott Murray <scott.murray@konsulko.com>
2020-07-10recipes-graphics/wayland/agl-compositor_git: Add PACKAGECONFIG forMarius Vlad1-0/+2
deny-all policy Bug-AGL: SPEC-3432 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: Ib91bfe7056ad268f660243d3f859c9eb5f9fd1f4 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24928 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: Scott Murray <scott.murray@konsulko.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2020-07-10recipes-graphics/wayland/agl-compositor_git: Update SRCREVMarius Vlad1-1/+1
Another round of updates for agl-compositor. This update adds a deny-all policy engine, and adds checks in the allow-all policy as to use SMACK labels to check the clients binding to the agl_shell* interfaces. The allow-all policy is still in effect, with the deny-all policy being available to be used as a meson, compile option. A few minor corner cases fixes, found while testing out waylandsink. The update includes the following: - 39ea644837d desktop: Fix destruction of applications that fallback to the desktop role - faea097edab shell: Avoid checking against surfaces that do not have an app_id - 40da59d00a7 README: Add a few words about the deny-all policy engine - 572d0eac44f desktop: Allow desktop_api to handle surface removal - 03f51daf2fc policy: Add a deny-all policy as an example - ea317303ac4 policy-default: Use libsmack to check client label - bbf173123cd policy: Add a new policy hook to restrict access to private extensions - 9827cfd2557 desktop: Avoid referencing the output's surface for pending surfaces Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: Ibd67e06a60b18334d3c07c2f6c710b7e77201148 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24927 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: Scott Murray <scott.murray@konsulko.com>
2020-06-25agl-compositor: Update SRCREVMarius Vlad1-1/+1
Bump SRCREV to match latest master. This update includes the following changes: - 06773d6a doc: Added arch diagram - 03755785 README: move README.md to doc/ - 51be2ca7 layout: Clip the view to the size specified by width and height - 7854caac shell: Pass the bounding box values to the pop-up surface - 40d73940 agl-shell-desktop: Add the ability to pass width and height as area of the bounding box - 9701fd67 (review/marius_vlad/24652) shell: Advertise application_id event for other surface roles - c8d025cd (review/marius_vlad/24651) layout: Do not attempt to activate the surface on the remote output - 16826129 src: Mark surfaces with the 'remote' role if configuration file says so - 81be1de5 main: Do the installment of black surfaces for remote outputs as well - ba9b65aa shell: Add some extra checks to make sure we don't trip ourselves - a04518d8 main: Enable remote outputs later than local (DRM) outputs - 7536014f main, layout: Minor clean-ups and added some further logging - 9af06129 main: Retrieve the agl-shell-app-id from the config file - bafead57 main: Retrieve the transform and scale from config file - 9f2f83ea src: Create an ivi_output for the remote output - 22514079 src: Hold a reference for remoting_api in the ivi_compositor - b3c4f205 main: Add the ability to load the remote plugin - 7af3d376 desktop: Remove commiting code for the panel - b491db31 shell: Do not remove the black surface if we don't have a background set for that output - c6941d74 desktop: Display a black surface for apps being moved using config file - 9d29ef9f layout: Remove black surface when trying to use migrate views to other outputs - 8df7681a src/: Use agl-shell-app-id to set-up views on a different output - f235042e layout: Add a wrapper to print out the surface role - 5c90f163 src: Insert a black surface/remove it when the last remote surface role is present - f88d870a layout, desktop: Treat the remote surface role like the desktop one - 226f4ca4 layout: Remove the quirks as now we have the policy hooks in place to handle that - 978c7f8c src/: Add the remote surface role - 0e4d30b4 src/: Add all surface roles to a wrapper for retrieving the output - 496b4170 (sandbox/mvlad/split-wip-take2) layout: Do not attempt to activate a split or a fs surface - a9ae8d75 layout: Resize the active surface when doing the split - 831d1b21 layout: Allow to commit the fullscreen and split surface roles - a2d066f0 layout: Remove unused ivi_compositor reference - af2b5c21 shell: Determine the role type - edbfbad7 shell: Introduce fullscreen and split role type of a surface - f73edbcf desktop: Missing assert include - a2f9566b desktop: Handle correctly panel and bg removal of agl-shell unbind - 79420056 README.md: Add documentation details about agl-shell and agl-shell-desktop Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I67971d937e0348d31c2e47c70ebffe6127f96bbe Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24865 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2020-06-24Make the agl-compositor the default compositorJan-Simon Möller2-4/+9
This makes the agl-compositor the default starting with Jumping Jellyfish For development purposes, you have these variables at hand to influence the setup: AGL_DEFAULT_WESTONSTART AGL_DEFAULT_WM_SHELL Check your conf/local.conf for details. Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: Iceb35375e04f947009800b80511f6360026403fe
2020-05-26Cluster demo support updatesScott Murray3-34/+45
Changes include: - Add agl-weston-remoting feature that sets "weston-remoting" distro feature. The intent is to replace agl-gstrecorder in meta-agl-devel with something more generic. - Add weston remoting initialization timing patch to weston bbappend in meta-agl-profile-graphical, conditional on "weston-remoting" distro feature. - The 0004-unconditionally-include-mman.h.patch weston patch is no longer required after the SMACK labeling changes, remove it as cleanup. - Enable the weston "remoting" PACKAGECONFIG in weston bbappend, also conditional on "weston-remoting". A redefinition of the "remoting" PACKAGECONFIG option is required to fix a recipe bug that will have a fix sent upstream. - Rename virtualoutput.cfg weston.ini fragment to remote-output.cfg to better reflect its current contents. Bug-AGL: SPEC-3395 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I9c0579670d81296492b3b8bed93aafb3f7ffc15c Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24567 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-05-17weston-init: Use the same config file from westonMarius Vlad1-0/+1
Bug-AGL: SPEC-3374 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I1f3f78c8b15b1c488b12bff4fcc79c0511a48955
2020-05-14agl-compositor: Update SRCREV for libweston8 updateMarius Vlad1-1/+1
The following update adds support for libweston8, pop-up kind of dialogs, a few fixes and includes the following: - 1956bd3bfb0 main: Convert to using the logging/debuggging fraemwork - ac4e3581fb1 main: Add a (valid) return code when exiting - 61dea1841a4 main: We don't have weston-debug extension available - a7887be3ed9 meson.build: Add a meson variable to track libweston version - 35b1ed57d2a main: Subscribe to the logger scope - 6e60f22455c meson.build: Update build version - 25ede504313 policy-default: Install default for the state event notify - b4ae3794bc9 policy: Add another hook for controlling the application state change event - 401773a4639 protocol: agl-shell-desktop: Send notification for application state change - 795eb91d057 policy-default: Install default policy for deactivate request - ee9259703dc policy: Add a new policy hook for deactivating apps - 65f9de0a549 policy-default: Add the de-activate request to the default policy - d0b4585202c agl-shell-desktop: Add the ability to hide client windows - 410d47884ff layout: Save the pending output - ef3d1990c49 shell: Store the ivi compositor in the desktop_client - 5ce0b5d5200 layout, desktop: Implement the pop-up role - ab151e5d3d1 agl-shell-desktop: Allow to set role properties for the application - 63b6b6b1e14 shell: Display previously pending surface once the ready request was received - 225415dcbad meson.build: Increase agl-compositor version for libweston8 upgrade - f5141881d54 main: Update weston_compositor_add_log_scope to libweston8 - 79dacfa4f3d meson.build: Increase to libweston8 dependency - 457456edb3d main: Use bool for weston_config_section_get_bool() Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: Ifcc94efa9a84fb261330a43d7e22efda1bbde1ca
2020-05-12Add i.MX8MQ EVK supportScott Murray1-0/+0
Add imx8mqevk-viv machine template for i.MX8MQ EVK which uses the default Vivante driver configuration in meta-freescale with the new community linux-fslc-imx kernel. The following additional changes have been made to support this: - A linux-fslc-imx bbappend has been added to pull in the AGL kernel configuration, and a imx8mq-evkb config fragment has been added to enable the required Wifi driver for the updated EVKB board. - Stale qtbase and weston-init bbappends/patches have been removed from meta-agl-bsp/meta-freescale-layer. - The meta-agl-profile-graphical Weston 8.0.0 bbappend has been renamed to 8.0.% so the wildcard will apply it to meta-freescale's weston_8.0.0.imx recipe. Known issues: - The required PipeWire configuration for the onboard audio needs further investigation. Bug-AGL: SPEC-3258 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I4ea5437ef0ea8bedb9dd2157f2822ff25ee56cff
2020-05-12meta-agl-profile-graphical: add SMACK labelling for westonScott Murray5-103/+22
The initial patch to allow disabling memfd usage in weston has proven to be naive, as the v7 wayland seat resource changes in Weston 8.0.0 are dependent on them. To avoid needing to make more invasive changes such as forcing the seat resource version back to v6, drop the patch in favor of having Weston run under a System::Weston SMACK label and adding the rules required to have it work. As well, use-XDG_RUNTIMESHARE_DIR.patch and the associated service unit changes have been removed since they are not required now with explicit labelling in place. Bug-AGL: SPEC-3305, SPEC-3350 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I8aef287219a7f95992a82f4ec2ee8e1822ca4ce8
2020-04-27meta-agl-profile-graphical: disable memfd usage in westonScott Murray3-1/+84
The YP dunfell release's Weston 8.0.0 is the first version to switch to hard-coded usage of memfd's for its shared memory access if the memfd_create system call is available in libc. At the moment, this is problematic since accesses to the non-filesystem file descriptors get blocked by SMACK. For now, while a longer-term solution is worked out in SPEC-3305, patch Weston to allow disabling memfs usage at build time, and do so by using the option in our bbappend. Bug-AGL: SPEC-3302, SPEC-3305 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ie217c63cd4f43e3de1e802cb026c1ee2905bc5b7
2020-04-27meta-agl-profile-graphical: update weston for dunfellScott Murray3-49/+14
Rename weston bbappend, remove backported patch, and update a patch for weston 8.0.0 in dunfell. Bug-AGL: SPEC-3302 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I518bd403133c193e5f68ee89e69dfccc56d5c78d
2020-04-27meta-agl-profile-graphical: update wayland-ivi-extension for dunfellScott Murray1-1/+1
Update wayland-ivi-extension patch for weston 8.0.0 in dunfell. Bug-AGL: SPEC-3302 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I2d82203e33d87c49ea8ceadc225fcf3930aae20e
2020-04-27meta-agl-profile-graphical: update wayland for dunfellScott Murray3-43/+7
Remove backported patch now present in wayland 1.18.0 in dunfell, and update another patch to quiet patch fuzz QA warning. Bug-AGL: SPEC-3302 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I4ac5adfac6167cc96a755f07922c1c0721d0cb05
2020-04-20Update SRCREV for agl-compositorMarius Vlad1-2/+2
This brings up two major bits of functionality: the introduction of the agl-shell-desktop protocol, which should be used by regular application(s) to activate/switch other to other applications, and the introduction of the policy API and with it, a default allow-all kind of policy engine. In more details, the following changes have been included: - fcd71e034d378921e layout: Mark activated surface by default - 1ee1bff64338dede1 desktop: Remove the active surface only if matches the one being displayed - 0e66ee13b73e3ca21 meson.build: Increase the build version of agl-compositor - 721d4d4f73e5d30ce README.md: Start adding some light documentation on the policy part - 0a932bc7d66b062e6 layout: Allow by default to activate the application - 58a3fe5c292349916 policy-default: Install a default policy engine - 98457c49f5d777e40 policy: Init policy framework API - fe3358fa9b560a43e ivi-compositor: Use the helpers for array length - 6491e204fd4a9bd2d meson.build: Do another agl-compositor version bump - 72aa326d8f54ad75c meson.build: Install agl-shell-desktop extension - 786f91bd280b83049 protocol: Advertise the applications to regular clients - a35a7f2e5cc20bd40 protocol: Add agl-shell-desktop protocol This patch also installs the agl-shell-desktop XML file. Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: Icaec7e375242a0266383523806e5eca40d75b652
2020-04-06meta-agl-profile-graphical: update weston-ready's weston dependencyScott Murray1-2/+2
When I switched AGL over to using upstream OE's template unit scheme for running weston as non-root for the zeus upgrade, I missed the dependency in weston-ready.service, update it to weston@display.service to match the new configuration. Bug-AGL: SPEC-3309 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I0814ae0807bd8d9d6f27e9a0c2e1238f0e89ba7c
2020-03-11agl-compositor: Update SRCREV to use libweston7Marius Vlad1-1/+1
This includes the following changes (all of them related to the libweston7 upgrade): - dbba1adda7f meson.build: Increase version of the compositor - b352cee6f81 meson.build: Build X11 backend optionally - 93523a7f38b meson.build: Increase wayland-protocol version dependency - c769a272324 main: Add support for the logging context when creating the compositor instance - a17bac48464 meson.build: Upgrade build and headers to libweston7 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I94e5077c48eca76092306892d6e25e345eeda45e
2020-02-21Merge remote-tracking branch 'agl/next'Jan-Simon Möller35-1751/+140
* agl/next: meta-agl-bsp: Add CONFIG_LSM workaround for 5.1+ kernels meta-agl-profile-cluster-qt5: disable qtbase patches zeus updates for dragonboard-410c meta-security: activates dbus-cynagora recipes-graphics/wayland/weston: Expose weston_output_damage() meta-agl-profile-core: tweak udisks2 configuration for AGL meta-agl-bsp/meta-arago: update weston bbappend [RCAR] Update rcar driver weston 7 bsp 3.21.0 [RCAR] Update rcar driver weston 7 bsp 3.21.0 [RCAR] Split ADSP path for ulcb and ulcb-kf Fix nss-localuser post install meta-agl-bsp: meta-raspberrypi: handle zeus upgrade meta-agl-profile-core: add patch for systemd-udevd SECLABEL crash meta-security: disable dbus-cynara patches meta-agl-bsp: handle ptest-runner upgrade meta-agl-distro: Add inc file for next branch over-rides meta-agl-distro: BBMASK problematic upstream meta-security bbappend meta-agl-distro: prefer linux-yocto 4.19 LTS kernel meta-agl-profile-graphical-qt5: enable qt5location services meta-agl-profile-core: update most recipe meta-agl-profile-core: update neardal recipe Update base local.conf.sample meta-agl-profile-graphical: don't always build agl-compositor meta-agl-profile-graphical: update weston and weston-init meta-agl-profile-graphical: update wayland-ivi-extension for weston 7.0.0 meta-agl-distro: add polkit to DISTRO_FEATURES meta-agl-profile-core: update fontconfig bbappend meta-agl-profile-core: switch to udisks2 meta-security: handle systemd upgrade meta-agl-profile-graphical-qt5: handle qtwayland upgrade meta-agl-profile-core: handle freetype upgrade meta-agl-bsp meta-agl-profile-core: upgrade to opencv 4.x meta-agl-profile-core: update rtl-sdr recipe for zeus meta-security meta-app-framework: handle xmlsec1 upgrade meta-agl-profile-graphical: upgrade to gstreamer 1.16 meta-agl-profile-core: remove libmicrohttpd backport meta-agl-profile-core: remove backported curl and nghttp2 recipes meta-agl-profile-core: remove libnfc recipe meta-agl-profile-core: remove connman backport meta-agl-profile-graphical: remove weston 5.0.0 patches meta-agl-profile-core: remove old glibc patch meta-agl-bsp/meta-intel: remove linux-firmware_git.bbappend meta-agl-bsp: remove weston and wayland-protocols backports meta-app-framework: remove libzip recipe meta-security: remove keyutils recipe Declare layer compatibility with zeus Change-Id: Ie8ee1e37958279e7cf2d503c54ffacb46ba0c31c
2020-02-17agl-compositor: Update SRCREVMarius Vlad1-1/+1
Includes the following changes: - 357c5a034a89dc meson.build: Allow to install the private extension - 405a475fa64594 Update .gitreview file - ca5e2aec22cb7b meson.build: Allow to build/install locally - ed4a9b0d9c5937 meson.build: Enable Wextra and transform warning messages into errors - 191dc29c7d05d8 main: Avoid warning on un-initialized display - b43a012824af01 shell: Add a black surface in the fullscreen layer - 433edac095bb14 desktop: Remove the surface in all cases - ab2e660c891df7 desktop: Reset the active surface - f8457f6d62370f shell: Allow the client shell to unbind/rebind to agl-shell interface - 08ea4a2fec76b4 layout: Do not delay mapping of desktop surface until commit time - 3950b7e787c19b layout: Use the background's surface ivi_output when activating apps by default - ffd00ab3a05351 ivi-compositor: Add systemd notify message - 219a513fd959b8 shared: Add some regular helpers - e5027ce09a4440 layout: Force a repaint of the entire output - 0e47c84e348b65 layout: Print out when adding panels/background - 2d7243208d3e45 src/: Add basic support for app switching Change-Id: I366880b5fb5a09a23d9af26ea638ad5e1f14dafa Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
2020-02-16recipes-graphics/wayland/weston: Expose weston_output_damage()Marius Vlad2-0/+31
Seems that we can damage all the outputs, but not individual and output so patch libweston to include that declaration. The symbol's already exported. Bug-AGL: SPEC-3179 Change-Id: I6f765304c61d4ef288ebf015a131d9e138d50e97 Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
2020-02-14agl-compositor: Install agl-shell protocolMarius Vlad1-1/+1
As with 357c5a034a89 we now install the agl-shell protocol, so make yocto aware of it. Change-Id: I6976d9ebb86287305f45580a65a2c36b31f99488 Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
2020-01-27meta-agl-profile-graphical: update weston and weston-initScott Murray12-88/+92
Update weston and weston-init bbappends to handle weston 6.0.0 to 7.0.0 upgrade and other upstream changes: - weston 6.0.0 bbappend renamed for weston 7.0.0. - Wildcard weston_%.bbappend removed, as none of its changes are required with the latest upstream recipe. - Update weston patches for 7.0.0. Notable changes are that the patch to allow launching weston as a non-root user has been reworked for the switch to meson for weston builds, and the compositor backend patch for Waltham has been disabled until someone more familiar with the code can update it. - weston-init changes and udev rules updated to work with upstream support for running weston as non-root. The major rework is to simplify things such that all AGL configuration is done as an over-ride to the new upstream weston@.service file. The ability to specify which TTY to run weston on has been removed in favor of upstream's hard-coded tty7 as part of this change, to cut down on the amount of extra configuration required. Bug-AGL: SPEC-2932 Change-Id: I6f8b213bacb2de7526aa1a3c01b1482be78becef Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2020-01-22meta-agl-profile-graphical: update wayland-ivi-extension for weston 7.0.0Scott Murray3-3/+17
Tweak one patch to wayland-ivi-extension to handle switching from weston 6 to 7, and add another to handle the location of the plugin-registry.h header file having changed in weston 7. Bug-AGL: SPEC-2932 Change-Id: I6c861c593bbde24d4b18a88f1a42d87ac0450bfd Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2020-01-22meta-agl-profile-graphical: remove weston 5.0.0 patchesScott Murray19-1660/+0
Remove weston 5.0.0 patches and associated bbappend since there is no longer a weston 5.0.0 recipe in-tree to apply against. Bug-AGL: SPEC-2932 Change-Id: I033286c4214313b8cb665cdb8e0bf1d388cb696e Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2019-12-19libwindowmanager & libhomescreen: Handle hostname of remoteJosé Bollo2-2/+3
The remote can be different from localhost. This new versions allow to specify explicitely the host. Implicitely, it is still localhost. Bug-AGL: SPEC-3014 Change-Id: Id3b4e84801e17ba6c67f2df0d32b5f449cdcb841 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2019-12-17fix weston crash on h3+KF after first bootupVeeresh Kadasani2-205/+0
Bug-AGL: SPEC-2827 remove 0002-compositor-add-output-type-to-weston_output.patch this patch was ported from weston 2.0 transmitter fix which use to crash because of invalid member access. with weston 6.0 transmitter works fine without this patch so remove it to fix crash after first boot on h3+KF Change-Id: I607bec3bdfb5146af68d36d717d3305f5fd58998 Signed-off-by: Veeresh Kadasani <external.vkadasani@jp.adit-jv.com>
2019-12-17ivi-shell: Fix crash due no transmitter screenVeeresh Kadasani2-0/+265
Bug-AGL: SPEC-3056 Registered the events for the output_created, destroyed, resized events.So that the ivi_scrn can be destroyed, created dynamically during destroyed and created events. And the view properties are dynamically changed during resized/moved events. Change-Id: I136b66c9747412af1fa868cef8a061ef2ea624f7 Signed-off-by: Veeresh Kadasani <external.vkadasani@jp.adit-jv.com>
2019-11-26agl-compositor: Add DISTRO_FEATURE to enable compositorDaniel Stone1-1/+1
When the 'agl-compositor' distro feature is enabled, the AGL compositor will be enabled and start at boot instead of Weston. Change-Id: Idcd0c401c3d2c332637ddde1cd83d1fe85c4ae2a Signed-off-by: Daniel Stone <daniels@collabora.com>
2019-11-26graphics: Add agl-compositor recipeDaniel Stone1-0/+21
Add a recipe for the new AGL compositor and enable it when building the Weston package group. Change-Id: I3fe88370a4fc6a01b8ba8c3126a407cd9c39a842 Signed-off-by: Daniel Stone <daniels@collabora.com>
2019-11-26weston: Add patch to export more config-parser APIDaniel Stone2-0/+37
Used by the AGL compositor to implement configuration parsing. Change-Id: I30b207f23bbc252dfee30ddf90d84e02779b0395 Upstream: https://gitlab.freedesktop.org/wayland/weston/merge_requests/314 Signed-off-by: Daniel Stone <daniels@collabora.com>
2019-11-26libhomescreen: remove org.agl.statusbar.conf dbus policyMatt Ranostay2-24/+1
StatusBar dbus interface is deprecated and no longer actively used so remove dbus session policy. Bug-AGL: SPEC-2964 Change-Id: I7fc6dce12761ed81c59e4d96a0db95f748570e84 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-11-21Bump waltham-transmitter src revision.Veeresh Kadasani1-1/+1
* 8409a6d - output:fix seg fault in transmitter when weston terminates * e448fc5 - output:fix repaint func not to skip first buffer * 5287483 - output:don't push surface to remote if receiver not ready Change-Id: Iaf2004bc95bc59e2daf5e4954ea14139e9a3a6ac Signed-off-by: Veeresh Kadasani <external.vkadasani@jp.adit-jv.com>
2019-10-22weston: Disable output type patchScott Murray1-1/+2
Comment out 0002-compositor-add-output-type-to-weston_output.patch in weston bbappend for now to prevent crashes on H3ULCB v3.0 plus Kingfisher systems like the AGL demo setups. Bug-AGL: SPEC-2827 Change-Id: I2a56d7b510d7001b555821dcf37f0487eea1806c Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2019-10-11Bump waltham-transmitter src revision.Veeresh Kadasani1-4/+4
* b880c4b - waltham-renderer:change pipeline configure name * 2309102 - change output section name for transmitter Change-Id: I60b044ef12d7c47f940e359db36146fb2a6b8d4a Signed-off-by: Veeresh Kadasani <external.vkadasani@jp.adit-jv.com>
2019-10-01Bump waltham-transmitter src revision.Veeresh Kadasani1-5/+9
SPEC-2696 * 0fc0e97 - waltham-transmitter: Migrate to weston 6.0 Change-Id: I1155dc67c45ee6143a3198f198af55274041b13f Signed-off-by: Veeresh Kadasani <external.vkadasani@jp.adit-jv.com> (cherry picked from commit b278ddfbb42187ae9db0ec1910a3d17bebff18a9)
2019-09-16weston-init: Refactor, simplify, fixJosé Bollo7-64/+66
The recipe weston-init was setting smack labels of input devices to ^. This had the effect to enforce processes that wanted to read /dev/input/eventXX to have the Smack label System. I changed the label to * and keep the protection of groups. At the same time, a refactoring of the recipe make it cleaner to maintain. Bug-AGL: SPEC-2796 Change-Id: I3e2345d48a40b15254e68e25bbfcd9b22fcd8629 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2019-09-04wayland bug backport: Fix fake "Address already in use" errorZhou Mingying2-0/+36
Backport a bug modification to the wayland used by AGL, because the bug may effect the applications start error The bug modification detail is as bellow: In the current workflow, socket file will be deleted if it already exists. However, if the socket file is a symbolic link or the file that it refers to not exist, we will got "Address already in use", because bind() thinks the socket file exists and won't create it. Now, use lstat() to determine whether the socket file exists. Bug-AGL: SPEC-2783 Signed-off-by: Zhou Mingying <zhoumy@cn.fujitsu.com> Change-Id: Iff2c7abefa56104eef49ae7102ee8a1de796b813
2019-09-03fix drm-introduce-drm_get_dmafd_from_view.patchVeeresh Kadasani1-14/+22
Fix crashing transmitter when testing with weston 6.0 because of unregistered API. Bug-AGL: SPEC-2696 Change-Id: Ib7cc01a4305da9a656b933f295e745dd56131ff4 Signed-off-by: Veeresh Kadasani <external.vkadasani@jp.adit-jv.com>
2019-08-05Update waltham-transmitter patches to weston 5.0 & 6.0Veeresh Kadasani8-332/+647
Change-Id: Idedada02d63914f247a137d031e44b15bef16134 Signed-off-by: Veeresh Kadasani <external.vkadasani@jp.adit-jv.com>
2019-08-02wayland-ivi-extension: disable building EGLWLMockNavigation exampleScott Murray2-0/+23
Disable building the EGLWLMockNavigation in wayland-ivi-extension to avoid needing to patch it to build for the TI platforms. This fixes the issue of meta-agl-bsp/meta-ti breaking non-graphics profile builds like the telematics profile, and seems reasonable since there are no known users inside AGL. Since it is no longer needed, also remove the offending patch from meta-agl-bsp/meta-ti. Bug-AGL: SPEC-2677 Change-Id: If87c3c238e880d01f99401ea4610616656f16185 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2019-06-19Improve management of the group displayJosé Bollo1-0/+1
The group display protects accesses to display resources. When running as user, it should not be acquired by default but on need. Bug-AGL: SPEC-2006 Change-Id: I7c188720e5cfcb65f02af25d0e4262f59300d16a Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2019-06-14weston: Remove user session login for westonJosé Bollo1-0/+2
Before that commit, the service weston was started as user 'display' with a full setup of the user. It means that all services normally started for user started for weston: systemd-user, dbus, afm-user-daemon, lightmediascanner (that is all at the moment). This is useless and grabs resources. This commit avoids to start a session for weston. This saves resources. This changes is part of a set of changes to run services as not root. Bug-AGL: SPEC-545 Bug-AGL: SPEC-2492 Change-Id: If51d8fdf8c5e19d10151a2b96a79dc01bbb8ccb4 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2019-05-31Merge "Move hmi-framework and eg-virt from meta-agl-devel to meta-agl"Jan-Simon Moeller6-0/+100
2019-05-29Add weston 6.0.0 for WM and HS rewriteJan-Simon Möller2-1/+9
As requested for the WM and HS rewrite. Tested on m3, minnow, qemux86-64, rpi3. (cherry picked from commit fda5568cf4bc268088c9d1f925007d682bb7ef5d) Multiple commits to applied at once. Bug-AGL: SPEC-2444 Change-Id: I3f74b40213d4c4a65400a53fe9c57f52fe3b6096 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-05-23Move hmi-framework and eg-virt from meta-agl-devel to meta-aglJan-Simon Möller6-0/+100
Part of the layer cleanup. Bug-AGL: SPEC-2450 Change-Id: I0e0517c6f5aeaa1378715acde8adda6200119aba Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-05-20Remove legacy 'p' prefix in gerrit urlJan-Simon Möller1-1/+1
Bug-AGL: SPEC-2423 . Change-Id: If937e6b7891d5d697f5d25e8439b5811453ccb5d Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-04-04Upgrade to thudScott Murray16-320/+103
Changes include: - Add LAYERSERIES_COMPAT definitions to layer.conf files - Remove now unnecessary SECURITY_*FLAGS over-rides from distro configuration - Set intel-corei7-64 preferred kernel version to 4.19 to match latest linux-intel kernel available in meta-intel - Update qemuarm preferred kernel version to 4.18 to match latest linux-yocto - Update firmware package and devicetree file names for raspberrypi3 - Remove linux-firmware bbappend specific to raspberrypi, it seems no longer required and breaks the cross SDK build - Update linux-intel bbappend to 4.19, remove now unnecessary patch - Remove now unnecessary lttng-modules backport - Update linux-raspberrypi bbappend to 4.14 kernel - Added kernel configuration fragment for raspberrypi to disable Kprobes. This is required until linux-raspberrypi is updated to greater than 4.14.104 to avoid a build failure in lttng-modules related to a check for known breakage in the kernel CONFIG_OPTPROBES code. - Replace obsolete base_conditional usage with oe.utils.conditional - Add gstreamer1.0-plugins-bad bbappend for raspberrypi3 to disable faad PACKAGECONFIG to avoid commercial license issues - Remove unused and unbuildable Vayu gstreamer recipes - Update linux-ti-staging bbappend for new BSP kernel - Regen dcan2_pinmux_enable.patch for linux-ti-staging to remove fuzz warning, and remove upstreamed fix_dcan_addresses.patch - Remove ipumm-fw from meta-agl-bsp/meta-ti, as newer version is available in the upstream BSP - Update meta-agl-bsp/meta-ti weston patch to apply against 5.0.0 - Update meta-agl-bsp/meta-ti wayland-ivi-extension patch to apply against 2.2.0 - Add ti-sgx-ddk-km patch to add AGL toolchain configuration file - Remove now unnecessary fdtoverlay recipe - Update core.cfg and ivishell.cfg in weston-ini-conf recipe to handle move of ivi-controller.so configuration in Weston 5.0.0 - Update connman-ncurses patch to remove fuzz warning - Add installation of systemd over-ride file for run-postinsts.service in run-postinsts bbappend to workaround race condition between ldconfig.service and the /sbin/ldconfig invocations in the post-install scripts run by run-postinsts.service. The observed failure was cynara's post-install script failing and its database not being created. - Remove now unnecessary valgrind backport - Add patches to fix most driver compilation against newer kernels - Update libmicrohttpd bbappend - Remove libssp-dev from agl-image-graphical-qt5-crosssdk and agl-demo-platform-html5-crosssdk, upstream have removed it from non-mingw32 platform SDKs - Update wayland-ivi-extension recipe to build 2.2.0, and update local patches - Update weston patches for 5.0.0. Patches: 0016-ivi-shell_add_screen_remove_layer_api.patch 0017-ivi-shell-register-ivi_layout_interface.patch have been removed as they have been applied upstream and are no longer necessary. Patches: 0018-compositor-add-output-type-to-weston_output.patch 0019-compositor-drm-introduce-drm_get_dmafd_from_view.patch (both related to Waltham) have been disabled for now as they need significant rework. - Remove weston-conf RRECOMMENDS in weston bbappend to avoid conflict with weston-ini-conf - Add OECMAKE_GENERATOR = "Unix Makefiles" to aglwgt.bbclass to work around CMake+ninja issue in cmake-apps-module - Update dbus cynara patches for 1.12.10 - Add do_install_append in cynara recipe to remove /var/cynara from cynara package so the directory creation and labelling in the post-install scriptlet will function as intended - Remove now unnecessary e2fsprogs backport - Remove now unnecessary libcap-ng backport - Update pulseaudio patches to remove fuzz warnings - Update neardal patch to remove fuzz warning - Update freetype patch to remove fuzz warning - Rename opencv bbappend to 3.% to handle 3.x backports in upstream - Updated qtwayland patch to remove fuzz warning Changes from Stephane Desneux <stephane.desneux@iot.bzh>: - Remove wayland-ivi-extension PREFERRED_VERSION - Remove now unnecessary nativesdk-cmake patch - Remove now unnecessary ptest-runner patches - Remove now unnecessary harfbuzz patches - Disable waltham-transmitter as it does not build against weston 5.0.0 - Update af-main, cynara, and security-manager to use pkg_postinst_ontarget - Bump connman-ncurses revision to avoid deprecated ncurses functions - Update libva package usage with new intel-vaapi-driver name - Add patches to security-manager to fix compilation with gcc8 - Updated systemd bbappend Changes from Jan-Simon Möller <jsmoeller@linuxfoundation.org>: - Remove meta-agl-bsp/ROCKO.FIXMEs - Remove linux-yocto_4.12.bbappend and now unnecessary associated patch - Remove now unneeded kern-tools-native patch - Bump gstreamer PREFERRED_VERSIONs to 1.14.x - Remove latencytop from packagegroup-agl-core-devel, it has been dropped by upstream - Remove now unnecessary rpm patches - Update pulseaudio bbappend to 12.2 - Update opencv bbappend to 3.4 - Update freetype bbappend to 2.9.1 - Update dbus bbappend to 1.12.10 - Update weston bbappend to 5.0.0 - Update cynara patches to remove fuzz warnings - Add patch to cynara to fix compilation with gcc8 - Add xmlsec1 bbappend to clear EXTRA_OECONF to fix compilation on sumo or newer Changes from Ronan Le Martet <ronan.lemartet@iot.bzh>: - Update meta-rcar-gen3-adas layer gstreamer1.0-plugin-vspfilter bbappend to version 1.0.1 Known issues (marked with FIXME): - CMake+ninja issue in cmake-apps-module has been worked around with OECMAKE_GENERATOR - waltham-transmitter and the patches to weston related to it have been disabled - Currently unclear if patch to libcap-native is actually required or not Bug-AGL: SPEC-1837 Change-Id: I7b8b9ef667aec2d229952eace6663dfc761654d0 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2019-02-18weston-ivi-extension: add focus notification patchhupeng2-0/+29
Change-Id: Id9e5454ef0e006bff81f3392028b320db46785c4 Signed-off-by: hupeng <kohou.hu@gmail.com>