AGL/meta-agl-demo.git
7 years agoRevert "Change QWindow::visible when surface visibility in ivi shell changes" 47/8047/2 3.0.0 chinook/3.0.0 chinook_3.0.0
Tadao Tanikawa [Mon, 2 Jan 2017 16:33:11 +0000 (01:33 +0900)]
Revert "Change QWindow::visible when surface visibility in ivi shell changes"

This reverts commit d0f95885030e5f425c0423a7a29414a204aaa341.

This is root cause of issue that screen doesn't change
from blank screen after booting.

ivi-surface's visibility must not link to QWindow's visibility
because changing it's visibility to 0 means destroying wayland
surface (--> eglsurface --> ivi-surface) immmediatly.

On the other hand, ivi-surface is created with
visibility == 0. Therefore, creating ivi-surface triggers
self destruction of ivi-surface itself immediately.

And to make matters worse, Qt5.7's hiding(visibility == 0)
window method, wl.attach(nil, 0, 0) was wrong, it cause
unpredictable operation of weston (In our case, it drops some
events between WindowManager and Weston).

For linking ivi-surface's visibility and visibility in QML,
we should consider another method. At least, commit d0f958's
approach is incorrect in Qt5.7 so far.

Change-Id: Ibe90f9dae634aa5cdb3c166caf4db02dfd71965b
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
7 years agoCopy all Radio presets onto the target 45/8045/4
Jan-Simon Möller [Mon, 2 Jan 2017 18:30:48 +0000 (19:30 +0100)]
Copy all Radio presets onto the target

Copy all radio presets to the target to allow changes on-the-fly.

Change-Id: Ibcbc3300688268d4962bcd7704c9434a3ab0fd58
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoFix recipes on chinook branch 43/8043/1
Jan-Simon Möller [Mon, 2 Jan 2017 18:29:19 +0000 (19:29 +0100)]
Fix recipes on chinook branch

This change fixes the evaluation of the SRC_URI. As SRC_URI_chinook is a parsed variable we need to use _append.

Change-Id: Ifa5c3dabb025a1a185190d8b2eb35414db5266f5
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoAdd radio channels for FOSDEM 17/8017/2
Jan-Simon Möller [Mon, 2 Jan 2017 12:12:40 +0000 (13:12 +0100)]
Add radio channels for FOSDEM

Change-Id: I613f8dba37ff7b80da8d941989e0866fd0bd05aa
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoAdd a script to download mapdata 23/8023/2
Naoto Yamaguchi [Mon, 2 Jan 2017 12:36:25 +0000 (21:36 +0900)]
Add a script to download mapdata

This patch is fix of SPEC-392.
Add a script to download the UK map data to the target /var/mapdata.

Change-Id: If97c723e342c01f252f1a625504ef2a02ce2fb12
Signed-off-by: Naoto Yamaguchi <i33399_YAMAGUCHI@aisin-aw.co.jp>
7 years agoPin ces2017-demo recipe for chinook 65/7965/2
Jan-Simon Möller [Thu, 29 Dec 2016 10:32:17 +0000 (11:32 +0100)]
Pin ces2017-demo recipe for chinook

Change-Id: I3c41e4386fa90ce99e7c1fa2c0304343941e2344
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoPin unicens recipe for chinook release 77/7977/2
Jan-Simon Möller [Thu, 29 Dec 2016 11:07:56 +0000 (12:07 +0100)]
Pin unicens recipe for chinook release

Change-Id: If341a0f7dc669bc57669b0a6f3970cd38e12d07a
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoPin mixer recipe for chinook release 73/7973/2
Jan-Simon Möller [Thu, 29 Dec 2016 11:03:54 +0000 (12:03 +0100)]
Pin mixer recipe for chinook release

Change-Id: Ie8e0c6891d766f08fdbf5fec2c3c86a1329003f7
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoPin mediaplayer recipe for chinook release 71/7971/2
Jan-Simon Möller [Thu, 29 Dec 2016 11:02:19 +0000 (12:02 +0100)]
Pin mediaplayer recipe for chinook release

Change-Id: Idf2357a4a3242cab453db19a4a59ea173134fa40
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoPin vod-server recipe for chinook release 79/7979/2
Jan-Simon Möller [Thu, 29 Dec 2016 11:09:47 +0000 (12:09 +0100)]
Pin vod-server recipe for chinook release

Change-Id: I393ee1621189297b19d0c9dda17a5cdfe6a7b06e
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoPin settings recipe for chinook release 75/7975/2
Jan-Simon Möller [Thu, 29 Dec 2016 11:05:55 +0000 (12:05 +0100)]
Pin settings recipe for chinook release

Change-Id: I9971b1656804b101639f7a2dc67c3ddf549484e9
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoPin homescreen recipe for chinook 67/7967/2
Jan-Simon Möller [Thu, 29 Dec 2016 10:40:00 +0000 (11:40 +0100)]
Pin homescreen recipe for chinook

Change-Id: If528266166545262d024ea830b8d807eae0796df
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoPOI App: Adjust display for AGL Distro 3.0
Naoto Yamaguchi [Thu, 29 Dec 2016 04:52:26 +0000 (13:52 +0900)]
POI App: Adjust display for AGL Distro 3.0

This patch solves the problem that the design of POI-App does not match the application surface size of AGL Distro 3.0.
This change solves the problem of display collapse.

Change-Id: I7ffadab73dfb6918aa3cb5f97f382311fbbf9bf5
Signed-off-by: Naoto Yamaguchi <i33399_YAMAGUCHI@aisin-aw.co.jp>
7 years agoSet defaultbranch to chinook in gitreview 63/7963/2
Jan-Simon Möller [Thu, 29 Dec 2016 00:13:23 +0000 (01:13 +0100)]
Set defaultbranch to chinook in gitreview

Change-Id: Iffa084c6e815e71d4fbd795529f62be21fa33a75
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoces2017-demo: add install of presets configuration file for Radio app 33/7933/2
Scott Murray [Wed, 28 Dec 2016 20:49:09 +0000 (15:49 -0500)]
ces2017-demo: add install of presets configuration file for Radio app

Add preset configuration files for the Radio app for CES and ALS
locations, and commands to install the one selected with a new variable,
AGL_RADIO_PRESETS_LOCALE. The default is to use the presets appropriate
for CES.

Change-Id: I9b278e1c983de16898fc71329afe7c6ba58e9b52
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
7 years agoUse inherit aglwgt in application recipes 05/7905/2
Jan-Simon Möller [Wed, 28 Dec 2016 17:29:57 +0000 (18:29 +0100)]
Use inherit aglwgt in application recipes

This change converts the application recipes for
hvac, mediaplayer, mixer, settings
to use the  aglwgt bbclass.

This simplifies the application workflow and ensures
interoperability with the SDK.

Change-Id: Icaa8ba3f931844be6063c18957c07aa598591f06
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoRemove empty folders 09/7909/2
Jan-Simon Möller [Wed, 28 Dec 2016 17:35:28 +0000 (18:35 +0100)]
Remove empty folders

This changeset removes empty folders that we kept
until now as placeholders for recipes or append files.

We do not need them currently and they're likely to stay unused.

Change-Id: Iaaf1c1c36506bcb76b668a73037b3378015854ef
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoqtmultimedia-rtlfm-radio-plugin: update license information 23/7923/1
Scott Murray [Wed, 28 Dec 2016 19:25:28 +0000 (14:25 -0500)]
qtmultimedia-rtlfm-radio-plugin: update license information

Update LICENSE and LIC_FILES_CHKSUM for recent addition of GPLv2+ code.

Change-Id: Ic8cec17f60688ba664e026b37d5370c5ed6178c2
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
7 years agoRefactor wgt package installation 01/7901/1
Tadao Tanikawa [Wed, 28 Dec 2016 07:00:58 +0000 (16:00 +0900)]
Refactor wgt package installation

To fix missing installatioin of mediaplayer.wgt and
support additional wgt packages in future, refactor
installation script to install whole apps under
/usr/AGL/apps.

And adding 'sync' because sometimes apps broken
if reboot immediately after installing apps.

Change-Id: I69f0761439d421b5656b89bce72df1d59dad3c18
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
7 years agoces2017-demo: add mixer.wgt to the installer script 91/7891/1
Matt Porter [Tue, 27 Dec 2016 23:10:26 +0000 (01:10 +0200)]
ces2017-demo: add mixer.wgt to the installer script

Adds mixer.wgt to the installer script so we don't have to install
it in a second step.

Change-Id: I37723db6c2f3f6b5c2aef95669eb2c0afa01fb64
Signed-off-by: Matt Porter <mporter@konsulko.com>
7 years agoIntegrate GENIVI Audio Manager Plugins for CES2017 demo. 55/7855/3
Toshiaki Isogai [Fri, 23 Dec 2016 12:04:48 +0000 (07:04 -0500)]
Integrate GENIVI Audio Manager Plugins for CES2017 demo.

Change-Id: I56081180f8dc3bc10159492d4bc7e5fdd621ab27
Signed-off-by: Toshiaki Isogai <tisogai@jp.adit-jv.com>
7 years agoUnify locations of applications and demo 83/7883/2
Jan-Simon Möller [Tue, 27 Dec 2016 13:37:50 +0000 (14:37 +0100)]
Unify locations of applications and demo

This changeset cleans-up the locations used for apps and the ces2017-demo.
- Apps go into  /usr/AGL/apps
- Scripts are available in /usr/AGL/ces2017-demo (symlink)

As the ces2017-demo package will go away, its folder will also become obsolete
or only host startup-scripts.

Change-Id: I2b2ea8dc6de531f737305a80573ad56cb08ba009
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoAdd recipe for mapviewer 77/7877/2
Toshi Umemura [Mon, 19 Dec 2016 09:10:59 +0000 (18:10 +0900)]
Add recipe for mapviewer

This patch addes recipe for mapviewer.
mapviewer is a child application which communicates
with navigation app on homescreen. In CES2017 demo
this app is launched at virtual screen next to homescreen.
(invisible on homescreen) Mapviewer dislay on virtual screen is
transported to meter cluster side via ethernet.
That will be shown at center of meter cluster with 384x368.

window manager tries to change the position to be sent to a cluster
after systemd execute LayerManagerControl set surface.
In order to avoid this sleep is added as a tentative solution.

Change-Id: I903ef19b2550b01e1c90e8960d1edda01b46297d

Signed-off-by: ynakamura <ynakamura@jp.adit-jv.com>
Signed-off-by: Naoto Yamaguchi <i33399_YAMAGUCHI@aisin-aw.co.jp>
7 years agoFix blank screen after booting on some platform 73/7873/2
Tadao Tanikawa [Sun, 25 Dec 2016 19:30:35 +0000 (04:30 +0900)]
Fix blank screen after booting on some platform

wl.surface.attach (nil, 0, 0) might cause serious probrem
on some platform (it depends on compositor implementation).

In the case of ces2017 demo, output alwasy become blank
when launch HomeScreen and WindowManager.

This bug and patch is reported in
https://bugreports.qt.io/browse/QTBUG-47902

Change-Id: Ibc7b20431e7aff6316090d729365b82cdfac6733
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
7 years agoMerge the installation script to ces2017-demo 79/7879/3
Naoto Yamaguchi [Mon, 26 Dec 2016 11:21:43 +0000 (20:21 +0900)]
Merge the installation script to ces2017-demo

I divided the script of Navi, but I will do the merge.
With this change, all installations are done with one script.
This patch solves the problem that navigation can not be started.

Change-Id: I523b85cbee19531345c2e3fdaffc9c8c5f6b9c1b
Signed-off-by: Naoto Yamaguchi <i33399_YAMAGUCHI@aisin-aw.co.jp>
7 years agoFix: SPEC-377, miss dbus conf file to make status icon working 81/7881/2
Romain Forlot [Tue, 27 Dec 2016 11:43:32 +0000 (12:43 +0100)]
Fix: SPEC-377, miss dbus conf file to make status icon working

Change-Id: I8b64adf1c73244447f348ae140a4bd63d3796357
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
7 years agoagl-demo-platform: Add mixer app to image 71/7871/2
Matt Porter [Sat, 24 Dec 2016 14:29:06 +0000 (16:29 +0200)]
agl-demo-platform: Add mixer app to image

Adds the mixer app to the CES2017 AGL demo platform image.

Change-Id: I12a51f19295471baad5047a7ad59d953c18e5a29
Signed-off-by: Matt Porter <mporter@konsulko.com>
7 years agoqtmultimedia-rtlfm-radio-plugin: update build dependencies 67/7867/1
Tasuku Suzuki [Sat, 24 Dec 2016 04:51:23 +0000 (13:51 +0900)]
qtmultimedia-rtlfm-radio-plugin: update build dependencies

Change-Id: Ia6f0f297a358280f01033483d61dbfd9f402dd0e
Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>
7 years agoqtmultimedia-rtlfm-radio-plugin: Append SRCPV to PV 51/7851/2
Scott Murray [Fri, 23 Dec 2016 06:16:58 +0000 (01:16 -0500)]
qtmultimedia-rtlfm-radio-plugin: Append SRCPV to PV

Set PV to include SRCPV to make ${AUTOREV} work correctly, and set the
base version number to 0.1.

Change-Id: Ic9f694012cb3cd052fd25ccc9c82407f6ffd9d9d
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
7 years agoAdd Keyboard to AGL Controls 41/7841/3
Tasuku Suzuki [Fri, 23 Dec 2016 03:19:09 +0000 (12:19 +0900)]
Add Keyboard to AGL Controls

Change-Id: Ia7477dd99e7c4c7d45cc1561780fe263603c9e19
Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>
7 years agoivi-shell multi screen support 99/7699/4
Toshi Umemura [Mon, 19 Dec 2016 08:54:11 +0000 (17:54 +0900)]
ivi-shell multi screen support

This patch enables ivi-shell to manage multi screen.
This solves SPEC-360 ivi-shell fails to manage two screens.
CES2017 cluster demo also requires multi screen support.

Bug-AGL: SPEC-360

Change-Id: Ie0f71855af70de28068cb9deee1a6c415eaea88e

Signed-off-by: ynakamura <ynakamura@jp.adit-jv.com>
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
7 years agoAdd packages to agl-demo-platform for CES2017 Demo 49/7749/10
Tadao Tanikawa [Wed, 21 Dec 2016 09:14:11 +0000 (18:14 +0900)]
Add packages to agl-demo-platform for CES2017 Demo

Adding packages for CES2017 Demo to be incliuded in
agl-demo-platform by default.

This changes add below apps and related packages:
   MediaPlayer from apps/mediaplayer
   Settings from apps/settings
   HVAC from apps/hvac
   MOST network
   VOD Service

v4 (jsmoeller): mark drivers as porter specific and
                conditionalize the inclusion for porter only
v3 (jsmoeller): rebase on master
v2 (jsmoeller): make can-lin conditional to porter board

Change-Id: I4e89607508df2e630f46fcbcb64d4babb66a2d6f
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoAdd missing qtmultimedia to DEPENDS 37/7837/1
Jan-Simon Möller [Thu, 22 Dec 2016 19:58:34 +0000 (20:58 +0100)]
Add missing qtmultimedia to DEPENDS

This change adds a missing 'qtmultimedia'
to DEPENDS.

Change-Id: I1190f12be1a3c65ad67fef725ae65f94b1fb2294
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoRemove redundancy from recipe CES2017-demo 51/7751/4
Tadao Tanikawa [Wed, 21 Dec 2016 10:39:01 +0000 (19:39 +0900)]
Remove redundancy from recipe CES2017-demo

Because some apps(mediaplayer, hvac, and setting) sperated
from AGL/DemoApps/CES2017, CES2017-demo.bb being redundant.

v2 (jsmoeller): add 2 dependencies back

Change-Id: Iacf9a8d3f841888d2d12defe9930898beac4abfa
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoSupport systemd services of MOST for CES2017 Demo 17/7717/6
Tadao Tanikawa [Tue, 20 Dec 2016 12:34:46 +0000 (21:34 +0900)]
Support systemd services of MOST for CES2017 Demo

This change is for booting all stuff for MOST automatically
after WindowManager launched.

All services except insmod are in systemd user mode.

Change-Id: I15043493c797511275e4f02173a85f06a7298ca0
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
7 years agoAdd poi app to agl-demo-platform image 33/7833/1
Naoto Yamaguchi [Thu, 22 Dec 2016 12:30:40 +0000 (21:30 +0900)]
Add poi app to agl-demo-platform image

This patch is a patch for installing POI-App on agl-demo-platform.

Change-Id: Iaed0f45701b7bd1d55ad15f8ae44f3c4344bacd0
Signed-off-by: Naoto Yamaguchi <i33399_YAMAGUCHI@aisin-aw.co.jp>
7 years agoAdd POI application 31/7831/1
Naoto Yamaguchi [Thu, 22 Dec 2016 12:28:35 +0000 (21:28 +0900)]
Add POI application

This patch adds a POI application to the AGL Distro.
This patch includes provisional bug avoidance.

Change-Id: Ib32b896428ac4a64d9a2c815cdeb6ab8c40d6c59
Signed-off-by: Naoto Yamaguchi <i33399_YAMAGUCHI@aisin-aw.co.jp>
7 years agoAdded external public API to demo navigation 29/7829/1
Naoto Yamaguchi [Thu, 22 Dec 2016 12:24:35 +0000 (21:24 +0900)]
Added external public API to demo navigation

This change exposes the API required by POI-App.
This patch is includeing the size issue fix of the navigation app.

Change-Id: Ied19229e3dcfb5ea4a33d1d512e31e8bfbb57a8e
Signed-off-by: Naoto Yamaguchi <i33399_YAMAGUCHI@aisin-aw.co.jp>
7 years agoBackport libdbusc++ from poky upstream 27/7827/1
Naoto Yamaguchi [Thu, 22 Dec 2016 12:19:54 +0000 (21:19 +0900)]
Backport libdbusc++ from poky upstream

This patch adds libdbusc ++ to AGL Distro.
It is required for navigation API for CES demo.
Since this patch should be deleted in the future, add it in meta-agl-demo.

Change-Id: I4c8ef43f41f21e64646cb65367e8954dd718bd44
Signed-off-by: Naoto Yamaguchi <i33399_YAMAGUCHI@aisin-aw.co.jp>
7 years agoEnable installing navigation application 73/7773/1
Kazumasa Mitsunari [Thu, 22 Dec 2016 05:30:08 +0000 (14:30 +0900)]
Enable installing navigation application

Change-Id: I4acf1b79f8d0460fabf68a1b24fb4acac03bb210
Signed-off-by: Kazumasa Mitsunari <kazumasa_mitsunari_za@mail.toyota.co.jp>
7 years agoAdd AGL mixer application recipe 61/7761/1
Matt Porter [Wed, 21 Dec 2016 16:50:13 +0000 (18:50 +0200)]
Add AGL mixer application recipe

The mixer app provides a direct interface to PulseAudio mixer
elements for AGL demonstration and development purposes.

The resulting app widget must first be installed via
the application framework. To install, enter the
following on the target console:

# cd /usr/AGL/apps
# afm-util install mixer.wgt

Change-Id: I8fa976f7055909b196a1892e7cf59b0e0ad0dd8e
Signed-off-by: Matt Porter <mporter@konsulko.com>
7 years agoFIx build dependency of apps 55/7755/2
Tadao Tanikawa [Wed, 21 Dec 2016 13:25:15 +0000 (22:25 +0900)]
FIx build dependency of apps

There were missing build dependencies to qtquickcontrols2 and
af-binder in apps' recipe.

Change-Id: I497225b2a171d4cc19cb3224164af42a59bbcb69
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
7 years agoAdd systemd service for VOD demo setup 47/7747/2
Tadao Tanikawa [Wed, 21 Dec 2016 07:26:19 +0000 (16:26 +0900)]
Add systemd service for VOD demo setup

This change is for booting all stuff of VOD service demo
for RSE automatically after MOST network manager.

Change-Id: Ia985d0c6a1dad8a6cad201205141152435318b59
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
7 years agoAdd firmware of ralink 43/7743/2
Kazumasa Mitsunari [Wed, 21 Dec 2016 04:07:37 +0000 (13:07 +0900)]
Add firmware of ralink

Add firmware to use rt*bin seriese.
This enables wifi dongle of ralink, for example BUFFALO wifi dongle.

Change-Id: I439e37fe13355504df88a1177e496546c5e36552
Signed-off-by: Kazumasa Mitsunari <kazumasa_mitsunari_za@mail.toyota.co.jp>
7 years agoAdd systemd service for HVAC demo hardware setup 41/7741/3
Tadao Tanikawa [Wed, 21 Dec 2016 05:17:58 +0000 (14:17 +0900)]
Add systemd service for HVAC demo hardware setup

This change is for booting all stuff for HVAC demo hardware
automatically after WindowManager launched.

Change-Id: I8331aaae3879b4b8496f2c610530fb9fd2c61de1
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
7 years agoAdding patch to adjust volume of TTS engine 33/7733/1
Naoto Yamaguchi [Tue, 20 Dec 2016 15:43:00 +0000 (00:43 +0900)]
Adding patch to adjust volume of TTS engine

OSS TTS engine has problems of low volume.
This patch adds the normalize function to OSS TTS engine.

Change-Id: I21c2c6d20bb9e8bef6f3b8ca1c8440baa7ffe2b8
Signed-off-by: Naoto Yamaguchi <i33399_YAMAGUCHI@aisin-aw.co.jp>
7 years agoHotFix: ces2017-demo build failure 29/7729/1
Naoto Yamaguchi [Tue, 20 Dec 2016 14:44:38 +0000 (23:44 +0900)]
HotFix: ces2017-demo build failure

Home-app was deleted from CES 2017-Demo but it has not been deleted from the recipe.
That is causing the situation that master can not build.
This patch will recover this problem.

Change-Id: I029132acc2e20dc8272de9276c4be09b14ae9f3b
Signed-off-by: Naoto Yamaguchi <i33399_YAMAGUCHI@aisin-aw.co.jp>
7 years agoAdd navigation recipe for home screen adaptated 51/7651/2
Naoto Yamaguchi [Thu, 15 Dec 2016 10:30:50 +0000 (19:30 +0900)]
Add navigation recipe for home screen adaptated

Navigation will be able to work with AGLDistro 3.0 by this patch.
This recipe refers to the staging version repository.

Change-Id: I4b8bb5f020a316194f049f06a6391d9457540de6
Signed-off-by: Naoto Yamaguchi <i33399_YAMAGUCHI@aisin-aw.co.jp>
7 years agoAdd recipe of AGL Demo HMI (Media Player) 83/7683/4
Tadao Tanikawa [Sun, 18 Dec 2016 12:58:26 +0000 (21:58 +0900)]
Add recipe of AGL Demo HMI (Media Player)

This recipe is to deliver AGL Demo Platform for
CES2017 AGL Showcase by bitbake integration.

To use hmi of Media Player, it should be installed on the
target board at least once afer booting.

The package of application, mediaplayer.wgt would
be installed in /usr/AGL/apps on the target board.

To install it, follow these steps from the target console
or remote shell.
  # cd /usr/AGL/apps
  # afm-util install mediaplayer.wgt

Change-Id: I30e69e0027c10a654f657fea250b8f76033f5a52
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
7 years agoAdd recipe of AGL Demo HMI (HVAC) 85/7685/2
Tadao Tanikawa [Sun, 18 Dec 2016 14:51:08 +0000 (23:51 +0900)]
Add recipe of AGL Demo HMI (HVAC)

This recipe is to deliver AGL Demo Platform for
CES2017 AGL Showcase by bitbake integration.

To use hmi of HVAC,  it should be installed on the target
board at least once afer booting.

The package of application, hvac.wgt would be installed
in /usr/AGL/apps on the target board.

To install it, follow these steps from the target console
or remote shell.
  # cd /usr/AGL/apps
  # afm-util install hvac.wgt

Change-Id: I4d90dcae44fc6a5bedf2b26682ae2dcbfd4db6ee
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
7 years agoAdd recipe of AGL Demo HMI (Settings) 87/7687/1
Tadao Tanikawa [Sun, 18 Dec 2016 15:18:16 +0000 (00:18 +0900)]
Add recipe of AGL Demo HMI (Settings)

This recipe is to deliver AGL Demo Platform for
CES2017 AGL Showcase by bitbake integration.

To use hmi of Settings(Date/Wifi/Bluetooth), it should be
installed on the target board at least once afer booting.

The package of application, settings.wgt would be
installed in /usr/AGL/apps on the target board.

To install it, follow these steps from the target console
or remote shell.
      # cd /usr/AGL/apps
      # afm-util install settings.wgt

Change-Id: Ice204d7fd002f4c25f34ae70b38607dc23d85f44
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
7 years agocan-lin: remove PR from recipe 77/7677/3
Christian Gromm [Fri, 16 Dec 2016 16:55:19 +0000 (17:55 +0100)]
can-lin: remove PR from recipe

This patch removes the PR line, since Yocto has PRserv built-in.

Change-Id: If714e6087a9ac5b6a96999b6e3bb8d0f6fc23eda
Reported-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
7 years agorecipes-demo-hmi: fix file permissions 75/7675/2
Christian Gromm [Fri, 16 Dec 2016 16:46:52 +0000 (17:46 +0100)]
recipes-demo-hmi: fix file permissions

This patch sets the permissions for loadDriver.sh to 0755.

Change-Id: I86bce55c06ffccedef17c821fb7b2dbdbef2bc1c
Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
7 years agorecipes-demo-hmi: add recipes to build MOST applications 01/7601/2
Christian Gromm [Wed, 14 Dec 2016 13:25:46 +0000 (14:25 +0100)]
recipes-demo-hmi: add recipes to build MOST applications

This patch adds the recipes to build the recently pushed sources for
the MostNetworkManager, the VideoOnDemand server. Additionally, it
updates the recipe to fetch the CAN/LIN binary.

Change-Id: I77d5727d9b2b9b6f93ee959cf9b828090c35d05a
Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
7 years agoAdding backport of another patch from Qt5 to show cover art 53/7653/2
Tasuku Suzuki [Thu, 15 Dec 2016 11:13:54 +0000 (20:13 +0900)]
Adding backport of another patch from Qt5 to show cover art

To show cover art in qtmultimedia, the backport
patch (listed below) is needed

https://codereview.qt-project.org/179866

Change-Id: Ied5b8442f6a6a495832b4ade00020e05610e2846
Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>
7 years agoAppend SRCPV to PV in CES2017 to make ${AUTOREV} work correctly 89/7589/2
Tasuku Suzuki [Wed, 14 Dec 2016 08:41:28 +0000 (17:41 +0900)]
Append SRCPV to PV in CES2017 to make ${AUTOREV} work correctly

Change-Id: Id6f5768e823b96b05468b3d60bd16aaa5bc3196e
Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>
7 years agoadd qtvirtualkeyboard to the image 87/7587/2
Tasuku Suzuki [Wed, 14 Dec 2016 08:39:22 +0000 (17:39 +0900)]
add qtvirtualkeyboard to the image

Change-Id: I6f72f50d152902430b84a6e1a582ccab98e95b11
Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>
7 years agoremove qtquick1 and qtwebkit 59/7559/2
Tasuku Suzuki [Mon, 12 Dec 2016 16:24:43 +0000 (01:24 +0900)]
remove qtquick1 and qtwebkit

Change-Id: Ie33b59a564411655fcf41f0482be5135e6f1dff2
Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>
7 years agoProvisional fix of libhomescreen's pkgconfig 71/7571/2
Naoto Yamaguchi [Tue, 13 Dec 2016 12:24:19 +0000 (21:24 +0900)]
Provisional fix of libhomescreen's pkgconfig

Since pkgconfig has been disabled, it is not possible to get the configuration of libhomescreen.
This patch will make provisional fixes for off-tree build.

Change-Id: Ifd8e5818602ab1c4bca4440e1f20b3de46ab5157
Signed-off-by: Naoto Yamaguchi <i33399_YAMAGUCHI@aisin-aw.co.jp>
7 years agoFixed an issue that libhomescreen can not be used 69/7569/1
Naoto Yamaguchi [Tue, 13 Dec 2016 12:09:17 +0000 (21:09 +0900)]
Fixed an issue that libhomescreen can not be used

libhomescreen symbolic link is incorrect in Homescreen recipe.
This means that you can not build the application.
Fixing this problem will allow you to build the application.

Change-Id: Ifa6439a485db0205be5062d35791ce836fa832eb
Signed-off-by: Naoto Yamaguchi <i33399_YAMAGUCHI@aisin-aw.co.jp>
7 years agoAdding backport patches of Qt5 to show cover art 63/7563/1
Tadao Tanikawa [Tue, 13 Dec 2016 04:53:06 +0000 (13:53 +0900)]
Adding backport patches of Qt5 to show cover art

To show cover art in qtmultimedia, the backport
patches(listed below) are needed.

https://codereview.qt-project.org/179542
https://codereview.qt-project.org/165950
https://codereview.qt-project.org/165951

Change-Id: I638d824a3c8c4c632c4347538653830921c5e956
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
7 years agoRemove sample apps 43/7543/1
Bocklage, Jens [Mon, 12 Dec 2016 16:31:55 +0000 (17:31 +0100)]
Remove sample apps

These are no longer needed

Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
7 years agoAdding PV to work ${AUTOREV} correctly 33/7533/2
Tadao Tanikawa [Mon, 12 Dec 2016 04:36:19 +0000 (13:36 +0900)]
Adding PV to work ${AUTOREV} correctly

To work 'SRCREV = ${AUTOREV}' correctly (which means always fetch
the latest version available at build), PV needs to be modified
which includes ${SRCPV}.

Change-Id: I6bff49b493e99ba1e8eaadc5093d11e03ceaa7c9
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
7 years agoAdd qtmultimedia radio plugin to demo images 31/7531/2
Scott Murray [Sun, 11 Dec 2016 17:45:14 +0000 (12:45 -0500)]
Add qtmultimedia radio plugin to demo images

Add qtmultimedia-rtlfm-radio-plugin recipe and add it as a dependency
of the CES 2017 demo so it will go into the demo images.  It is required
for the Radio application.

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I764c561a8a7c864ac98240bb2f54995d29ce0934

7 years agohomescreen: add missing header and pkgconfig file in libhomescreen-dev 27/7527/2
Stephane Desneux [Fri, 9 Dec 2016 18:33:32 +0000 (19:33 +0100)]
homescreen: add missing header and pkgconfig file in libhomescreen-dev

Change-Id: Ic9a0706af3178ef76f8aabe75653da5fe6f3363d
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
7 years agohomescreen: generate appropriate files for SDK 25/7525/2
Stephane Desneux [Fri, 9 Dec 2016 17:43:27 +0000 (18:43 +0100)]
homescreen: generate appropriate files for SDK

Change-Id: I9fb1b5c8144c44ca69a107ede497be629683e8d8
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
7 years agoCES2017-demo: add missing dependency to zip-native 23/7523/4
Stephane Desneux [Fri, 9 Dec 2016 17:05:15 +0000 (18:05 +0100)]
CES2017-demo: add missing dependency to zip-native

Change-Id: I766a4c625f4f9fed206a6bc2e093fcbbe44d8187
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
7 years agoRemove colorschemes since no longer needed 17/7517/2
Bocklage, Jens [Fri, 9 Dec 2016 10:39:31 +0000 (11:39 +0100)]
Remove colorschemes since no longer needed

New QML implementation will use other mechanism

Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
7 years agoFirst integration of new HMI design 15/7515/1
Bocklage, Jens [Wed, 7 Dec 2016 16:46:47 +0000 (17:46 +0100)]
First integration of new HMI design

New HMI in QML is integrated.
Apps are only launched once now and not
several times.
Layer- and surface handling fixed by removing
duplicate ilm API calls.

Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
7 years agoFirst integration of new HMI design 13/7513/1
Bocklage, Jens [Wed, 7 Dec 2016 15:58:37 +0000 (16:58 +0100)]
First integration of new HMI design

New HMI in QML is integrated.
Apps are only launched once now and not
several times.
Layer- and surface handling fixed by removing
duplicate ilm API calls.

Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
7 years agoApps now need to be compiled and packaged 63/7463/15
Bocklage, Jens [Wed, 7 Dec 2016 14:32:08 +0000 (15:32 +0100)]
Apps now need to be compiled and packaged

v8: (Tadao Tanikawa)
Fix AGL style path of FILES
Fix error when installing phone.wgt caused by typo

v7: (Tadao Tanikawa)
Fix install path where AGL style should be stored

v6: (Scott Murray)
Fix filenames of apps in script for installation

v1-5: (Bocklage, Jens)
Not only QML files anymore, but also cpp files
that need to be compiled. Also packaged WGT files from
the apps.

Change-Id: Ib66a4dc7c8850d2116344b76a22719ee66693009
Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
7 years agoagl-demo-platform-html5.bb: Remove Navigation 97/7497/2
Leon Anavi [Thu, 8 Dec 2016 12:42:19 +0000 (14:42 +0200)]
agl-demo-platform-html5.bb: Remove Navigation

Remove Navigation from the dependencies of image
agl-demo-platform-html5 because recently it has
been removed from other images.

Bug-AGL: SPEC-357

Change-Id: Ie2b163ad0c00db7d483908feb7f88b6387f0572b
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
7 years agopackagegroup-qt5-toolchain-target: add qtquickcontrols* packages for SDK 75/7475/2
Stephane Desneux [Wed, 7 Dec 2016 18:21:06 +0000 (19:21 +0100)]
packagegroup-qt5-toolchain-target: add qtquickcontrols* packages for SDK

qtquickcontrols development packages are not installed in the SDK.
Those packages are needed to build some demos in AGL/DemoApps/CES2017

Bug-AGL: SPEC-355

Change-Id: Ie6d28003d850064c4815d5cff0681b8cd4fb3c21
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
7 years agoFirst integration of new HMI design 71/7471/2
Bocklage, Jens [Wed, 7 Dec 2016 16:46:47 +0000 (17:46 +0100)]
First integration of new HMI design

New HMI in QML is integrated.
Apps are only launched once now and not
several times.
Layer- and surface handling fixed by removing
duplicate ilm API calls.

Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
7 years agoAdd homescreen as default to the agl-demo-platform 45/7445/2
Jan-Simon Möller [Tue, 6 Dec 2016 18:51:00 +0000 (19:51 +0100)]
Add homescreen as default to the agl-demo-platform

This change adds
the homescreen package into the default image.

Change-Id: I5e0f5d7f0fe3937af02bcbe8c1be443da4c2128d
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoFixes due to meta-agl-security removal 33/7433/1
Stephane Desneux [Mon, 5 Dec 2016 09:15:07 +0000 (10:15 +0100)]
Fixes due to meta-agl-security removal

Change-Id: I766563790f76afa9d38657904c82e2d8389e2688
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
7 years agoFix openivi-html5 startup script 03/7403/1
Anton Gerasimov [Fri, 2 Dec 2016 15:33:08 +0000 (16:33 +0100)]
Fix openivi-html5 startup script

HOMESCREEN is a URI, not a file

Change-Id: Id2a96f86581273f4c706e3ae39779bed56e55b9e
Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
7 years agoTTS Engine: Added support for Japanese TTS engine 59/7359/3
Naoto Yamaguchi [Thu, 1 Dec 2016 12:55:30 +0000 (21:55 +0900)]
TTS Engine: Added support for Japanese TTS engine

This patch will add a temporary TTS engine for CES 2017 demo
This recipe integrates the Japanese TTS engine and the data it needs
Flite are necessary for voice-guide function of navigation app

Change-Id: I92c3ba8584ab10c1a731a335316b7762f5f57a77
Signed-off-by: Naoto Yamaguchi <i33399_YAMAGUCHI@aisin-aw.co.jp>
7 years agoChanged the recipe name and directry name from Navigation to navigation 57/7357/2
Naoto Yamaguchi [Thu, 1 Dec 2016 12:26:04 +0000 (21:26 +0900)]
Changed the recipe name and directry name from Navigation to navigation

In Yocto 2.1, if the name of the recipe contains capital letters,
it lose the setting of RDEPENDS
This change is necessary to successfully install related components

Change-Id: Ib94ed024b7ad72a3be9f6a26ec089b8d420e3afa
Signed-off-by: Naoto Yamaguchi <i33399_YAMAGUCHI@aisin-aw.co.jp>
7 years agoopenivi-html5: Fix compatibility with IVI shell 53/7353/3
Leon Anavi [Wed, 30 Nov 2016 20:51:35 +0000 (22:51 +0200)]
openivi-html5: Fix compatibility with IVI shell

Update openivi-html5 to latest version and modify
openivi-html5.sh to fix the compatibility with
Weston IVI shell.

Bug-AGL: SPEC-335

Change-Id: I015892f24e78c61283f57897c9741d608bcc383b
Suggested-by: Anton Gerasimov <anton@advancedtelematic.com>
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
7 years agoFix for not showing up HomeScreen during startup 55/7355/1
Bocklage, Jens [Thu, 1 Dec 2016 12:20:50 +0000 (13:20 +0100)]
Fix for not showing up HomeScreen during startup

This is a hack, because the root cause is not known.
The HomeScreen GUI will be replaced by a QML implementation,
so this source code will be replaced completely soon.

Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
7 years agoChange QWindow::visible when surface visibility in ivi shell changes 17/7317/2
Bocklage, Jens [Fri, 25 Nov 2016 15:31:23 +0000 (16:31 +0100)]
Change QWindow::visible when surface visibility in ivi shell changes

Origin: https://codereview.qt-project.org/#/c/176211/

Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
7 years agoAuto start of HomeScreen 15/7315/4
Bocklage, Jens [Fri, 25 Nov 2016 15:10:57 +0000 (16:10 +0100)]
Auto start of HomeScreen

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>
7 years agoopenivi-html5.sh: Configure HTML5 application 95/7295/4
Leon Anavi [Thu, 24 Nov 2016 12:05:52 +0000 (14:05 +0200)]
openivi-html5.sh: Configure HTML5 application

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>
7 years agoAdd qtdeclarative as build dependency 05/7305/1
Bocklage, Jens [Fri, 25 Nov 2016 09:42:24 +0000 (10:42 +0100)]
Add qtdeclarative as build dependency

This is needed by QML sample apps.

Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
7 years agoagl-demo-platform-html5.bb: Add new AGL image 91/7291/2
Leon Anavi [Wed, 23 Nov 2016 14:58:07 +0000 (16:58 +0200)]
agl-demo-platform-html5.bb: Add new AGL image

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>
7 years agofix recipes git source url 79/7279/3
Ronan [Tue, 22 Nov 2016 13:53:41 +0000 (14:53 +0100)]
fix recipes git source url

 * 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>
7 years agoTTS Engine: Added support for English TTS engine 51/7251/7
Naoto Yamaguchi [Fri, 18 Nov 2016 13:55:41 +0000 (22:55 +0900)]
TTS Engine: Added support for English TTS engine

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

7 years agoremove useless recipes 81/7281/3
Ronan [Tue, 22 Nov 2016 14:00:48 +0000 (15:00 +0100)]
remove useless recipes

 * no upstream source available

Change-Id: Ie7e1b4889a3ebbe0322248ac2d2df2b1ae866431
Signed-off-by: Ronan <ronan.lemartret@iot.bzh>
7 years agoTTS Engine: Added support for HTS engine 49/7249/6
Naoto Yamaguchi [Fri, 18 Nov 2016 13:52:18 +0000 (22:52 +0900)]
TTS Engine: Added support for HTS engine

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

7 years agoopenivi-html5_git.bb: Add OpenIVI Mobility HTML5 53/7253/1
Leon Anavi [Fri, 18 Nov 2016 17:41:27 +0000 (19:41 +0200)]
openivi-html5_git.bb: Add OpenIVI Mobility HTML5

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>
7 years agoHomescreen: fix installation path for services files 35/7235/1
Stephane Desneux [Thu, 17 Nov 2016 14:25:45 +0000 (15:25 +0100)]
Homescreen: fix installation path for services files

Change-Id: I73f895a9d2e0e69353af4164599fc0b44b74b0de
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
7 years agoAdd systemd service files 25/7225/2
Bocklage, Jens [Thu, 17 Nov 2016 02:36:12 +0000 (03:36 +0100)]
Add systemd service files

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>
7 years agoAdd firmware for CES 2017 demo hardware 99/7199/1
Scott Murray [Tue, 15 Nov 2016 17:31:37 +0000 (12:31 -0500)]
Add firmware for CES 2017 demo hardware

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>
7 years agoInstall to /usr/AGL instead of /opt/AGL. 89/7189/1
Jens Bocklage [Mon, 14 Nov 2016 09:19:30 +0000 (01:19 -0800)]
Install to /usr/AGL instead of /opt/AGL.

Signed-off-by: Jens Bocklage <jens_bocklage@mentor.com>
7 years ago-Make the SampleNav app yellow. 01/7101/1
Bocklage, Jens [Tue, 8 Nov 2016 19:28:41 +0000 (20:28 +0100)]
-Make the SampleNav app yellow.
-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>
7 years agoNow providing shared c++ library to be independent from QDBus. 97/6997/1
Bocklage, Jens [Thu, 3 Nov 2016 19:31:47 +0000 (20:31 +0100)]
Now providing shared c++ library to be independent from QDBus.
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>
7 years agomove hvacplugin from meta-agl to meta-agl-demo 71/6971/2
Ronan [Wed, 2 Nov 2016 09:12:03 +0000 (10:12 +0100)]
move hvacplugin from meta-agl to meta-agl-demo

Change-Id: I13c48bf7f16869d687ab563b5495836e6980df13
Signed-off-by: Ronan <ronan.lemartret@iot.bzh>
7 years agoAdd CES2017-demo and change image definition 65/6965/2
Jan-Simon Möller [Tue, 1 Nov 2016 14:15:39 +0000 (15:15 +0100)]
Add CES2017-demo and change image definition

Change-Id: Ia9f4f619bc0c6576e35cd6fc66267938869dd92c
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoChange /opt/AGL to /usr/AGL for ostree integration 43/6943/1
Jan-Simon Möller [Sat, 29 Oct 2016 12:24:34 +0000 (14:24 +0200)]
Change /opt/AGL to /usr/AGL for ostree integration

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>