Split library from windowmanager 15/11515/6
authorKazumasa Mitsunari <knimitz@witz-inc.co.jp>
Mon, 23 Oct 2017 14:52:46 +0000 (23:52 +0900)
committerKazumasa Mitsunari <knimitz@witz-inc.co.jp>
Tue, 31 Oct 2017 09:08:27 +0000 (09:08 +0000)
To improve independency, library from windowmanager service binder should be splitted

[Patch Sets 2]
- Remove installation of layers.json.
  It is included in CMakeFile.
  https://gerrit.automotivelinux.org/gerrit/#/c/11523/
- Remove unnecessary tabs.
[Patch Sets 3]
- Rename the recipe

[Patch Sets 4]
- Modified description about recipes
- Moved S variables after SRC_URI

Change-Id: I37c394991f8f18359bcf6816e9edd82e6442ce5b
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
meta-hmi-framework/recipes-graphics/agl-service-windowmanager-2017/agl-service-windowmanager-2017_git.bb
meta-hmi-framework/recipes-graphics/libwindowmanager/libwindowmanager_git.bb [new file with mode: 0644]

index addee32..3207b79 100644 (file)
@@ -1,32 +1,18 @@
-SUMMARY     = "Window Manager binding and client library for application"
-DESCRIPTION = "Window Manager 2017 is the binding library  \
-       "
-HOMEPAGE    = ""
-S = "${WORKDIR}/git"
+SUMMARY     = "Window Manager service binding for applications"
+DESCRIPTION = "Window Manager 2017 is the service binding for controlling rendering rights \
+    Applications requests to render itself, then Window Manager check policy and notify layout to respective applications \
+    "
+HOMEPAGE    = "https://wiki.automotivelinux.org/windowmanager"
 SECTION = "graphics"
 LICENSE     = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=2ee41112a44fe7014dce33e26468ba93"
 DEPENDS = "af-binder json-c wayland wayland-ivi-extension wayland-native"
-RDEPENDS_${PN} = " \
-       "
 
 SRC_URI = "git://gerrit.automotivelinux.org/gerrit/apps/agl-service-windowmanager-2017;protocol=https;branch=master"
-SRCREV = "d5eb8b53ed088db5a25451fc7e3009d3e44ae6bd"
+SRCREV = "9d25a6eaeb93ab7c732b3dbca28b6fa86b15347c"
+S = "${WORKDIR}/git"
 
 inherit cmake aglwgt
 
 #If you would like to output log, uncomment out
 #EXTRA_OECMAKE = " -DENABLE_DEBUG_OUTPUT=ON "
-
-do_install_append() {
-    install -d ${D}${sysconfdir}/windowmanager
-    install -m 0644 ${S}/layers.json ${D}${sysconfdir}/windowmanager/
-    install -d ${D}${libdir}/pkgconfig
-    install -m 0644 ${B}/windowmanager.pc ${D}${libdir}/pkgconfig
-    install -d ${D}${includedir}
-    install -m 0644 ${S}/libwindowmanager/libwindowmanager.h ${D}${includedir}
-
-    install -m -0755 ${B}/libwindowmanager/libwindowmanager.so ${D}${libdir}/libwindowmanager.so.0.1
-    ln -sf libwindowmanager.so.0.1 ${D}${libdir}/libwindowmanager.so
-}
-FILES_${PN} += "${sysconfdir}/windowmanager/layers.json"
diff --git a/meta-hmi-framework/recipes-graphics/libwindowmanager/libwindowmanager_git.bb b/meta-hmi-framework/recipes-graphics/libwindowmanager/libwindowmanager_git.bb
new file mode 100644 (file)
index 0000000..4893ca3
--- /dev/null
@@ -0,0 +1,12 @@
+SUMMARY     = "Window Manager client library for applications"
+SECTION = "graphics"
+LICENSE     = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=ae6497158920d9524cf208c09cc4c984"
+DEPENDS = "af-binder json-c"
+RDEPENDS_${PN} = "agl-service-windowmanager-2017"
+
+SRC_URI = "git://gerrit.automotivelinux.org/gerrit/staging/libwindowmanager.git;protocol=https;branch=master"
+SRCREV = "922255ac97240980059979ab7975118f46c950a0"
+S = "${WORKDIR}/git"
+
+inherit cmake