aboutsummaryrefslogtreecommitdiffstats
path: root/meta-agl-profile-graphical
AgeCommit message (Collapse)AuthorFilesLines
2019-06-23Move the agl-service-radio to the graphical profileJan-Simon Möller6-1/+45
The agl-service-radio relies on gstreamer. Unfortunately the gstreamer recipe is currently setup to also pull-in wayland (due to a compile-flag if wayland is in DISTRO_FEATURES). To keep the distro aligned, we don't want to change the DISTRO_FEATURES between the profiles, thus we move the agl-service radio to the graphical profile where we include weston anyway by default. For now this means there is no radio service (or mediaplayer service) w/o wayland installed as well. In case we get this requirement, we'll have to work on the gstreamer recipe and its split. v2: fix bbapend in meta-agl-bsp/meta-rcar-gen3 v3: put packagegroup-agl-graphical-multimedia.bbappend in graphical profile (not the best place IMHO) This fixes the non-graphical build. Bug-AGL: SPEC-2500 Change-Id: I5ebec7d7713510f3fcd50ae425d7f8cbb6328016 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-06-20recipes-apis: agl-service-windowmanager: update SRCREVRaquel Medina1-1/+1
* LayerControl: return error if surface is not ready Bug-AGL: SPEC-2291 Change-Id: Iac8596fdb2aeac29c9bb47db906abad4d2498fc8 Signed-off-by: Raquel Medina <raquel.medina@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-06-10agl-service-mediaplayer: update recipe for pipewireGeorge Kiagiadakis1-2/+0
Only pipewire is supported now, therefore we don't need the switches Bug-AGL: SPEC-2473 Change-Id: Ia8e40556ae7f11483ebee54ed2926ae8e6878ebf Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
2019-05-31Merge "Move hmi-framework and eg-virt from meta-agl-devel to meta-agl"Jan-Simon Moeller9-0/+151
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-27Revert "Add gst-record argument to weston option"Harunobu Kurokawa1-1/+1
Bug-AGL : SPEC-2420 This reverts commit b4cd3148e509f566b1a28a02a5f1032ad48aad8c. After weston 6.0 or later, remoting plugin is used instead of current gst-record. The argumant "--gst-record" is not necessary. Change-Id: I580c2acb63a86b2780f0b1b0ba4b4cb357669f39 Signed-off-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com>
2019-05-23Move hmi-framework and eg-virt from meta-agl-devel to meta-aglJan-Simon Möller9-0/+151
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 Murray18-321/+107
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-03-07agl-login-manager: Move to meta-agl-profile-coreScott Murray1-19/+0
Move agl-login-manager recipe to meta-agl-profile-core layer from meta-agl-profile-graphical to make it available for non-graphical profiles, e.g. the telematics profile. Change-Id: Ic3c875bb499f781ea2c0d48558cba6cf4cc704c3 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>
2019-02-18weston-ready: increase verbosityStephane Desneux1-0/+7
This patch adds some log output to know when weston is ready or when a timeout is reached. Change-Id: I217aa26a0b9d3b46e73dc55bef8dbc3e673c53c4 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2019-01-28agl-image-weston: fix incorrect packagegroup nameStephane Desneux1-1/+1
Bug-AGL: SPEC-2145 Change-Id: I8b098f464b50eda76b1ceb0c3d752a8a5377f0c7 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2019-01-16Add TaskManager serviceVitaly Wool1-0/+19
Add TaskManager service to recipes-apis. Change-Id: I58f67af6117f98cd802e7c6f7f863450ad46504f Signed-off-by: Vitaly Wool <vitaly.wool@konsulko.com>
2018-12-20weston: add weston-readyScott Murray6-1/+103
Weston seems to take variable amounts of time to initialize on startup depending on configuration (e.g. gst-record feature being enabled for cluster support). To avoid windowmanager and its dependencies failing, patch LayerManagerControl so that errors can be detected; then use it in a new script, weston-ready, to detect if Weston is functional. A corresponding systemd service unit is also added so that things can use it in their dependencies. Change-Id: I5711e7f9d9a891e1c7a160b5d65711bd6e7fee03 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2018-12-20Update weston-ivi-extensionScott Murray14-871/+646
The version of weston-ivi-extension that was added to the meta-agl-profile-graphical layer in commit 7b56b77 (a cherry-pick from flounder) missed some updates that were made to the copy in meta-agl-demo in master after flounder was branched. Update the patches and recipe to match the current version from meta-agl-demo so the latter can be removed. Bug-AGL: SPEC-1730 Change-Id: I8ee2e68679a74b5dbc994ff977c11fa78e9c75b2 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2018-12-18weston: Create really shared filesJosé Bollo3-0/+56
Last time it was discussed, this patch was not upstreamable. But it is needed for a reason that still have to be investigated. Nevertheless the patch is enough simple to be maintained while waiting for the full investigation/resolution. Change-Id: I47b17c7aa9ca5c495267259a15caacef50b4b324 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2018-12-10Tweak agl-profile-graphical packagegroupsScott Murray2-7/+5
To more easily allow using Weston in profiles derived from agl-profile-graphical, rename packagegroup-agl-image-weston to packagegroup-agl-graphical-weston and tweak the definitions of it and packagegroup-agl-profile-graphical so that non-Weston related packages are only included via from packagegroup-agl-profile-graphical. The contents of agl-image-weston and agl-demo-platform remain unchanged after these changes. Bug-AGL: SPEC-1730 Change-Id: I4915bb896cc11ea49103400795a65c92b5889110 Signed-off-by: Scott Murray <scott.murray@konsulko.com> (cherry picked from commit 4f7222e10cbe09ea3231eab912857fc7ba9d1c12)
2018-12-07Add weston-ivi-extension to meta-agl-profile-graphicalScott Murray12-0/+915
Add weston-ivi-extension recipe files removed from meta-agl-demo repository to meta-agl-profile-graphical layer. This allows using weston-ivi-extension in images other than agl-demo-platform. Bug-AGL: SPEC-1730 Change-Id: I08a6101484ac52fc2530b61390b7bd0b1bfa8f80 Signed-off-by: Scott Murray <scott.murray@konsulko.com> (cherry picked from commit 160b986d4afcccc47ee5e1c73ff4a57d6e341776)
2018-11-30Bump waltham-transmitter src revision.Naoko Tanibata1-1/+1
* b84f948 - transmitter: Avoid multiple module load error * 8d837e2 - transmitter: Fix the return value of transmitter_output_enable Change-Id: I36648b7ec4a39620a6e67f7ac717e27a2b1cc4f8 Signed-off-by: Naoko Tanibata <tnaoko@jp.adit-jv.com>
2018-11-13meta-agl: introduce transmitter plugin to westonNaoko Tanibata7-0/+554
The waltham-transmitter is the plugin of weston to enable client apps to share its surface between multiple domains. v2 (jsmoeller): rebased to new layer structure v3 (jsmoeller): squashed with previous commit v4 (jsmoeller): merge with https://gerrit.automotivelinux.org/gerrit/#/c/16187 to keep addition together in one patch v5 (jsmoeller): remove unneeded file v6 (jsmoeller): merge with https://gerrit.automotivelinux.org/gerrit/#/c/17223/ to keep addition together in one patch (cherry picked from commit d3ebc4bf2eb0331226ef4eac79aaacd520ee5a60) v7 (jsmoeller): After discussions during the integration session: - fix hardcoded lib64 in source code - reduce package to just transmitter (render is part of the transmitter) - include waltham-transmitter in packagegroup (might not be final place) v8 (tnaoko) : add missing dependency plugins. Change-Id: I7e607ed183f147fc0078bef54639207cfca80c6e Signed-off-by: Wataru Mizuno <wmizuno@jp.adit-jv.com> Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Signed-off-by: Naoko Tanibata <tnaoko@jp.adit-jv.com>
2018-11-12agl-service-mediaplayer: add agl-service-bluetooth to RDEPENDSMatt Ranostay1-1/+1
To allow mediaplayer bindings to directly get AVRCP metadata and control access require the agl-service-bluetooth at runtime. Change-Id: Iab03d8c9c8c8400c4c4130ff1999b9662aac4c93 Bug-AGL: SPEC-1630 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-09-09profile-graphical: agl-service-mediaplayer: add agl-audio-4a-framework ↵Matt Ranostay1-0/+2
DISTRO_FEATURES check EXTRA_OECMAKE needs to set a flag if 4A is enabled to playback audio via the 'multimedia' role via gstreamer. Bug-AGL: SPEC-1705 Change-Id: Iabdc8c4d623e2a0df312c0b6e036781a68a33647 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-08-28wayland: Remove unrecognised option "--enable-ivi-shell"Leon Anavi1-1/+0
Remove the unrecognised option "--enable-ivi-shell" from wayland_%.bbappend and get rid of the following warnings while building AGL: WARNING: wayland-native-1.13.0-r0 do_configure: QA Issue: wayland-native: configure was passed unrecognised options: --enable-ivi-shell [unknown-configure-option] WARNING: wayland-1.13.0-r0 do_configure: QA Issue: wayland: configure was passed unrecognised options: --enable-ivi-shell [unknown-configure-option] Bug-AGL: SPEC-1703 Change-Id: I9532aef824e3e4780894f7ffc66c3701449a9513 Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2018-07-24Enable weston to use systemd notifyTadao Tanikawa2-0/+3
Enable weston to use systemd notify to reduce causes of race condition between window manager and homescreen. Bug-AGL: SPEC-1471 Change-Id: I6431b5d52f38b982f6691b2961938664cc4f0544 Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2018-05-313rd part of the layer/profile rework [1/2]Jan-Simon Möller29-737/+76
This is the last larger commit in this series and deals with the graphical part. We introduce the graphical profiles: - meta-agl-profile-graphical -- meta-agl-profile-graphical-html5 -- meta-agl-profile-graphical-qt5 Notable changes: - weston-ini-conf moved to the meta-agl-bsp layer. Most BSPs have bbappends, so we need to have the recipes present (but unused) even in the console images. - new image: agl-image-boot = terminal-only + network + package-manaager. Ready for using package-feeds - new image/sdk: agl-image-minimal-crosssdk - agl-service-mediaplayer has a dependency on weston, thus it cannot be in the 'core'. Moved it to profile-graphical. - The wayland-ivi-extension moved to the agl-demo-platform. - The app-framework layer included and pulled 'web-runtime' as dependency. This broke console-only images. This has been moved to be in meta-agl-demo only for now. - added and massaged the agl-features. - found and added a useful script 'oe-depends-dot' that helps to work with the dot files (produced with bitbake -g) Todo: - we'll need another pass through the packagegroups. The dependencies for the layers/profiles are now sorted-out but we might have to add/shuffle a few packages. For further details, see meta-agl/docs/profiles.md. v2: fix meta-agl/meta-security/conf/layer.conf - the immediate expansion previously used in there caused some recipes not being added to BBFILES. v3: fix packagegroup renaming (packagegroup-agl-devel -> packagegroup-agl-core-devel) v4: fix missing packagegroup inclusion (tnx Jose, Scott, Stephane) v5: fix missing packagegroup inclusion v6: explicitely put profile-graphical-qt5 on-top of profile-graphical v7: re-add 'procps' when agl-devel feature is on Bug-AGL: SPEC-145 Change-Id: I24cdcd1118932758d0c55d333338238f2a770877 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-05-08Merge "agl-login-manager: Clean dependency"Jan-Simon Moeller1-2/+0
2018-04-282nd part of the layer/profile rework [1/2]Jan-Simon Möller7-0/+144
Main goal of this is to move the agl-service-* bindings into the core and to unify common recipes like wayland/weston into meta-agl-profile-graphical. As a placeholder for recipes is meta-agl-profile-demo which are being reshuffled. TLDR: agl-service move to meta-agl-profile-core. wayland/weston moves to meta-agl-profile-graphical. This patchset needs the 2nd patchset of the series to build (meta-agl-demo). Bug-AGL: SPEC-145 , SPEC-876 , SPEC-877 v2: rebase including udiscs patches from meta-agl-demo Change-Id: I5e33f72d01707fa8b826d382bccaca3addcbbc47 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-04-24agl-login-manager: Clean dependencyJosé Bollo1-2/+0
The inherit agl-graphical is not needed here. Bug-AGL: SPEC-1396 Change-Id: I96c15129da6930754cc5d22b5fa56875da09636d Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2018-04-20Introduce meta-agl-profile-core and meta-agl-profile-graphicsJan-Simon Möller48-0/+2219
Rework towards agl profiles. This change is part of a series of changes to create the AGL profiles. This set will mainly introduce the 'core' profile. It is setup to be a drop-in change, thus some files were kept in (dummy) locations for now. However, they'll be taken care of in the next changes in this series. The main target of the meta-agl-profile-core layer is to host: - a minimal, bootable image with network and package management enabled -- agl-image-boot - a minimal image with network and packagemanagement and the AGL APIs -- agl-image-minimal The layer meta-agl-profile-graphical is used as superset of these and includes support for egl+wayland+weston. All recipes concerning graphics were moved there. This is not a full profile as we still have to migrate some parts of meta-agl-demo in a follow-up changeset. The roadmap as discussed during the F2F session in Karlsruhe is: - week 16 : core profile and profiles w/o graphics - week 17 : graphical profiles - week 18 : final conversion of the demo image v2: moved agl-login-manager from -graphics to -core (see Jose's comment) v3: moved back after discussion - follow-up in separate changeset Change-Id: Idacb0d1274baac1f63f8d1b850d4b1104ac33918 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>