Age | Commit message (Collapse) | Author | Files | Lines |
|
This change adds
the homescreen package into the default image.
Change-Id: I5e0f5d7f0fe3937af02bcbe8c1be443da4c2128d
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|
|
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>
|
|
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>
|
|
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>
|
|
This is needed by QML sample apps.
Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
|
|
* 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>
|
|
* no upstream source available
Change-Id: Ie7e1b4889a3ebbe0322248ac2d2df2b1ae866431
Signed-off-by: Ronan <ronan.lemartret@iot.bzh>
|
|
Change-Id: I73f895a9d2e0e69353af4164599fc0b44b74b0de
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
|
|
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>
|
|
Signed-off-by: Jens Bocklage <jens_bocklage@mentor.com>
|
|
-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>
|
|
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>
|
|
Change-Id: Ia9f4f619bc0c6576e35cd6fc66267938869dd92c
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|
|
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>
|
|
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>
|
|
Use the simulator to test.
Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Add the recipe for navigation demo app to recipes-demo-hmi.
Change-Id: Ia8df6a2e36d24b27e91d5239c888a05dbe990805
Signed-off-by: Tomoki Sekiyama <tomoki.sekiyama.qu@hitachi.com>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Change-Id: I221367d457685f026c3fee84594a2b25b08ef6e9
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|
|
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>
|
|
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>
|