summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2016-11-28Auto start of HomeScreenBocklage, Jens1-17/+18
v2: (Tadao Taniakwa) - Fix extra PATH to use commands provided by qtbase-native. (qdbusxml2cpp and moc is used when building HomeScreen) v1: (Bocklage, Jens) - HomeScreen is started via systemd during system startup - Fix for SPEC-333: render order of surfaces is now always set Change-Id: I2c898c783353b7cb177b80553e69ab5fb50a14bd Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
2016-11-25openivi-html5.sh: Configure HTML5 applicationLeon Anavi1-1/+17
Select HTML5 application that should be loaded on boot (such as a homescreen) through the systemd service of openivi-html5. Following the recommendations of XDG base dir specification, the configuration file should be located at $XDG_CONFIG_DIRS/openivi-html5/openivi-html5.ini and it should contain value for homescreen with path to HTML file. If the configuration file does not exist or if the HTML does not exist then openivi-html5 will load the following sample HTML5 by default: /usr/share/openivi/example/cluster/index.html Bug-AGL: SPEC-332 Change-Id: I496b0ccbcb09f8964042f9d07abad2d552376b80 Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2016-11-25Add qtdeclarative as build dependencyBocklage, Jens1-0/+2
This is needed by QML sample apps. Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
2016-11-24agl-demo-platform-html5.bb: Add new AGL imageLeon Anavi2-0/+38
Add new image agl-demo-platform-html5 with openivi-html5. Bug-AGL: SPEC-331 Change-Id: I1c210b4489ea52a3bd924ba37a168e759c640c19 Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2016-11-24fix recipes git source urlRonan2-5/+5
* url https://git.automotivelinux.org is not available, use https://gerrit.automotivelinux.org instead. BB-must-fix Change-Id: I24b92a0eab2f64c001e1e7919c37f8226e6d7de6 Signed-off-by: Ronan <ronan.lemartret@iot.bzh>
2016-11-24TTS Engine: Added support for English TTS engineNaoto Yamaguchi2-0/+48
This patch will add a temporary TTS engine for CES 2017 demo This recipe integrates the English TTS engine and the data it needs Flite are necessary for english voice-guide function of navigation app Signed-off-by: Naoto Yamaguchi <i33399_YAMAGUCHI@aisin-aw.co.jp> Change-Id: I57e4cc724a3b7affe0ba588af18b346b1bb6ce46
2016-11-24remove useless recipesRonan3-93/+0
* no upstream source available Change-Id: Ie7e1b4889a3ebbe0322248ac2d2df2b1ae866431 Signed-off-by: Ronan <ronan.lemartret@iot.bzh>
2016-11-24TTS Engine: Added support for HTS engineNaoto Yamaguchi1-0/+19
This patch will add a temporary TTS engine for CES 2017 demo HTS engine is a common part of Japanese and English TTS engines These TTS engines are necessary for voice-guide function of navigation app Signed-off-by: Naoto Yamaguchi <i33399_YAMAGUCHI@aisin-aw.co.jp> Change-Id: I238098fa4812cafd9b376fb994653a97ad23de46
2016-11-18openivi-html5_git.bb: Add OpenIVI Mobility HTML5Leon Anavi3-0/+66
OpenIVI Mobility brings HTML5 environment for running web applications on top of AGL. It is powered by QtWebKit therefore the Yocto/OE recipe depends on meta-qt5. Bug-AGL: SPEC-330 Change-Id: I8c16a4082db2e42d8f50403eb43cd1e1c847ac1b Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2016-11-17Homescreen: fix installation path for services filesStephane Desneux1-4/+4
Change-Id: I73f895a9d2e0e69353af4164599fc0b44b74b0de Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2016-11-17Add systemd service filesBocklage, Jens1-11/+22
v2 (jsmoeller): Add systemd service plumbing in recipe v3 (jsmoeller): Update to 7f06418646c8822452f8541386810208c523f990 Change-Id: I6bf9971590f9f19d7d024ffdf87e429766d64231 Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com> Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2016-11-15Add firmware for CES 2017 demo hardwareScott Murray1-1/+3
Explicitly add linux-firmware-ath9k to images so TP-Link TL-W722N USB Wifi adapter will work. Change-Id: Ie8f455cfab4ba19e6a20b1785bbcf13719aafa3a Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2016-11-14Install to /usr/AGL instead of /opt/AGL.Jens Bocklage1-14/+14
Signed-off-by: Jens Bocklage <jens_bocklage@mentor.com>
2016-11-08-Make the SampleNav app yellow.Bocklage, Jens1-5/+7
-Preparation for the new ApplicationFramework binding. The App Framework provides more information. --Adding afm D-Bus-interface introspection --Updating the AppInfo datatype to hold the new data: The application info consists of: string id; string version; int width; int height; string name; string description; string shortname; string author; string iconPath; -When pressing the AppLauncher Button or the Settings Button, the app layer is hidden. --Therefore, shideLayer and showLayer is introduced in the WindowManager API -If an application does not create its surface instantly, the HomeScreen retries to show the surface related to the pid. -New WindowManager function deleteLayoutById -Implement the complete HomeScreen API in the libhomescreen To build: enable some features: source meta-agl/scripts/aglsetup.sh -m porter -b build-porter agl-demo agl-appfw-smack agl-devel Add HomeScreen to the agl-demo-platform.bb file: IMAGE_INSTALL_append = " \ ces2017-demo \ can-utils iproute2 \ python-curses \ dhcp-client \ climatecontrolplugin \ Navigation \ HomeScreen \ <----- ${IMAGE_TTF_FONTS} \ " The latest app-framework-main is needed: Edit file: meta-app-framework/recipes-core/af-main/af-main_1.0.inc -SRCREV = "c31038db1cff938d7fa1f12f757c1c57ab51c0bd" +SRCREV = "cdcf4b4caa5d02a626c2e7075126e395a72f58a0" Build it: bitbake agl-demo-platform When writing the SD-Card, make sure you preserve the extended attributes! You need at minimum tar v1.28. You will find this version also in the sysroot! So you may want to use it: sudo [..]/sysroots/i686-linux/usr/bin/tar-native/tar xpj --xattrs-include='*' --directory=<sdcard> --file=agl-demo-platform-porter.tar.bz2 We need the IVI-shell, so edit the file weston.ini on the target: vi /etc/xdg/weston/weston.ini [core] shell=ivi-shell.so [ivi-shell] ivi-module=ivi-controller.so ivi-shell-user-interface=/usr/lib/weston/weston-ivi-shell-user-interface [output] name=HDMI-A-1 transform=270 If you want to test it, you can download a sample app here: wget http://iot.bzh/download/public/2016/afb-demos/txc-demo_0.1.wgt afm-util install txc-demo_0.1.wgt Qt apps need an environement variable set, so we need to change the start script: vi /usr/bin/web-runtime export QT_WAYLAND_SHELL_INTEGRATION="ivi-shell" LD_PRELOAD=/usr/lib/libEGL.so exec /usr/bin/qt5/qmlscene "$1" /usr/bin/web-runtime-webkit.qml (this is already in gerrit review: https://gerrit.automotivelinux.org/gerrit/#/c/7077/ ) reboot To start everything: cd /opt/AGL/HomeScreen ./WindowManager & ./HomeScreenAppFrameworkBinderAGL & QT_IVI_SURFACE_ID=1000 QT_WAYLAND_SHELL_INTEGRATION="ivi-shell" ./HomeScreen & Now you can click the txc-demo and it will show up. Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
2016-11-03Now providing shared c++ library to be independent from QDBus.Bocklage, Jens2-43/+71
New concept of handling layer in WindowManager. - Three layer are created statically. One for the HomeScreen app (in the backround), one for applications and one for popups. - Apps can position their surfaces free in the assigned layout render areas. By default, one render area is assinged to one surface. Compatible with Qt 5.7 - The HomeScreen MUST create its surface with the id 1000! - This can be archieved this way: QT_IVI_SURFACE_ID=1000 QT_WAYLAND_SHELL_INTEGRATION="ivi-shell" ./HomeScreen & - see https://codereview.qt-project.org/#/c/121297/ for more details Since the WindowManager uses the IVI-shell, the file /etc/xdg/weston/weston.ini has to be changed: -------- [core] shell=ivi-shell.so [ivi-shell] ivi-module=ivi-controller.so ivi-shell-user-interface=/usr/lib/weston/weston-ivi-shell-user-interface [output] name=HDMI-A-1 transform=270 -------- The sequence that is used right now to get you started with WindowManager and HomeScreen: killall weston export XDG_RUNTIME_DIR=/tmp openvt -s weston chown aglglobalapp:aglglobalapp /tmp/wayland-0 su aglglobalapp export `dbus-launch` cd /opt/AGL/HomeScreen ./WindowManager & QT_IVI_SURFACE_ID=1000 QT_WAYLAND_SHELL_INTEGRATION="ivi-shell" ./HomeScreen & Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
2016-11-03move hvacplugin from meta-agl to meta-agl-demoRonan1-0/+1
Change-Id: I13c48bf7f16869d687ab563b5495836e6980df13 Signed-off-by: Ronan <ronan.lemartret@iot.bzh>
2016-11-01Add CES2017-demo and change image definitionJan-Simon Möller2-3/+40
Change-Id: Ia9f4f619bc0c6576e35cd6fc66267938869dd92c Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2016-10-29Change /opt/AGL to /usr/AGL for ostree integrationJan-Simon Möller6-22/+22
Ostree (sota) does not preserve /opt , so move /opt/AGL to /usr/AGL for inclusion in the ota. Fixes: SPEC-304 Change-Id: I1efcc9c0c2142e9b97f9dbd6b5972493ead8bebc Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2016-10-28Preparation of upgrading to Qt5.7Tadao Tanikawa3-7/+10
Qt5.7 no longer provides any fonts. As a result of this change, fontconfig and some ttf fonts are to be installed for AGL DEMO Apps. Change-Id: I2cee35ccd909d08b47d4f2c6d68414f01fa82853 Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2016-10-19WindowManager handles the surfaces now correct.Bocklage, Jens1-2/+2
A new layer is created for all surfaces that belong to the same creator process. These layers are used to scale the application surfaces to the correct layout application render area. Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
2016-10-18recipes-automotive/hvacplugin: moved from meta-aglStephane Desneux2-0/+33
The new git repository for hvac plugin sources is now AGL (gerrit.automotivelinux.org). As a consequence, the previous repository (github.com/iotbzh/hvacplugin) is now deprecated. Change-Id: Ibaf7b01a97520d3c5e105b02aa1a321c66828797 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2016-10-05Implemented proximity interface.Bocklage, Jens1-3/+3
Use the simulator to test. Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
2016-09-30Implementing app launch and app surface control workflow.Bocklage, Jens1-3/+3
Using WindowManager to control layer and surfaces (ongoing). Defining three layouts. Adding combobox selection feature to popup widget. In the current state it should be possible to launch applications that are available through the Tizen application manager. Known issue: IVI-shell is currently disabled in AGL due to issues (porting to Yocto 2.1.1). Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
2016-09-15Fix configuration of building Qt5Tadao Tanikawa1-3/+4
This patch set configuration of Qt5 as follows: - To set 'wayland-egl' as default of platform plugins - To remove eglfs because AGL don't use it Change-Id: Ia1084173a65870c254ed1a7e3584ad0a8a1524f9 Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2016-09-15Fix issues of dependencies and QA of ALS/CES2016 demoTadao Tanikawa3-4/+8
This patch fixes these issues: - The packages qtmultimedia-qmlplugins, qtquickcontrols-qmlplugins and qtsvg-plugins are missing For RDEPENDS_${PN}, PN="ALS2016-demo" and PN="CES2016-demo" not work PN="als2016-demo" and PN="als2016-demo" work Probably root cause would be in elsewhere... - Many QA warning while copying ALS/CES2016 demo files Change-Id: I010f01f65769dd243a6ef77b0626e9c27a505119 Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2016-09-01Changes for building meta-agl-demo with YP 2.1.1 'krogoth'Jan-Simon Möller3-7/+13
Update meta-agl-demo for YP 2.1 'krogoth' Notable changes: - update qtbase wrt packageconfig flags - qtwayland needs the patches checked/ported - remove qtwayland examples from packagegroup-agl-appfw-native TODO: - Check graphic driver stack (mesa, wayland, weston, qtbase, qtwayland et al.) - Check wrt SPEC-237 - port patches for qtwayland - check where qtwayland-examples is gone and either remove or re-add Change-Id: Ib14f1230d0fdc84f82af3e875460c0269faec652 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2016-08-24recipes-demo-hmi: update commit hash used in recipeChristian Gromm1-1/+1
This patch updates the commit hash used in the can-lin_.bb recipe to fetch files from the binary blob located at /staging/most-can-demo-bin. Change-Id: Ibce8d2b64d2911fd48ad58a53f07d377f8282dd9 Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
2016-08-08Using the Tizen application manager to receive information about installed ↵Bocklage, Jens2-36/+14
apps and to launch apps. This acts as a template for other app framework adoptions. Using the weston ivi shell to control surfaces. Using the input event manager to dispatch hard key inputs. This is a bigger update, so I increased the version number from 0.1.1 to 0.2.0. Some parts are under development. I created the components "WindowsManager" and "InputEventManager" because they are not defined in AGL right now. As soon as they are defined, we should switch to them. Find more information on the official wiki page: https://wiki.automotivelinux.org/homescreen Also removed old recipes. Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
2016-08-05Rewrite and restructure readme filesJan-Simon Moeller1-341/+91
This changeset updates the outdated README.md in meta-agl-demo. We also introduce a split between the README.md which describes the layer itself and a README-AGL.md (part of meta-agl) which contains the information on the AGL distribution. Change-Id: I550a291fabfa91b724c04c7767d8eb2ef4e8a1f6 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2016-08-03recipes-demo-hmi: fix file permissionsChristian Gromm2-4/+4
This patch makes the pre-compiled demo applications executable by assiging the suitable permissions when installing them on the rootfs. Change-Id: I0145d1e983d60e6312c40cc0d3e2c4aa3257b44e Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
2016-08-02recipes-kernel: update driver recipesChristian Gromm45-11596/+504
This patch changes the recipes to fetch the driver sources from AGL's src directory. It therefore removes the redundant source files from the recipe directory. Change-Id: Ib3c48a0c7e79144713ccd8e10a89185cd929b41c Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
2016-07-14Adjust dependencies for Navigation demo appblowfish_2.0.02.0.0Tomoki Sekiyama1-2/+2
This fixes the configuration failure due to package dependencies to wayland-egl. Bug-AGL: SPEC-214 Change-Id: Ib7760a8c5860de89a19caec70a8733fd15e7f3af Signed-off-by: Tomoki Sekiyama <tomoki.sekiyama.qu@hitachi.com>
2016-07-10[homescreen] Add support for color schemes.Bocklage, Jens1-0/+34
Three demo color schemes are included to demonstrate the feature. Also cleaned up the generation of D-Bus interface classes. Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
2016-07-08Enable ivi-input-contoller.so in meta-agl-demoTadao Tanikawa1-1/+1
This enable to deliver key events to applications running on ivi-shell. It requires ivi-input-controller.so and control keyboard focus explicitly. For that, wayland-ivi-extension should be configured with '-DWITH_ILM_INPUT=1' and built. This patch is needed because of wayland-ivi-extension_*.bbappend take over PACKAGECONFIG defined in wayland-ivi-extension.bb in meta-agl. Change-Id: Ie9664baa2cd10692b36790adf7cd0cca150fd35f Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2016-07-08meta-agl-demo: recipes-most: add recipe to install most-driverChristian Gromm1-0/+32
This patch adds the recipe to install the MOST Linux Driver from the staging area most-can-demo-bin to /lib/modules/3.10.31-ltsi/kernel/drivers/. v3: Add COMPATIBLE_MACHINE = 'porter' instead of changeset 5995 (jsmoeller) v2: Adapt folders as per discussion in gerrit (jsmoeller) Change-Id: If9861ae37669f10f78c7276d3807c7d7a92b78af Signed-off-by: Christian Gromm <christian.gromm@microchip.com> Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2016-07-06meta-agl-demo: add recipes-mostChristian Gromm2-0/+53
This patch adds the recipes needed to copy the applicatons from the most-can-demo-bin folder of the staging area to and the /home/root directory. It is needed to run the MOST video demo and the CAN application on the agl-demo-platform. v2: Changed folder recipes-demo-hmi as per discussion in gerrit (jsmoeller) Change-Id: I5de98416a4d32b794552a2e42d4e95129704db47 Signed-off-by: Christian Gromm <christian.gromm@microchip.com> Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2016-07-05remove configuration templatesStephane Desneux27-2752/+0
Change-Id: If8e0e0df65da65392b5e805fd49bb5d34301dd2f Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2016-07-05Add AGL Demo Suide for ALS 2016Tadao Tnikawa2-0/+37
Add AGL Demo Apps for ALS 2016 to be integrated into agl-demo-platform. Change-Id: Iec3706c889c47de40fdee6944bee45d2ce3ebf09 Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2016-07-05Add navigation demo appTomoki Sekiyama2-0/+17
Add the recipe for navigation demo app to recipes-demo-hmi. Change-Id: Ia8df6a2e36d24b27e91d5239c888a05dbe990805 Signed-off-by: Tomoki Sekiyama <tomoki.sekiyama.qu@hitachi.com>
2016-06-30[homescreen] Add bitbake recipe for Home Screen appBocklage, Jens2-31/+31
This bitbake recipe builds the Home Screen application. In addition a sample application that shows the functionality of the status bar. The sample application SampleAppTimeDate shows the current time in the Home Screen status bar. Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
2016-06-24Revert "agl-demo-platform.bb: add application framework examples, update ↵Stephane DESNEUX9-36/+3
templates" This reverts commit 1c43b18b339038ece8a36d6c49effcc816214354. Change-Id: I276b349c3bdd8ebf2c7c82ed1ad3d3748a113f59 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2016-06-20agl-demo-platform.bb: add application framework examples, update templatesStephane Desneux9-3/+36
meta-agl/meta-app-framework/.../packagegroup-agl-app-framework-examples is added to the image Change-Id: Ibf1f99bbddea1f15b87cc3ed0cc42c128f31a8d7 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2016-06-19Document how to build WebKitForWayland:Carlos Alberto Lopez Perez9-0/+27
Add on the local.conf.samples the required line for building WebKitForWayland. Add it commented because of the time it takes to build. Change-Id: I5445c37f02dfe7e44e2f54a82a067365ebc1dcb9 Signed-off-by: Carlos Alberto Lopez Perez <clopez@igalia.com>
2016-06-17Add WebKitForWayland recipe.Carlos Alberto Lopez Perez2-0/+75
* This adds a WebkitForWayland recipe. * It depends on harfbuzz with ICU support built-in. Signed-off-by: Carlos Alberto Lopez Perez <clopez@igalia.com>
2016-06-14Fix qml-radio-plugin compilation with security flagsManuel Bachmann1-0/+10
Since we added compilation security flags (https://gerrit. automotivelinux.org/gerrit/#/c/5631/), qml-radio-plugin breaks because it relies on libtool, which assumes we want to create an executable due to the flags (-pie) being passed. The bug has been reported upstream: https://lists.gnu.org/archive/html/bug-libtool/2016-05/ msg00004.html but let us work around it since it is a demo target, and an upstream fix will take time to implement and test. Change-Id: I7018df928eb23bc2e8b6afb1aafea46958fd523e Signed-off-by: Manuel Bachmann <mbc@iot.bzh>
2016-06-07bblayers.conf.sample: Add layer meta-filesystemsLeon Anavi8-0/+8
Layer meta-filesystems provides a recipe for fuse which is required for building OSTree. Bug-AGL: SPEC-194 Change-Id: I5bc77b0df3fb8c451049ecf0761fabec94ad2e30 Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2016-06-04Fix typo in local.conf samplesManuel Bachmann5-5/+5
Fix small typo, which can be obvious as it copied in the user's build directory. Change-Id: Iba5d41ac88444c140414fb5cbe3771c9f152add1 Signed-off-by: Manuel Bachmann <mbc@iot.bzh>
2016-05-29Refactoring code for installation qml libsPhong Tran3-8/+8
- Use ${libdir} instead of hardcoding /usr/lib - Change to use install command for copy files Change-Id: I4506f69c97ad223b94561fd10b97e5a406c4c4d9 Signed-off-by: Phong Tran <tranmanphong@gmail.com>
2016-05-23templates: d410c: add meta-rust to bblayers.conf.samplePhong Tran1-0/+1
This patch add meta-rust per this commit 27d10e87ed68653f010df94a699f80d4811ff007 bblayers.conf.sample: Add meta-rust Change-Id: I50dcf04547d33c3e973c39714d0280d3ce710aea Signed-off-by: Phong Tran <tranmanphong@gmail.com>
2016-05-06Provide patched Wayland-IVI-Extension to work with patched Weston from ↵Andre Moreira Magalhaes (andrunko)1-0/+28
meta-agl-demo. This change adds support for Wayland IVI Extension 1.9.1 (latest stable release) to work against the patched weston from meta-agl-demo. It should not be used when using a stock/unpatched weston. Wayland-IVI-Extension provides an additional shell plugin for IVI-Shell, along with command-line tools and demonstration applications. More info at http://projects.genivi.org/wayland-ivi-extension. Change-Id: Id74c164eace0cb54d367eda743982bb8baf5d523 Signed-off-by: Andre Moreira Magalhaes (andrunko) <andre.magalhaes@collabora.co.uk>