aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKazumasa Mitsunari <kazumasa_mitsunari_za@mail.toyota.co.jp>2016-08-26 18:13:47 +0900
committerKazumasa Mitsunari <kazumasa_mitsunari_za@mail.toyota.co.jp>2016-08-26 18:13:47 +0900
commit9aeb79ae863d68c3f4a661d906e630a1645c053e (patch)
tree29f0d8581eccbf01c669c08c5334be8e2ecdc09d
parent54fb8c5751d8f98206c69c72103851a2199b8838 (diff)
Update bundle
update bundle from:71b36b170c377bfd15cb5601c49340ba95a1a30d to :0a9a262dca62ac30bee689118879b9f821604f45 Signed-off-by: Kazumasa Mitsunari <kazumasa_mitsunari_za@mail.toyota.co.jp>
-rw-r--r--meta-application-manager/recipes-others/bundle/bundle.incorg135
-rw-r--r--meta-application-manager/recipes-others/bundle/bundle_%.bbappend18
-rw-r--r--meta-application-manager/recipes-others/bundle/diff_bundle12
3 files changed, 18 insertions, 147 deletions
diff --git a/meta-application-manager/recipes-others/bundle/bundle.incorg b/meta-application-manager/recipes-others/bundle/bundle.incorg
deleted file mode 100644
index b9a3844..0000000
--- a/meta-application-manager/recipes-others/bundle/bundle.incorg
+++ /dev/null
@@ -1,135 +0,0 @@
-DESCRIPTION = "String key-val dictionary ADT"
-HOMEPAGE = "http://nohomepage.org"
-SECTION = "System/Libraries"
-LICENSE = "Apache-2.0"
-PV = "0.1.31"
-
-SRC_URI = ""
-
-S = "${WORKDIR}/git"
-
-inherit autotools-brokensep
-
-BBCLASSEXTEND = ""
-PROVIDES = ""
-
-#PROVIDES by bundle-dev
-PROVIDES += "bundle-dev"
-
-
-#PROVIDES by bundle
-
-
-RDEPENDS = ""
-#RDEPENDS of bundle-dev (${PN}-dev)
-RDEPENDS_${PN}-dev += "bundle"
-
-
-DEPENDS = ""
-#DEPENDS of bundle
-inherit tizen_cmake
-inherit pkgconfig
-DEPENDS += "dlog"
-DEPENDS += "glib-2.0"
-
-do_prep() {
- cd ${S}
- chmod -Rf a+rX,u+w,g-w,o-w ${S}
- #setup -q -n bundle-0.1.31
- cp ${S}/packaging/bundle.manifest .
-
-
-
-}
-do_patch_append() {
- bb.build.exec_func('do_prep', d)
-}
-
-do_configure() {
-}
-
-do_compile() {
- cd ${S}
- LANG=C
- export LANG
- unset DISPLAY
- LD_AS_NEEDED=1; export LD_AS_NEEDED ;
-
-
- cmake \
- -DCMAKE_VERBOSE_MAKEFILE=ON \
- -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \
- -DCMAKE_INSTALL_LIBDIR:PATH=${prefix}/lib \
- -DINCLUDE_INSTALL_DIR:PATH=${prefix}/include \
- -DLIB_INSTALL_DIR:PATH=${prefix}/lib \
- -DSYSCONF_INSTALL_DIR:PATH=${sysconfdir} \
- -DSHARE_INSTALL_PREFIX:PATH=${prefix}/share \
- -DCMAKE_SKIP_RPATH:BOOL=ON \
- -DBUILD_SHARED_LIBS:BOOL=ON \
- -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \
- ${EXTRA_OECMAKE} .
- make ${PARALLEL_MAKE}
-
-
-
-}
-
-do_install() {
- export RPM_BUILD_ROOT=${D}
- cd ${S}
- LANG=C
- export LANG
- unset DISPLAY
- rm -rf ${D}
- mkdir -p ${D}
-
-
- oe_runmake \
- DESTDIR=${D} \
- INSTALL_ROOT=${D} \
- BINDIR=${prefix}/bin \
- install
- rm -f ${D}${infodir}/dir
- find ${D} -regex ".*\.la$" | xargs rm -f --
- find ${D} -regex ".*\.a$" | xargs rm -f --
-
- mkdir -p ${D}/usr/share/license
-
-
-}
-
-pkg_postinst_${PN}() {
- #!/bin/sh -e
-
- [ "x$D" == "x" ] && ldconfig
-}
-
-pkg_postrm_${PN}() {
- #!/bin/sh -e
-
- [ "x$D" == "x" ] && ldconfig
-}
-
-PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale"
-PACKAGES += " bundle-dev "
-PACKAGES += " bundle "
-
-bundle-dev_files = ""
-bundle-dev_files += "${prefix}/include/bundle.h"
-bundle-dev_files += "${prefix}/include/SLP_bundle_PG.h"
-bundle-dev_files += "${prefix}/lib/pkgconfig/bundle.pc"
-bundle-dev_files += "${prefix}/lib/libbundle.so"
-MANIFESTFILES_${PN}-dev = "bundle.manifest"
-
-bundle_files = ""
-bundle_files += "${prefix}/lib/libbundle.so.*"
-MANIFESTFILES_${PN} = "bundle.manifest"
-
-FILES_${PN}-dev = "${bundle-dev_files}"
-FILES_${PN} = "${bundle_files}"
-
-PKG_bundle-dev= "bundle-dev"
-PKG_bundle= "bundle"
-
-require bundle-extraconf.inc
-
diff --git a/meta-application-manager/recipes-others/bundle/bundle_%.bbappend b/meta-application-manager/recipes-others/bundle/bundle_%.bbappend
new file mode 100644
index 0000000..9faa5ee
--- /dev/null
+++ b/meta-application-manager/recipes-others/bundle/bundle_%.bbappend
@@ -0,0 +1,18 @@
+SRC_URI_remove = "git://review.tizen.org/platform/core/base/bundle;tag=71b36b170c377bfd15cb5601c49340ba95a1a30d;nobranch=1"
+
+SRC_URI_prepend = " \
+ git://review.tizen.org/platform/core/base/bundle;tag=0a9a262dca62ac30bee689118879b9f821604f45;nobranch=1 \
+ "
+
+DEPENDS += "json-glib"
+
+do_prep_append() {
+ sed -i -e "4i SET(VERSION 0.1.31)" ${S}/CMakeLists.txt
+}
+
+bundle-dev_files += "${prefix}/include/bundle_internal.h"
+
+bundle_files += "/usr/share"
+bundle_files += "/usr/share/license"
+
+RDEPENDS_${PN} = "capi-base-common"
diff --git a/meta-application-manager/recipes-others/bundle/diff_bundle b/meta-application-manager/recipes-others/bundle/diff_bundle
deleted file mode 100644
index 9171935..0000000
--- a/meta-application-manager/recipes-others/bundle/diff_bundle
+++ /dev/null
@@ -1,12 +0,0 @@
---- bundle.inc 2016-06-02 20:56:35.000000000 +0900
-+++ bundle.incorg 2016-07-21 14:40:54.348023451 +0900
-@@ -93,9 +93,6 @@
- find ${D} -regex ".*\.la$" | xargs rm -f --
- find ${D} -regex ".*\.a$" | xargs rm -f --
-
-- mkdir -p ${D}/usr/share/license
--
--
- }
-
- pkg_postinst_${PN}() {