summaryrefslogtreecommitdiffstats
path: root/meta-agl/recipes-graphics/wayland/weston
AgeCommit message (Collapse)AuthorFilesLines
2018-04-20Introduce meta-agl-profile-core and meta-agl-profile-graphicsJan-Simon Möller17-1349/+0
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>
2017-11-27Added XDG compatibility to ivi-shellRomain Forlot16-0/+1303
Backported M.Teyfel patch from wayland-devel mailing list: https://lists.freedesktop.org/archives/wayland-devel/2017-November/035700.html Upgrade wayland-ivi-extension to v2.0.2 but keep using 1.1x for now with PREFERRED_VERSION until HMI could use the new version. Added Emre Ucan simple-id-agent to review. Bug-AGL: SPEC-1096 Change-Id: I74c4ae0bf0bf822e27dcbb193dc9f7a13d3e270d Signed-off-by: Romain Forlot <romain.forlot@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11991 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Nobuhiko Tanibata <nobuhiko_tanibata@denso.co.jp> Reviewed-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-10-14weston: Set require-input to false in weston.iniLeon Anavi1-27/+0
Revert the previous fix for launching Weston 2.0 without input devices and achieve the same result by setting the directive require-input to false in the configuration file weston.ini. This is a new feature which has been introduced in Weston since version 2.0. Bug-AGL: SPEC-936 Change-Id: I65ccc0d9942d86420cd801f571ccbefe58812796 Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11301 Reviewed-by: Matt Ranostay <matt.ranostay@konsulko.com> Reviewed-by: José Bollo <jobol@nonadev.net> Reviewed-by: Thomas Rini <trini@konsulko.com> Reviewed-by: Matt Porter <mporter@konsulko.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> 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>
2017-10-11weston: Launch even without input devicesLeon Anavi1-0/+27
Fix the recurring bug and launch Weston 2.0 even if there are no input devices such a keyboard or a mouse. Bug-AGL: SPEC-936 Change-Id: I9c92ce7762626fd5df40224b53317c1239a4bd6f Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11203 Reviewed-by: Thomas Rini <trini@konsulko.com> Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Changhyeok Bae <changhyeok.bae@gmail.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-09-08Upgrade to pyroChanghyeok Bae2-41/+13
u-boot: v2017.01 dlt-daemon: Remove gzipnative inheritance - gzipnative.bbclass is removed in pyro branch. - See ab0f46400c113c0d893be872727a67739d5e794d in poky. gpm: Remove bbappend file - upstream(meta-openembedded) is using git(v1.99.7) and this is not required anymore. gnutls: Remove bbappend file - The patch is already applied in upstream. agl-image-minimal: Remove ROOTFS_PKGMANAGE_BOOTSTRAP - ROOTFS_PKGMANAGE_BOOTSTRAP is removed in upstream. - Please see 529244ee212fe14019e35a5f163fab705ddbf141 in poky. freetype: Change hash value for v2.7.1 binary shadow: Remove shadow_%.bbappend - It's already applied upstream poky. Remove nativesdk-packagegroup-sdk-host.bbappend - It's already applied in upstream poky. faac: Remove bbappend file - It's already applied meta-openembedded upstream. pulseaudio: Change bbappend naming - Upstream yocto provides pulseaudio v10.0. weston: re-create patch to apply new version (v2.0.0) - Remove 0001-compositor-drm.c-Launch-without-input-devices.patch because it's already applied in new version. mesa: Remove 12.0.3 recipe and fix build error for qemux86-64 - Yocto upstream supports 17.0.2 and v12.0.3 is not required anymore in raspberrypi - Error: | configure: error: --enable-gallium-llvm selected but llvm-config is not found wayland-ivi-extension: Upgrade to latest master version - Due to weston upgrade, wayland-ivi-extension should be upgraded. packagegroup-ivi-common-core-multimedia: Remove alsa-lib - alsa-lib has empty package and it's not required anymore. Add agl-driver and agl-passenger in group and passwd - Parsing Error: agl-users: groupname agl-passenger does not have a static ID defined. poky-agl.conf: Change gstreamer default version to v1.10.x - Yocto upstream moves gstreamer to v1.10.4. af-main: Fix build error - Error: file /usr/local conflicts between attempted installs of af-main-1.0-r0.corei7_64 and base-files-3.0.14-r89.qemux86_64 intel-corei7-64: Change gstreamer-vaapi-1.0 name - gstreamer-vaapi-1.0 is moved to oe-core and its name is changed to gstreamer1.0-vaapi. linux-raspberrypi: Drop 4.4 bbappend - The upstream meta-raspberrypi doesn't support v4.4 anymore. - CVE patches are not required anymore. glibc: Remove bbappend - The bug-20116 is already applied in 2.25 cynara,security-manager: Fix build error - cynara: Replace bb.data to d - security-manager: Temporarily use 'no' in APPLY variable u-boot-ota: Add SRC_URI - In pyro, SRC_URI and S is moved from .inc to .bb linux-yocto: Remove 4.8 and 4.4 bbappend - Yocto 2.3 (Pyro) doesn't support v4.8 kernel anymore. - CVE patches in meta-agl-bsp are already applied in Yocto 2.3. tcf-agent: Remove bbappend file - This change is merged to upstream poky (pyro) bluez5: Remove recipe and add .bbappend - Yocto 2.3 (Pyro) already has same version. - bluetooth.conf file is added in .bbappend python-pycrypto: Remove recipe - meta-openembedded (Pyro) already has same version. meta-agl-bsp/classes/image.bbclass: Arrange for pyro - image.bbclass is taken from poky/meta/classes/image.bbclass and only changed IMAGE_TYPE_vm variable. libsoup: Fix native build error temporarily v2 (jsmoeller): meta-agl-bsp/meta-ti: - workaround patches in meta-ti/recipes-arago/gstreamer/gstreamer1.0-plugins-bad_%.bbappend - fix old python code in meta-ti/recipes-arago/ipumm-fw/ipumm-fw_3.00.13.00.bb - workaround patches in meta-ti/recipes-arago/weston/weston_%.bbappend - make specific to dra7xx-evm: -- meta-ti/recipes-bsp/alsa-state/alsa-state.bbappend -- meta-ti/recipes-bsp/u-boot/u-boot-ti-staging_%.bbappend -- rename meta-ti/recipes-multimedia/pulseaudio/pulseaudio/dra7xx-evm-set-default-sink-source.patch -- rename meta-ti/recipes-multimedia/pulseaudio/pulseaudio_%.bbappend TODO/FIXME's in: - meta-agl-bsp/meta-ti/recipes-arago/gstreamer/gstreamer1.0-plugins-bad_%.bbappend - meta-agl-bsp/meta-ti/recipes-arago/weston/weston_%.bbappend - meta-agl-bsp/meta-ti/recipes-multimedia/pulseaudio/pulseaudio_%.bbappend - meta-ti/recipes-bsp/u-boot/u-boot-ti-staging_%.bbappend Bug-AGL: SPEC-646 Change-Id: I4162ae887d3334e9102575e3724483aa25f4bd9c Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com> Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10457
2017-05-16Run weston with dedicated 'display' user and groupRonan Le Martret1-0/+46
* Create a user/group display * Allow weston to start without mandatory root user * start weston-terminal for each user Bug-AGL: SPEC-546 Change-Id: Id50acdbf5f7c07d5e0440575d42998b8819b5547 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9135 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: Dominig ar Foll <dominig.arfoll@fridu.net> Reviewed-by: José Bollo <jobol@nonadev.net> Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-04-19Use weston-init to startup westonRonan Le Martret1-12/+0
* weston.service should not be a part of weston recipes * remove weston.service from AGL weston recipes * yocto upstream uses the recipe weston-init to startup weston * customize weston-start with sed - remove openvt - add option to weston-launch * customize weston.service with sed - add option for weston * unified the weston startup beteween AGL BSPs * remove fix on the AGL BSP Bug-AGL: SPEC-452 Bug-AGL: SPEC-310 Change-Id: I12722826abdc004214d289961e900c36528ec6e3 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-03-30Generate weston.ini dynamicallyRonan Le Martret1-7/+0
* remove weston-intel.ini * add new package weston-ini-conf * the list of the sections of weston.ini is described in variable flags WESTONSECTION * each section is described in variable flags WESTONSECTION * each output screen is described in agl_screen variable Bug-AGL: SPEC-477 Change-Id: I3d25ab49018e3842c916993ba8b9bcc2428d5170 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-03-19Remove wayland 1.9.0 recipesRonan Le Martret5-169/+0
* Remove Wayland/Weston backport. Use Wayland/Weston from yocto upstream Bug-AGL: SPEC-411 Change-Id: I99692a75728ec3b45b359800d31bf56521184998 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-03-19Remove useless fix westonRonan Le Martret2-38/+9
* this fix is already present in weston 1.11.0 * the patch "0001-compositor-drm.c-Launch-without-input-devices.patch" need to be updated to be compliant to weston 1.11.0 Bug-AGL: SPEC-411 Change-Id: Ife5be1fe06578a55296f0aa1d668d5a1edcba475 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-02-15Disable Weston DRM backend in QEMUScott Murray1-1/+1
Since the Weston DRM backend does not work with the video card implementations in VirtualBox and VMWare player, and has some outstanding issues on QEMU that have resulted in GenIVI not enabling it[1], disable it for now. A comment has been added to the QEMU weston.ini indicating that the DRM backend can be re-enabled to potentially gain higher performance. Additionally, the common weston.service systemd unit has been modified to add the --tty option to weston-launch to start weston on /dev/tty1. This is now required to avoid console messages writing on top of the HomeScreen in QEMU, and is harmless to operation on the other platforms. [1]: https://github.com/GENIVI/meta-genivi-dev/pull/34 Bug-AGL: SPEC-405 Change-Id: Ic0c0adeb15baf392e3ffa0bbd26c62d060df1ef5 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2016-11-13Fix Weston crash on touchscreen inputDennis Field1-0/+29
Check for touch->focus before using it, as some touchscreens will generate out-of-screen coordinates and cause touch->focus to be NULL. (e.g. Raspberry Pi display, some displays after weston-calibrator) Bug-AGL: SPEC-309 Upstream-Status: Backport [https://cgit.freedesktop.org/wayland/weston/commit/src/input.c?id=2c40d1d30eabe46706822a8b5c94579aeba58e84] Change-Id: I01b5cf7fd95275290544dffba2771619b1488dff Signed-off-by: Dennis Field <dennisf@radiosound.com>
2016-10-28remove powervr service from generic weston serviceRonan1-1/+1
* rc.pvr.service is renesas porter board specific and should not be present into generic weston service Change-Id: Id866dd57607d105260e0595bf297ec1b9da72047 Signed-off-by: Ronan <ronan.lemartret@iot.bzh>
2016-10-24weston: Launch even without input devicesLeon Anavi1-0/+28
Launch Weston even if there are no input devices such a keyboard or a mouse. Bug-AGL: SPEC-297 Change-Id: I3187b310b1024ef77d4696a06b325bface5de2b3 Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2016-03-14Upgrade to Wayland/Weston 1.9.0Manuel Bachmann5-0/+169
Yocto 2.0 ("Jethro") provides Wayland and Weston 1.8.0; manually upgrading to 1.9.0 does not break compatibility with existing frameworks (Qt..), while at the same time allowing easier integration of mandatory components such as Weston IVI-Shell and Wayland IVI Extension. We can thus in the same pass remove backport patches for these 2 components. Here is the related discussion on the mailing list : http://lists.linuxfoundation.org/pipermail/ automotive-discussions/2016-March/001623.html Change-Id: I874eac50ff64d8b93e32910b6f1297002faa06a5 Signed-off-by: Manuel Bachmann <mbc@iot.bzh>
2016-01-18Migrate IVI-Shell backport to Weston 1.8.0 (Yocto 2.0)Manuel Bachmann2-164/+0
(NOTICE : this is the last patch necessary to fully migrate to Yocto 2.0) As newer Poky "Jethro" is now providing Weston 1.8.0, adapt IVI-Shell 1.9.0 backport to it. Remove unnecessary patches (touchscreen support for Qt, panel toggle) which are now upstreamed. Make the systemd service recipe name more generic. Change-Id: Icaad3f40b29617bcb33ac235bbe3c65f7f4bdbd7 Signed-off-by: Manuel Bachmann <mbc@iot.bzh>
2015-12-11Fix issue of weston shell on top of tty(console) running on qemuTadao Tanikawa1-0/+1
Resolve issue which both weston's desktop-shell and tty(console) are active. Now, weston.service and getty@tty1.service become exclusive. Change-Id: I105e055dd7257d8867ada518bdad45a984d03f94 Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2015-12-08Add touch_frame events to Weston 1.5.0Risto Avila1-0/+65
Otherwise no Qt applications react on touch. This issue was eventually resolved upstream by dropping the built-in evdev backend and relying on libinput exclusively, where it is fixed. The libinput backend is required since Weston 1.7. In 1.6 the libinput backend was made the default, but the old backend was still there. Thus this fix also applies to Weston 1.6. Signed-off-by: Risto Avila <risto.avila@theqtcompany.com>
2015-11-06Make Weston desktop-shell panel configurable (backport)Manuel Bachmann2-0/+104
The Weston panel is the top bar containing launcher and clock icons. We might want to disable it for demos. This can now be done by adding in "weston.ini" : [shell] panel-location=none This is a backport from upstream Weston : http://cgit.freedesktop.org/wayland/weston/patch/ ?id=e67118c80ad411ac46b7096aae2635510c80ea6d Change-Id: Iaf60f612f8e01e7aa51f8a0558de00f26d36aee8 Signed-off-by: Manuel Bachmann <mbc@iot.bzh>
2015-09-25Add systemd configuration to launch weston automaticallyTadao Tanikawa2-0/+13
Add systemd configuration to launch weston automatically while system booting. Also pam is needed to be added DISTRO_FEATURES to launch weston-terminal when weston is running by weston-launch which is used by weston.service. Change-Id: Id467c3fb19856299ccf80de21a16ae51fe433cc1 Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>