aboutsummaryrefslogtreecommitdiffstats
path: root/xdg-launcher/README.txt
blob: f7d9f5647f25ab08f3c439c784cfa1eeda61d10a (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
How to build


1. make build directory
   $ mkdir build
   $ cd build

2. do cmake
   $ cmake -D TARGET_APP_ID='"<app id>"' -D RUNXDG_NAME='"<app name>"' ..

   <app id> is id by appfw
   <app name> is id by window manager

   Example) Launching weston-simple-egl@0.1 with Navigaiton's layout
   $ cmake -D TARGET_APP_ID='"weston-simple-egl@0.1"' -D RUNXDG_NAME='"Navigation"' ..

   If you want own app name for layout, modify layout.json in windo manager and rebuild it.

   You can confirm ids which you set by log like following:

	Dec 08 01:33:59 qemux86-64 afbd-navigation@0.1[775]: DEBUG: runxdg: name(Navigation), target("weston-simple-egl@0.1")

3. make
   $ make && make widget

   The following wgt would be made.
   - runxdg.wgt     XDG Launcher
   - navi.wgt       for test, XDG Launcher installed as Navigation
   - hvac.wgt       for test, XDG Lanncher installed as HVAC

You can confirm by log like following:

Dec 08 01:33:59 qemux86-64 afbd-navigation@0.1[775]: DEBUG: runxdg: name(Navigation), target("weston-simple-egl@0.1")