diff options
Diffstat (limited to 'xdg-launcher/README.txt')
-rw-r--r-- | xdg-launcher/README.txt | 34 |
1 files changed, 18 insertions, 16 deletions
diff --git a/xdg-launcher/README.txt b/xdg-launcher/README.txt index f7d9f56..fc8aad4 100644 --- a/xdg-launcher/README.txt +++ b/xdg-launcher/README.txt @@ -1,28 +1,34 @@ - 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>"' .. +2. Prepare configuration for RunXDG, 'runxdg.toml' + See 'package/{runxdg|navi|hvac}/runxdg.toml for detail. - <app id> is id by appfw - <app name> is id by window manager + 'name', 'method', 'path' is mondatory. + So far, only "POSIX" as 'method' works, others not tested. - 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"' .. +3. Prepare config.xml for widget - If you want own app name for layout, modify layout.json in windo manager and rebuild it. + <content> should be follow. + <content src="bin/runxdg" type="application/vnd.agl.native"/> + + following <feature> is mandatory. + <feature name="urn:AGL:widget:required-api"> + <param name="homescreen" value="ws" /> + <param name="windowmanager" value="ws" /> + </feature> - You can confirm ids which you set by log like following: +4. do cmake + $ cmake .. - Dec 08 01:33:59 qemux86-64 afbd-navigation@0.1[775]: DEBUG: runxdg: name(Navigation), target("weston-simple-egl@0.1") + If you want own app name for layout, modify layout.json in windo manager and rebuild it. + +5. make -3. make $ make && make widget The following wgt would be made. @@ -30,7 +36,3 @@ How to build - 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") - |