blob: 945957fd02660fceb56c7ee01487cf5f812d7936 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
|
This project contains:
HomeScreen: AGL Home Screen reference implementation
HomeScreenSimulator: AGL Home Screen Simulator for development
InputEventManager: AGL Input event manager
interfaces: library with the D-Bus interfaces
SampleAppTimeDate: AGL Sample Application for Home Screen Statusbar
HomeScreenAppFrameworkBinderTizen: Binder for the TIZEN application framework
AGL repo for source code:
https://gerrit.automotivelinux.org/gerrit/#/admin/projects/staging/HomeScreen
AGL repo for bitbake recipe:
https://gerrit.automotivelinux.org/gerrit/#/admin/projects/AGL/meta-agl-demo/recipes-demo-hmi/HomeScreen/HomeScreen_?.bb
Instructions for running on porter board
----------------------------------------
Add "HomeScreen" to your image recipe.
Right now, HomeScreen depends on the TIZEN application manager, because the HomeScreenAppFrameworkBinderTizen makes use of it.
So also add this to your image recipe:
"
tizen-platform-wrapper \
tizen-platform-config \
xdgmime \
libdlog \
dlogutil \
libiri \
\
smack \
libprivilege-control \
libslp-db-util \
\
vconf \
capi-base-common \
ail \
\
sensor \
libsf-common \
\
iniparser \
app-svc \
heynoti \
notification \
app-core-efl \
app-core-common \
capi-system-info \
\
pkgmgr-info \
librua \
bundle \
app-checker \
\
libcom-core \
privacy-manager-server \
pkgmgr \
pkgmgr-info \
pkgmgr-info-parser \
aul \
aul-test \
\
dlt-daemon \
dlt-daemon-systemd \
\
amhelloworld \
pkgmgr-first-setup-service \
"
All "HomeScreen" applications can be found in /opt/AGL/HomeScreen.
Make sure, weston is using the IVI shell extension:
/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 use the TIZEN application manager to launch apps, you need to execute HomeScreen app with the user "aglglobalapp":
Therefore you need to change the owner of the weston socket:
chown aglglobalapp:aglglobalapp /tmp/wayland-0
P.S.: the path may also something likle /run/user/0, depending on the XDG_RUNTIME_DIR.
If not already stared, launch D-Bus:
export `dbus-launch`
Now you can start the HomeScreen apps:
cd /opt/AGL/HomeScreen
./WindowManager &
./InputEventManager &
./HomeScreenAppFrameworkBinderTizen &
./HomeScreen &
|