+++ /dev/null
-FILES_brp-trim-desktopfiles += "/usr/lib/rpm/brp-tizen.d/brp-70-trim-desktopfiles"
+++ /dev/null
-DESCRIPTION = "A Build Tool to Update Desktop Files"
-HOMEPAGE = "http://nohomepage.org"
-SECTION = "Development/Tools"
-LICENSE = "GPL-2.0+"
-PV = "12.1"
-
-SRC_URI = ""
-
-S = "${WORKDIR}/git"
-
-inherit manifest autotools-brokensep
-
-BBCLASSEXTEND = ""
-PROVIDES = ""
-
-#PROVIDES by update-desktop-files
-
-
-#PROVIDES by brp-trim-desktopfiles
-PROVIDES += "brp-trim-desktopfiles"
-
-
-RDEPENDS = ""
-#RDEPENDS of update-desktop-files (${PN})
-RDEPENDS_${PN} += "desktop-file-utils"
-
-
-DEPENDS = ""
-
-do_prep() {
- cd ${S}
- chmod -Rf a+rX,u+w,g-w,o-w ${S}
- #setup -q -n . -D -T 0
- cp ${S}/packaging/update-desktop-files.manifest .
- mkdir update-desktop-files
- cd update-desktop-files
-
-
-}
-do_patch_append() {
- bb.build.exec_func('do_prep', d)
-}
-
-do_configure() {
-}
-
-do_compile() {
- cd ${S}
- LANG=C
- export LANG
- unset DISPLAY
- LD_AS_NEEDED=1; export LD_AS_NEEDED ;
-
-
-
-
-}
-
-do_install() {
- export RPM_BUILD_ROOT=${D}
- cd ${S}
- LANG=C
- export LANG
- unset DISPLAY
- rm -rf ${D}
- mkdir -p ${D}
-
- mkdir -p ${D}/usr/share/spec2yocto/macro
- install -m0755 ${S}/packaging/tizen_update_desktop_file.sh ${S}/packaging/map-desktop-category.sh ${D}/usr/share/spec2yocto/macro
- install -m0644 -D ${S}/packaging/macro ${D}${sysconfdir}/rpm/macros.update-desktop-files
- install -m0755 -D ${S}/packaging/brp-trim-desktop.sh ${D}/usr/share/spec2yocto/macro/brp-tizen.d/brp-70-trim-desktopfiles
-
-
-}
-
-PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale"
-PACKAGES += " brp-trim-desktopfiles "
-PACKAGES += " update-desktop-files "
-
-brp-trim-desktopfiles_files = ""
-brp-trim-desktopfiles_files += "/usr/share/spec2yocto/macro/brp-tizen.d"
-MANIFESTFILES_brp-trim-desktopfiles = "update-desktop-files.manifest"
-
-update-desktop-files_files = ""
-update-desktop-files_files += "/usr/share/spec2yocto/macro/*"
-update-desktop-files_files += "${sysconfdir}/rpm/*"
-MANIFESTFILES_${PN} = "update-desktop-files.manifest"
-
-FILES_brp-trim-desktopfiles = "${brp-trim-desktopfiles_files}"
-FILES_${PN} = "${update-desktop-files_files}"
-
-PKG_brp-trim-desktopfiles= "brp-trim-desktopfiles"
-PKG_update-desktop-files= "update-desktop-files"
-
-require update-desktop-files-extraconf.inc
-
+++ /dev/null
-require update-desktop-files.inc
-
-PRIORITY = "10"
-
-LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
-
-SRC_URI += "git://review.tizen.org/platform/upstream/update-desktop-files;tag=41a39c9fe36dbbbc769ca391c32d5f8a3c0c0291;nobranch=1"
-
-BBCLASSEXTEND += " native "
-
+++ /dev/null
-DESCRIPTION = "Configuration system library"
-HOMEPAGE = "http://nohomepage.org"
-SECTION = "System/Libraries"
-LICENSE = "Apache-2.0"
-PV = "0.3"
-
-SRC_URI = ""
-
-S = "${WORKDIR}/git"
-
-inherit manifest autotools-brokensep
-
-BBCLASSEXTEND = ""
-PROVIDES = ""
-
-#PROVIDES by vconf-buxton-dev
-PROVIDES += "vconf-buxton-dev"
-# the PROVIDES rules is ignore "vconf-dev "
-PROVIDES += "vconf-dev"
-RPROVIDES_vconf-buxton-dev += "vconf-dev"
-
-
-#PROVIDES by vconf-buxton-keys-dev
-PROVIDES += "vconf-buxton-keys-dev"
-# the PROVIDES rules is ignore "vconf-keys-dev "
-PROVIDES += "vconf-keys-dev"
-RPROVIDES_vconf-buxton-keys-dev += "vconf-keys-dev"
-
-
-#PROVIDES by vconf-buxton
-# the PROVIDES rules is ignore "vconf "
-PROVIDES += "vconf"
-RPROVIDES_vconf-buxton += "vconf"
-
-
-RDEPENDS = ""
-#RDEPENDS of vconf-buxton-dev (${PN}-dev)
-RDEPENDS_${PN}-dev += "vconf-buxton-keys-dev"
-RDEPENDS_${PN}-dev += "vconf-buxton"
-
-#RDEPENDS of vconf-buxton-keys-dev (${PN}-keys-dev)
-RDEPENDS_${PN}-keys-dev += "vconf-buxton"
-RDEPENDS_${PN}-keys-dev += "vconf-internal-keys-dev"
-
-#RDEPENDS of vconf-buxton (${PN})
-RDEPENDS_${PN} += "glibc"
-
-
-DEPENDS = ""
-#DEPENDS of vconf-buxton
-DEPENDS += "vconf-internal-keys"
-DEPENDS += "pkgconfig(buxton)"
-inherit tizen_cmake
-inherit pkgconfig
-DEPENDS += "glib-2.0"
-
-do_prep() {
- cd ${S}
- chmod -Rf a+rX,u+w,g-w,o-w ${S}
- #setup -q -n vconf-buxton-0.3
- cp ${S}/packaging/vconf-buxton.manifest .
-
-
-}
-do_patch_append() {
- bb.build.exec_func('do_prep', d)
-}
-
-do_configure() {
-}
-
-do_compile() {
- cd ${S}
- LANG=C
- export LANG
- unset DISPLAY
- LD_AS_NEEDED=1; export LD_AS_NEEDED ;
-
-
- cmake \
- -DCMAKE_VERBOSE_MAKEFILE=ON \
- -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \
- -DCMAKE_INSTALL_LIBDIR:PATH=${prefix}/lib \
- -DINCLUDE_INSTALL_DIR:PATH=${prefix}/include \
- -DLIB_INSTALL_DIR:PATH=${prefix}/lib \
- -DSYSCONF_INSTALL_DIR:PATH=${sysconfdir} \
- -DSHARE_INSTALL_PREFIX:PATH=${prefix}/share \
- -DCMAKE_SKIP_RPATH:BOOL=ON \
- -DBUILD_SHARED_LIBS:BOOL=ON \
- -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \
- ${EXTRA_OECMAKE} -DLIBNAME:STRING=vconf -DTOOLNAME:STRING=vconftool .
- make -j16
-
-
-
-}
-
-do_install() {
- export RPM_BUILD_ROOT=${D}
- cd ${S}
- LANG=C
- export LANG
- unset DISPLAY
- rm -rf ${D}
- mkdir -p ${D}
-
-
- oe_runmake \
- DESTDIR=${D} \
- INSTALL_ROOT=${D} \
- BINDIR=${prefix}/bin \
- install
- rm -f ${D}${infodir}/dir
- find ${D} -regex ".*\.la$" | xargs rm -f --
- find ${D} -regex ".*\.a$" | xargs rm -f --
- mv ${D}${systemd_unitdir}/system/vconf-buxton-setup.service ${D}${systemd_unitdir}/system/vconf-setup.service
- mkdir -p ${D}${systemd_unitdir}/system/basic.target.wants
- ln -sf ../vconf-setup.service ${D}${systemd_unitdir}/system/basic.target.wants/
-
-
-}
-
-pkg_postinst_${PN}() {
- #!/bin/sh -e
-
- [ "x$D" == "x" ] && ldconfig
- vconf-buxton-init-from-vconf.sh
-
-}
-
-pkg_postrm_${PN}() {
- #!/bin/sh -e
-
- [ "x$D" == "x" ] && ldconfig
-
-}
-
-PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale"
-PACKAGES += " vconf-buxton-dev "
-PACKAGES += " vconf-buxton-keys-dev "
-PACKAGES += " vconf-buxton "
-
-vconf-buxton-dev_files = ""
-vconf-buxton-dev_files += "${prefix}/include/vconf/vconf.h"
-vconf-buxton-dev_files += "${prefix}/include/vconf/vconf-buxton.h"
-vconf-buxton-dev_files += "${prefix}/lib/pkgconfig/vconf.pc"
-vconf-buxton-dev_files += "${prefix}/lib/libvconf.so"
-MANIFESTFILES_${PN}-dev = "vconf-buxton.manifest"
-
-vconf-buxton-keys-dev_files = ""
-vconf-buxton-keys-dev_files += "${prefix}/include/vconf/vconf-keys.h"
-vconf-buxton-keys-dev_files += "${prefix}/include/vconf/vconf-buxton-keys.h"
-MANIFESTFILES_${PN}-keys-dev = "vconf-buxton.manifest"
-
-vconf-buxton_files = ""
-vconf-buxton_files += "${prefix}/bin/vconftool"
-vconf-buxton_files += "${prefix}/bin/vconf-buxton-init-from-vconf.sh"
-vconf-buxton_files += "${prefix}/bin/vconf-buxton-restore-mem-layer.sh"
-vconf-buxton_files += "${prefix}/bin/vconf-buxton-backup-mem-layer.sh"
-vconf-buxton_files += "${prefix}/lib/libvconf.so.*"
-vconf-buxton_files += "${systemd_unitdir}/system/basic.target.wants/vconf-setup.service"
-vconf-buxton_files += "${systemd_unitdir}/system/vconf-setup.service"
-MANIFESTFILES_${PN} = "vconf-buxton.manifest"
-
-FILES_${PN}-dev = "${vconf-buxton-dev_files}"
-FILES_${PN}-keys-dev = "${vconf-buxton-keys-dev_files}"
-FILES_${PN} = "${vconf-buxton_files}"
-
-PKG_vconf-buxton-dev= "vconf-buxton-dev"
-PKG_vconf-buxton-keys-dev= "vconf-buxton-keys-dev"
-PKG_vconf-buxton= "vconf-buxton"
-
-require vconf-buxton-extraconf.inc
-
+++ /dev/null
-require vconf-buxton.inc
-
-PRIORITY = "10"
-
-LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
-
-SRC_URI += "git://review.tizen.org/platform/core/appfw/vconf-buxton;tag=98af46e3b2882d9b61c2278cecec725fd1810686;nobranch=1"
-
-BBCLASSEXTEND += " native "
-
+++ /dev/null
-DESCRIPTION = "Memo DB interface library"
-HOMEPAGE = "http://nohomepage.org"
-SECTION = "Application Framework/Libraries"
-LICENSE = "Flora"
-PV = "0.1.5"
-
-SRC_URI = ""
-
-S = "${WORKDIR}/git"
-
-inherit manifest autotools-brokensep
-
-BBCLASSEXTEND = ""
-PROVIDES = ""
-
-#PROVIDES by libslp-memo
-
-
-#PROVIDES by libslp-memo-dev
-PROVIDES += "libslp-memo-dev"
-
-
-RDEPENDS = ""
-#RDEPENDS of libslp-memo-dev (${PN}-dev)
-RDEPENDS_${PN}-dev += "libslp-memo"
-
-
-DEPENDS = ""
-#DEPENDS of libslp-memo
-inherit tizen_cmake
-DEPENDS += "tizen-platform-config"
-inherit pkgconfig
-DEPENDS += "dlog"
-DEPENDS += "sqlite3"
-DEPENDS += "heynoti"
-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/libslp-memo.manifest .
-
-
-}
-do_patch_append() {
- bb.build.exec_func('do_prep', d)
-}
-
-do_configure() {
-}
-
-do_compile() {
- cd ${S}
- LANG=C
- export LANG
- unset DISPLAY
- LD_AS_NEEDED=1; export LD_AS_NEEDED ;
-
- export LDFLAGS="${LDFLAGS} -Wl,--rpath=${prefix}/lib -Wl,--as-needed -Wl,--hash-style=both"
-
- cmake \
- -DCMAKE_VERBOSE_MAKEFILE=ON \
- -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \
- -DCMAKE_INSTALL_LIBDIR:PATH=${prefix}/lib \
- -DINCLUDE_INSTALL_DIR:PATH=${prefix}/include \
- -DLIB_INSTALL_DIR:PATH=${prefix}/lib \
- -DSYSCONF_INSTALL_DIR:PATH=${sysconfdir} \
- -DSHARE_INSTALL_PREFIX:PATH=${prefix}/share \
- -DCMAKE_SKIP_RPATH:BOOL=ON \
- -DBUILD_SHARED_LIBS:BOOL=ON \
- -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \
- ${EXTRA_OECMAKE} .
- oe_runmake -j16
-
-
-
-}
-
-do_install() {
- export RPM_BUILD_ROOT=${D}
- cd ${S}
- LANG=C
- export LANG
- unset DISPLAY
- rm -rf ${D}
- mkdir -p ${D}
-
-
- oe_runmake \
- DESTDIR=${D} \
- INSTALL_ROOT=${D} \
- BINDIR=${prefix}/bin \
- install
- rm -f ${D}${infodir}/dir
- find ${D} -regex ".*\.la$" | xargs rm -f --
- find ${D} -regex ".*\.a$" | xargs rm -f --
-
-
-}
-
-pkg_postinst_${PN}() {
- #!/bin/sh -e
-
- mkdir -p $D${prefix}/dbspace
- sqlite3 $D${prefix}/dbspace/.memo.db 'PRAGMA journal_mode = PERSIST;
- CREATE TABLE if not exists memo ( id INTEGER PRIMARY KEY autoincrement, content TEXT, written_time TEXT, create_time INTEGER, modi_time INTEGER, delete_time INTEGER, doodle INTEGER, color INTEGER, comment TEXT, favorite INTEGER,font_respect INTEGER, font_size INTEGER, font_color INTEGER, doodle_path TEXT );
- '
- [ "x$D" == "x" ] && ldconfig
- # Change file owner
- chown :users $D${prefix}/dbspace/.memo.db
- chown :users $D${prefix}/dbspace/.memo.db-journal
- # Change file permissions
- chmod 660 $D${prefix}/dbspace/.memo.db
- chmod 660 $D${prefix}/dbspace/.memo.db-journal
- chsmack -a 'User' $D${prefix}/dbspace/.memo.db*
-
-}
-
-pkg_postrm_${PN}() {
- #!/bin/sh -e
-
- [ "x$D" == "x" ] && ldconfig
-}
-
-PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale"
-PACKAGES += " libslp-memo "
-PACKAGES += " libslp-memo-dev "
-
-libslp-memo_files = ""
-libslp-memo_files += "${prefix}/lib/*.so.*"
-MANIFESTFILES_${PN} = "libslp-memo.manifest"
-
-libslp-memo-dev_files = ""
-libslp-memo-dev_files += "${prefix}/lib/*.so"
-libslp-memo-dev_files += "${prefix}/lib/pkgconfig/memo.pc"
-libslp-memo-dev_files += "${prefix}/include/*.h"
-MANIFESTFILES_${PN}-dev = "libslp-memo.manifest"
-
-FILES_${PN} = "${libslp-memo_files}"
-FILES_${PN}-dev = "${libslp-memo-dev_files}"
-
-PKG_libslp-memo= "libslp-memo"
-PKG_libslp-memo-dev= "libslp-memo-dev"
-
-require libslp-memo-extraconf.inc
-
+++ /dev/null
-require libslp-memo.inc
-
-PRIORITY = "10"
-
-LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
-
-SRC_URI += "git://review.tizen.org/apps/core/preloaded/libslp-memo;tag=2d7a05e35636d8a379f4f2eaac3b180c51e18592;nobranch=1"
-
-BBCLASSEXTEND += " native "
-
+++ /dev/null
-INSANE_SKIP_ds-public-plugins = "dev-so"
-
-FILES_${PN}-dbg += "${prefix}/lib/sync-agent/ds-public/.debug"
\ No newline at end of file
+++ /dev/null
-DESCRIPTION = "OMA-DS Agent Daemon for Data Synchronization"
-HOMEPAGE = "http://nohomepage.org"
-SECTION = "Base/Device Management"
-LICENSE = "Apache-2.0"
-PV = "0.1.66"
-
-SRC_URI = ""
-
-S = "${WORKDIR}/git"
-
-inherit manifest autotools-brokensep
-
-BBCLASSEXTEND = ""
-PROVIDES = ""
-
-#PROVIDES by oma-ds-agent
-
-
-#PROVIDES by ds-public-plugins
-PROVIDES += "ds-public-plugins"
-
-
-RDEPENDS = ""
-#RDEPENDS of oma-ds-agent (${PN})
-RDEPENDS_${PN} += "glibc"
-
-
-DEPENDS = ""
-#DEPENDS of oma-ds-agent
-DEPENDS += "libcheck"
-inherit tizen_cmake
-DEPENDS += "libslp-memo"
-DEPENDS += "tizen-platform-config"
-DEPENDS += "expat"
-inherit pkgconfig
-DEPENDS += "dlog"
-DEPENDS += "glib-2.0"
-DEPENDS += "libsoup-2.4"
-DEPENDS += "contacts-service"
-DEPENDS += "aul"
-DEPENDS += "sync-agent"
-DEPENDS += "sqlite3"
-DEPENDS += "vconf"
-DEPENDS += "dbus-glib"
-
-do_prep() {
- cd ${S}
- chmod -Rf a+rX,u+w,g-w,o-w ${S}
- #setup -q
-
-
-
-}
-do_patch_append() {
- bb.build.exec_func('do_prep', d)
-}
-
-do_configure() {
-}
-
-do_compile() {
- cd ${S}
- LANG=C
- export LANG
- unset DISPLAY
- LD_AS_NEEDED=1; export LD_AS_NEEDED ;
-
-
- cmake \
- -DCMAKE_VERBOSE_MAKEFILE=ON \
- -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \
- -DCMAKE_INSTALL_LIBDIR:PATH=${prefix}/lib \
- -DINCLUDE_INSTALL_DIR:PATH=${prefix}/include \
- -DLIB_INSTALL_DIR:PATH=${prefix}/lib \
- -DSYSCONF_INSTALL_DIR:PATH=${sysconfdir} \
- -DSHARE_INSTALL_PREFIX:PATH=${prefix}/share \
- -DCMAKE_SKIP_RPATH:BOOL=ON \
- -DBUILD_SHARED_LIBS:BOOL=ON \
- -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \
- ${EXTRA_OECMAKE} . -DCMAKE_INSTALL_PREFIX=${prefix} -DTZ_SYS_DB=${prefix}/dbspace
- make -j16
-
-
-
-
-}
-
-do_install() {
- export RPM_BUILD_ROOT=${D}
- cd ${S}
- LANG=C
- export LANG
- unset DISPLAY
- rm -rf ${D}
- mkdir -p ${D}
-
- rm -rf ${D}
-
- if [ ! -d ${D}${prefix}/dbspace ]
- then
- mkdir -p ${D}${prefix}/dbspace
- fi
-
- sqlite3 ${D}${prefix}/dbspace/.omasyncagent.db "PRAGMA journal_mode = PERSIST; create table a(a); drop table a;" > /dev/null
-
-
- 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 --
-
-
-}
-
-pkg_postinst_${PN}() {
- #!/bin/sh -e
-
- if [ ! -d $D${prefix}/dbspace ]
- then
- mkdir $D${prefix}/dbspace
- fi
- if [ ! -d $D${sysconfdir}/rc.d/rc3.d ]
- then
- mkdir $D${sysconfdir}/rc.d/rc3.d
- fi
- if [ ! -d $D${sysconfdir}/rc.d/rc5.d ]
- then
- mkdir $D${sysconfdir}/rc.d/rc5.d
- fi
-
-}
-
-pkg_postrm_${PN}() {
- #!/bin/sh -e
-
- rm -f /tmp/agent_fw_event_omads*
- rm -f /tmp/agent_fw_noti_reply_omads*
- rm -f $D${sysconfdir}/rc.d/rc3.d/S91oma-ds-agent
- rm -f $D${sysconfdir}/rc.d/rc5.d/S91oma-ds-agent
- rm -f $D${prefix}/dbspace/.omasyncagent.db $D${prefix}/dbspace/.omasyncagent.db-journal
- rm -rf /usr/share/oma-ds-cfg
-
-}
-
-PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale"
-PACKAGES += " oma-ds-agent "
-PACKAGES += " ds-public-plugins "
-
-oma-ds-agent_files = ""
-oma-ds-agent_files += "${prefix}/dbspace/.omasyncagent.db"
-oma-ds-agent_files += "${prefix}/dbspace/.omasyncagent.db-journal"
-oma-ds-agent_files += "/usr/share/dbus-1/system-services/com.samsung.omadsagent.service"
-oma-ds-agent_files += "${prefix}/bin/oma-ds-agent"
-oma-ds-agent_files += "/usr/share/oma-ds-cfg/*"
-oma-ds-agent_files += "/usr/lib/systemd/system/oma-ds-agent.service"
-oma-ds-agent_files += "/usr/lib/systemd/system/graphical.target.wants/oma-ds-agent.service"
-oma-ds-agent_files += "${sysconfdir}/dbus-1/system.d/com.samsung.omadsagent.conf"
-MANIFESTFILES_${PN} = "oma-ds-agent.manifest"
-
-ds-public-plugins_files = ""
-ds-public-plugins_files += "/usr/lib/sync-agent/ds-public/*"
-MANIFESTFILES_ds-public-plugins = "ds-public-plugins.manifest"
-
-FILES_${PN} = "${oma-ds-agent_files}"
-FILES_ds-public-plugins = "${ds-public-plugins_files}"
-
-PKG_oma-ds-agent= "oma-ds-agent"
-PKG_ds-public-plugins= "ds-public-plugins"
-
-require oma-ds-agent-extraconf.inc
-
+++ /dev/null
-require oma-ds-agent.inc
-
-PRIORITY = "10"
-
-LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
-
-SRC_URI += "git://review.tizen.org/platform/core/system/oma-ds-agent;tag=16dd30cb7b9c86bc5744ff170f45683d5c76ac0c;nobranch=1"
-
-BBCLASSEXTEND += " native "
-
+++ /dev/null
-FILES_${PN}-dbg += "/usr/lib/sync-agent/common-public/.debug"
-
-INSANE_SKIP_common-public-plugins = "dev-so"
-INSANE_SKIP_${PN} = "dev-so"
\ No newline at end of file
+++ /dev/null
-DESCRIPTION = "Sync agent FW Library"
-HOMEPAGE = "http://nohomepage.org"
-SECTION = "System/Service"
-LICENSE = "Apache-2.0"
-PV = "0.1.91"
-
-SRC_URI = ""
-
-S = "${WORKDIR}/git"
-
-inherit manifest autotools-brokensep
-
-BBCLASSEXTEND = ""
-PROVIDES = ""
-
-#PROVIDES by sync-agent-dev
-PROVIDES += "sync-agent-dev"
-
-
-#PROVIDES by common-public-plugins
-PROVIDES += "common-public-plugins"
-
-
-#PROVIDES by sync-agent
-
-
-RDEPENDS = ""
-#RDEPENDS of sync-agent-dev (${PN}-dev)
-RDEPENDS_${PN}-dev += "sync-agent"
-
-#RDEPENDS of sync-agent (${PN})
-RDEPENDS_${PN} += "glibc"
-
-
-DEPENDS = ""
-#DEPENDS of sync-agent
-DEPENDS += "libslp-location"
-DEPENDS += "libxml2"
-DEPENDS += "aul"
-DEPENDS += "contacts-service"
-DEPENDS += "libgcrypt"
-DEPENDS += "capi-base-common"
-DEPENDS += "curl"
-DEPENDS += "dbus-glib"
-DEPENDS += "libsoup-2.4"
-inherit tizen_cmake
-DEPENDS += "app-svc"
-inherit pkgconfig
-DEPENDS += "dlog"
-DEPENDS += "glib-2.0"
-DEPENDS += "system-server"
-DEPENDS += "msg-service"
-DEPENDS += "alarm-manager"
-DEPENDS += "libaccounts-svc"
-DEPENDS += "libwbxml2"
-DEPENDS += "tizen-platform-config"
-DEPENDS += "bundle"
-DEPENDS += "sqlite3"
-DEPENDS += "libtapi"
-DEPENDS += "util-linux"
-DEPENDS += "vconf"
-DEPENDS += "libslp-db-util"
-DEPENDS += "capi-system-info"
-DEPENDS += "libslp-memo"
-DEPENDS += "syspopup"
-DEPENDS += "calendar-service"
-DEPENDS += "capi-network-connection"
-
-do_prep() {
- cd ${S}
- chmod -Rf a+rX,u+w,g-w,o-w ${S}
- #setup -q
- cp ${S}/packaging/sync-agent.manifest ${S}/packaging/sync-agent-devel.manifest ${S}/packaging/common-public-plugins.manifest .
-
-
-
-}
-do_patch_append() {
- bb.build.exec_func('do_prep', d)
-}
-
-do_configure() {
-}
-
-do_compile() {
- cd ${S}
- LANG=C
- export LANG
- unset DISPLAY
- LD_AS_NEEDED=1; export LD_AS_NEEDED ;
-
-
- cmake \
- -DCMAKE_VERBOSE_MAKEFILE=ON \
- -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \
- -DCMAKE_INSTALL_LIBDIR:PATH=${prefix}/lib \
- -DINCLUDE_INSTALL_DIR:PATH=${prefix}/include \
- -DLIB_INSTALL_DIR:PATH=${prefix}/lib \
- -DSYSCONF_INSTALL_DIR:PATH=${sysconfdir} \
- -DSHARE_INSTALL_PREFIX:PATH=${prefix}/share \
- -DCMAKE_SKIP_RPATH:BOOL=ON \
- -DBUILD_SHARED_LIBS:BOOL=ON \
- -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \
- ${EXTRA_OECMAKE} .
-
-
- make -j16
-
-
-
-}
-
-do_install() {
- 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 --
-
-
-
-}
-
-pkg_postinst_${PN}() {
- #!/bin/sh -e
-
- [ "x$D" == "x" ] && ldconfig
-}
-
-pkg_postrm_${PN}() {
- #!/bin/sh -e
-
- [ "x$D" == "x" ] && ldconfig
-}
-
-PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale"
-PACKAGES += " sync-agent-dev "
-PACKAGES += " common-public-plugins "
-PACKAGES += " sync-agent "
-
-sync-agent-dev_files = ""
-sync-agent-dev_files += "${prefix}/include/sync_agent.h"
-sync-agent-dev_files += "${prefix}/include/sync-agent/*"
-sync-agent-dev_files += "${prefix}/lib/pkgconfig/sync-agent.pc"
-MANIFESTFILES_${PN}-dev = "sync-agent-devel.manifest"
-
-common-public-plugins_files = ""
-common-public-plugins_files += "${prefix}/lib/sync-agent/common-public/*"
-MANIFESTFILES_common-public-plugins = "common-public-plugins.manifest"
-
-sync-agent_files = ""
-sync-agent_files += "${prefix}/lib/*.so"
-sync-agent_files += "${prefix}/lib/*.so.*"
-MANIFESTFILES_${PN} = "sync-agent.manifest"
-
-FILES_${PN}-dev = "${sync-agent-dev_files}"
-FILES_common-public-plugins = "${common-public-plugins_files}"
-FILES_${PN} = "${sync-agent_files}"
-
-PKG_sync-agent-dev= "sync-agent-dev"
-PKG_common-public-plugins= "common-public-plugins"
-PKG_sync-agent= "sync-agent"
-
-require sync-agent-extraconf.inc
-
+++ /dev/null
-require sync-agent.inc
-
-PRIORITY = "10"
-
-LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
-
-SRC_URI += "git://review.tizen.org/platform/core/system/sync-agent;tag=65d4fdceb1d079d92b794bcf47684ddc8e8b7307;nobranch=1"
-
-BBCLASSEXTEND += " native "
-
+++ /dev/null
-DESCRIPTION = "Common Meta Data"
-HOMEPAGE = "http://nohomepage.org"
-SECTION = "Base/Configuration"
-LICENSE = "GPL-2.0"
-PV = "001"
-
-SRC_URI = ""
-
-S = "${WORKDIR}/git"
-
-inherit manifest autotools-brokensep
-
-BBCLASSEXTEND = ""
-PROVIDES = ""
-
-#PROVIDES by meta-common
-
-
-RDEPENDS = ""
-#RDEPENDS of meta-common (${PN})
-RDEPENDS_${PN} += "meta-generic"
-
-
-DEPENDS = ""
-
-do_prep() {
- cd ${S}
- chmod -Rf a+rX,u+w,g-w,o-w ${S}
- #setup -q
- cp ${S}/packaging/meta-common.manifest .
-
-
-}
-do_patch_append() {
- bb.build.exec_func('do_prep', d)
-}
-
-do_configure() {
-}
-
-do_compile() {
- cd ${S}
- LANG=C
- export LANG
- unset DISPLAY
- LD_AS_NEEDED=1; export LD_AS_NEEDED ;
-
- oe_runmake
-
-
-
-}
-
-do_install() {
- export RPM_BUILD_ROOT=${D}
- cd ${S}
- LANG=C
- export LANG
- unset DISPLAY
- rm -rf ${D}
- mkdir -p ${D}
-
-
- oe_runmake \
- DESTDIR=${D} \
- INSTALL_ROOT=${D} \
- BINDIR=${prefix}/bin \
- install
- rm -f ${D}${infodir}/dir
- find ${D} -regex ".*\.la$" | xargs rm -f --
- find ${D} -regex ".*\.a$" | xargs rm -f --
-
-
-}
-
-PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale"
-PACKAGES += " meta-common "
-
-meta-common_files = ""
-meta-common_files += "${prefix}/share/package-groups/common/*.yaml"
-meta-common_files += "${prefix}/share/image-configurations/common/*.yaml"
-meta-common_files += "${prefix}/share/image-configurations/common/configs/*.yaml"
-meta-common_files += "${prefix}/share/image-configurations/common/partitions"
-meta-common_files += "${prefix}/share/image-configurations/common/scripts"
-MANIFESTFILES_${PN} = "meta-common.manifest"
-
-FILES_${PN} = "${meta-common_files}"
-
-PKG_meta-common= "meta-common"
-
-require meta-common-extraconf.inc
-
+++ /dev/null
-require meta-common.inc
-
-PRIORITY = "10"
-
-LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
-
-SRC_URI += "git://review.tizen.org/profile/common/meta;tag=77160fe54f3803226f06b9511fcbc4eae6a2cf8a;nobranch=1"
-
-BBCLASSEXTEND += " native "
-
+++ /dev/null
-FILESEXTRAPATHS_append := "${THISDIR}/weston-common"
-
-SRC_URI += "file://0001-Yocto-correct-paths-to-ln-and-chmod.patch"
-SRC_URI += "file://0002-Add-a-script-to-export-UID.patch"
-
-DEPENDS += "config-tizen-common"
-RDEPENDS_${PN} += "config-tizen-common"
-
-inherit useradd
-
-USERADD_PACKAGES = "${PN}"
-GROUPADD_PARAM_${PN} += "--system display;"
-GROUPADD_PARAM_${PN} += "--system input;"
-GROUPADD_PARAM_${PN} += "--system weston-launch"
-
-do_install_append() {
- install -m 755 uid.sh ${D}/etc/profile.d
-
- mkdir -p ${D}${systemd_unitdir}/system/multi-user.target.wants
- ln -sf ../systemd-udev-settle.service ${D}${systemd_unitdir}/system/multi-user.target.wants/systemd-udev-settle.service
-}
-
-pkg_preinst_${PN}() {
- #!/bin/sh -e
-
- # setup display manager service
- mkdir -p $D${systemd_unitdir}/system/graphical.target.wants/
- ln -sf ../display-manager.path $D${systemd_unitdir}/system/graphical.target.wants/
-
-}
-
-pkg_postinst_${PN} () {
- for user in alice bob carol guest; do
- for appdir in desktop manifest dbspace; do
- mkdir -p $D/home/$user/.applications/$appdir
- done
- find $D/home/$user/ -type d -exec chsmack -a User {} \;
- chown -R $user:users $D/home/$user/
- done
-
- SERVICE_PATH=$D/lib/systemd/system/user-session-launch@.service
- grep -q display-manager.path $SERVICE_PATH || sed -i 's@systemd-logind.service@systemd-logind.service display-manager.path@g' $SERVICE_PATH
-}
-
-weston-common_files += "${prefix}/lib/systemd/user/default.target.requires/weston-user.service/*"
-weston-common_files += "/home/*"
-
-FILES_${PN} += "/lib/systemd/system/multi-user.target.wants"
-FILES_${PN} += "/lib/systemd/system/multi-user.target.wants/systemd-udev-settle.service"
-
-FILES_${PN}-dbg += "/usr/lib/weston/.debug"
+++ /dev/null
-DESCRIPTION = "Tizen Common Weston configuration and set-up"
-HOMEPAGE = "http://nohomepage.org"
-SECTION = "Base/Configuration"
-LICENSE = "MIT"
-PV = "1"
-
-SRC_URI = ""
-
-S = "${WORKDIR}/git"
-
-inherit manifest autotools-brokensep
-
-BBCLASSEXTEND = ""
-PROVIDES = ""
-
-#PROVIDES by weston-common
-# the PROVIDES rules is ignore "weston-startup "
-PROVIDES += "weston-startup"
-RPROVIDES_weston-common += "weston-startup"
-
-
-#PROVIDES by weston-common-config
-PROVIDES += "weston-common-config"
-
-
-#PROVIDES by weston-common-qa-plugin
-PROVIDES += "weston-common-qa-plugin"
-
-
-#PROVIDES by weston-common-tz-launcher
-PROVIDES += "weston-common-tz-launcher"
-
-
-RDEPENDS = ""
-#RDEPENDS of weston-common (${PN})
-RDEPENDS_${PN} += "weston"
-RDEPENDS_${PN} += "glibc"
-RDEPENDS_${PN} += "shadow"
-
-
-DEPENDS = ""
-#DEPENDS of weston-common
-DEPENDS += "weston"
-DEPENDS += "virtual/egl"
-DEPENDS += "libxkbcommon"
-DEPENDS += "libjpeg-turbo"
-DEPENDS += "glib-2.0"
-inherit pkgconfig
-DEPENDS_append_class-native = " automake-native"
-DEPENDS_append_class-target = " automake-native"
-DEPENDS += "xz"
-DEPENDS += "wayland"
-DEPENDS_append_class-native = " libtool"
-DEPENDS_append_class-target = " libtool-cross"
-DEPENDS += "cairo"
-DEPENDS += "libpng"
-DEPENDS_append_class-native = " autoconf-native"
-DEPENDS_append_class-target = " autoconf-native"
-DEPENDS += "vconf"
-DEPENDS += "virtual/libgles2"
-DEPENDS += "pixman"
-
-do_prep() {
- cd ${S}
- chmod -Rf a+rX,u+w,g-w,o-w ${S}
- #setup -q
- cp ${S}/packaging/weston-common.manifest .
-
-
-}
-do_patch_append() {
- bb.build.exec_func('do_prep', d)
-}
-
-do_configure() {
-}
-
-do_compile() {
- cd ${S}
- LANG=C
- export LANG
- unset DISPLAY
- LD_AS_NEEDED=1; export LD_AS_NEEDED ;
-
-
- autotools_do_configure
- make -j16
-
-
-
-}
-EXTRA_OECONF += ""
-
-do_install() {
- export RPM_BUILD_ROOT=${D}
- cd ${S}
- LANG=C
- export LANG
- unset DISPLAY
- rm -rf ${D}
- mkdir -p ${D}
-
-
- #install tz-launcher
-
- 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 weston service as 'display-manager.service' as it's the one wanted by graphical.target
- mkdir -p ${D}${systemd_unitdir}/system
- install -m 644 display-manager-run.service ${D}${systemd_unitdir}/system/display-manager-run.service
- install -m 644 display-manager.service ${D}${systemd_unitdir}/system/display-manager.service
- install -m 644 display-manager.path ${D}${systemd_unitdir}/system/display-manager.path
-
- # install Environment file for weston service and weston-user.service
- mkdir -p ${D}${sysconfdir}/sysconfig
- install -m 0644 weston.sysconfig ${D}${sysconfdir}/sysconfig/weston
- install -m 0644 weston-user.sysconfig ${D}${sysconfdir}/sysconfig/weston-user
-
- # install tmpfiles.d(5) conf
- mkdir -p ${D}${prefix}/lib/tmpfiles.d
- install -m 0644 weston_tmpfiles.conf ${D}${prefix}/lib/tmpfiles.d/weston.conf
-
- # install weston-user service in user session
- mkdir -p ${D}${prefix}/lib/systemd/user
- install -m 644 weston-user.service ${D}${prefix}/lib/systemd/user/
-
- # install weston.sh
- mkdir -p ${D}${sysconfdir}/profile.d/
- install -m 0644 weston.sh ${D}${sysconfdir}/profile.d/
-
- # install weston.ini
- mkdir -p ${D}${sysconfdir}/xdg/weston
- install -m 0644 weston.ini ${D}${sysconfdir}/xdg/weston
-
- # Add a rule to ensure the 'display' user has permissions to
- # open the graphics device
- mkdir -p ${D}${sysconfdir}/udev/rules.d
- cat >${D}${sysconfdir}/udev/rules.d/99-dri.rules <<'EOF'
- SUBSYSTEM=="drm", MODE="0660", GROUP="display", SECLABEL{smack}="*"
-EOF
-
- # user 'display' must own /dev/tty7 for weston to start correctly
- cat >${D}${sysconfdir}/udev/rules.d/99-tty.rules <<'EOF'
- SUBSYSTEM=="tty", KERNEL=="tty7", OWNER="display", SECLABEL{smack}="^"
-EOF
-
- # user 'display' must also be able to access /dev/input/*
- cat >${D}${sysconfdir}/udev/rules.d/99-input.rules <<'EOF'
- SUBSYSTEM=="input", MODE="0660", GROUP="input", SECLABEL{smack}="^"
-EOF
-
- # install desktop file
- mkdir -p ${D}${prefix}/share/applications
- install -m 0644 weston-terminal.desktop ${D}${prefix}/share/applications
-
-
-}
-
-pkg_preinst_${PN}() {
- #!/bin/sh -e
-
- # create groups 'display' and 'weston-launch'
- getent group display >/dev/null || $D${prefix}/sbin/groupadd -r -o display
- getent group input >/dev/null || $D${prefix}/sbin/groupadd -r -o input
- getent group weston-launch >/dev/null || $D${prefix}/sbin/groupadd -r -o weston-launch
- # create user 'display'
- getent passwd display >/dev/null || $D${prefix}/sbin/useradd -r -g display -d /run/display -s /bin/false -c "Display daemon" display
- # add user 'display' to groups 'weston-launch', 'input' and 'video'
- groupmod -A display weston-launch
- groupmod -A display input
- groupmod -A display video
- # setup display manager service
- mkdir -p $D${systemd_unitdir}/system/graphical.target.wants/
- ln -sf ../display-manager.path $D${systemd_unitdir}/system/graphical.target.wants/
-
-}
-
-pkg_postrm_${PN}() {
- #!/bin/sh -e
-
- rm -f $D${systemd_unitdir}/system/graphical.target.wants/display-manager.path
-
-}
-
-PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale"
-PACKAGES += " weston-common-tz-launcher "
-PACKAGES += " weston-common-config "
-PACKAGES += " weston-common-qa-plugin "
-PACKAGES += " weston-common "
-
-weston-common-tz-launcher_files = ""
-weston-common-tz-launcher_files += "${prefix}/bin/tz-launcher"
-weston-common-tz-launcher_files += "${prefix}/bin/wl-pre"
-MANIFESTFILES_${PN}-tz-launcher = "weston-common.manifest"
-
-weston-common-config_files = ""
-weston-common-config_files += "${sysconfdir}/xdg/weston/weston.ini"
-CONFFILES_${PN}-config = ""
-CONFFILES_${PN}-config += "${sysconfdir}/xdg/weston/weston.ini"
-MANIFESTFILES_${PN}-config = "weston-common.manifest"
-
-weston-common-qa-plugin_files = ""
-weston-common-qa-plugin_files += "${prefix}/bin/weston-qa-client"
-weston-common-qa-plugin_files += "${prefix}/lib/weston/qa-plugin.so"
-MANIFESTFILES_${PN}-qa-plugin = "weston-common.manifest"
-
-weston-common_files = ""
-weston-common_files += "${systemd_unitdir}/system/display-manager-run.service"
-weston-common_files += "${systemd_unitdir}/system/display-manager.service"
-weston-common_files += "${systemd_unitdir}/system/display-manager.path"
-weston-common_files += "${sysconfdir}/sysconfig/*"
-weston-common_files += "${prefix}/lib/tmpfiles.d/weston.conf"
-weston-common_files += "${prefix}/lib/systemd/user/weston-user.service"
-weston-common_files += "${sysconfdir}/profile.d/*"
-weston-common_files += "${sysconfdir}/udev/rules.d/*"
-weston-common_files += "${prefix}/share/applications/*.desktop"
-CONFFILES_${PN} = ""
-CONFFILES_${PN} += "${sysconfdir}/sysconfig/*"
-CONFFILES_${PN} += "${sysconfdir}/profile.d/*"
-CONFFILES_${PN} += "${sysconfdir}/udev/rules.d/*"
-MANIFESTFILES_${PN} = "weston-common.manifest"
-
-FILES_${PN}-tz-launcher = "${weston-common-tz-launcher_files}"
-FILES_${PN}-config = "${weston-common-config_files}"
-FILES_${PN}-qa-plugin = "${weston-common-qa-plugin_files}"
-FILES_${PN} = "${weston-common_files}"
-
-PKG_weston-common-tz-launcher= "weston-common-tz-launcher"
-PKG_weston-common-config= "weston-common-config"
-PKG_weston-common-qa-plugin= "weston-common-qa-plugin"
-PKG_weston-common= "weston-common"
-
-require weston-common-extraconf.inc
-
+++ /dev/null
-From f1243d3d99e20052e9c4b5dca513164a4283ae53 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?K=C3=A9vin=20THIERRY?= <kevin.thierry@open.eurogiciel.org>
-Date: Wed, 18 Jun 2014 11:29:40 +0200
-Subject: [PATCH] Yocto: correct paths to ln and chmod
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Change-Id: I565c665483efd43b9c5a02e8d1cc85cf6def0751
-Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
----
- display-manager.service | 2 +-
- weston-user.service | 2 +-
- 2 files changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/display-manager.service b/display-manager.service
-index 43efbb5..69754b4 100644
---- a/display-manager.service
-+++ b/display-manager.service
-@@ -5,7 +5,7 @@ After=display-manager-run.service
-
- [Service]
- Type=oneshot
--ExecStart=/usr/bin/chmod g+w /run/display/wayland-0
-+ExecStart=/bin/chmod g+w /run/display/wayland-0
- ExecStart=/usr/bin/chsmack -a User /run/display/wayland-0
-
- [Install]
-diff --git a/weston-user.service b/weston-user.service
-index aa29888..12b7986 100644
---- a/weston-user.service
-+++ b/weston-user.service
-@@ -2,7 +2,7 @@
- Description=Shared weston session
-
- [Service]
--ExecStartPre=/usr/bin/ln -sf /run/display/wayland-0 /run/user/%U/
-+ExecStartPre=/bin/ln -sf /run/display/wayland-0 /run/user/%U/
- ExecStart=/bin/sh -l -c "/usr/bin/tz-launcher -c /usr/share/applications/tizen/launcher.conf %h/.applications/desktop"
- EnvironmentFile=/etc/sysconfig/weston-user
-
---
-1.8.1.4
-
+++ /dev/null
-From 7959e00beeb3590b759aed5e8b473d550e4ea612 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?K=C3=A9vin=20THIERRY?= <kevin.thierry@open.eurogiciel.org>
-Date: Wed, 28 May 2014 16:37:48 +0200
-Subject: [PATCH] Add a script to export $UID
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Busybox doesn't export such environment variable so we do it with this
-script.
-
-Change-Id: I8e14be602f7d3b198dbd17bfac677ba73856a500
-Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
----
- uid.sh | 3 +++
- 1 file changed, 3 insertions(+)
- create mode 100755 uid.sh
-
-diff --git a/uid.sh b/uid.sh
-new file mode 100755
-index 0000000..14aee34
---- /dev/null
-+++ b/uid.sh
-@@ -0,0 +1,3 @@
-+#!/bin/sh
-+
-+export UID=$(cut -f1,3 -d':' /etc/passwd |grep `whoami` |cut -f2 -d':')
---
-1.8.1.4
-
+++ /dev/null
-require weston-common.inc
-
-PRIORITY = "10"
-
-LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
-
-SRC_URI += "git://review.tizen.org/profile/common/weston-common;tag=bba9e6c2ec15757449e129454efb97b4a16925aa;nobranch=1"
-
-BBCLASSEXTEND += " native "
-
+++ /dev/null
-pkg_postinst_${PN}() {
- #!/bin/sh -e
-
- # setup xwalk preinstall service (inside user session)
- mkdir -p $D${prefix}/lib/systemd/user/default.target.wants/
- ln -sf ../xwalk_widgets_preinstall.service $D${prefix}/lib/systemd/user/default.target.wants/
-
-}
\ No newline at end of file
+++ /dev/null
-DESCRIPTION = "Wrt-widgets Installer"
-HOMEPAGE = "http://nohomepage.org"
-SECTION = "Web Framework/Web Run Time"
-LICENSE = "Apache-2.0"
-PV = "0.1"
-
-SRC_URI = ""
-
-S = "${WORKDIR}/git"
-
-inherit manifest autotools-brokensep
-
-BBCLASSEXTEND = ""
-PROVIDES = ""
-
-#PROVIDES by wrt-widgets
-
-
-RDEPENDS = ""
-#RDEPENDS of wrt-widgets (${PN})
-RDEPENDS_${PN} += "libtzplatform-config"
-RDEPENDS_${PN} += "desktop-skin"
-
-
-DEPENDS = ""
-#DEPENDS of wrt-widgets
-DEPENDS += "tizen-platform-config"
-inherit pkgconfig
-
-do_prep() {
- cd ${S}
- chmod -Rf a+rX,u+w,g-w,o-w ${S}
- #setup -q
- cp ${S}/packaging/wrt-widgets.manifest .
-
-
-}
-do_patch_append() {
- bb.build.exec_func('do_prep', d)
-}
-
-do_configure() {
-}
-
-do_compile() {
- cd ${S}
- LANG=C
- export LANG
- unset DISPLAY
- LD_AS_NEEDED=1; export LD_AS_NEEDED ;
-
-
-
-
-}
-
-do_install() {
- export RPM_BUILD_ROOT=${D}
- cd ${S}
- LANG=C
- export LANG
- unset DISPLAY
- rm -rf ${D}
- mkdir -p ${D}
-
-
- mkdir -p ${D}${prefix}/bin
- cp install_widgets.sh ${D}${prefix}/bin
- cp prepare_widgets.sh ${D}${prefix}/bin
-
- mkdir -p ${D}${prefix}/share/widget_demo
- cp -r apps/*.wgt ${D}${prefix}/share/widget_demo/
- #cp -r apps/*.png ${D}${prefix}/share/widget_demo/
- #cp -r apps/*.desktop ${D}${prefix}/share/widget_demo/
- cp install.conf ${D}${prefix}/share/widget_demo/
-
- # install xwalk preinstall service in user session
- mkdir -p ${D}${prefix}/lib/systemd/user
- install -m 644 xwalk_widgets_preinstall.service ${D}${prefix}/lib/systemd/user/
-
-
-}
-
-pkg_postinst_${PN}() {
- #!/bin/sh -e
-
- # setup xwalk preinstall service (inside user session)
- mkdir -p $D${prefix}/lib/systemd/user/default.target.wants/
- ln -sf ../xwalk_widgets_preinstall.service $D${prefix}/lib/systemd/user/default.target.wants/
-
-}
-
-pkg_postrm_${PN}() {
- #!/bin/sh -e
-
- rm -f $D${prefix}/lib/systemd/user/default.target.wants/xwalk_widgets_preinstall.service
-
-}
-
-PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale"
-PACKAGES += " wrt-widgets "
-
-wrt-widgets_files = ""
-wrt-widgets_files += "${prefix}/share/widget_demo/*"
-wrt-widgets_files += "${prefix}/bin/install_widgets.sh"
-wrt-widgets_files += "${prefix}/bin/prepare_widgets.sh"
-wrt-widgets_files += "${prefix}/lib/systemd/user/xwalk_widgets_preinstall.service"
-MANIFESTFILES_${PN} = "wrt-widgets.manifest"
-
-FILES_${PN} = "${wrt-widgets_files}"
-
-PKG_wrt-widgets= "wrt-widgets"
-
-require wrt-widgets-extraconf.inc
-
+++ /dev/null
-require wrt-widgets.inc
-
-PRIORITY = "10"
-
-LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
-
-SRC_URI += "git://review.tizen.org/profile/common/wrt-widgets;tag=72afa2665266e7d34d0c0177a3ddde4d2e8a3b67;nobranch=1"
-
-BBCLASSEXTEND += " native "
-