add package for crosswalk
authorRonan Le Martret <ronan@fridu.net>
Tue, 13 May 2014 06:55:44 +0000 (08:55 +0200)
committerRonan Le Martret <ronan@fridu.net>
Tue, 13 May 2014 06:55:44 +0000 (08:55 +0200)
Change-Id: If3c5c72f39ec3317b9dd4b1d903d7defab99bfb2

71 files changed:
recipes-tizen/alarm-manager/alarm-manager-extraconf.inc [new file with mode: 0644]
recipes-tizen/alarm-manager/alarm-manager.inc [new file with mode: 0644]
recipes-tizen/alarm-manager/alarm-manager_git.bb [new file with mode: 0644]
recipes-tizen/app-core/app-core-extraconf.inc [new file with mode: 0644]
recipes-tizen/app-core/app-core.inc [new file with mode: 0644]
recipes-tizen/app-core/app-core_git.bb [new file with mode: 0644]
recipes-tizen/app-svc/app-svc-extraconf.inc [new file with mode: 0644]
recipes-tizen/app-svc/app-svc.inc [new file with mode: 0644]
recipes-tizen/app-svc/app-svc_git.bb [new file with mode: 0644]
recipes-tizen/application/application-extraconf.inc [new file with mode: 0644]
recipes-tizen/application/application.inc [new file with mode: 0644]
recipes-tizen/application/application_git.bb [new file with mode: 0644]
recipes-tizen/audio-session-manager/audio-session-manager.inc
recipes-tizen/aul-1/aul-1.inc
recipes-tizen/avsystem/avsystem.inc
recipes-tizen/com-core/com-core-extraconf.inc [new file with mode: 0644]
recipes-tizen/com-core/com-core.inc [new file with mode: 0644]
recipes-tizen/com-core/com-core_git.bb [new file with mode: 0644]
recipes-tizen/crosswalk/crosswalk.inc
recipes-tizen/dlog/dlog.inc
recipes-tizen/doxygen/doxygen.inc
recipes-tizen/eina/eina-extraconf.inc [new file with mode: 0644]
recipes-tizen/eina/eina.inc [new file with mode: 0644]
recipes-tizen/eina/eina_git.bb [new file with mode: 0644]
recipes-tizen/libiri/libiri.inc
recipes-tizen/libmm-sound/libmm-sound.inc
recipes-tizen/libsf-common/libsf-common-extraconf.inc [new file with mode: 0644]
recipes-tizen/libsf-common/libsf-common.inc [new file with mode: 0644]
recipes-tizen/libsf-common/libsf-common_git.bb [new file with mode: 0644]
recipes-tizen/libslp-db-util/libslp-db-util-extraconf.inc [new file with mode: 0644]
recipes-tizen/libslp-db-util/libslp-db-util.inc [new file with mode: 0644]
recipes-tizen/libslp-db-util/libslp-db-util_git.bb [new file with mode: 0644]
recipes-tizen/libslp-sensor/libslp-sensor-extraconf.inc [new file with mode: 0644]
recipes-tizen/libslp-sensor/libslp-sensor.inc [new file with mode: 0644]
recipes-tizen/libslp-sensor/libslp-sensor_git.bb [new file with mode: 0644]
recipes-tizen/libtapi-legacy/libtapi-legacy-extraconf.inc [new file with mode: 0644]
recipes-tizen/libtapi-legacy/libtapi-legacy.inc [new file with mode: 0644]
recipes-tizen/libtapi-legacy/libtapi-legacy_git.bb [new file with mode: 0644]
recipes-tizen/libtapi/libtapi-extraconf.inc [new file with mode: 0644]
recipes-tizen/libtapi/libtapi.inc [new file with mode: 0644]
recipes-tizen/libtapi/libtapi_git.bb [new file with mode: 0644]
recipes-tizen/lua/lua-native_git.bb [deleted file]
recipes-tizen/lua/lua.inc
recipes-tizen/lua/lua_git.bb
recipes-tizen/notification/notification-extraconf.inc [new file with mode: 0644]
recipes-tizen/notification/notification.inc [new file with mode: 0644]
recipes-tizen/notification/notification_git.bb [new file with mode: 0644]
recipes-tizen/privacy-manager/privacy-manager.inc
recipes-tizen/python-rpm/python-rpm-native_git.bb [deleted file]
recipes-tizen/python-rpm/python-rpm.inc
recipes-tizen/python-rpm/python-rpm_git.bb
recipes-tizen/rpm/rpm.inc
recipes-tizen/rpm/rpm_git.bb
recipes-tizen/security-server/security-server.inc
recipes-tizen/slp-pkgmgr/slp-pkgmgr-extraconf.inc [new file with mode: 0644]
recipes-tizen/slp-pkgmgr/slp-pkgmgr.inc [new file with mode: 0644]
recipes-tizen/slp-pkgmgr/slp-pkgmgr_git.bb [new file with mode: 0644]
recipes-tizen/smack/smack-native_git.bb [deleted file]
recipes-tizen/smack/smack.inc
recipes-tizen/smack/smack_git.bb
recipes-tizen/tizen-platform-config/tizen-platform-config-extraconf.inc [new file with mode: 0644]
recipes-tizen/tizen-platform-config/tizen-platform-config.inc [new file with mode: 0644]
recipes-tizen/tizen-platform-config/tizen-platform-config_git.bb [new file with mode: 0644]
recipes-tizen/tizen-platform-wrapper/tizen-platform-wrapper-extraconf.inc [new file with mode: 0644]
recipes-tizen/tizen-platform-wrapper/tizen-platform-wrapper.inc [new file with mode: 0644]
recipes-tizen/tizen-platform-wrapper/tizen-platform-wrapper_git.bb [new file with mode: 0644]
recipes-tizen/uthash/uthash-native_git.bb [deleted file]
recipes-tizen/uthash/uthash.inc
recipes-tizen/uthash/uthash_git.bb
recipes-tizen/vconf/vconf.inc
recipes-tizen/weston-common/weston-common.inc

diff --git a/recipes-tizen/alarm-manager/alarm-manager-extraconf.inc b/recipes-tizen/alarm-manager/alarm-manager-extraconf.inc
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/recipes-tizen/alarm-manager/alarm-manager.inc b/recipes-tizen/alarm-manager/alarm-manager.inc
new file mode 100644 (file)
index 0000000..da8fc18
--- /dev/null
@@ -0,0 +1,195 @@
+DESCRIPTION = "Alarm library"
+HOMEPAGE = "http://nohomepage.org"
+SECTION = "Application Framework/Libraries"
+LICENSE = "Apache-2.0"
+
+SRC_URI = ""
+
+S = "${WORKDIR}/git"
+
+inherit autotools-brokensep
+
+PROVIDES = ""
+
+#PROVIDES by alarm-manager 
+
+
+#PROVIDES by libalarm 
+
+
+#PROVIDES by alarm-server 
+
+
+#PROVIDES by libalarm-dev 
+
+
+RDEPENDS = ""
+#RDEPENDS of libalarm (libalarm)
+RDEPENDS_libalarm += "alarm-server"
+
+#RDEPENDS of alarm-server (alarm-server)
+RDEPENDS_alarm-server += "systemd"
+
+#RDEPENDS of libalarm-dev (libalarm-dev)
+RDEPENDS_libalarm-dev += "libalarm"
+
+
+DEPENDS = ""
+#DEPENDS of alarm-manager 
+DEPENDS += "aul-1"
+DEPENDS += "dbus"
+DEPENDS += "app-svc"
+DEPENDS += "security-server"
+DEPENDS += "bundle"
+DEPENDS += "glib-2.0"
+DEPENDS += "dlog"
+DEPENDS += "libslp-pm"
+DEPENDS += "heynoti"
+DEPENDS += "libtapi-legacy"
+DEPENDS += "vconf"
+DEPENDS += "libslp-db-util"
+
+do_prep() {
+ cd ${S}
+ chmod -Rf a+rX,u+w,g-w,o-w ${S}
+ #setup -q
+ cp ${S}/packaging/alarm-manager.manifest .
+}
+do_patch_append() {
+    bb.build.exec_func('do_prep', d)
+}
+
+do_configure() {
+}
+
+do_compile() {
+ cd ${S}
+ LANG=C
+ export LANG
+ unset DISPLAY
+ CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables" ; export CFLAGS ; 
+ CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ; 
+ FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I%_fmoddir}" ; export FFLAGS ; 
+ LD_AS_NEEDED=1; export LD_AS_NEEDED ; 
+   CFLAGS="${CFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CFLAGS ; 
+   CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ; 
+   FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I%_fmoddir}" ; export FFLAGS ; 
+   ./autogen.sh --build=${TARGET_SYS} --host=${HOST_SYS} \
+         --target=x86_64-tizen-linux \
+         --program-prefix= \
+         --prefix=${prefix} \
+         --exec-prefix=${prefix} \
+         --bindir=${prefix}/bin \
+         --sbindir=${prefix}/sbin \
+         --sysconfdir=${sysconfdir} \
+         --datadir=${prefix}/share \
+         --includedir=${prefix}/include \
+         --libdir=${prefix}/lib \
+         --libexecdir=${prefix}/libexec \
+         --localstatedir=${localstatedir} \
+         --sharedstatedir=${prefix}/com \
+         --mandir=${mandir} \
+         --infodir=${infodir} --disable-static
+ dbus-binding-tool --mode=glib-server --prefix=alarm_manager ./alarm_mgr.xml > ./include/alarm-skeleton.h
+ dbus-binding-tool --mode=glib-client --prefix=alarm_manager ./alarm_mgr.xml > ./include/alarm-stub.h
+ dbus-binding-tool --mode=glib-server --prefix=alarm_client ./alarm-expire.xml > ./include/alarm-expire-skeleton.h
+ dbus-binding-tool --mode=glib-client --prefix=alarm_client ./alarm-expire.xml > ./include/alarm-expire-stub.h
+   CFLAGS="${CFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CFLAGS ; 
+   CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ; 
+   FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I%_fmoddir}" ; export FFLAGS ; 
+   autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \
+         --target=x86_64-tizen-linux \
+         --program-prefix= \
+         --prefix=${prefix} \
+         --exec-prefix=${prefix} \
+         --bindir=${prefix}/bin \
+         --sbindir=${prefix}/sbin \
+         --sysconfdir=${sysconfdir} \
+         --datadir=${prefix}/share \
+         --includedir=${prefix}/include \
+         --libdir=${prefix}/lib \
+         --libexecdir=${prefix}/libexec \
+         --localstatedir=${localstatedir} \
+         --sharedstatedir=${prefix}/com \
+         --mandir=${mandir} \
+         --infodir=${infodir} --disable-static
+ make -j16
+}
+
+do_install() {
+ echo 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 --
+ install -d ${D}/lib/systemd/system/multi-user.target.wants
+ install -m0644 ${S}/packaging/alarm-server.service ${D}/lib/systemd/system
+ ln -sf ../alarm-server.service ${D}/lib/systemd/system/multi-user.target.wants/alarm-server.service
+ mkdir -p ${D}/${sysconfdir}/udev/rules.d
+ install -m0644  ${S}/packaging/60-alarm-manager-rtc.rules ${D}${sysconfdir}/udev/rules.d/
+ mkdir -p ${D}/${sysconfdir}/dbus-1/system.d
+ install -m0644  ${S}/packaging/alarm-service.conf ${D}${sysconfdir}/dbus-1/system.d/
+}
+
+PACKAGES += " libalarm "
+PACKAGES += " alarm-server "
+PACKAGES += " libalarm-dev "
+
+libalarm_files = ""
+libalarm_files += "alarm-manager.manifest"
+libalarm_files += "alarm-lib.manifest"
+libalarm_files += "${prefix}/lib/libalarm.so.0.0.0"
+libalarm_files += "${prefix}/lib/libalarm.so.0"
+
+alarm-server_files = ""
+alarm-server_files += "alarm-manager.manifest"
+alarm-server_files += "${prefix}/bin/alarm-server"
+alarm-server_files += "/lib/systemd/system/multi-user.target.wants/alarm-server.service"
+alarm-server_files += "/lib/systemd/system/alarm-server.service"
+alarm-server_files += "${sysconfdir}/dbus-1/system.d/alarm-service.conf"
+alarm-server_files += "${sysconfdir}/udev/rules.d/60-alarm-manager-rtc.rules"
+
+libalarm-dev_files = ""
+libalarm-dev_files += "alarm-manager.manifest"
+libalarm-dev_files += "${prefix}/include/*.h"
+libalarm-dev_files += "${prefix}/lib/pkgconfig/*.pc"
+libalarm-dev_files += "${prefix}/lib/libalarm.so"
+
+FILES_libalarm = "${libalarm_files}"
+FILES_alarm-server = "${alarm-server_files}"
+FILES_libalarm-dev = "${libalarm-dev_files}"
+
+PKG_libalarm= "libalarm"
+PKG_alarm-server= "alarm-server"
+PKG_libalarm-dev= "libalarm-dev"
+
+require alarm-manager-extraconf.inc
+
diff --git a/recipes-tizen/alarm-manager/alarm-manager_git.bb b/recipes-tizen/alarm-manager/alarm-manager_git.bb
new file mode 100644 (file)
index 0000000..4ba5de3
--- /dev/null
@@ -0,0 +1,10 @@
+require alarm-manager.inc
+
+PRIORITY = "10"
+
+LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
+
+SRC_URI += "git://review.tizen.org/platform/core/appfw/alarm-manager;tag=46a11032c162562d1cf0838843925d8ff2e013b5;nobranch=1"
+
+BBCLASSEXTEND = "native"
+
diff --git a/recipes-tizen/app-core/app-core-extraconf.inc b/recipes-tizen/app-core/app-core-extraconf.inc
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/recipes-tizen/app-core/app-core.inc b/recipes-tizen/app-core/app-core.inc
new file mode 100644 (file)
index 0000000..2cbf09f
--- /dev/null
@@ -0,0 +1,181 @@
+DESCRIPTION = "Application basic"
+HOMEPAGE = "http://nohomepage.org"
+SECTION = "Application Framework"
+LICENSE = "Apache License, Version 2.0"
+
+SRC_URI = ""
+
+S = "${WORKDIR}/git"
+
+inherit autotools-brokensep
+
+PROVIDES = ""
+
+#PROVIDES by app-core-efl 
+
+
+#PROVIDES by app-core-template 
+
+
+#PROVIDES by app-core 
+
+
+#PROVIDES by app-core-common-dev 
+
+
+#PROVIDES by app-core-common 
+
+
+#PROVIDES by app-core-efl-dev 
+
+
+RDEPENDS = ""
+#RDEPENDS of app-core-efl (${PN}-efl)
+RDEPENDS_${PN}-efl += "eglibc"
+
+#RDEPENDS of app-core-common-dev (${PN}-common-dev)
+RDEPENDS_${PN}-common-dev += "elementary"
+RDEPENDS_${PN}-common-dev += "aul-1"
+RDEPENDS_${PN}-common-dev += "app-core-common"
+RDEPENDS_${PN}-common-dev += "vconf"
+RDEPENDS_${PN}-common-dev += "libslp-sensor"
+
+#RDEPENDS of app-core-common (${PN}-common)
+RDEPENDS_${PN}-common += "eglibc"
+
+#RDEPENDS of app-core-efl-dev (${PN}-efl-dev)
+RDEPENDS_${PN}-efl-dev += "app-core-efl"
+RDEPENDS_${PN}-efl-dev += "app-core-common-dev"
+
+
+DEPENDS = ""
+#DEPENDS of app-core 
+DEPENDS += "aul-1"
+DEPENDS += "cmake"
+DEPENDS += "librua"
+DEPENDS += "dlog"
+DEPENDS += "glib-2.0"
+DEPENDS += "libslp-sensor"
+DEPENDS += "elementary"
+DEPENDS += "ecore"
+DEPENDS += "vconf"
+
+do_prep() {
+ cd ${S}
+ chmod -Rf a+rX,u+w,g-w,o-w ${S}
+ #setup -q 
+ cp ${S}/packaging/app-core.manifest .
+}
+do_patch_append() {
+    bb.build.exec_func('do_prep', d)
+}
+
+do_configure() {
+}
+
+do_compile() {
+ cd ${S}
+ LANG=C
+ export LANG
+ unset DISPLAY
+ CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables" ; export CFLAGS ; 
+ CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ; 
+ FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I%_fmoddir}" ; export FFLAGS ; 
+ LD_AS_NEEDED=1; export LD_AS_NEEDED ; 
+   CFLAGS="${CFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CFLAGS ; 
+   CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ; 
+   FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export FFLAGS ; 
+   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 . \
+ -Dwith_wayland=TRUE\
+ -DENABLE_GTK=OFF
+ make -j16
+}
+
+do_install() {
+ echo export RPM_BUILD_ROOT=${D}
+ cd ${S}
+ LANG=C
+ export LANG
+ unset DISPLAY
+ rm -rf ${D} 
+ mkdir -p ${D} 
+ rm -rf ${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 --
+ install -d ${D}/lib/systemd/user/core-efl.target.wants
+ install -m0644 ${S}/packaging/core-efl-wayland.target ${D}/lib/systemd/user/core-efl.target
+ mkdir -p ${D}/usr/share/license
+ cp LICENSE ${D}/usr/share/license/app-core
+}
+
+PACKAGES += " app-core-efl-dev "
+PACKAGES += " app-core-efl "
+PACKAGES += " app-core-common "
+PACKAGES += " app-core-common-dev "
+
+app-core-efl-dev_files = ""
+app-core-efl-dev_files += "app-core.manifest"
+app-core-efl-dev_files += "${prefix}/include/appcore/appcore-efl.h"
+app-core-efl-dev_files += "${prefix}/lib/libappcore-efl.so"
+app-core-efl-dev_files += "${prefix}/lib/pkgconfig/appcore-efl.pc"
+
+app-core-efl_files = ""
+app-core-efl_files += "app-core.manifest"
+app-core-efl_files += "${prefix}/lib/libappcore-efl.so.*"
+
+app-core-common_files = ""
+app-core-common_files += "app-core.manifest"
+app-core-common_files += "${prefix}/lib/libappcore-common.so.*"
+app-core-common_files += "${prefix}/lib/systemd/user/core-efl.target"
+app-core-common_files += "${prefix}/lib/systemd/user/core-efl.target.wants/"
+app-core-common_files += "/usr/share/license/app-core"
+
+app-core-common-dev_files = ""
+app-core-common-dev_files += "app-core.manifest"
+app-core-common-dev_files += "${prefix}/lib/libappcore-common.so"
+app-core-common-dev_files += "${prefix}/lib/pkgconfig/appcore-common.pc"
+app-core-common-dev_files += "${prefix}/include/appcore/appcore-common.h"
+app-core-common-dev_files += "${prefix}/include/SLP_Appcore_PG.h"
+
+FILES_${PN}-efl-dev = "${app-core-efl-dev_files}"
+FILES_${PN}-efl = "${app-core-efl_files}"
+FILES_${PN}-common = "${app-core-common_files}"
+FILES_${PN}-common-dev = "${app-core-common-dev_files}"
+
+PKG_app-core-efl-dev= "app-core-efl-dev"
+PKG_app-core-efl= "app-core-efl"
+PKG_app-core-common= "app-core-common"
+PKG_app-core-common-dev= "app-core-common-dev"
+
+require app-core-extraconf.inc
+
diff --git a/recipes-tizen/app-core/app-core_git.bb b/recipes-tizen/app-core/app-core_git.bb
new file mode 100644 (file)
index 0000000..abead79
--- /dev/null
@@ -0,0 +1,10 @@
+require app-core.inc
+
+PRIORITY = "10"
+
+LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
+
+SRC_URI += "git://review.tizen.org/platform/core/appfw/app-core;tag=d5761f6d3560bea795bc7025493accf4ead9684c;nobranch=1"
+
+BBCLASSEXTEND = "native"
+
diff --git a/recipes-tizen/app-svc/app-svc-extraconf.inc b/recipes-tizen/app-svc/app-svc-extraconf.inc
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/recipes-tizen/app-svc/app-svc.inc b/recipes-tizen/app-svc/app-svc.inc
new file mode 100644 (file)
index 0000000..a0b115a
--- /dev/null
@@ -0,0 +1,144 @@
+DESCRIPTION = "Application Service"
+HOMEPAGE = "http://nohomepage.org"
+SECTION = "Application Framework/Service"
+LICENSE = "Apache-2.0"
+
+SRC_URI = ""
+
+S = "${WORKDIR}/git"
+
+inherit autotools-brokensep
+
+PROVIDES = ""
+
+#PROVIDES by app-svc 
+
+
+#PROVIDES by app-svc-dev 
+
+
+RDEPENDS = ""
+#RDEPENDS of app-svc (${PN})
+RDEPENDS_${PN} += "eglibc"
+
+#RDEPENDS of app-svc-dev (${PN}-dev)
+RDEPENDS_${PN}-dev += "app-svc"
+
+
+DEPENDS = ""
+#DEPENDS of app-svc 
+DEPENDS += "pkgmgr-info"
+DEPENDS += "aul-1"
+DEPENDS += "cmake"
+DEPENDS += "iniparser"
+DEPENDS += "dbus"
+DEPENDS += "bundle"
+DEPENDS += "glib-2.0"
+DEPENDS += "xdgmime"
+DEPENDS += "ail"
+DEPENDS += "dlog"
+DEPENDS += "libsoup-2.4"
+DEPENDS += "ecore"
+DEPENDS += "libprivilege-control"
+
+do_prep() {
+ cd ${S}
+ chmod -Rf a+rX,u+w,g-w,o-w ${S}
+ #setup -q
+ cp ${S}/packaging/app-svc.manifest .
+}
+do_patch_append() {
+    bb.build.exec_func('do_prep', d)
+}
+
+do_configure() {
+}
+
+do_compile() {
+ cd ${S}
+ LANG=C
+ export LANG
+ unset DISPLAY
+ CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables" ; export CFLAGS ; 
+ CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ; 
+ FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I%_fmoddir}" ; export FFLAGS ; 
+ LD_AS_NEEDED=1; export LD_AS_NEEDED ; 
+   CFLAGS="${CFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CFLAGS ; 
+   CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ; 
+   FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export FFLAGS ; 
+   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 . \
+ -Dwith_wayland=TRUE
+ make -j16
+}
+
+do_install() {
+ echo 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 --
+ # Create database
+ mkdir -p ${D}/opt/dbspace
+ sqlite3 ${D}/opt/dbspace/.appsvc.db < data/appsvc_db.sql
+ mkdir -p ${D}/usr/share/license
+ cp LICENSE ${D}/usr/share/license/app-svc
+}
+
+
+app-svc_files = ""
+app-svc_files += "app-svc.manifest"
+app-svc_files += "%verify(not md5 mtime size) %attr(664,root,app) /opt/dbspace/.appsvc.db"
+app-svc_files += "%verify(not md5 mtime size) %attr(664,root,app) /opt/dbspace/.appsvc.db-journal"
+app-svc_files += "/usr/bin/appsvc_test"
+app-svc_files += "${prefix}/lib/libappsvc.so.0"
+app-svc_files += "${prefix}/lib/libappsvc.so.0.1.0"
+app-svc_files += "/usr/share/license/app-svc"
+
+app-svc-dev_files = ""
+app-svc-dev_files += "app-svc.manifest"
+app-svc-dev_files += "${prefix}/lib/pkgconfig/appsvc.pc"
+app-svc-dev_files += "${prefix}/lib/libappsvc.so"
+app-svc-dev_files += "${prefix}/include/appsvc/appsvc.h"
+
+FILES_${PN} = "${app-svc_files}"
+FILES_${PN}-dev = "${app-svc-dev_files}"
+
+PKG_app-svc= "app-svc"
+PKG_app-svc-dev= "app-svc-dev"
+
+require app-svc-extraconf.inc
+
diff --git a/recipes-tizen/app-svc/app-svc_git.bb b/recipes-tizen/app-svc/app-svc_git.bb
new file mode 100644 (file)
index 0000000..b6da1ba
--- /dev/null
@@ -0,0 +1,10 @@
+require app-svc.inc
+
+PRIORITY = "10"
+
+LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
+
+SRC_URI += "git://review.tizen.org/platform/core/appfw/app-svc;tag=9b9315bfadc5764fabbf8c310db051dc30648fba;nobranch=1"
+
+BBCLASSEXTEND = "native"
+
diff --git a/recipes-tizen/application/application-extraconf.inc b/recipes-tizen/application/application-extraconf.inc
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/recipes-tizen/application/application.inc b/recipes-tizen/application/application.inc
new file mode 100644 (file)
index 0000000..7a2fc48
--- /dev/null
@@ -0,0 +1,138 @@
+DESCRIPTION = "An Application library in SLP C API"
+HOMEPAGE = "http://nohomepage.org"
+SECTION = "API"
+LICENSE = "Apache-2.0"
+
+SRC_URI = ""
+
+S = "${WORKDIR}/git"
+
+inherit autotools-brokensep
+
+PROVIDES = ""
+
+#PROVIDES by capi-appfw-application-dev 
+
+
+#PROVIDES by capi-appfw-application 
+
+
+RDEPENDS = ""
+#RDEPENDS of capi-appfw-application-dev (capi-appfw-${PN}-dev)
+RDEPENDS_capi-appfw-${PN}-dev += "capi-appfw-application"
+
+
+DEPENDS = ""
+#DEPENDS of capi-appfw-application 
+DEPENDS += "aul-1"
+DEPENDS += "sqlite3"
+DEPENDS += "cmake"
+DEPENDS += "appcore-agent"
+DEPENDS += "app-svc"
+DEPENDS += "bundle"
+DEPENDS += "app-core"
+DEPENDS += "ail"
+DEPENDS += "alarm-manager"
+DEPENDS += "dlog"
+DEPENDS += "notification"
+DEPENDS += "elementary"
+DEPENDS += "common"
+
+do_prep() {
+ cd ${S}
+ chmod -Rf a+rX,u+w,g-w,o-w ${S}
+ #setup -q
+ cp ${S}/packaging/capi-appfw-application.manifest .
+}
+do_patch_append() {
+    bb.build.exec_func('do_prep', d)
+}
+
+do_configure() {
+}
+
+do_compile() {
+ cd ${S}
+ LANG=C
+ export LANG
+ unset DISPLAY
+ CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables" ; export CFLAGS ; 
+ CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ; 
+ FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I%_fmoddir}" ; export FFLAGS ; 
+ LD_AS_NEEDED=1; export LD_AS_NEEDED ; 
+ MAJORVER=`echo 0.1.0 | awk 'BEGIN {FS="."}{print $1}'`
+   CFLAGS="${CFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CFLAGS ; 
+   CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ; 
+   FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export FFLAGS ; 
+   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 . -DFULLVER=0.1.0 -DMAJORVER=${MAJORVER}
+ make -j16
+}
+
+do_install() {
+ echo export RPM_BUILD_ROOT=${D}
+ cd ${S}
+ LANG=C
+ export LANG
+ unset DISPLAY
+ rm -rf ${D} 
+ mkdir -p ${D} 
+ rm -rf ${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
+ cp LICENSE ${D}/usr/share/license/capi-appfw-application
+}
+
+PACKAGES += " capi-appfw-application-dev "
+PACKAGES += " capi-appfw-application "
+
+capi-appfw-application-dev_files = ""
+capi-appfw-application-dev_files += "capi-appfw-application.manifest"
+capi-appfw-application-dev_files += "${prefix}/include/appfw/*.h"
+capi-appfw-application-dev_files += "${prefix}/lib/pkgconfig/*.pc"
+capi-appfw-application-dev_files += "${prefix}/lib/libcapi-appfw-application.so"
+
+capi-appfw-application_files = ""
+capi-appfw-application_files += "capi-appfw-application.manifest"
+capi-appfw-application_files += "${prefix}/lib/libcapi-appfw-application.so.*"
+capi-appfw-application_files += "capi-appfw-application.manifest"
+capi-appfw-application_files += "/usr/share/license/capi-appfw-application"
+
+FILES_${PN}-dev = "${capi-appfw-application-dev_files}"
+FILES_${PN} = "${capi-appfw-application_files}"
+
+PKG_capi-appfw-application-dev= "capi-appfw-application-dev"
+PKG_capi-appfw-application= "capi-appfw-application"
+
+require application-extraconf.inc
+
diff --git a/recipes-tizen/application/application_git.bb b/recipes-tizen/application/application_git.bb
new file mode 100644 (file)
index 0000000..0bc7f84
--- /dev/null
@@ -0,0 +1,10 @@
+require application.inc
+
+PRIORITY = "10"
+
+LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
+
+SRC_URI += "git://review.tizen.org/platform/core/api/application;tag=93974ec6cbdf65e867ac41921ff0faae341040c5;nobranch=1"
+
+BBCLASSEXTEND = "native"
+
index b7f402c..0bbefce 100644 (file)
@@ -25,8 +25,8 @@ RDEPENDS = ""
 RDEPENDS_${PN}-dev += "audio-session-manager"
 
 #RDEPENDS of audio-session-manager (${PN})
-RDEPENDS_${PN} += "/usr/bin/vconftool"
-RDEPENDS_${PN} += "/sbin/ldconfig"
+RDEPENDS_${PN} += "eglibc"
+RDEPENDS_${PN} += "vconf"
 
 #RDEPENDS of audio-session-manager-sdk-dev (${PN}-sdk-dev)
 RDEPENDS_${PN}-sdk-dev += "audio-session-manager-dev"
index e668e47..c23a103 100644 (file)
@@ -19,8 +19,8 @@ PROVIDES = ""
 
 RDEPENDS = ""
 #RDEPENDS of aul (aul)
-RDEPENDS_aul += "/usr/bin/systemctl"
-RDEPENDS_aul += "/sbin/ldconfig"
+RDEPENDS_aul += "eglibc"
+RDEPENDS_aul += "systemd"
 
 #RDEPENDS of aul-dev (aul-dev)
 RDEPENDS_aul-dev += "aul"
index 9535452..85863d0 100644 (file)
@@ -22,8 +22,8 @@ PROVIDES = ""
 
 RDEPENDS = ""
 #RDEPENDS of avsystem (${PN})
-RDEPENDS_${PN} += "/usr/bin/systemctl"
-RDEPENDS_${PN} += "/sbin/ldconfig"
+RDEPENDS_${PN} += "eglibc"
+RDEPENDS_${PN} += "systemd"
 
 #RDEPENDS of avsystem-dev (${PN}-dev)
 RDEPENDS_${PN}-dev += "avsystem"
@@ -31,13 +31,13 @@ RDEPENDS_${PN}-dev += "avsystem"
 
 DEPENDS = ""
 #DEPENDS of avsystem 
+DEPENDS += "alsa-lib"
 DEPENDS += "libmm-log"
 DEPENDS += "pulseaudio"
 DEPENDS += "iniparser"
 DEPENDS += "libexif"
 DEPENDS += "alsa-state"
 DEPENDS += "libmm-ta"
-DEPENDS += "alsa"
 
 do_prep() {
  cd ${S}
diff --git a/recipes-tizen/com-core/com-core-extraconf.inc b/recipes-tizen/com-core/com-core-extraconf.inc
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/recipes-tizen/com-core/com-core.inc b/recipes-tizen/com-core/com-core.inc
new file mode 100644 (file)
index 0000000..245a4c7
--- /dev/null
@@ -0,0 +1,129 @@
+DESCRIPTION = "Library for the light-weight IPC"
+HOMEPAGE = "http://nohomepage.org"
+SECTION = "Base/IPC"
+LICENSE = "Apache-2.0"
+
+SRC_URI = ""
+
+S = "${WORKDIR}/git"
+
+inherit autotools-brokensep
+
+PROVIDES = ""
+
+#PROVIDES by libcom-core 
+
+
+#PROVIDES by libcom-core-dev 
+
+
+RDEPENDS = ""
+#RDEPENDS of libcom-core-dev (lib${PN}-dev)
+RDEPENDS_lib${PN}-dev += "libcom-core"
+
+
+DEPENDS = ""
+#DEPENDS of libcom-core 
+#Replace "DEPENDS" on gettext by "inherit gettext"
+inherit gettext
+DEPENDS += "cmake"
+DEPENDS += "systemd"
+DEPENDS += "dlog"
+DEPENDS += "glib-2.0"
+
+do_prep() {
+ cd ${S}
+ chmod -Rf a+rX,u+w,g-w,o-w ${S}
+ #setup -q
+ cp ${S}/packaging/libcom-core.manifest .
+}
+do_patch_append() {
+    bb.build.exec_func('do_prep', d)
+}
+
+do_configure() {
+}
+
+do_compile() {
+ cd ${S}
+ LANG=C
+ export LANG
+ unset DISPLAY
+ CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables" ; export CFLAGS ; 
+ CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ; 
+ FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I%_fmoddir}" ; export FFLAGS ; 
+ LD_AS_NEEDED=1; export LD_AS_NEEDED ; 
+   CFLAGS="${CFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CFLAGS ; 
+   CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ; 
+   FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export FFLAGS ; 
+   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 
+ make -j16
+}
+
+do_install() {
+ echo export RPM_BUILD_ROOT=${D}
+ cd ${S}
+ LANG=C
+ export LANG
+ unset DISPLAY
+ rm -rf ${D} 
+ mkdir -p ${D} 
+ rm -rf ${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}/${prefix}/share/license
+}
+
+PACKAGES += " libcom-core "
+PACKAGES += " libcom-core-dev "
+
+libcom-core_files = ""
+libcom-core_files += "libcom-core.manifest"
+libcom-core_files += "${prefix}/lib/*.so*"
+libcom-core_files += "${prefix}/share/license/*"
+
+libcom-core-dev_files = ""
+libcom-core-dev_files += "libcom-core.manifest"
+libcom-core-dev_files += "${prefix}/include/com-core/com-core.h"
+libcom-core-dev_files += "${prefix}/include/com-core/packet.h"
+libcom-core-dev_files += "${prefix}/include/com-core/com-core_packet.h"
+libcom-core-dev_files += "${prefix}/include/com-core/com-core_thread.h"
+libcom-core-dev_files += "${prefix}/include/com-core/secure_socket.h"
+libcom-core-dev_files += "${prefix}/lib/pkgconfig/*.pc"
+
+FILES_${PN} = "${libcom-core_files}"
+FILES_${PN}-dev = "${libcom-core-dev_files}"
+
+PKG_libcom-core= "libcom-core"
+PKG_libcom-core-dev= "libcom-core-dev"
+
+require com-core-extraconf.inc
+
diff --git a/recipes-tizen/com-core/com-core_git.bb b/recipes-tizen/com-core/com-core_git.bb
new file mode 100644 (file)
index 0000000..50f7661
--- /dev/null
@@ -0,0 +1,10 @@
+require com-core.inc
+
+PRIORITY = "10"
+
+LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
+
+SRC_URI += "git://review.tizen.org/platform/core/appfw/com-core;tag=a83dbae72a28c263abb7bf5374a1b41290eca00d;nobranch=1"
+
+BBCLASSEXTEND = "native"
+
index f1c8027..bac9fd9 100644 (file)
@@ -30,13 +30,13 @@ DEPENDS += "pango"
 DEPENDS += "bzip2"
 DEPENDS += "nss"
 DEPENDS += "slp-pkgmgr"
+DEPENDS += "alsa-lib"
 DEPENDS += "fontconfig"
 DEPENDS += "wayland"
 DEPENDS += "which"
 DEPENDS += "libxml2"
 DEPENDS += "libcap"
 DEPENDS += "icu"
-DEPENDS += "alsa"
 DEPENDS += "flex"
 DEPENDS += "freetype"
 DEPENDS += "gperf"
@@ -45,7 +45,7 @@ DEPENDS += "pkgmgr-info"
 DEPENDS += "glib-2.0"
 DEPENDS += "libdrm"
 DEPENDS += "python-xml"
-DEPENDS += "ninja"
+DEPENDS_append_class-native = " ninja-native"
 DEPENDS += "mesa"
 DEPENDS += "vconf"
 DEPENDS += "nspr"
@@ -55,7 +55,6 @@ DEPENDS += "pulseaudio"
 DEPENDS += "location-manager"
 DEPENDS += "libexif"
 DEPENDS_append_class-native = " bison-native"
-DEPENDS_append_class-target = " bison"
 DEPENDS += "pciutils"
 
 do_prep() {
index 8ce6643..0cde0f1 100644 (file)
@@ -26,7 +26,7 @@ PROVIDES = ""
 RDEPENDS = ""
 #RDEPENDS of dlogutil (${PN}util)
 RDEPENDS_${PN}util += "libdlog"
-RDEPENDS_${PN}util += "/usr/bin/systemctl"
+RDEPENDS_${PN}util += "systemd"
 
 #RDEPENDS of libdlog-dev (lib${PN}-dev)
 RDEPENDS_lib${PN}-dev += "libdlog"
index 03ae5bb..d5be8fb 100644 (file)
@@ -24,7 +24,6 @@ DEPENDS = ""
 DEPENDS += "flex"
 DEPENDS += "gcc-cross"
 DEPENDS_append_class-native = " bison-native"
-DEPENDS_append_class-target = " bison"
 #Replace "DEPENDS" on gettext by "inherit gettext"
 inherit gettext
 
diff --git a/recipes-tizen/eina/eina-extraconf.inc b/recipes-tizen/eina/eina-extraconf.inc
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/recipes-tizen/eina/eina.inc b/recipes-tizen/eina/eina.inc
new file mode 100644 (file)
index 0000000..ba2899d
--- /dev/null
@@ -0,0 +1,123 @@
+DESCRIPTION = "Data Type Library"
+HOMEPAGE = "http://www.enlightenment.org/"
+SECTION = "Graphics/EFL"
+LICENSE = "LGPL-2.1+"
+
+SRC_URI = ""
+
+S = "${WORKDIR}/git"
+
+inherit autotools-brokensep
+
+PROVIDES = ""
+
+#PROVIDES by eina 
+
+
+#PROVIDES by eina-dev 
+
+
+RDEPENDS = ""
+#RDEPENDS of eina-dev (${PN}-dev)
+RDEPENDS_${PN}-dev += "eina"
+
+
+DEPENDS = ""
+#DEPENDS of eina 
+DEPENDS += "aul-1"
+
+do_prep() {
+ cd ${S}
+ chmod -Rf a+rX,u+w,g-w,o-w ${S}
+ #setup -q
+ cp ${S}/packaging/eina.manifest .
+}
+do_patch_append() {
+    bb.build.exec_func('do_prep', d)
+}
+
+do_configure() {
+}
+
+do_compile() {
+ cd ${S}
+ LANG=C
+ export LANG
+ unset DISPLAY
+ CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables" ; export CFLAGS ; 
+ CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ; 
+ FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I%_fmoddir}" ; export FFLAGS ; 
+ LD_AS_NEEDED=1; export LD_AS_NEEDED ; 
+   CFLAGS="${CFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CFLAGS ; 
+   CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ; 
+   FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I%_fmoddir}" ; export FFLAGS ; 
+   autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \
+         --target=x86_64-tizen-linux \
+         --program-prefix= \
+         --prefix=${prefix} \
+         --exec-prefix=${prefix} \
+         --bindir=${prefix}/bin \
+         --sbindir=${prefix}/sbin \
+         --sysconfdir=${sysconfdir} \
+         --datadir=${prefix}/share \
+         --includedir=${prefix}/include \
+         --libdir=${prefix}/lib \
+         --libexecdir=${prefix}/libexec \
+         --localstatedir=${localstatedir} \
+         --sharedstatedir=${prefix}/com \
+         --mandir=${mandir} \
+         --infodir=${infodir} --disable-static
+ make -j16
+}
+
+do_install() {
+ echo 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 --
+}
+
+
+eina_files = ""
+eina_files += "eina.manifest"
+eina_files += "${prefix}/lib/libeina.so.*"
+
+eina-dev_files = ""
+eina-dev_files += "eina.manifest"
+eina-dev_files += "${prefix}/include/eina-1/*.h"
+eina-dev_files += "${prefix}/include/eina-1/eina/*"
+eina-dev_files += "${prefix}/lib/*.so"
+eina-dev_files += "${prefix}/lib/pkgconfig/*.pc"
+
+FILES_${PN} = "${eina_files}"
+FILES_${PN}-dev = "${eina-dev_files}"
+
+PKG_eina= "eina"
+PKG_eina-dev= "eina-dev"
+
+require eina-extraconf.inc
+
diff --git a/recipes-tizen/eina/eina_git.bb b/recipes-tizen/eina/eina_git.bb
new file mode 100644 (file)
index 0000000..4e890ff
--- /dev/null
@@ -0,0 +1,10 @@
+require eina.inc
+
+PRIORITY = "10"
+
+LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
+
+SRC_URI += "git://review.tizen.org/platform/upstream/eina;tag=3f86da98d10de2709e7273cd078c21318907163f;nobranch=1"
+
+BBCLASSEXTEND = "native"
+
index 21524b0..26722ed 100644 (file)
@@ -25,10 +25,8 @@ RDEPENDS_${PN}-dev += "libiri"
 DEPENDS = ""
 #DEPENDS of libiri 
 DEPENDS_append_class-native = " autoconf-native"
-DEPENDS_append_class-target = " autoconf"
 DEPENDS += "libtool-cross"
 DEPENDS_append_class-native = " automake-native"
-DEPENDS_append_class-target = " automake"
 
 do_prep() {
  cd ${S}
index bff663d..f41e692 100644 (file)
@@ -34,8 +34,8 @@ RDEPENDS_${PN}-sdk-dev += "libmm-sound-dev"
 RDEPENDS_${PN}-tool += "libmm-sound"
 
 #RDEPENDS of libmm-sound (${PN})
-RDEPENDS_${PN} += "/usr/bin/vconftool"
-RDEPENDS_${PN} += "/sbin/ldconfig"
+RDEPENDS_${PN} += "eglibc"
+RDEPENDS_${PN} += "vconf"
 
 
 DEPENDS = ""
diff --git a/recipes-tizen/libsf-common/libsf-common-extraconf.inc b/recipes-tizen/libsf-common/libsf-common-extraconf.inc
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/recipes-tizen/libsf-common/libsf-common.inc b/recipes-tizen/libsf-common/libsf-common.inc
new file mode 100644 (file)
index 0000000..1be772e
--- /dev/null
@@ -0,0 +1,121 @@
+DESCRIPTION = "Sensor framework common library"
+HOMEPAGE = "http://nohomepage.org"
+SECTION = "System/Sensor Framework"
+LICENSE = "Apache-2.0"
+
+SRC_URI = ""
+
+S = "${WORKDIR}/git"
+
+inherit autotools-brokensep
+
+PROVIDES = ""
+
+#PROVIDES by libsf-common 
+
+
+#PROVIDES by libsf-common-dev 
+
+
+RDEPENDS = ""
+#RDEPENDS of libsf-common-dev (${PN}-dev)
+RDEPENDS_${PN}-dev += "libsf-common"
+
+
+DEPENDS = ""
+#DEPENDS of libsf-common 
+DEPENDS += "cmake"
+DEPENDS += "attr"
+DEPENDS += "dlog"
+
+do_prep() {
+ cd ${S}
+ chmod -Rf a+rX,u+w,g-w,o-w ${S}
+ #setup -q
+ cp ${S}/packaging/libsf-common.manifest .
+}
+do_patch_append() {
+    bb.build.exec_func('do_prep', d)
+}
+
+do_configure() {
+}
+
+do_compile() {
+ cd ${S}
+ LANG=C
+ export LANG
+ unset DISPLAY
+ CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables" ; export CFLAGS ; 
+ CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ; 
+ FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I%_fmoddir}" ; export FFLAGS ; 
+ LD_AS_NEEDED=1; export LD_AS_NEEDED ; 
+   CFLAGS="${CFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CFLAGS ; 
+   CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ; 
+   FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export FFLAGS ; 
+   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 .
+ make -j16
+}
+
+do_install() {
+ echo 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}${prefix}/share/license
+ cp LICENSE ${D}${prefix}/share/license/libsf-common
+}
+
+
+libsf-common_files = ""
+libsf-common_files += "libsf-common.manifest"
+libsf-common_files += "${prefix}/lib/libsf_common.so"
+libsf-common_files += "${prefix}/share/license/libsf-common"
+
+libsf-common-dev_files = ""
+libsf-common-dev_files += "libsf-common.manifest"
+libsf-common-dev_files += "${prefix}/include/sf_common/*.h"
+libsf-common-dev_files += "${prefix}/lib/pkgconfig/sf_common.pc"
+
+FILES_${PN} = "${libsf-common_files}"
+FILES_${PN}-dev = "${libsf-common-dev_files}"
+
+PKG_libsf-common= "libsf-common"
+PKG_libsf-common-dev= "libsf-common-dev"
+
+require libsf-common-extraconf.inc
+
diff --git a/recipes-tizen/libsf-common/libsf-common_git.bb b/recipes-tizen/libsf-common/libsf-common_git.bb
new file mode 100644 (file)
index 0000000..ef7feae
--- /dev/null
@@ -0,0 +1,10 @@
+require libsf-common.inc
+
+PRIORITY = "10"
+
+LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
+
+SRC_URI += "git://review.tizen.org/platform/core/system/libsf-common;tag=d2dbdc7e801b265a71faf8a2f027d79e72b92424;nobranch=1"
+
+BBCLASSEXTEND = "native"
+
diff --git a/recipes-tizen/libslp-db-util/libslp-db-util-extraconf.inc b/recipes-tizen/libslp-db-util/libslp-db-util-extraconf.inc
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/recipes-tizen/libslp-db-util/libslp-db-util.inc b/recipes-tizen/libslp-db-util/libslp-db-util.inc
new file mode 100644 (file)
index 0000000..18a691e
--- /dev/null
@@ -0,0 +1,121 @@
+DESCRIPTION = "DB Utility"
+HOMEPAGE = "http://nohomepage.org"
+SECTION = "Application Framework/Database"
+LICENSE = "Apache-2.0"
+
+SRC_URI = ""
+
+S = "${WORKDIR}/git"
+
+inherit autotools-brokensep
+
+PROVIDES = ""
+
+#PROVIDES by libslp-db-util-dev 
+
+
+#PROVIDES by libslp-db-util 
+
+
+RDEPENDS = ""
+#RDEPENDS of libslp-db-util-dev (${PN}-dev)
+RDEPENDS_${PN}-dev += "libslp-db-util"
+
+
+DEPENDS = ""
+#DEPENDS of libslp-db-util 
+DEPENDS += "sqlite3"
+DEPENDS += "cmake"
+DEPENDS += "icu"
+DEPENDS += "dlog"
+DEPENDS += "glib-2.0"
+
+do_prep() {
+ cd ${S}
+ chmod -Rf a+rX,u+w,g-w,o-w ${S}
+ #setup -q
+ cp ${S}/packaging/libslp-db-util.manifest ${S}/packaging/libslp-db-util-devel.manifest .
+}
+do_patch_append() {
+    bb.build.exec_func('do_prep', d)
+}
+
+do_configure() {
+}
+
+do_compile() {
+ cd ${S}
+ LANG=C
+ export LANG
+ unset DISPLAY
+ CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables" ; export CFLAGS ; 
+ CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ; 
+ FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I%_fmoddir}" ; export FFLAGS ; 
+ LD_AS_NEEDED=1; export LD_AS_NEEDED ; 
+   CFLAGS="${CFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CFLAGS ; 
+   CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ; 
+   FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export FFLAGS ; 
+   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 .
+ make -j16
+}
+
+do_install() {
+ echo 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 --
+}
+
+
+libslp-db-util-dev_files = ""
+libslp-db-util-dev_files += "libslp-db-util-devel.manifest"
+libslp-db-util-dev_files += "${prefix}/include/db-util"
+libslp-db-util-dev_files += "${prefix}/include/db-util/*.h"
+libslp-db-util-dev_files += "${prefix}/lib/pkgconfig/db-util.pc"
+libslp-db-util-dev_files += "${prefix}/lib/libSLP-db-util.so"
+
+libslp-db-util_files = ""
+libslp-db-util_files += "libslp-db-util.manifest"
+libslp-db-util_files += "${prefix}/lib/libSLP-db-util.so.0"
+libslp-db-util_files += "${prefix}/lib/libSLP-db-util.so.0.1.0"
+
+FILES_${PN}-dev = "${libslp-db-util-dev_files}"
+FILES_${PN} = "${libslp-db-util_files}"
+
+PKG_libslp-db-util-dev= "libslp-db-util-dev"
+PKG_libslp-db-util= "libslp-db-util"
+
+require libslp-db-util-extraconf.inc
+
diff --git a/recipes-tizen/libslp-db-util/libslp-db-util_git.bb b/recipes-tizen/libslp-db-util/libslp-db-util_git.bb
new file mode 100644 (file)
index 0000000..71db7d2
--- /dev/null
@@ -0,0 +1,10 @@
+require libslp-db-util.inc
+
+PRIORITY = "10"
+
+LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
+
+SRC_URI += "git://review.tizen.org/platform/core/appfw/libslp-db-util;tag=4ef37c0712f5f5043768c66ffef2a7f5b76ba940;nobranch=1"
+
+BBCLASSEXTEND = "native"
+
diff --git a/recipes-tizen/libslp-sensor/libslp-sensor-extraconf.inc b/recipes-tizen/libslp-sensor/libslp-sensor-extraconf.inc
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/recipes-tizen/libslp-sensor/libslp-sensor.inc b/recipes-tizen/libslp-sensor/libslp-sensor.inc
new file mode 100644 (file)
index 0000000..222d7e4
--- /dev/null
@@ -0,0 +1,122 @@
+DESCRIPTION = "Sensor framework client library"
+HOMEPAGE = "http://nohomepage.org"
+SECTION = "System/Sensor Framework"
+LICENSE = "Apache-2.0"
+
+SRC_URI = ""
+
+S = "${WORKDIR}/git"
+
+inherit autotools-brokensep
+
+PROVIDES = ""
+
+#PROVIDES by sensor 
+
+
+#PROVIDES by sensor-dev 
+
+
+RDEPENDS = ""
+#RDEPENDS of sensor-dev (sensor-dev)
+RDEPENDS_sensor-dev += "sensor"
+
+
+DEPENDS = ""
+#DEPENDS of sensor 
+DEPENDS += "libsf-common"
+DEPENDS += "cmake"
+DEPENDS += "vconf"
+DEPENDS += "glib-2.0"
+
+do_prep() {
+ cd ${S}
+ chmod -Rf a+rX,u+w,g-w,o-w ${S}
+ #setup -q -n sensor-0.5.27
+ cp ${S}/packaging/sensor.manifest ${S}/packaging/sensor-devel.manifest .
+}
+do_patch_append() {
+    bb.build.exec_func('do_prep', d)
+}
+
+do_configure() {
+}
+
+do_compile() {
+ cd ${S}
+ LANG=C
+ export LANG
+ unset DISPLAY
+ CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables" ; export CFLAGS ; 
+ CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ; 
+ FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I%_fmoddir}" ; export FFLAGS ; 
+ LD_AS_NEEDED=1; export LD_AS_NEEDED ; 
+   CFLAGS="${CFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CFLAGS ; 
+   CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ; 
+   FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export FFLAGS ; 
+   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 .
+ make -j16
+}
+
+do_install() {
+ echo 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 --
+}
+
+PACKAGES += " sensor "
+PACKAGES += " sensor-dev "
+
+sensor_files = ""
+sensor_files += "sensor.manifest"
+sensor_files += "${prefix}/lib/libsensor.so.*"
+
+sensor-dev_files = ""
+sensor-dev_files += "sensor-devel.manifest"
+sensor-dev_files += "${prefix}/include/sensor/*.h"
+sensor-dev_files += "${prefix}/lib/libsensor.so"
+sensor-dev_files += "${prefix}/lib/pkgconfig/sensor.pc"
+
+FILES_${PN} = "${sensor_files}"
+FILES_${PN}-dev = "${sensor-dev_files}"
+
+PKG_sensor= "sensor"
+PKG_sensor-dev= "sensor-dev"
+
+require libslp-sensor-extraconf.inc
+
diff --git a/recipes-tizen/libslp-sensor/libslp-sensor_git.bb b/recipes-tizen/libslp-sensor/libslp-sensor_git.bb
new file mode 100644 (file)
index 0000000..ceca5cf
--- /dev/null
@@ -0,0 +1,10 @@
+require libslp-sensor.inc
+
+PRIORITY = "10"
+
+LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
+
+SRC_URI += "git://review.tizen.org/platform/core/system/libslp-sensor;tag=0b466302afcb0ce0e23f0d8f1e1e9820e42326dc;nobranch=1"
+
+BBCLASSEXTEND = "native"
+
diff --git a/recipes-tizen/libtapi-legacy/libtapi-legacy-extraconf.inc b/recipes-tizen/libtapi-legacy/libtapi-legacy-extraconf.inc
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/recipes-tizen/libtapi-legacy/libtapi-legacy.inc b/recipes-tizen/libtapi-legacy/libtapi-legacy.inc
new file mode 100644 (file)
index 0000000..f929f08
--- /dev/null
@@ -0,0 +1,130 @@
+DESCRIPTION = "Telephony dbus client library"
+HOMEPAGE = "http://nohomepage.org"
+SECTION = "Telephony/Libraries"
+LICENSE = "Apache-2.0"
+
+SRC_URI = ""
+
+S = "${WORKDIR}/git"
+
+inherit autotools-brokensep
+
+PROVIDES = ""
+
+#PROVIDES by libtapi-dev 
+
+
+#PROVIDES by libtapi 
+# the PROVIDES rules is ignore "libslp-tapi  "
+PROVIDES += "libslp-tapi"
+RPROVIDES_libtapi += "libslp-tapi"
+
+
+RDEPENDS = ""
+#RDEPENDS of libtapi-dev (libtapi-dev)
+RDEPENDS_libtapi-dev += "libtapi"
+
+
+DEPENDS = ""
+#DEPENDS of libtapi 
+DEPENDS += "libtapi"
+DEPENDS += "cmake"
+DEPENDS += "security-server"
+DEPENDS += "dlog"
+DEPENDS += "glib-2.0"
+
+do_prep() {
+ cd ${S}
+ chmod -Rf a+rX,u+w,g-w,o-w ${S}
+ #setup -q
+ cp ${S}/packaging/libtapi.manifest .
+}
+do_patch_append() {
+    bb.build.exec_func('do_prep', d)
+}
+
+do_configure() {
+}
+
+do_compile() {
+ cd ${S}
+ LANG=C
+ export LANG
+ unset DISPLAY
+ CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables" ; export CFLAGS ; 
+ CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ; 
+ FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I%_fmoddir}" ; export FFLAGS ; 
+ LD_AS_NEEDED=1; export LD_AS_NEEDED ; 
+   CFLAGS="${CFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CFLAGS ; 
+   CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ; 
+   FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export FFLAGS ; 
+   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 .
+ make -j16
+}
+
+do_install() {
+ echo export RPM_BUILD_ROOT=${D}
+ cd ${S}
+ LANG=C
+ export LANG
+ unset DISPLAY
+ rm -rf ${D} 
+ mkdir -p ${D} 
+ rm -rf ${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 --
+ rm -rf ${D}/usr/include/telephony/tapi/.gitignore
+}
+
+PACKAGES += " libtapi-dev "
+PACKAGES += " libtapi "
+
+libtapi-dev_files = ""
+libtapi-dev_files += "libtapi.manifest"
+libtapi-dev_files += "${prefix}/include/telephony-client/*.h"
+libtapi-dev_files += "${prefix}/lib/pkgconfig/*.pc"
+libtapi-dev_files += "${prefix}/lib/*.so"
+
+libtapi_files = ""
+libtapi_files += "libtapi.manifest"
+libtapi_files += "${prefix}/lib/*.so.*"
+libtapi_files += "${prefix}/bin/tapitest-legacy"
+
+FILES_${PN}-dev = "${libtapi-dev_files}"
+FILES_${PN} = "${libtapi_files}"
+
+PKG_libtapi-dev= "libtapi-dev"
+PKG_libtapi= "libtapi"
+
+require libtapi-legacy-extraconf.inc
+
diff --git a/recipes-tizen/libtapi-legacy/libtapi-legacy_git.bb b/recipes-tizen/libtapi-legacy/libtapi-legacy_git.bb
new file mode 100644 (file)
index 0000000..03aa5e6
--- /dev/null
@@ -0,0 +1,10 @@
+require libtapi-legacy.inc
+
+PRIORITY = "10"
+
+LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
+
+SRC_URI += "git://review.tizen.org/platform/core/telephony/libtapi-legacy;tag=8b002849deb1ec476e2bb6ab3cafd9a328253dce;nobranch=1"
+
+BBCLASSEXTEND = "native"
+
diff --git a/recipes-tizen/libtapi/libtapi-extraconf.inc b/recipes-tizen/libtapi/libtapi-extraconf.inc
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/recipes-tizen/libtapi/libtapi.inc b/recipes-tizen/libtapi/libtapi.inc
new file mode 100644 (file)
index 0000000..5f9d25d
--- /dev/null
@@ -0,0 +1,126 @@
+DESCRIPTION = "Telephony dbus client library"
+HOMEPAGE = "http://nohomepage.org"
+SECTION = "System/Libraries"
+LICENSE = "Apache-2.0"
+
+SRC_URI = ""
+
+S = "${WORKDIR}/git"
+
+inherit autotools-brokensep
+
+PROVIDES = ""
+
+#PROVIDES by libtapi-dev 
+
+
+#PROVIDES by libtapi 
+
+
+RDEPENDS = ""
+#RDEPENDS of libtapi-dev (${PN}-dev)
+RDEPENDS_${PN}-dev += "libtapi"
+
+
+DEPENDS = ""
+#DEPENDS of libtapi 
+DEPENDS += "cmake"
+DEPENDS += "security-server"
+DEPENDS += "dlog"
+DEPENDS += "glib-2.0"
+
+do_prep() {
+ cd ${S}
+ chmod -Rf a+rX,u+w,g-w,o-w ${S}
+ #setup -q
+ cp ${S}/packaging/libtapi.manifest .
+}
+do_patch_append() {
+    bb.build.exec_func('do_prep', d)
+}
+
+do_configure() {
+}
+
+do_compile() {
+ cd ${S}
+ LANG=C
+ export LANG
+ unset DISPLAY
+ CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables" ; export CFLAGS ; 
+ CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ; 
+ FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I%_fmoddir}" ; export FFLAGS ; 
+ LD_AS_NEEDED=1; export LD_AS_NEEDED ; 
+   CFLAGS="${CFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CFLAGS ; 
+   CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ; 
+   FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export FFLAGS ; 
+   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 .
+ make -j16
+}
+
+do_install() {
+ echo export RPM_BUILD_ROOT=${D}
+ cd ${S}
+ LANG=C
+ export LANG
+ unset DISPLAY
+ rm -rf ${D} 
+ mkdir -p ${D} 
+ rm -rf ${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 --
+ rm -rf ${D}/usr/include/telephony/tapi/.gitignore
+ mkdir -p ${D}/usr/share/license
+}
+
+
+libtapi-dev_files = ""
+libtapi-dev_files += "libtapi.manifest"
+libtapi-dev_files += "${prefix}/include/telephony-client/*.h"
+libtapi-dev_files += "${prefix}/lib/pkgconfig/*.pc"
+libtapi-dev_files += "${prefix}/lib/*.so"
+
+libtapi_files = ""
+libtapi_files += "libtapi.manifest"
+libtapi_files += "${prefix}/lib/*.so.*"
+libtapi_files += "/usr/share/license/libtapi"
+
+FILES_${PN}-dev = "${libtapi-dev_files}"
+FILES_${PN} = "${libtapi_files}"
+
+PKG_libtapi-dev= "libtapi-dev"
+PKG_libtapi= "libtapi"
+
+require libtapi-extraconf.inc
+
diff --git a/recipes-tizen/libtapi/libtapi_git.bb b/recipes-tizen/libtapi/libtapi_git.bb
new file mode 100644 (file)
index 0000000..ecab6f8
--- /dev/null
@@ -0,0 +1,10 @@
+require libtapi.inc
+
+PRIORITY = "10"
+
+LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
+
+SRC_URI += "git://review.tizen.org/platform/core/telephony/libtapi;tag=16c6314e7e71542ee8bb3f51cc22259e57d27837;nobranch=1"
+
+BBCLASSEXTEND = "native"
+
diff --git a/recipes-tizen/lua/lua-native_git.bb b/recipes-tizen/lua/lua-native_git.bb
deleted file mode 100644 (file)
index 4e560c4..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-require lua.inc
-
-PRIORITY = "9"
-
-inherit native
-
-S = "${WORKDIR}/git"
-
-LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
-
-SRC_URI += "git://review.tizen.org/platform/upstream/lua;tag=a8e83a062b895b10c5ac7f505feaca3139b8527b;nobranch=1"
-
index f561e41..f931996 100644 (file)
@@ -13,12 +13,16 @@ PROVIDES = ""
 
 #PROVIDES by lua 
 
+
 #PROVIDES by lua-dev 
 
+
 #PROVIDES by liblua 
 
+
 #PROVIDES by lua-doc 
 
+
 RDEPENDS = ""
 #RDEPENDS of lua-dev (${PN}-dev)
 RDEPENDS_${PN}-dev += "lua"
@@ -26,9 +30,8 @@ RDEPENDS_${PN}-dev += "lua"
 
 DEPENDS = ""
 #DEPENDS of lua 
-DEPENDS += "pkgconfig-native"
 DEPENDS_append_class-native = " readline-native"
-DEPENDS_append_class-target = " readline"
+DEPENDS_append_class-native = " pkgconfig-native"
 
 do_prep() {
  cd ${S}
@@ -55,7 +58,7 @@ do_compile() {
  FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I%_fmoddir}" ; export FFLAGS ; 
  LD_AS_NEEDED=1; export LD_AS_NEEDED ; 
  
- sed -i 's:LUA_ROOT2 "LIBDIR/lua/5.1/":LUA_ROOT2 \"lib/lua/5.1/":' ${S}/src/luaconf.h
+ sed -i 's:LUA_ROOT2 "LIBDIR/lua/5.1/":LUA_ROOT2 \"lib/lua/5.1/":' src/luaconf.h
  make -j16 -C src CC="gcc" MYCFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -fPIC -DLUA_USE_LINUX" MYLIBS="-Wl,-E -ldl -lreadline -lhistory -lncurses" V=5.1 all
  
  
@@ -133,3 +136,4 @@ PKG_liblua= "liblua"
 PKG_lua-doc= "lua-doc"
 
 require lua-extraconf.inc
+
index 645288f..07e7f59 100644 (file)
@@ -6,3 +6,5 @@ LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd64
 
 SRC_URI += "git://review.tizen.org/platform/upstream/lua;tag=a8e83a062b895b10c5ac7f505feaca3139b8527b;nobranch=1"
 
+BBCLASSEXTEND = "native"
+
diff --git a/recipes-tizen/notification/notification-extraconf.inc b/recipes-tizen/notification/notification-extraconf.inc
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/recipes-tizen/notification/notification.inc b/recipes-tizen/notification/notification.inc
new file mode 100644 (file)
index 0000000..8a51123
--- /dev/null
@@ -0,0 +1,132 @@
+DESCRIPTION = "Notification Library"
+HOMEPAGE = "http://nohomepage.org"
+SECTION = "System/API"
+LICENSE = "Apache-2.0"
+
+SRC_URI = ""
+
+S = "${WORKDIR}/git"
+
+inherit autotools-brokensep
+
+PROVIDES = ""
+
+#PROVIDES by notification 
+
+
+#PROVIDES by notification-dev 
+
+
+RDEPENDS = ""
+#RDEPENDS of notification (${PN})
+RDEPENDS_${PN} += "sqlite3"
+RDEPENDS_${PN} += "eglibc"
+
+#RDEPENDS of notification-dev (${PN}-dev)
+RDEPENDS_${PN}-dev += "notification"
+
+
+DEPENDS = ""
+#DEPENDS of notification 
+DEPENDS += "aul-1"
+DEPENDS += "cmake"
+DEPENDS += "eina"
+DEPENDS += "dbus"
+DEPENDS += "bundle"
+DEPENDS += "ail"
+DEPENDS += "dlog"
+DEPENDS += "ecore"
+DEPENDS += "sqlite3"
+DEPENDS += "heynoti"
+DEPENDS += "com-core"
+DEPENDS += "libslp-db-util"
+
+do_prep() {
+ cd ${S}
+ chmod -Rf a+rX,u+w,g-w,o-w ${S}
+ #setup -q
+ cp ${S}/packaging/notification.manifest .
+}
+do_patch_append() {
+    bb.build.exec_func('do_prep', d)
+}
+
+do_configure() {
+}
+
+do_compile() {
+ cd ${S}
+ LANG=C
+ export LANG
+ unset DISPLAY
+ CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables" ; export CFLAGS ; 
+ CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ; 
+ FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I%_fmoddir}" ; export FFLAGS ; 
+ LD_AS_NEEDED=1; export LD_AS_NEEDED ; 
+   CFLAGS="${CFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CFLAGS ; 
+   CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ; 
+   FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export FFLAGS ; 
+   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 .
+ make -j16
+}
+
+do_install() {
+ echo 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
+ cp -f LICENSE.APLv2.0 ${D}/usr/share/license/notification
+}
+
+
+notification_files = ""
+notification_files += "notification.manifest"
+notification_files += "${prefix}/lib/libnotification.so*"
+notification_files += "/usr/share/license/notification"
+
+notification-dev_files = ""
+notification-dev_files += "${prefix}/include/notification/*.h"
+notification-dev_files += "${prefix}/lib/pkgconfig/notification.pc"
+
+FILES_${PN} = "${notification_files}"
+FILES_${PN}-dev = "${notification-dev_files}"
+
+PKG_notification= "notification"
+PKG_notification-dev= "notification-dev"
+
+require notification-extraconf.inc
+
diff --git a/recipes-tizen/notification/notification_git.bb b/recipes-tizen/notification/notification_git.bb
new file mode 100644 (file)
index 0000000..b8c4c94
--- /dev/null
@@ -0,0 +1,10 @@
+require notification.inc
+
+PRIORITY = "10"
+
+LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
+
+SRC_URI += "git://review.tizen.org/platform/core/api/notification;tag=abe7e659630557632e15ab7560855b535c4e8c5b;nobranch=1"
+
+BBCLASSEXTEND = "native"
+
index 77970cb..3fc7e44 100644 (file)
@@ -34,7 +34,7 @@ RDEPENDS = ""
 RDEPENDS_${PN}-client += "privacy-manager-server"
 
 #RDEPENDS of privacy-manager-server (${PN}-server)
-RDEPENDS_${PN}-server += "/sbin/ldconfig"
+RDEPENDS_${PN}-server += "eglibc"
 
 #RDEPENDS of privacy-manager-server-dev (${PN}-server-dev)
 RDEPENDS_${PN}-server-dev += "privacy-manager-server"
diff --git a/recipes-tizen/python-rpm/python-rpm-native_git.bb b/recipes-tizen/python-rpm/python-rpm-native_git.bb
deleted file mode 100644 (file)
index 8fd03bb..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-require python-rpm.inc
-
-PRIORITY = "9"
-
-inherit native
-
-S = "${WORKDIR}/git"
-
-LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
-
-SRC_URI += "git://review.tizen.org/platform/upstream/rpm;tag=900e279b9481a75ede028707fe5a0a2bb2801a8f;nobranch=1"
-
index c8b305b..1b91739 100644 (file)
@@ -7,11 +7,12 @@ SRC_URI = ""
 
 S = "${WORKDIR}/git"
 
-inherit autotools
+inherit autotools-brokensep
 
 PROVIDES = ""
 
-#PROVIDES by python-rpm
+#PROVIDES by python-rpm 
+
 
 RDEPENDS = ""
 #RDEPENDS of python-rpm (${PN})
@@ -19,7 +20,7 @@ RDEPENDS_${PN} += "rpm"
 
 
 DEPENDS = ""
-#DEPENDS of python-rpm
+#DEPENDS of python-rpm 
 #Replace "DEPENDS" on gettext by "inherit gettext"
 inherit gettext
 DEPENDS += "attr"
@@ -38,16 +39,15 @@ DEPENDS += "file"
 DEPENDS += "popt"
 DEPENDS += "libcap"
 DEPENDS += "nss"
-DEPENDS += "python"
 inherit pythonnative
 
 do_prep() {
  cd ${S}
  chmod -Rf a+rX,u+w,g-w,o-w ${S}
  #setup -q -n rpm-4.11.0.1
-
-
-
 }
 do_patch_append() {
     bb.build.exec_func('do_prep', d)
@@ -61,15 +61,15 @@ do_compile() {
  LANG=C
  export LANG
  unset DISPLAY
- CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables" ; export CFLAGS ;
- CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ;
- FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I%_fmoddir}" ; export FFLAGS ;
- LD_AS_NEEDED=1; export LD_AS_NEEDED ;
-
-
-
-
-
+ CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables" ; export CFLAGS ; 
+ CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ; 
+ FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I%_fmoddir}" ; export FFLAGS ; 
+ LD_AS_NEEDED=1; export LD_AS_NEEDED ; 
 }
 
 do_install() {
@@ -78,20 +78,20 @@ do_install() {
  LANG=C
  export LANG
  unset DISPLAY
- rm -rf ${D}
- mkdir -p ${D}
-
+ rm -rf ${D} 
+ mkdir -p ${D} 
  mkdir -p ${D}${prefix}/lib
  # only installing in python/ does not work because rpm links against
  # installed libs at install time
-
    oe_runmake \
          DESTDIR=${D} \
          INSTALL_ROOT=${D} \
          BINDIR=${prefix}/bin \
-   install
-   rm -f ${D}${infodir}/dir
-   find ${D} -regex ".*\.la$" | xargs rm -f --
+   install  
+   rm -f ${D}${infodir}/dir 
+   find ${D} -regex ".*\.la$" | xargs rm -f -- 
    find ${D} -regex ".*\.a$" | xargs rm -f --
  find ${D} -not -type d -and -not -path ${D}${prefix}/lib/python*/site-packages/rpm/\* -print0 | xargs -0 rm
  pushd ${D}/${prefix}/lib/python*/site-packages/rpm
@@ -99,19 +99,8 @@ do_install() {
  #python ${prefix}/lib/python*/py_compile.py *.py
  #python -O ${prefix}/lib/python*/py_compile.py *.py
  popd
-
- rm -fr ${D}${prefix}/lib/rpm/platform
- rm -fr ${D}${prefix}/bin
- rm -fr ${D}/bin
- rm -fr ${D}/var
- rm -fr ${D}${prefix}/lib/rpm-plugins
- rm -fr ${D}${prefix}/lib/rpm
- rm -fr ${D}${prefix}/lib/rpm/fileattr
- rm -fr ${D}${prefix}${base_prefix}/bin
- rm -fr ${D}${prefix}${localstatedir}
- rm -fr ${D}${localstatedir}/tmp
- rm -fr ${D}${localstatedir}/volatile
-
 }
 
 
@@ -123,3 +112,4 @@ FILES_${PN} = "${python-rpm_files}"
 PKG_python-rpm= "python-rpm"
 
 require python-rpm-extraconf.inc
+
index 51e32d7..8a221da 100644 (file)
@@ -6,3 +6,5 @@ LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd64
 
 SRC_URI += "git://review.tizen.org/platform/upstream/rpm;tag=900e279b9481a75ede028707fe5a0a2bb2801a8f;nobranch=1"
 
+BBCLASSEXTEND = "native"
+
index 217a1f8..891033b 100644 (file)
@@ -7,13 +7,14 @@ SRC_URI = ""
 
 S = "${WORKDIR}/git"
 
-inherit autotools
+inherit autotools-brokensep
 
 PROVIDES = ""
 
-#PROVIDES by rpm-security-plugin
+#PROVIDES by rpm-security-plugin 
 
-#PROVIDES by rpm-build
+
+#PROVIDES by rpm-build 
 # the PROVIDES rules is ignore "rpmbuild  "
 PROVIDES += "rpmbuild"
 RPROVIDES_rpm-build += "rpmbuild"
@@ -21,14 +22,17 @@ RPROVIDES_rpm-build += "rpmbuild"
 PROVIDES += "rpm:${prefix}/bin/rpmbuild"
 RPROVIDES_rpm-build += "rpm:${prefix}/bin/rpmbuild"
 
-#PROVIDES by rpm-locale
+
+#PROVIDES by rpm-locale  
 # the PROVIDES rules is ignore "rpm-lang-all = 4.11.0.1"
 PROVIDES += "rpm-lang-all"
 RPROVIDES_rpm-locale  += "rpm-lang-all"
 
-#PROVIDES by rpm-dev
 
-#PROVIDES by rpm
+#PROVIDES by rpm-dev 
+
+
+#PROVIDES by rpm 
 # the PROVIDES rules is ignore "rpminst  "
 PROVIDES += "rpminst"
 RPROVIDES_rpm += "rpminst"
@@ -36,7 +40,9 @@ RPROVIDES_rpm += "rpminst"
 PROVIDES += "rpm-libs"
 RPROVIDES_rpm += "rpm-libs"
 
-#PROVIDES by rpm-docs
+
+#PROVIDES by rpm-docs  
+
 
 RDEPENDS = ""
 #RDEPENDS of rpm-security-plugin (${PN}-security-plugin)
@@ -66,7 +72,8 @@ RDEPENDS_${PN}-dev += "popt"
 
 
 DEPENDS = ""
-#DEPENDS of rpm
+#DEPENDS of rpm 
+DEPENDS += "aul-1"
 DEPENDS += "libxml2"
 DEPENDS += "xz"
 DEPENDS += "findutils"
@@ -74,13 +81,12 @@ DEPENDS += "file"
 DEPENDS += "popt"
 DEPENDS += "uthash"
 DEPENDS += "nss"
-DEPENDS_build += "gcc-cross"
+DEPENDS += "bzip2"
 DEPENDS += "elfutils"
 DEPENDS += "patch"
 DEPENDS += "lua"
 DEPENDS += "libcap"
 DEPENDS += "ncurses"
-DEPENDS += "bzip2"
 DEPENDS += "smack"
 DEPENDS += "libtool-cross"
 #Replace "DEPENDS" on gettext by "inherit gettext"
@@ -105,16 +111,16 @@ do_prep() {
  # will get linked from db3
  rm -f rpmdb/db.h
  patch -p0 < ${S}/packaging/db-4.8.30-integration.dif
-
- if [ -s ${sysconfdir}/rpm/tizen_macros ]; then
-     cp -a ${sysconfdir}/rpm/tizen_macros ${S}/packaging/rpm-tizen_macros
+ if [ -s /etc/rpm/tizen_macros ]; then
+       cp -a /etc/rpm/tizen_macros ${S}/packaging/rpm-tizen_macros
  fi
  cp -a ${S}/packaging/rpm-tizen_macros tizen_macros
  rm -f m4/libtool.m4
  rm -f m4/lt*.m4
  ### PREP END ###
-
-
 }
 do_patch_append() {
     bb.build.exec_func('do_prep', d)
@@ -128,41 +134,29 @@ do_compile() {
  LANG=C
  export LANG
  unset DISPLAY
- CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables" ; export CFLAGS ;
- CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ;
- FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I%_fmoddir}" ; export FFLAGS ;
- LD_AS_NEEDED=1; export LD_AS_NEEDED ;
-
+ CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables" ; export CFLAGS ; 
+ CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ; 
+ FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I%_fmoddir}" ; export FFLAGS ; 
+ LD_AS_NEEDED=1; export LD_AS_NEEDED ; 
  ### BUILD BEGIN ###
  CPPFLAGS="$CPPFLAGS `pkg-config --cflags nss`"
- export CPPFLAGS
+ export CPPFLAGS 
  export CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -ffunction-sections"
- export LDFLAGS="${LDFLAGS} -Wl,-Bsymbolic-functions -ffunction-sections"
-
- BUILDTARGET="--build=x86_64-tizen-linux --host=x86_64-linux-gnu "
- export CFLAGS+=" -DRPM_VENDOR_OE "
+ export LDFLAGS="-Wl,-Bsymbolic-functions -ffunction-sections"
+ BUILDTARGET="--build=x86_64-tizen-linux"
  autoreconf -i -f
- ./configure \
-     --prefix=${prefix} \
-     --mandir=${mandir} \
-     --infodir=${infodir} \
-     --libdir=${prefix}/lib \
-     --sysconfdir=${sysconfdir} \
-     --localstatedir=${localstatedir} \
-     --disable-dependency-tracking \
-     --with-lua \
-     --with-acl \
-     --with-cap \
-     --enable-shared \
-      \
-     --with-msm \
-     $BUILDTARGET
-
+ ./configure --disable-dependency-tracking --prefix=${prefix} --mandir=${mandir} --infodir=${infodir} \
+ --libdir=${prefix}/lib --sysconfdir=/etc --localstatedir=/var  --with-lua \
+ --with-acl --with-cap  --enable-shared  --with-msm $BUILDTARGET
  make -j16
  ### BUILD END ###
-
-
-
 }
 
 do_install() {
@@ -171,63 +165,63 @@ do_install() {
  LANG=C
  export LANG
  unset DISPLAY
- rm -rf ${D}
- mkdir -p ${D}
-
- mkdir -p ${D}${prefix}/lib
- mkdir -p ${D}${prefix}/share/locale
- ln -sf ../share/locale ${D}${prefix}/lib/locale
-
+ rm -rf ${D} 
+ mkdir -p ${D} 
+ mkdir -p ${D}/usr/lib
+ mkdir -p ${D}/usr/share/locale
+ ln -s ../share/locale ${D}/usr/lib/locale
    oe_runmake \
          DESTDIR=${D} \
          INSTALL_ROOT=${D} \
          BINDIR=${prefix}/bin \
-   install
-   rm -f ${D}${infodir}/dir
-   find ${D} -regex ".*\.la$" | xargs rm -f --
+   install  
+   rm -f ${D}${infodir}/dir 
+   find ${D} -regex ".*\.la$" | xargs rm -f -- 
    find ${D} -regex ".*\.a$" | xargs rm -f --
- install -m 644 db3/db.h ${D}${prefix}/include/rpm
+ install -m 644 db3/db.h ${D}/usr/include/rpm
  # remove .la file and the static variant of libpopt
  # have to remove the dependency from other .la files as well
  #for f in ${D}/${prefix}/lib/*.la; do
  #    sed -i -e "s,/lib/libpopt.la,-lpopt,g" $f
  #done
  mkdir -p ${D}${sysconfdir}/rpm
- cp -a tizen_macros ${D}${prefix}/lib/rpm
- mkdir -p ${D}${prefix}/lib/rpm/tizen
- install -m 755 ${S}/packaging/find-docs.sh ${D}${prefix}/lib/rpm/tizen
- install -m 755 ${S}/packaging/find-provides.ksyms ${D}${prefix}/lib/rpm
+ cp -a tizen_macros ${D}/usr/lib/rpm
+ mkdir -p ${D}/usr/lib/rpm/tizen
+ install -m 755 ${S}/packaging/find-docs.sh ${D}/usr/lib/rpm/tizen
+ install -m 755 ${S}/packaging/find-provides.ksyms ${D}/usr/lib/rpm
  install -m 644 ${S}/packaging/device-sec-policy ${D}${sysconfdir}/device-sec-policy
  install -m 644 ${S}/packaging/device-sec-policy ${D}${prefix}/lib/rpm-plugins/msm-device-sec-policy
- ln -sf ../tizen_macros ${D}${prefix}/lib/rpm/tizen/macros
+ ln -s ../tizen_macros ${D}/usr/lib/rpm/tizen/macros
  for d in BUILD RPMS SOURCES SPECS SRPMS BUILDROOT ; do
-   mkdir -p ${D}${prefix}/src/packages/$d
-   chmod 755 ${D}${prefix}/src/packages/$d
+   mkdir -p ${D}/usr/src/packages/$d
+   chmod 755 ${D}/usr/src/packages/$d
  done
- for d in ${D}${prefix}/lib/rpm/platform/*-linux/macros ; do
+ for d in ${D}/usr/lib/rpm/platform/*-linux/macros ; do
    dd=${d%-linux/macros}
    dd=${dd##*/}
-   mkdir ${D}${prefix}/src/packages/RPMS/$dd
-   chmod 755 ${D}${prefix}/src/packages/RPMS/$dd
+   mkdir ${D}/usr/src/packages/RPMS/$dd
+   chmod 755 ${D}/usr/src/packages/RPMS/$dd
  done
- mkdir -p ${D}${localstatedir}/lib/rpm
- gzip -9 ${D}${mandir}/man[18]/*.[18]
+ mkdir -p ${D}/var/lib/rpm
+ gzip -9 ${D}/${mandir}/man[18]/*.[18]
  export RPM_BUILD_ROOT
  chmod 755 doc/manual
  rm -rf doc/manual/Makefile*
  rm -f ${D}/usr/lib/rpmpopt
  rm -rf ${D}${mandir}/{fr,ja,ko,pl,ru,sk}
  rm -f ${D}${prefix}/share/locale/de/LC_MESSAGES/rpm.mo
- rm -f ${D}${prefix}/lib/rpm/cpanflute ${D}${prefix}/lib/rpm/cpanflute2
- install -m 755 scripts/find-supplements{,.ksyms} ${D}${prefix}/lib/rpm
- install -m 755 scripts/firmware.prov ${D}${prefix}/lib/rpm
- install -m 755 scripts/debuginfo.prov ${D}${prefix}/lib/rpm
- rm -f ${D}${prefix}/lib/locale ${D}/usr/lib/rpmrc
- mkdir -p ${D}${sysconfdir}/rpm
- chmod 755 ${D}${sysconfdir}/rpm
- mkdir -p ${D}${prefix}/lib/rpm/macros.d
+ rm -f ${D}/usr/lib/rpm/cpanflute ${D}/usr/lib/rpm/cpanflute2
+ install -m 755 scripts/find-supplements{,.ksyms} ${D}/usr/lib/rpm
+ install -m 755 scripts/firmware.prov ${D}/usr/lib/rpm
+ install -m 755 scripts/debuginfo.prov ${D}/usr/lib/rpm
+ rm -f ${D}/usr/lib/locale ${D}/usr/lib/rpmrc
+ mkdir -p ${D}/etc/rpm
+ chmod 755 ${D}/etc/rpm
+ mkdir -p ${D}/usr/lib/rpm/macros.d
  # remove some nonsense or non-working scripts
- pushd ${D}${prefix}/lib/rpm/
+ pushd ${D}/usr/lib/rpm/
  for f in rpm2cpio.sh rpm.daily rpmdiff* rpm.log rpm.xinetd freshen.sh u_pkg.sh \
           magic magic.mgc magic.mime* rpmfile *.pl javadeps brp-redhat \
           brp-strip-static-archive vpkg-provides*.sh http.req sql.req tcl.req \
@@ -235,7 +229,7 @@ do_install() {
  do
      rm -f $f
  done
- for i in ${prefix}/share/automake-*/*; do
+ for i in /usr/share/automake-*/*; do
    if test -f "$i" && test -f "${i##*/}"; then
      rm -f "${i##*/}"
    fi
@@ -244,13 +238,11 @@ do_install() {
  rm -rf ${D}/${prefix}/lib/python2.7
  rm -f ${D}${prefix}/lib/*.la
  rm -f ${D}${prefix}/lib/rpm-plugins/*.la
-
- rm     ${D}${prefix}/bin/rpmgraph
-
+ sh ${D}/usr/lib/rpm/find-lang.sh ${D} rpm
 }
 
-
-
 PACKAGES += " rpm-security-plugin "
 PACKAGES += " rpm-build "
 PACKAGES += " rpm-docs "
@@ -267,26 +259,26 @@ rpm-build_files += "${prefix}/bin/rpmbuild"
 rpm-build_files += "${prefix}/bin/gendiff"
 rpm-build_files += "${prefix}/bin/rpmspec"
 rpm-build_files += "${prefix}/bin/rpmsign"
-rpm-build_files += "${prefix}/lib/rpm/tizen/find-*"
-rpm-build_files += "${prefix}/lib/rpm/brp-*"
-rpm-build_files += "${prefix}/lib/rpm/find-supplements*"
-rpm-build_files += "${prefix}/lib/rpm/check-*"
-rpm-build_files += "${prefix}/lib/rpm/debugedit"
-rpm-build_files += "${prefix}/lib/rpm/find-debuginfo.sh"
-rpm-build_files += "${prefix}/lib/rpm/find-lang.sh"
-rpm-build_files += "${prefix}/lib/rpm/find-provides.ksyms"
-rpm-build_files += "${prefix}/lib/rpm/*provides*"
-rpm-build_files += "${prefix}/lib/rpm/*requires*"
-rpm-build_files += "${prefix}/lib/rpm/*deps*"
-rpm-build_files += "${prefix}/lib/rpm/*.prov"
-rpm-build_files += "${prefix}/lib/rpm/*.req"
-rpm-build_files += "${prefix}/lib/rpm/macros.*"
-rpm-build_files += "${prefix}/lib/rpm/fileattrs"
+rpm-build_files += "/usr/lib/rpm/tizen/find-*"
+rpm-build_files += "/usr/lib/rpm/brp-*"
+rpm-build_files += "/usr/lib/rpm/find-supplements*"
+rpm-build_files += "/usr/lib/rpm/check-*"
+rpm-build_files += "/usr/lib/rpm/debugedit"
+rpm-build_files += "/usr/lib/rpm/find-debuginfo.sh"
+rpm-build_files += "/usr/lib/rpm/find-lang.sh"
+rpm-build_files += "/usr/lib/rpm/find-provides.ksyms"
+rpm-build_files += "/usr/lib/rpm/*provides*"
+rpm-build_files += "/usr/lib/rpm/*requires*"
+rpm-build_files += "/usr/lib/rpm/*deps*"
+rpm-build_files += "/usr/lib/rpm/*.prov"
+rpm-build_files += "/usr/lib/rpm/*.req"
+rpm-build_files += "/usr/lib/rpm/macros.*"
+rpm-build_files += "/usr/lib/rpm/fileattrs"
 
 rpm-dev_files = ""
 rpm-dev_files += "rpm.manifest"
 rpm-dev_files += "${prefix}/bin/rpmgraph"
-rpm-dev_files += "${prefix}/include/rpm"
+rpm-dev_files += "/usr/include/rpm"
 rpm-dev_files += "${prefix}/lib/librpm.so"
 rpm-dev_files += "${prefix}/lib/librpmbuild.so"
 rpm-dev_files += "${prefix}/lib/librpmio.so"
@@ -300,7 +292,7 @@ rpm-docs_files += "GROUPS"
 
 rpm_files = ""
 rpm_files += "rpm.manifest"
-rpm_files += "${sysconfdir}/rpm"
+rpm_files += "/etc/rpm"
 rpm_files += "/bin/rpm"
 rpm_files += "${prefix}/bin/rpm2cpio"
 rpm_files += "${prefix}/bin/rpmdb"
@@ -308,30 +300,27 @@ rpm_files += "${prefix}/bin/rpmkeys"
 rpm_files += "${prefix}/bin/rpmquery"
 rpm_files += "${prefix}/bin/rpmverify"
 rpm_files += "${prefix}/bin/rpmqpack"
-rpm_files += "%dir ${prefix}/lib/rpm"
-rpm_files += "${prefix}/lib/rpm/macros"
-rpm_files += "${prefix}/lib/rpm/macros.d"
-rpm_files += "${prefix}/lib/rpm/rpmpopt*"
-rpm_files += "${prefix}/lib/rpm/rpmrc"
-rpm_files += "${prefix}/lib/rpm/tizen/macros"
-rpm_files += "${prefix}/lib/rpm/tizen_macros"
-rpm_files += "${prefix}/lib/rpm/rpm.supp"
-rpm_files += "${prefix}/lib/rpm/tgpg"
-rpm_files += "${prefix}/lib/rpm/platform"
+rpm_files += "%dir /usr/lib/rpm"
+rpm_files += "/usr/lib/rpm/macros"
+rpm_files += "/usr/lib/rpm/macros.d"
+rpm_files += "/usr/lib/rpm/rpmpopt*"
+rpm_files += "/usr/lib/rpm/rpmrc"
+rpm_files += "/usr/lib/rpm/tizen/macros"
+rpm_files += "/usr/lib/rpm/tizen_macros"
+rpm_files += "/usr/lib/rpm/rpm.supp"
+rpm_files += "/usr/lib/rpm/tgpg"
+rpm_files += "/usr/lib/rpm/platform"
 rpm_files += "${prefix}/lib/rpm-plugins"
 rpm_files += "${prefix}/lib/rpm-plugins/exec.so"
 rpm_files += "${prefix}/lib/librpm.so.*"
 rpm_files += "${prefix}/lib/librpmio.so.*"
 rpm_files += "${prefix}/lib/librpmbuild.so.*"
 rpm_files += "${prefix}/lib/librpmsign.so.*"
-rpm_files += "${localstatedir}/lib/rpm"
-rpm_files += "%attr(755,root,root) ${prefix}/src/packages/BUILD"
-rpm_files += "%attr(755,root,root) ${prefix}/src/packages/SPECS"
-rpm_files += "%attr(755,root,root) ${prefix}/src/packages/SOURCES"
-rpm_files += "%attr(755,root,root) ${prefix}/src/packages/SRPMS"
-rpm_files += "%attr(755,root,root) ${prefix}/src/packages/RPMS"
-rpm_files += "%attr(755,root,root) ${prefix}/src/packages/BUILDROOT"
-rpm_files += "%attr(755,root,root) ${prefix}/src/packages/RPMS/*"
+rpm_files += "/var/lib/rpm"
+rpm_files += "%attr(755,root,root) /usr/src/packages/BUILD"
+rpm_files += "%attr(755,root,root) /usr/src/packages/SPECS"
+rpm_files += "%attr(755,root,root) /usr/src/packages/SOURCES"
+rpm_files += "%attr(755,root,root) /usr/src/packages/SRPMS"
 
 FILES_${PN}-security-plugin = "${rpm-security-plugin_files}"
 FILES_${PN}-build = "${rpm-build_files}"
@@ -348,3 +337,4 @@ PKG_rpm-docs= "rpm-docs"
 PKG_rpm= "rpm"
 
 require rpm-extraconf.inc
+
index 143ce01..e319b1b 100644 (file)
@@ -6,4 +6,5 @@ LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd64
 
 SRC_URI += "git://review.tizen.org/platform/upstream/rpm;tag=900e279b9481a75ede028707fe5a0a2bb2801a8f;nobranch=1"
 
-BBCLASSEXTEND = "native"
+
+
index b5e30f0..c269ee1 100644 (file)
@@ -31,7 +31,7 @@ RDEPENDS = ""
 RDEPENDS_${PN}-certs += "security-server"
 
 #RDEPENDS of libsecurity-server-client (lib${PN}-client)
-RDEPENDS_lib${PN}-client += "/sbin/ldconfig"
+RDEPENDS_lib${PN}-client += "eglibc"
 RDEPENDS_lib${PN}-client += "security-server"
 
 #RDEPENDS of libsecurity-server-client-dev (lib${PN}-client-dev)
diff --git a/recipes-tizen/slp-pkgmgr/slp-pkgmgr-extraconf.inc b/recipes-tizen/slp-pkgmgr/slp-pkgmgr-extraconf.inc
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/recipes-tizen/slp-pkgmgr/slp-pkgmgr.inc b/recipes-tizen/slp-pkgmgr/slp-pkgmgr.inc
new file mode 100644 (file)
index 0000000..420fe0a
--- /dev/null
@@ -0,0 +1,237 @@
+DESCRIPTION = "Packager Manager client library package"
+HOMEPAGE = "http://nohomepage.org"
+SECTION = "Application Framework/Package Management"
+LICENSE = "Apache-2.0"
+
+SRC_URI = ""
+
+S = "${WORKDIR}/git"
+
+inherit autotools-brokensep
+
+PROVIDES = ""
+
+#PROVIDES by pkgmgr-client 
+
+
+#PROVIDES by pkgmgr 
+
+
+#PROVIDES by pkgmgr-server 
+
+
+#PROVIDES by pkgmgr-types-dev 
+
+
+#PROVIDES by pkgmgr-client-dev 
+
+
+#PROVIDES by pkgmgr-installer-dev 
+
+
+#PROVIDES by pkgmgr-installer 
+
+
+RDEPENDS = ""
+#RDEPENDS of pkgmgr-client (pkgmgr-client)
+RDEPENDS_pkgmgr-client += "shared-mime-info"
+RDEPENDS_pkgmgr-client += "pkgmgr"
+
+#RDEPENDS of pkgmgr-server (pkgmgr-server)
+RDEPENDS_pkgmgr-server += "pkgmgr"
+
+#RDEPENDS of pkgmgr-types-dev (pkgmgr-types-dev)
+RDEPENDS_pkgmgr-types-dev += "pkgmgr"
+
+#RDEPENDS of pkgmgr-client-dev (pkgmgr-client-dev)
+RDEPENDS_pkgmgr-client-dev += "pkgmgr"
+
+#RDEPENDS of pkgmgr-installer-dev (pkgmgr-installer-dev)
+RDEPENDS_pkgmgr-installer-dev += "pkgmgr"
+
+#RDEPENDS of pkgmgr-installer (pkgmgr-installer)
+RDEPENDS_pkgmgr-installer += "pkgmgr"
+
+
+DEPENDS = ""
+#DEPENDS of pkgmgr 
+DEPENDS += "pkgmgr-info"
+#Replace "DEPENDS" on gettext by "inherit gettext"
+inherit gettext
+DEPENDS += "unzip"
+DEPENDS += "cmake"
+DEPENDS += "iniparser"
+DEPENDS += "dbus"
+DEPENDS += "security-server"
+DEPENDS += "dlog"
+DEPENDS += "app-core"
+DEPENDS += "ail"
+DEPENDS += "bundle"
+DEPENDS += "ecore"
+
+do_prep() {
+ cd ${S}
+ chmod -Rf a+rX,u+w,g-w,o-w ${S}
+ #setup -q
+ cp ${S}/packaging/pkgmgr.manifest ${S}/packaging/pkgmgr-client.manifest ${S}/packaging/pkgmgr-client-devel.manifest ${S}/packaging/pkgmgr-server.manifest ${S}/packaging/pkgmgr-installer.manifest ${S}/packaging/pkgmgr-installer-devel.manifest ${S}/packaging/pkgmgr-types-devel.manifest .
+}
+do_patch_append() {
+    bb.build.exec_func('do_prep', d)
+}
+
+do_configure() {
+}
+
+do_compile() {
+ cd ${S}
+ LANG=C
+ export LANG
+ unset DISPLAY
+ CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables" ; export CFLAGS ; 
+ CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ; 
+ FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I%_fmoddir}" ; export FFLAGS ; 
+ LD_AS_NEEDED=1; export LD_AS_NEEDED ; 
+   CFLAGS="${CFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CFLAGS ; 
+   CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ; 
+   FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export FFLAGS ; 
+   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 . \
+     -DX11_SUPPORT=Off
+ make -j16
+}
+
+do_install() {
+ echo 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 --
+ rm -f  ${D}${prefix}/bin/pkgmgr_backend_sample
+ rm -f ${D}${prefix}/lib/libpkgmgr_backend_lib_sample.so
+ rm -f ${D}${prefix}/lib/libpkgmgr_parser_lib_sample.so
+ mkdir -p ${D}${sysconfdir}/package-manager/backend
+ mkdir -p ${D}${sysconfdir}/package-manager/backendlib
+ mkdir -p ${D}/etc/opt/upgrade
+ mkdir -p ${D}${sysconfdir}/package-manager/server
+ /usr/share/spec2yocto/macro/lib/find-lang.sh ${D} package-manager
+}
+
+PACKAGES += " pkgmgr-client "
+PACKAGES += " pkgmgr "
+PACKAGES += " pkgmgr-server "
+PACKAGES += " pkgmgr-types-dev "
+PACKAGES += " pkgmgr-client-dev "
+PACKAGES += " pkgmgr-installer-dev "
+PACKAGES += " pkgmgr-installer "
+
+pkgmgr-client_files = ""
+pkgmgr-client_files += "pkgmgr-client.manifest"
+pkgmgr-client_files += "/etc/package-manager"
+pkgmgr-client_files += "/etc/package-manager/pkg_path.conf"
+pkgmgr-client_files += "${prefix}/lib/libpkgmgr-client.so.*"
+
+pkgmgr_files = ""
+pkgmgr_files += "pkgmgr.manifest"
+pkgmgr_files += "${sysconfdir}/package-manager/backend"
+pkgmgr_files += "${sysconfdir}/package-manager/backendlib"
+pkgmgr_files += "/etc/opt/upgrade"
+pkgmgr_files += "/etc/opt/upgrade/pkgmgr.patch.sh"
+pkgmgr_files += "${prefix}/bin/pkgcmd"
+pkgmgr_files += "${prefix}/bin/pkg_initdb"
+pkgmgr_files += "${prefix}/bin/pkg_getsize"
+pkgmgr_files += "${prefix}/bin/pkginfo"
+pkgmgr_files += "${prefix}/bin/pkgmgr-install"
+pkgmgr_files += "${prefix}/share/packages"
+pkgmgr_files += "${prefix}/share/packages/org.tizen.pkgmgr-install.xml"
+pkgmgr_files += "${prefix}/share/mime/packages/mime.wac.xml"
+pkgmgr_files += "${prefix}/share/mime/packages/mime.tpk.xml"
+
+pkgmgr-server_files = ""
+pkgmgr-server_files += "pkgmgr-server.manifest"
+pkgmgr-server_files += "${prefix}/share/dbus-1/system-services/org.tizen.slp.pkgmgr.service"
+pkgmgr-server_files += "${sysconfdir}/dbus-1/system.d/org.tizen.slp.pkgmgr.conf"
+pkgmgr-server_files += "${prefix}/bin/pkgmgr-server"
+pkgmgr-server_files += "${sysconfdir}/package-manager/server"
+
+pkgmgr-types-dev_files = ""
+pkgmgr-types-dev_files += "pkgmgr-types-devel.manifest"
+pkgmgr-types-dev_files += "${prefix}/include/package-manager-types.h"
+pkgmgr-types-dev_files += "${prefix}/include/package-manager-plugin.h"
+pkgmgr-types-dev_files += "${prefix}/lib/pkgconfig/pkgmgr-types.pc"
+
+pkgmgr-client-dev_files = ""
+pkgmgr-client-dev_files += "pkgmgr-client-devel.manifest"
+pkgmgr-client-dev_files += "${prefix}/include/package-manager.h"
+pkgmgr-client-dev_files += "${prefix}/include/pkgmgr-dbinfo.h"
+pkgmgr-client-dev_files += "${prefix}/lib/pkgconfig/pkgmgr.pc"
+pkgmgr-client-dev_files += "${prefix}/lib/libpkgmgr-client.so"
+
+pkgmgr-installer-dev_files = ""
+pkgmgr-installer-dev_files += "pkgmgr-installer-devel.manifest"
+pkgmgr-installer-dev_files += "${prefix}/include/pkgmgr"
+pkgmgr-installer-dev_files += "${prefix}/include/pkgmgr/pkgmgr_installer.h"
+pkgmgr-installer-dev_files += "${prefix}/lib/pkgconfig/pkgmgr-installer-status-broadcast-server.pc"
+pkgmgr-installer-dev_files += "${prefix}/lib/pkgconfig/pkgmgr-installer.pc"
+pkgmgr-installer-dev_files += "${prefix}/lib/pkgconfig/pkgmgr-installer-client.pc"
+pkgmgr-installer-dev_files += "${prefix}/lib/libpkgmgr_installer.so"
+pkgmgr-installer-dev_files += "${prefix}/lib/libpkgmgr_installer_client.so"
+pkgmgr-installer-dev_files += "${prefix}/lib/libpkgmgr_installer_status_broadcast_server.so"
+
+pkgmgr-installer_files = ""
+pkgmgr-installer_files += "pkgmgr-installer.manifest"
+pkgmgr-installer_files += "${prefix}/lib/libpkgmgr_installer.so.*"
+pkgmgr-installer_files += "${prefix}/lib/libpkgmgr_installer_status_broadcast_server.so.*"
+pkgmgr-installer_files += "${prefix}/lib/libpkgmgr_installer_client.so.*"
+
+FILES_${PN}-client = "${pkgmgr-client_files}"
+FILES_${PN} = "${pkgmgr_files}"
+FILES_${PN}-server = "${pkgmgr-server_files}"
+FILES_${PN}-types-dev = "${pkgmgr-types-dev_files}"
+FILES_${PN}-client-dev = "${pkgmgr-client-dev_files}"
+FILES_${PN}-installer-dev = "${pkgmgr-installer-dev_files}"
+FILES_${PN}-installer = "${pkgmgr-installer_files}"
+
+PKG_pkgmgr-client= "pkgmgr-client"
+PKG_pkgmgr= "pkgmgr"
+PKG_pkgmgr-server= "pkgmgr-server"
+PKG_pkgmgr-types-dev= "pkgmgr-types-dev"
+PKG_pkgmgr-client-dev= "pkgmgr-client-dev"
+PKG_pkgmgr-installer-dev= "pkgmgr-installer-dev"
+PKG_pkgmgr-installer= "pkgmgr-installer"
+
+require slp-pkgmgr-extraconf.inc
+
diff --git a/recipes-tizen/slp-pkgmgr/slp-pkgmgr_git.bb b/recipes-tizen/slp-pkgmgr/slp-pkgmgr_git.bb
new file mode 100644 (file)
index 0000000..95190da
--- /dev/null
@@ -0,0 +1,10 @@
+require slp-pkgmgr.inc
+
+PRIORITY = "10"
+
+LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
+
+SRC_URI += "git://review.tizen.org/platform/core/appfw/slp-pkgmgr;tag=9f13493a8a45a9eb1d7ed15a5f4e5f35243e70e7;nobranch=1"
+
+BBCLASSEXTEND = "native"
+
diff --git a/recipes-tizen/smack/smack-native_git.bb b/recipes-tizen/smack/smack-native_git.bb
deleted file mode 100644 (file)
index ade5adc..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-require smack.inc
-
-PRIORITY = "9"
-
-inherit native
-
-S = "${WORKDIR}/git"
-
-LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
-
-SRC_URI += "git://review.tizen.org/platform/upstream/smack;tag=1891f4bf4ec855fb85844b0fc3599c10ce91a875;nobranch=1"
-
index 9ed2e0c..057170b 100644 (file)
@@ -7,18 +7,22 @@ SRC_URI = ""
 
 S = "${WORKDIR}/git"
 
-inherit autotools
+inherit autotools-brokensep
 
 PROVIDES = ""
 
 #PROVIDES by smack-dev 
 
+
 #PROVIDES by smack 
 
+
 #PROVIDES by libsmack 
 
+
 #PROVIDES by smack-docs  
 
+
 RDEPENDS = ""
 #RDEPENDS of smack-dev (${PN}-dev)
 RDEPENDS_${PN}-dev += "libsmack"
@@ -26,9 +30,9 @@ RDEPENDS_${PN}-dev += "libsmack"
 
 DEPENDS = ""
 #DEPENDS of smack 
-DEPENDS += "autoconf-native"
+DEPENDS_append_class-native = " autoconf-native"
 DEPENDS += "libtool-cross"
-DEPENDS += "automake-native"
+DEPENDS_append_class-native = " automake-native"
 
 do_prep() {
  cd ${S}
@@ -141,3 +145,4 @@ PKG_libsmack= "libsmack"
 PKG_smack-docs= "smack-docs"
 
 require smack-extraconf.inc
+
index e5454bf..8ba0d6f 100644 (file)
@@ -6,3 +6,5 @@ LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd64
 
 SRC_URI += "git://review.tizen.org/platform/upstream/smack;tag=1891f4bf4ec855fb85844b0fc3599c10ce91a875;nobranch=1"
 
+BBCLASSEXTEND = "native"
+
diff --git a/recipes-tizen/tizen-platform-config/tizen-platform-config-extraconf.inc b/recipes-tizen/tizen-platform-config/tizen-platform-config-extraconf.inc
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/recipes-tizen/tizen-platform-config/tizen-platform-config.inc b/recipes-tizen/tizen-platform-config/tizen-platform-config.inc
new file mode 100644 (file)
index 0000000..bc0c549
--- /dev/null
@@ -0,0 +1,155 @@
+DESCRIPTION = "Tizen Platform Configuration"
+HOMEPAGE = "http://www.tizen.org"
+SECTION = "System/Configuration"
+LICENSE = "MIT"
+
+SRC_URI = ""
+
+S = "${WORKDIR}/git"
+
+inherit autotools-brokensep
+
+PROVIDES = ""
+
+#PROVIDES by tizen-platform-config 
+
+
+#PROVIDES by libtzplatform-config-dev 
+
+
+#PROVIDES by tizen-platform-config-tools 
+
+
+#PROVIDES by libtzplatform-config 
+
+
+RDEPENDS = ""
+#RDEPENDS of tizen-platform-config-tools (${PN}-tools)
+RDEPENDS_${PN}-tools += "libtzplatform-config"
+
+#RDEPENDS of libtzplatform-config-dev (libtzplatform-config-dev)
+RDEPENDS_libtzplatform-config-dev += "libtzplatform-config"
+
+#RDEPENDS of libtzplatform-config (libtzplatform-config)
+RDEPENDS_libtzplatform-config += "tizen-platform-config"
+
+
+DEPENDS = ""
+#DEPENDS of tizen-platform-config 
+DEPENDS += "tizen-platform-wrapper"
+
+do_prep() {
+ cd ${S}
+ chmod -Rf a+rX,u+w,g-w,o-w ${S}
+ #setup -q
+ cp ${S}/packaging/tizen-platform-config.manifest .
+}
+do_patch_append() {
+    bb.build.exec_func('do_prep', d)
+}
+
+do_configure() {
+}
+
+do_compile() {
+ cd ${S}
+ LANG=C
+ export LANG
+ unset DISPLAY
+ CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables" ; export CFLAGS ; 
+ CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ; 
+ FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I%_fmoddir}" ; export FFLAGS ; 
+ LD_AS_NEEDED=1; export LD_AS_NEEDED ; 
+   CFLAGS="${CFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CFLAGS ; 
+   CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ; 
+   FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I%_fmoddir}" ; export FFLAGS ; 
+   ./autogen.sh --build=${TARGET_SYS} --host=${HOST_SYS} \
+         --target=x86_64-tizen-linux \
+         --program-prefix= \
+         --prefix=${prefix} \
+         --exec-prefix=${prefix} \
+         --bindir=${prefix}/bin \
+         --sbindir=${prefix}/sbin \
+         --sysconfdir=${sysconfdir} \
+         --datadir=${prefix}/share \
+         --includedir=${prefix}/include \
+         --libdir=${prefix}/lib \
+         --libexecdir=${prefix}/libexec \
+         --localstatedir=${localstatedir} \
+         --sharedstatedir=${prefix}/com \
+         --mandir=${mandir} \
+         --infodir=${infodir} \
+       --disable-static
+ make -j16
+ exit 0
+ make check
+}
+
+do_install() {
+ echo 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 --
+}
+
+PACKAGES += " libtzplatform-config-dev "
+PACKAGES += " tizen-platform-config-tools "
+PACKAGES += " libtzplatform-config "
+
+libtzplatform-config-dev_files = ""
+libtzplatform-config-dev_files += "tizen-platform-config.manifest"
+libtzplatform-config-dev_files += "LGPL-2.0 LGPL_2.0"
+libtzplatform-config-dev_files += "${prefix}/lib/*.so"
+libtzplatform-config-dev_files += "${prefix}/lib/pkgconfig/*.pc"
+libtzplatform-config-dev_files += "${prefix}/include/*.h"
+libtzplatform-config-dev_files += "${sysconfdir}/rpm/macros.tizen-platform"
+
+tizen-platform-config-tools_files = ""
+tizen-platform-config-tools_files += "tizen-platform-config.manifest"
+tizen-platform-config-tools_files += "${prefix}/bin/*"
+
+tizen-platform-config_files = ""
+tizen-platform-config_files += "tizen-platform-config.manifest"
+tizen-platform-config_files += "LGPL-2.0 MIT"
+tizen-platform-config_files += "${sysconfdir}/tizen-platform.conf"
+
+libtzplatform-config_files = ""
+libtzplatform-config_files += "tizen-platform-config.manifest"
+libtzplatform-config_files += "${prefix}/lib/*.so.*"
+
+FILES_libtzplatform-config-dev = "${libtzplatform-config-dev_files}"
+FILES_${PN}-tools = "${tizen-platform-config-tools_files}"
+FILES_${PN} = "${tizen-platform-config_files}"
+FILES_libtzplatform-config = "${libtzplatform-config_files}"
+
+PKG_libtzplatform-config-dev= "libtzplatform-config-dev"
+PKG_tizen-platform-config-tools= "tizen-platform-config-tools"
+PKG_tizen-platform-config= "tizen-platform-config"
+PKG_libtzplatform-config= "libtzplatform-config"
+
+require tizen-platform-config-extraconf.inc
+
diff --git a/recipes-tizen/tizen-platform-config/tizen-platform-config_git.bb b/recipes-tizen/tizen-platform-config/tizen-platform-config_git.bb
new file mode 100644 (file)
index 0000000..d420135
--- /dev/null
@@ -0,0 +1,10 @@
+require tizen-platform-config.inc
+
+PRIORITY = "10"
+
+LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
+
+SRC_URI += "git://review.tizen.org/platform/core/appfw/tizen-platform-config;tag=975455172dd3acb0022992e09c1a9fffd41a5e45;nobranch=1"
+
+BBCLASSEXTEND = "native"
+
diff --git a/recipes-tizen/tizen-platform-wrapper/tizen-platform-wrapper-extraconf.inc b/recipes-tizen/tizen-platform-wrapper/tizen-platform-wrapper-extraconf.inc
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/recipes-tizen/tizen-platform-wrapper/tizen-platform-wrapper.inc b/recipes-tizen/tizen-platform-wrapper/tizen-platform-wrapper.inc
new file mode 100644 (file)
index 0000000..ee76b21
--- /dev/null
@@ -0,0 +1,108 @@
+DESCRIPTION = "A toolkit to generate the libtizen-platform-config library"
+HOMEPAGE = "http://www.tizen.org"
+SECTION = "Development/Tools"
+LICENSE = "LGPL-2.0"
+
+SRC_URI = ""
+
+S = "${WORKDIR}/git"
+
+inherit autotools-brokensep
+
+PROVIDES = ""
+
+#PROVIDES by tizen-platform-wrapper 
+
+
+RDEPENDS = ""
+#RDEPENDS of tizen-platform-wrapper (${PN})
+RDEPENDS_${PN} += "gperf"
+
+
+DEPENDS = ""
+
+do_prep() {
+ cd ${S}
+ chmod -Rf a+rX,u+w,g-w,o-w ${S}
+ #setup -q
+ cp ${S}/packaging/tizen-platform-wrapper.manifest .
+}
+do_patch_append() {
+    bb.build.exec_func('do_prep', d)
+}
+
+do_configure() {
+}
+
+do_compile() {
+ cd ${S}
+ LANG=C
+ export LANG
+ unset DISPLAY
+ CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables" ; export CFLAGS ; 
+ CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ; 
+ FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I%_fmoddir}" ; export FFLAGS ; 
+ LD_AS_NEEDED=1; export LD_AS_NEEDED ; 
+   CFLAGS="${CFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CFLAGS ; 
+   CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ; 
+   FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I%_fmoddir}" ; export FFLAGS ; 
+   ./autogen.sh --build=${TARGET_SYS} --host=${HOST_SYS} \
+         --target=x86_64-tizen-linux \
+         --program-prefix= \
+         --prefix=${prefix} \
+         --exec-prefix=${prefix} \
+         --bindir=${prefix}/bin \
+         --sbindir=${prefix}/sbin \
+         --sysconfdir=${sysconfdir} \
+         --datadir=${prefix}/share \
+         --includedir=${prefix}/include \
+         --libdir=${prefix}/lib \
+         --libexecdir=${prefix}/libexec \
+         --localstatedir=${localstatedir} \
+         --sharedstatedir=${prefix}/com \
+         --mandir=${mandir} \
+         --infodir=${infodir}
+ make -j16
+}
+
+do_install() {
+ echo 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 --
+}
+
+
+tizen-platform-wrapper_files = ""
+tizen-platform-wrapper_files += "tizen-platform-wrapper.manifest"
+tizen-platform-wrapper_files += "${prefix}/bin/*"
+tizen-platform-wrapper_files += "${prefix}/share/tizen-platform-wrapper/*"
+
+FILES_${PN} = "${tizen-platform-wrapper_files}"
+
+PKG_tizen-platform-wrapper= "tizen-platform-wrapper"
+
+require tizen-platform-wrapper-extraconf.inc
+
diff --git a/recipes-tizen/tizen-platform-wrapper/tizen-platform-wrapper_git.bb b/recipes-tizen/tizen-platform-wrapper/tizen-platform-wrapper_git.bb
new file mode 100644 (file)
index 0000000..cdaadb0
--- /dev/null
@@ -0,0 +1,10 @@
+require tizen-platform-wrapper.inc
+
+PRIORITY = "10"
+
+LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
+
+SRC_URI += "git://review.tizen.org/platform/core/appfw/tizen-platform-wrapper;tag=ddda0a79a93d4fae22b39467b0d095267f5ea66b;nobranch=1"
+
+BBCLASSEXTEND = "native"
+
diff --git a/recipes-tizen/uthash/uthash-native_git.bb b/recipes-tizen/uthash/uthash-native_git.bb
deleted file mode 100644 (file)
index 52bb4f1..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-require uthash.inc
-
-PRIORITY = "9"
-
-inherit native
-
-S = "${WORKDIR}/git"
-
-LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
-
-SRC_URI += "git://review.tizen.org/platform/upstream/uthash;tag=1436c7858fa133d830a18d27c879af301000a70f;nobranch=1"
-
index af4e0ba..f60e0c2 100644 (file)
@@ -7,14 +7,16 @@ SRC_URI = ""
 
 S = "${WORKDIR}/git"
 
-inherit autotools
+inherit autotools-brokensep
 
 PROVIDES = ""
 
 #PROVIDES by uthash 
 
+
 #PROVIDES by uthash-dev 
 
+
 RDEPENDS = ""
 
 DEPENDS = ""
@@ -79,3 +81,4 @@ FILES_${PN}-dev = "${uthash-dev_files}"
 PKG_uthash-dev= "uthash-dev"
 
 require uthash-extraconf.inc
+
index 8991b58..f416786 100644 (file)
@@ -6,3 +6,5 @@ LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd64
 
 SRC_URI += "git://review.tizen.org/platform/upstream/uthash;tag=1436c7858fa133d830a18d27c879af301000a70f;nobranch=1"
 
+BBCLASSEXTEND = "native"
+
index f340b50..5fe7c43 100644 (file)
@@ -26,8 +26,8 @@ RDEPENDS_${PN}-keys-dev += "vconf"
 RDEPENDS_${PN}-keys-dev += "vconf-internal-keys-dev"
 
 #RDEPENDS of vconf (${PN})
+RDEPENDS_${PN} += "eglibc"
 RDEPENDS_${PN} += "systemd"
-RDEPENDS_${PN} += "/sbin/ldconfig"
 
 #RDEPENDS of vconf-dev (${PN}-dev)
 RDEPENDS_${PN}-dev += "vconf"
index e2a7432..6b51afb 100644 (file)
@@ -37,17 +37,14 @@ DEPENDS += "libxkbcommon"
 DEPENDS += "cairo"
 DEPENDS += "glib-2.0"
 DEPENDS_append_class-native = " pkgconfig-native"
-DEPENDS_append_class-target = " pkgconfig"
 DEPENDS += "jpeg"
 DEPENDS_append_class-native = " automake-native"
-DEPENDS_append_class-target = " automake"
 DEPENDS += "weston"
 DEPENDS += "wayland"
 DEPENDS += "libtool-cross"
 DEPENDS += "libpng"
 DEPENDS += "mesa"
 DEPENDS_append_class-native = " autoconf-native"
-DEPENDS_append_class-target = " autoconf"
 DEPENDS += "vconf"
 DEPENDS += "pixman"