summaryrefslogtreecommitdiffstats
path: root/recipes-demo-hmi
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-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-24fix recipes git source urlRonan1-1/+1
* 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-24remove useless recipesRonan3-93/+0
* no upstream source available Change-Id: Ie7e1b4889a3ebbe0322248ac2d2df2b1ae866431 Signed-off-by: Ronan <ronan.lemartret@iot.bzh>
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-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-01Add CES2017-demo and change image definitionJan-Simon Möller1-0/+38
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-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-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 issues of dependencies and QA of ALS/CES2016 demoTadao Tanikawa2-2/+6
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-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-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-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-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-05Add AGL Demo Suide for ALS 2016Tadao Tnikawa1-0/+36
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 Sekiyama1-0/+16
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-04-09RDEPEND libgbm-dev in the gles-user-moduleJan-Simon Möller1-1/+1
To keep core-image-minimal clean of the 3rdparty components, we need to add the requirements where they are needed and not globally in the local.conf.sample - fix this. Change-Id: I6a5b8450a287de59c342318150a81c0dae9308fd Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2015-11-09Fix recipe to pull latest revision of CES2016-demo whenever updated.Tadao Tanikawa1-1/+3
Fix SRCREV and add PV in CES2016-demo.bb to pull latest revision from repository whenever it is updated. Change-Id: Ib0c79d9c4f90dd81c59529d645869cec1e2a23ff Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2015-11-05Fix Qt dependency of the CES demo.Tadao Tanikawa1-1/+5
Fix package names of QtMultimedia and QtQuickControls in RDEPENDS. Package names of 'qtmultimedia' and 'qtquickcontrols' with meta-qt5/master work fine, but it caused build and runtime errors with meta-qt5/dizzy. Correct package names are 'qtmultimedia-qmlplugins' and 'qtquickcontrols-qmlplugins'. And 'qtsvg-plugins' was also missing. Change-Id: I43829b144dd7b51ab97a453ffebaf09f2fd859c0 Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2015-11-04Add dummy recipes for UI components.Jan-Simon Möller4-0/+124
Change-Id: I221367d457685f026c3fee84594a2b25b08ef6e9 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2015-11-04Add bitbake recipe for the CES demo.Jan-Simon Möller1-0/+30
v2:(Tadao Tanikawa) -add RDEPENDS because CES demo apps depends on qtquickcontrols and qtmultimedia v1:(Jan-Simon Möller) Change-Id: I0aed622d5e9c72695a728398a6e457c261804621 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2015-08-22The starting point of layers for AGL Demo PlatformTadao Tanikawa1-0/+0
The `meta-agl-demo` is the Yocto layer for AGL Demo Platform of Automotive Grade Linux. This is starting point. Almost all packagegroups which should be defined in this layer are still empty (placeholder), so that curretly bitbake target `agl-demo-platform` is completely equal to `agl-image-ivi` in `meta-agl`. Change-Id: I6ce2c046cc8ce2dc5af2a8afe66e1f577dd884eb Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>