diff options
author | Ronan Le Martret <ronan@fridu.net> | 2014-07-29 16:04:47 +0200 |
---|---|---|
committer | Ronan Le Martret <ronan@fridu.net> | 2014-07-29 16:04:47 +0200 |
commit | 142dd6dabfd09f857543045128e10d19d10daa18 (patch) | |
tree | 599a00e3992e3385355d44bdb43b0a03e490a4a8 | |
parent | e56115cfe8c4e44690dbf9af42e413419ecec5ca (diff) | |
download | meta-tizen-142dd6dabfd09f857543045128e10d19d10daa18.tar.gz meta-tizen-142dd6dabfd09f857543045128e10d19d10daa18.tar.bz2 meta-tizen-142dd6dabfd09f857543045128e10d19d10daa18.zip |
init image-ivi
Change-Id: I50576fa4f7a881422aa47be6efca663311dd1a8e
Signed-off-by: Ronan Le Martret <ronan@fridu.net>
115 files changed, 6253 insertions, 2 deletions
diff --git a/recipes-image/images/tizen-ivi-core-image-dev.bb b/recipes-image/images/tizen-ivi-core-image-dev.bb new file mode 100644 index 00000000..0bf7bd53 --- /dev/null +++ b/recipes-image/images/tizen-ivi-core-image-dev.bb @@ -0,0 +1,18 @@ +require recipes-image/images/tizen-ivi-core-image.bb + +DESCRIPTION = "A Tizen ivi image base on Tizen common and \ + is suitable for development work." + +IMAGE_FEATURES += "dev-pkgs tools-debug debug-tweaks ssh-server-openssh" +CORE_IMAGE_EXTRA_INSTALL += "attr" +CORE_IMAGE_EXTRA_INSTALL += "util-linux-agetty" +CORE_IMAGE_EXTRA_INSTALL += "strace" +CORE_IMAGE_EXTRA_INSTALL += "gdb" +CORE_IMAGE_EXTRA_INSTALL += "lsof" +CORE_IMAGE_EXTRA_INSTALL += "screen" +CORE_IMAGE_EXTRA_INSTALL += "ldd" +CORE_IMAGE_EXTRA_INSTALL += "libcap" +CORE_IMAGE_EXTRA_INSTALL += "sudo" +CORE_IMAGE_EXTRA_INSTALL += "connman-client" +CORE_IMAGE_EXTRA_INSTALL += "git" +CORE_IMAGE_EXTRA_INSTALL += "python-json" diff --git a/recipes-image/images/tizen-ivi-core-image.bb b/recipes-image/images/tizen-ivi-core-image.bb new file mode 100644 index 00000000..91d7acb2 --- /dev/null +++ b/recipes-image/images/tizen-ivi-core-image.bb @@ -0,0 +1,44 @@ +require recipes-image/images/tizen-common-core-image-crosswalk.bb + +SUMMARY = "A Tizen ivi image" + +LICENSE = "MIT" + +DESCRIPTION = "A Tizen ivi image base on Tizen common ." + + +CORE_IMAGE_EXTRA_INSTALL += "Modello_AMBSimulator" +CORE_IMAGE_EXTRA_INSTALL += "Modello_Appmanager" +CORE_IMAGE_EXTRA_INSTALL += "Modello_Common" +CORE_IMAGE_EXTRA_INSTALL += "Modello_Dashboard" +CORE_IMAGE_EXTRA_INSTALL += "Modello_Homescreen" +CORE_IMAGE_EXTRA_INSTALL += "Modello_Hvac" +CORE_IMAGE_EXTRA_INSTALL += "Modello_Installer" +CORE_IMAGE_EXTRA_INSTALL += "Modello_Multimediaplayer" +CORE_IMAGE_EXTRA_INSTALL += "Modello_Nav" +CORE_IMAGE_EXTRA_INSTALL += "Modello_Phone" +CORE_IMAGE_EXTRA_INSTALL += "Modello_SDL" +CORE_IMAGE_EXTRA_INSTALL += "automotive-message-broker" +CORE_IMAGE_EXTRA_INSTALL += "efl-theme-tizen" +CORE_IMAGE_EXTRA_INSTALL += "festival" +CORE_IMAGE_EXTRA_INSTALL += "genivi-audio-manager" +CORE_IMAGE_EXTRA_INSTALL += "ico-uxf-device-input-controller" +CORE_IMAGE_EXTRA_INSTALL += "ico-uxf-homescreen" +CORE_IMAGE_EXTRA_INSTALL += "ico-uxf-homescreen-sample-apps" +CORE_IMAGE_EXTRA_INSTALL += "ico-uxf-utilities" +CORE_IMAGE_EXTRA_INSTALL += "ico-uxf-weston-plugin" +CORE_IMAGE_EXTRA_INSTALL += "ico-vic-amb-plugin" +CORE_IMAGE_EXTRA_INSTALL += "ico-vic-carsimulator" +CORE_IMAGE_EXTRA_INSTALL += "lemolo" +CORE_IMAGE_EXTRA_INSTALL += "libwebsockets" +CORE_IMAGE_EXTRA_INSTALL += "message-port" +CORE_IMAGE_EXTRA_INSTALL += "murphy" +CORE_IMAGE_EXTRA_INSTALL += "node-startup-controller" +CORE_IMAGE_EXTRA_INSTALL += "phoned" +CORE_IMAGE_EXTRA_INSTALL += "pulseaudio-module-murphy-ivi" +CORE_IMAGE_EXTRA_INSTALL += "rygel" +CORE_IMAGE_EXTRA_INSTALL += "sphinxbase" +CORE_IMAGE_EXTRA_INSTALL += "udev-rules" +CORE_IMAGE_EXTRA_INSTALL += "wayland-ivi-extension" +CORE_IMAGE_EXTRA_INSTALL += "weston-ivi" +CORE_IMAGE_EXTRA_INSTALL += "weston-ivi-shell" diff --git a/recipes-tizen/Modello_AMBSimulator/Modello_AMBSimulator-extraconf.inc b/recipes-tizen/Modello_AMBSimulator/Modello_AMBSimulator-extraconf.inc new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/recipes-tizen/Modello_AMBSimulator/Modello_AMBSimulator-extraconf.inc diff --git a/recipes-tizen/Modello_AMBSimulator/Modello_AMBSimulator.inc b/recipes-tizen/Modello_AMBSimulator/Modello_AMBSimulator.inc new file mode 100644 index 00000000..6dd404fd --- /dev/null +++ b/recipes-tizen/Modello_AMBSimulator/Modello_AMBSimulator.inc @@ -0,0 +1,90 @@ +DESCRIPTION = "A proof of concept pure html5 UI" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Applications/System" +LICENSE = "Apache 2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by Modello_AMBSimulator + + +RDEPENDS = "" +#RDEPENDS of Modello_AMBSimulator (${PN}) +RDEPENDS_${PN} += "Modello_Common" + + +DEPENDS = "" +#DEPENDS of Modello_AMBSimulator +DEPENDS += "zip" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n Modello_AMBSimulator-0.0.2 + + +} +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 ; + + + make wgtPkg + + + +} + +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 -- + + +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " Modello_AMBSimulator " + +Modello_AMBSimulator_files = "" +Modello_AMBSimulator_files += "/opt/usr/apps/.preinstallWidgets/Modello_AMBSimulator.wgt" +Modello_AMBSimulator_files += "/opt/usr/apps/_common/icons/AMB_Simulator_icon.png" + +FILES_${PN} = "${Modello_AMBSimulator_files}" + +PKG_Modello_AMBSimulator= "Modello_AMBSimulator" + +require Modello_AMBSimulator-extraconf.inc + diff --git a/recipes-tizen/Modello_AMBSimulator/Modello_AMBSimulator_git.bb b/recipes-tizen/Modello_AMBSimulator/Modello_AMBSimulator_git.bb new file mode 100644 index 00000000..dc49e9c0 --- /dev/null +++ b/recipes-tizen/Modello_AMBSimulator/Modello_AMBSimulator_git.bb @@ -0,0 +1,10 @@ +require Modello_AMBSimulator.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/profile/ivi/Modello_AMBSimulator;tag=7054847499b9d20378bc3285127c40ea6bb2ad39;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/recipes-tizen/Modello_Appmanager/Modello_Appmanager-extraconf.inc b/recipes-tizen/Modello_Appmanager/Modello_Appmanager-extraconf.inc new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/recipes-tizen/Modello_Appmanager/Modello_Appmanager-extraconf.inc diff --git a/recipes-tizen/Modello_Appmanager/Modello_Appmanager.inc b/recipes-tizen/Modello_Appmanager/Modello_Appmanager.inc new file mode 100644 index 00000000..dd539335 --- /dev/null +++ b/recipes-tizen/Modello_Appmanager/Modello_Appmanager.inc @@ -0,0 +1,90 @@ +DESCRIPTION = "A proof of concept pure html5 UI" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Applications/System" +LICENSE = "Apache 2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by Modello_Appmanager + + +RDEPENDS = "" +#RDEPENDS of Modello_Appmanager (${PN}) +RDEPENDS_${PN} += "Modello_Common" + + +DEPENDS = "" +#DEPENDS of Modello_Appmanager +DEPENDS += "zip" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n Modello_Appmanager-0.0.2 + + +} +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 ; + + + make wgtPkg + + + +} + +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 -- + + +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " Modello_Appmanager " + +Modello_Appmanager_files = "" +Modello_Appmanager_files += "/opt/usr/apps/.preinstallWidgets/Modello_Appmanager.wgt" +Modello_Appmanager_files += "/opt/usr/apps/_common/icons/AppManager_icon.png" + +FILES_${PN} = "${Modello_Appmanager_files}" + +PKG_Modello_Appmanager= "Modello_Appmanager" + +require Modello_Appmanager-extraconf.inc + diff --git a/recipes-tizen/Modello_Appmanager/Modello_Appmanager_git.bb b/recipes-tizen/Modello_Appmanager/Modello_Appmanager_git.bb new file mode 100644 index 00000000..c7264c5f --- /dev/null +++ b/recipes-tizen/Modello_Appmanager/Modello_Appmanager_git.bb @@ -0,0 +1,10 @@ +require Modello_Appmanager.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/profile/ivi/Modello_Appmanager;tag=c71399cb3f4582ada6a44c8259c50d46205668f3;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/recipes-tizen/Modello_Common/Modello_Common-extraconf.inc b/recipes-tizen/Modello_Common/Modello_Common-extraconf.inc new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/recipes-tizen/Modello_Common/Modello_Common-extraconf.inc diff --git a/recipes-tizen/Modello_Common/Modello_Common.inc b/recipes-tizen/Modello_Common/Modello_Common.inc new file mode 100644 index 00000000..198b123f --- /dev/null +++ b/recipes-tizen/Modello_Common/Modello_Common.inc @@ -0,0 +1,82 @@ +DESCRIPTION = "A proof of concept pure html5 UI" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Applications/System" +LICENSE = "Apache 2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by Modello_Common + + +RDEPENDS = "" + +DEPENDS = "" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n Modello_Common-0.0.2 + + +} +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() { + 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 -- + + +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " Modello_Common " + +Modello_Common_files = "" +Modello_Common_files += "/opt/usr/apps/_common/*" + +FILES_${PN} = "${Modello_Common_files}" + +PKG_Modello_Common= "Modello_Common" + +require Modello_Common-extraconf.inc + diff --git a/recipes-tizen/Modello_Common/Modello_Common_git.bb b/recipes-tizen/Modello_Common/Modello_Common_git.bb new file mode 100644 index 00000000..210e660e --- /dev/null +++ b/recipes-tizen/Modello_Common/Modello_Common_git.bb @@ -0,0 +1,10 @@ +require Modello_Common.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/profile/ivi/Modello_Common;tag=fee0b7fd0e2792f8d0ec972018f0b57c26aaedd0;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/recipes-tizen/Modello_Dashboard/Modello_Dashboard-extraconf.inc b/recipes-tizen/Modello_Dashboard/Modello_Dashboard-extraconf.inc new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/recipes-tizen/Modello_Dashboard/Modello_Dashboard-extraconf.inc diff --git a/recipes-tizen/Modello_Dashboard/Modello_Dashboard.inc b/recipes-tizen/Modello_Dashboard/Modello_Dashboard.inc new file mode 100644 index 00000000..d596b29b --- /dev/null +++ b/recipes-tizen/Modello_Dashboard/Modello_Dashboard.inc @@ -0,0 +1,90 @@ +DESCRIPTION = "A proof of concept pure html5 UI" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Applications/System" +LICENSE = "Apache 2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by Modello_Dashboard + + +RDEPENDS = "" +#RDEPENDS of Modello_Dashboard (${PN}) +RDEPENDS_${PN} += "Modello_Common" + + +DEPENDS = "" +#DEPENDS of Modello_Dashboard +DEPENDS += "zip" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n Modello_Dashboard-0.0.2 + + +} +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 ; + + + make wgtPkg + + + +} + +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 -- + + +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " Modello_Dashboard " + +Modello_Dashboard_files = "" +Modello_Dashboard_files += "/opt/usr/apps/.preinstallWidgets/Modello_Dashboard.wgt" +Modello_Dashboard_files += "/opt/usr/apps/_common/icons/Dashboard_icon.png" + +FILES_${PN} = "${Modello_Dashboard_files}" + +PKG_Modello_Dashboard= "Modello_Dashboard" + +require Modello_Dashboard-extraconf.inc + diff --git a/recipes-tizen/Modello_Dashboard/Modello_Dashboard_git.bb b/recipes-tizen/Modello_Dashboard/Modello_Dashboard_git.bb new file mode 100644 index 00000000..932dbe71 --- /dev/null +++ b/recipes-tizen/Modello_Dashboard/Modello_Dashboard_git.bb @@ -0,0 +1,10 @@ +require Modello_Dashboard.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/profile/ivi/Modello_Dashboard;tag=5028d912a0a421e56124cdd90364cb0555b1f207;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/recipes-tizen/Modello_Homescreen/Modello_Homescreen-extraconf.inc b/recipes-tizen/Modello_Homescreen/Modello_Homescreen-extraconf.inc new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/recipes-tizen/Modello_Homescreen/Modello_Homescreen-extraconf.inc diff --git a/recipes-tizen/Modello_Homescreen/Modello_Homescreen.inc b/recipes-tizen/Modello_Homescreen/Modello_Homescreen.inc new file mode 100644 index 00000000..76ea93ab --- /dev/null +++ b/recipes-tizen/Modello_Homescreen/Modello_Homescreen.inc @@ -0,0 +1,99 @@ +DESCRIPTION = "A proof of concept pure html5 UI" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Applications/System" +LICENSE = "Apache 2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by Modello_Homescreen + + +RDEPENDS = "" +#RDEPENDS of Modello_Homescreen (${PN}) +RDEPENDS_${PN} += "Modello_Common" + + +DEPENDS = "" +#DEPENDS of Modello_Homescreen +DEPENDS += "zip" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n Modello_Homescreen-0.0.2 + + +} +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 ; + + + make wgtPkg + + + +} + +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}/bin + mkdir -p ${D}${prefix}/lib/systemd/user/weston.target.wants/ + install -m 755 systemd/modello_launcher.sh ${D}${prefix}/bin + install -m 0644 systemd/Modello_Homescreen-launchpad-ready.path ${D}${prefix}/lib/systemd/user + install -m 0644 systemd/Modello_Homescreen.service ${D}${prefix}/lib/systemd/user + ln -sf systemd/Modello_Homescreen-launchpad-ready.path ${D}${prefix}/lib/systemd/user/weston.target.wants/ + + +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " Modello_Homescreen " + +Modello_Homescreen_files = "" +Modello_Homescreen_files += "/opt/usr/apps/.preinstallWidgets/Modello_Homescreen.wgt" +Modello_Homescreen_files += "/opt/usr/apps/_common/icons/Homescreen_icon.png" +Modello_Homescreen_files += "${prefix}/lib/systemd/user/Modello_Homescreen.service" +Modello_Homescreen_files += "${prefix}/lib/systemd/user/Modello_Homescreen-launchpad-ready.path" +Modello_Homescreen_files += "${prefix}/bin/modello_launcher.sh" +Modello_Homescreen_files += "${prefix}/lib/systemd/user/weston.target.wants" + +FILES_${PN} = "${Modello_Homescreen_files}" + +PKG_Modello_Homescreen= "Modello_Homescreen" + +require Modello_Homescreen-extraconf.inc + diff --git a/recipes-tizen/Modello_Homescreen/Modello_Homescreen_git.bb b/recipes-tizen/Modello_Homescreen/Modello_Homescreen_git.bb new file mode 100644 index 00000000..42475226 --- /dev/null +++ b/recipes-tizen/Modello_Homescreen/Modello_Homescreen_git.bb @@ -0,0 +1,10 @@ +require Modello_Homescreen.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/profile/ivi/Modello_Homescreen;tag=4becb3c675da8f5dd5fd7c3c03e404abf86a3028;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/recipes-tizen/Modello_Hvac/Modello_Hvac-extraconf.inc b/recipes-tizen/Modello_Hvac/Modello_Hvac-extraconf.inc new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/recipes-tizen/Modello_Hvac/Modello_Hvac-extraconf.inc diff --git a/recipes-tizen/Modello_Hvac/Modello_Hvac.inc b/recipes-tizen/Modello_Hvac/Modello_Hvac.inc new file mode 100644 index 00000000..ffae1f7a --- /dev/null +++ b/recipes-tizen/Modello_Hvac/Modello_Hvac.inc @@ -0,0 +1,90 @@ +DESCRIPTION = "A proof of concept pure html5 UI" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Applications/System" +LICENSE = "Apache 2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by Modello_Hvac + + +RDEPENDS = "" +#RDEPENDS of Modello_Hvac (${PN}) +RDEPENDS_${PN} += "Modello_Common" + + +DEPENDS = "" +#DEPENDS of Modello_Hvac +DEPENDS += "zip" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n Modello_Hvac-0.0.2 + + +} +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 ; + + + make wgtPkg + + + +} + +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 -- + + +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " Modello_Hvac " + +Modello_Hvac_files = "" +Modello_Hvac_files += "/opt/usr/apps/.preinstallWidgets/Modello_Hvac.wgt" +Modello_Hvac_files += "/opt/usr/apps/_common/icons/HVAC_icon.png" + +FILES_${PN} = "${Modello_Hvac_files}" + +PKG_Modello_Hvac= "Modello_Hvac" + +require Modello_Hvac-extraconf.inc + diff --git a/recipes-tizen/Modello_Hvac/Modello_Hvac_git.bb b/recipes-tizen/Modello_Hvac/Modello_Hvac_git.bb new file mode 100644 index 00000000..65e1d361 --- /dev/null +++ b/recipes-tizen/Modello_Hvac/Modello_Hvac_git.bb @@ -0,0 +1,10 @@ +require Modello_Hvac.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/profile/ivi/Modello_Hvac;tag=b0bfea3d2f498190cdef205331e47f9d0d06802f;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/recipes-tizen/Modello_Installer/Modello_Installer-extraconf.inc b/recipes-tizen/Modello_Installer/Modello_Installer-extraconf.inc new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/recipes-tizen/Modello_Installer/Modello_Installer-extraconf.inc diff --git a/recipes-tizen/Modello_Installer/Modello_Installer.inc b/recipes-tizen/Modello_Installer/Modello_Installer.inc new file mode 100644 index 00000000..7f08f71a --- /dev/null +++ b/recipes-tizen/Modello_Installer/Modello_Installer.inc @@ -0,0 +1,164 @@ +DESCRIPTION = "Installer for Modello" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Base/Configuration" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by Modello_Installer + + +#PROVIDES by Modello_Installer-xwalk +PROVIDES += "Modello_Installer-xwalk" + + +#PROVIDES by Modello_Installer-wrt +PROVIDES += "Modello_Installer-wrt" + + +RDEPENDS = "" +#RDEPENDS of Modello_Installer-xwalk (${PN}-xwalk) +RDEPENDS_${PN}-xwalk += "Modello_AMBSimulator" +RDEPENDS_${PN}-xwalk += "Modello_Common" +RDEPENDS_${PN}-xwalk += "Modello_Appmanager" +RDEPENDS_${PN}-xwalk += "tizen-platform-config" +RDEPENDS_${PN}-xwalk += "Modello_Dashboard" +RDEPENDS_${PN}-xwalk += "Modello_Multimediaplayer" +RDEPENDS_${PN}-xwalk += "Modello_SDL" +RDEPENDS_${PN}-xwalk += "Modello_Phone" +RDEPENDS_${PN}-xwalk += "Modello_Homescreen" +RDEPENDS_${PN}-xwalk += "Modello_Nav" +RDEPENDS_${PN}-xwalk += "crosswalk" +RDEPENDS_${PN}-xwalk += "Modello_Hvac" + +#RDEPENDS of Modello_Installer-wrt (${PN}-wrt) +RDEPENDS_${PN}-wrt += "wrt-installer" + + +DEPENDS = "" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n Modello_Installer-0.0.2 + + +} +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 ; + + #build section + + + +} + +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 -- + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + source ${sysconfdir}/tizen-platform.conf + for list in $(find $TZ_SYS_APP_PREINSTALL -name "Modello*") + do + #wrt-installer requires you be root to install files + wrt-installer -i $list + done + for list2 in $(ls -d /opt/usr/apps/*/) + do + mkdir -p "$list2/css" + mkdir -p "$list2/js" + cp -r /opt/usr/apps/_common/js/services "$list2/res/wgt/js/" + cp -r /opt/usr/apps/_common/css/* "$list2/res/wgt/css/" + done + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + source ${sysconfdir}/tizen-platform.conf + export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/5000/dbus/user_bus_socket" + for list in $(find $TZ_SYS_APP_PREINSTALL -name "Modello*") + do + #XWalk requires you not be root to install files + echo "Installing $list" + su app -c "xwalkctl -i $list" + done + for list2 in $(ls -d $TZ_SYS_HOME/app/.config/xwalk-service/applications/*/) + do + su app -c "mkdir -p '$list2/css'" + su app -c "mkdir -p '$list2/js'" + su app -c "cp -r /opt/usr/apps/_common/js/services '$list2/js/'" + su app -c "cp -r /opt/usr/apps/_common/css/* '$list2/css/'" + su app -c "cp -r /opt/usr/apps/_common/icons '$list2/'" + done + +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + source ${sysconfdir}/tizen-platform.conf + for list3 in $(su app -c "xwalkctl" | grep Modello | cut -c 1-32) + do + echo "Uninstalling $list3" + su app -c "xwalkctl -u $list3" + done + +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " Modello_Installer-xwalk " +PACKAGES += " Modello_Installer-wrt " + +Modello_Installer-xwalk_files = "" + +Modello_Installer-wrt_files = "" + +FILES_${PN}-xwalk = "${Modello_Installer-xwalk_files}" +FILES_${PN}-wrt = "${Modello_Installer-wrt_files}" + +PKG_Modello_Installer-xwalk= "Modello_Installer-xwalk" +PKG_Modello_Installer-wrt= "Modello_Installer-wrt" + +require Modello_Installer-extraconf.inc + diff --git a/recipes-tizen/Modello_Installer/Modello_Installer_git.bb b/recipes-tizen/Modello_Installer/Modello_Installer_git.bb new file mode 100644 index 00000000..70099e6e --- /dev/null +++ b/recipes-tizen/Modello_Installer/Modello_Installer_git.bb @@ -0,0 +1,10 @@ +require Modello_Installer.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/profile/ivi/Modello_Installer;tag=93dc8de0cbe4e79f6c17c3007c03f45de0b4c962;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/recipes-tizen/Modello_Multimediaplayer/Modello_Multimediaplayer-extraconf.inc b/recipes-tizen/Modello_Multimediaplayer/Modello_Multimediaplayer-extraconf.inc new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/recipes-tizen/Modello_Multimediaplayer/Modello_Multimediaplayer-extraconf.inc diff --git a/recipes-tizen/Modello_Multimediaplayer/Modello_Multimediaplayer.inc b/recipes-tizen/Modello_Multimediaplayer/Modello_Multimediaplayer.inc new file mode 100644 index 00000000..62e06670 --- /dev/null +++ b/recipes-tizen/Modello_Multimediaplayer/Modello_Multimediaplayer.inc @@ -0,0 +1,90 @@ +DESCRIPTION = "A proof of concept pure html5 UI" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Applications/System" +LICENSE = "Apache 2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by Modello_Multimediaplayer + + +RDEPENDS = "" +#RDEPENDS of Modello_Multimediaplayer (${PN}) +RDEPENDS_${PN} += "Modello_Common" + + +DEPENDS = "" +#DEPENDS of Modello_Multimediaplayer +DEPENDS += "zip" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n Modello_Multimediaplayer-0.0.2 + + +} +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 ; + + + make wgtPkg + + + +} + +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 -- + + +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " Modello_Multimediaplayer " + +Modello_Multimediaplayer_files = "" +Modello_Multimediaplayer_files += "/opt/usr/apps/.preinstallWidgets/Modello_Multimediaplayer.wgt" +Modello_Multimediaplayer_files += "/opt/usr/apps/_common/icons/Multimedia_Player_icon.png" + +FILES_${PN} = "${Modello_Multimediaplayer_files}" + +PKG_Modello_Multimediaplayer= "Modello_Multimediaplayer" + +require Modello_Multimediaplayer-extraconf.inc + diff --git a/recipes-tizen/Modello_Multimediaplayer/Modello_Multimediaplayer_git.bb b/recipes-tizen/Modello_Multimediaplayer/Modello_Multimediaplayer_git.bb new file mode 100644 index 00000000..bb0c5449 --- /dev/null +++ b/recipes-tizen/Modello_Multimediaplayer/Modello_Multimediaplayer_git.bb @@ -0,0 +1,10 @@ +require Modello_Multimediaplayer.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/profile/ivi/Modello_Multimediaplayer;tag=e2f2f8c061d4910a6f17fd6b9d24376791dbcd33;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/recipes-tizen/Modello_Nav/Modello_Nav-extraconf.inc b/recipes-tizen/Modello_Nav/Modello_Nav-extraconf.inc new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/recipes-tizen/Modello_Nav/Modello_Nav-extraconf.inc diff --git a/recipes-tizen/Modello_Nav/Modello_Nav.inc b/recipes-tizen/Modello_Nav/Modello_Nav.inc new file mode 100644 index 00000000..dee303cf --- /dev/null +++ b/recipes-tizen/Modello_Nav/Modello_Nav.inc @@ -0,0 +1,90 @@ +DESCRIPTION = "A proof of concept pure html5 UI" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Applications/System" +LICENSE = "Apache 2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by Modello_Nav + + +RDEPENDS = "" +#RDEPENDS of Modello_Nav (${PN}) +RDEPENDS_${PN} += "Modello_Common" + + +DEPENDS = "" +#DEPENDS of Modello_Nav +DEPENDS += "zip" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n Modello_Nav-0.0.2 + + +} +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 ; + + + make wgtPkg + + + +} + +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 -- + + +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " Modello_Nav " + +Modello_Nav_files = "" +Modello_Nav_files += "/opt/usr/apps/.preinstallWidgets/Modello_Nav.wgt" +Modello_Nav_files += "/opt/usr/apps/_common/icons/Navigation_icon.png" + +FILES_${PN} = "${Modello_Nav_files}" + +PKG_Modello_Nav= "Modello_Nav" + +require Modello_Nav-extraconf.inc + diff --git a/recipes-tizen/Modello_Nav/Modello_Nav_git.bb b/recipes-tizen/Modello_Nav/Modello_Nav_git.bb new file mode 100644 index 00000000..927b4259 --- /dev/null +++ b/recipes-tizen/Modello_Nav/Modello_Nav_git.bb @@ -0,0 +1,10 @@ +require Modello_Nav.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/profile/ivi/Modello_Nav;tag=ac4de2022144936333ae34bf6068b16bf775f9a3;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/recipes-tizen/Modello_Phone/Modello_Phone-extraconf.inc b/recipes-tizen/Modello_Phone/Modello_Phone-extraconf.inc new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/recipes-tizen/Modello_Phone/Modello_Phone-extraconf.inc diff --git a/recipes-tizen/Modello_Phone/Modello_Phone.inc b/recipes-tizen/Modello_Phone/Modello_Phone.inc new file mode 100644 index 00000000..4574aebe --- /dev/null +++ b/recipes-tizen/Modello_Phone/Modello_Phone.inc @@ -0,0 +1,91 @@ +DESCRIPTION = "A proof of concept pure html5 UI" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Applications/System" +LICENSE = "Apache 2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by Modello_Phone + + +RDEPENDS = "" +#RDEPENDS of Modello_Phone (${PN}) +RDEPENDS_${PN} += "phoned" +RDEPENDS_${PN} += "Modello_Common" + + +DEPENDS = "" +#DEPENDS of Modello_Phone +DEPENDS += "zip" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n Modello_Phone-0.0.2 + + +} +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 ; + + + make wgtPkg + + + +} + +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 -- + + +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " Modello_Phone " + +Modello_Phone_files = "" +Modello_Phone_files += "/opt/usr/apps/.preinstallWidgets/Modello_Phone.wgt" +Modello_Phone_files += "/opt/usr/apps/_common/icons/Phone_icon.png" + +FILES_${PN} = "${Modello_Phone_files}" + +PKG_Modello_Phone= "Modello_Phone" + +require Modello_Phone-extraconf.inc + diff --git a/recipes-tizen/Modello_Phone/Modello_Phone_git.bb b/recipes-tizen/Modello_Phone/Modello_Phone_git.bb new file mode 100644 index 00000000..0651aedc --- /dev/null +++ b/recipes-tizen/Modello_Phone/Modello_Phone_git.bb @@ -0,0 +1,10 @@ +require Modello_Phone.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/profile/ivi/Modello_Phone;tag=a534d4f2866424307dc177fa1269ab22cf3d2d73;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/recipes-tizen/Modello_SDL/Modello_SDL-extraconf.inc b/recipes-tizen/Modello_SDL/Modello_SDL-extraconf.inc new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/recipes-tizen/Modello_SDL/Modello_SDL-extraconf.inc diff --git a/recipes-tizen/Modello_SDL/Modello_SDL.inc b/recipes-tizen/Modello_SDL/Modello_SDL.inc new file mode 100644 index 00000000..ecc9e9b1 --- /dev/null +++ b/recipes-tizen/Modello_SDL/Modello_SDL.inc @@ -0,0 +1,90 @@ +DESCRIPTION = "A proof of concept pure html5 UI" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Applications/System" +LICENSE = "Apache 2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by Modello_SDL + + +RDEPENDS = "" +#RDEPENDS of Modello_SDL (${PN}) +RDEPENDS_${PN} += "Modello_Common" + + +DEPENDS = "" +#DEPENDS of Modello_SDL +DEPENDS += "zip" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n Modello_SDL-0.0.2 + + +} +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 ; + + + make wgtPkg + + + +} + +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 -- + + +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " Modello_SDL " + +Modello_SDL_files = "" +Modello_SDL_files += "/opt/usr/apps/.preinstallWidgets/Modello_SDL.wgt" +Modello_SDL_files += "/opt/usr/apps/_common/icons/SmartDeviceLink_icon.png" + +FILES_${PN} = "${Modello_SDL_files}" + +PKG_Modello_SDL= "Modello_SDL" + +require Modello_SDL-extraconf.inc + diff --git a/recipes-tizen/Modello_SDL/Modello_SDL_git.bb b/recipes-tizen/Modello_SDL/Modello_SDL_git.bb new file mode 100644 index 00000000..944bcb32 --- /dev/null +++ b/recipes-tizen/Modello_SDL/Modello_SDL_git.bb @@ -0,0 +1,10 @@ +require Modello_SDL.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/profile/ivi/Modello_SDL;tag=065a3bc2205db64ec1f53f83e3d26306c1724bb3;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/recipes-tizen/automotive-message-broker/automotive-message-broker-extraconf.inc b/recipes-tizen/automotive-message-broker/automotive-message-broker-extraconf.inc new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/recipes-tizen/automotive-message-broker/automotive-message-broker-extraconf.inc diff --git a/recipes-tizen/automotive-message-broker/automotive-message-broker.inc b/recipes-tizen/automotive-message-broker/automotive-message-broker.inc new file mode 100644 index 00000000..c0799c18 --- /dev/null +++ b/recipes-tizen/automotive-message-broker/automotive-message-broker.inc @@ -0,0 +1,420 @@ +DESCRIPTION = "Automotive Message Broker is a vehicle network abstraction system" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Automotive/Service" +LICENSE = "LGPL-2.1" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by automotive-message-broker-plugins-bluetooth +PROVIDES += "automotive-message-broker-plugins-bluetooth" + + +#PROVIDES by automotive-message-broker-plugins +PROVIDES += "automotive-message-broker-plugins" + + +#PROVIDES by automotive-message-broker-plugins-common +PROVIDES += "automotive-message-broker-plugins-common" + + +#PROVIDES by automotive-message-broker-plugins-qtmainloop +PROVIDES += "automotive-message-broker-plugins-qtmainloop" + + +#PROVIDES by automotive-message-broker-plugins-murphy +PROVIDES += "automotive-message-broker-plugins-murphy" + + +#PROVIDES by automotive-message-broker-plugins-cangen +PROVIDES += "automotive-message-broker-plugins-cangen" + + +#PROVIDES by automotive-message-broker-plugins-opencvlux +PROVIDES += "automotive-message-broker-plugins-opencvlux" + + +#PROVIDES by automotive-message-broker-plugins-test +PROVIDES += "automotive-message-broker-plugins-test" + + +#PROVIDES by automotive-message-broker-doc +PROVIDES += "automotive-message-broker-doc" + + +#PROVIDES by automotive-message-broker-plugins-wheel +PROVIDES += "automotive-message-broker-plugins-wheel" + + +#PROVIDES by automotive-message-broker-plugins-cansim +PROVIDES += "automotive-message-broker-plugins-cansim" + + +#PROVIDES by automotive-message-broker-dev +PROVIDES += "automotive-message-broker-dev" + + +#PROVIDES by automotive-message-broker + + +#PROVIDES by automotive-message-broker-plugins-database +PROVIDES += "automotive-message-broker-plugins-database" + + +#PROVIDES by automotive-message-broker-plugins-websocket +PROVIDES += "automotive-message-broker-plugins-websocket" + + +#PROVIDES by automotive-message-broker-plugins-obd2 +PROVIDES += "automotive-message-broker-plugins-obd2" + + +#PROVIDES by automotive-message-broker-plugins-gpsnmea +PROVIDES += "automotive-message-broker-plugins-gpsnmea" + + +RDEPENDS = "" +#RDEPENDS of automotive-message-broker-plugins-bluetooth (${PN}-plugins-bluetooth) +RDEPENDS_${PN}-plugins-bluetooth += "automotive-message-broker" + +#RDEPENDS of automotive-message-broker-plugins-cangen (${PN}-plugins-cangen) +RDEPENDS_${PN}-plugins-cangen += "automotive-message-broker" + +#RDEPENDS of automotive-message-broker-plugins-common (${PN}-plugins-common) +RDEPENDS_${PN}-plugins-common += "automotive-message-broker" + +#RDEPENDS of automotive-message-broker-plugins-qtmainloop (${PN}-plugins-qtmainloop) +RDEPENDS_${PN}-plugins-qtmainloop += "automotive-message-broker" +RDEPENDS_${PN}-plugins-qtmainloop += "qt5-qtcore" + +#RDEPENDS of automotive-message-broker-plugins-murphy (${PN}-plugins-murphy) +RDEPENDS_${PN}-plugins-murphy += "murphy" +RDEPENDS_${PN}-plugins-murphy += "automotive-message-broker" + +#RDEPENDS of automotive-message-broker-plugins (${PN}-plugins) +RDEPENDS_${PN}-plugins += "automotive-message-broker" + +#RDEPENDS of automotive-message-broker-plugins-opencvlux (${PN}-plugins-opencvlux) +RDEPENDS_${PN}-plugins-opencvlux += "opencv" +RDEPENDS_${PN}-plugins-opencvlux += "automotive-message-broker" + +#RDEPENDS of automotive-message-broker-plugins-test (${PN}-plugins-test) +RDEPENDS_${PN}-plugins-test += "automotive-message-broker" + +#RDEPENDS of automotive-message-broker-doc (${PN}-doc) +RDEPENDS_${PN}-doc += "automotive-message-broker" + +#RDEPENDS of automotive-message-broker-plugins-wheel (${PN}-plugins-wheel) +RDEPENDS_${PN}-plugins-wheel += "libwebsockets" +RDEPENDS_${PN}-plugins-wheel += "automotive-message-broker" + +#RDEPENDS of automotive-message-broker-plugins-cansim (${PN}-plugins-cansim) +RDEPENDS_${PN}-plugins-cansim += "automotive-message-broker" + +#RDEPENDS of automotive-message-broker-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "libuuid-dev" +RDEPENDS_${PN}-dev += "boost-dev" +RDEPENDS_${PN}-dev += "automotive-message-broker" + +#RDEPENDS of automotive-message-broker (${PN}) +RDEPENDS_${PN} += "libuuid" +RDEPENDS_${PN} += "automotive-message-broker-plugins-murphy" +RDEPENDS_${PN} += "automotive-message-broker-plugins" +RDEPENDS_${PN} += "eglibc" +RDEPENDS_${PN} += "libjson" +RDEPENDS_${PN} += "default-ac-domains" + +#RDEPENDS of automotive-message-broker-plugins-database (${PN}-plugins-database) +RDEPENDS_${PN}-plugins-database += "sqlite" +RDEPENDS_${PN}-plugins-database += "automotive-message-broker" + +#RDEPENDS of automotive-message-broker-plugins-websocket (${PN}-plugins-websocket) +RDEPENDS_${PN}-plugins-websocket += "libwebsockets" +RDEPENDS_${PN}-plugins-websocket += "automotive-message-broker" +RDEPENDS_${PN}-plugins-websocket += "qt5-qtcore" + +#RDEPENDS of automotive-message-broker-plugins-obd2 (${PN}-plugins-obd2) +RDEPENDS_${PN}-plugins-obd2 += "automotive-message-broker-plugins-common" +RDEPENDS_${PN}-plugins-obd2 += "automotive-message-broker" + +#RDEPENDS of automotive-message-broker-plugins-gpsnmea (${PN}-plugins-gpsnmea) +RDEPENDS_${PN}-plugins-gpsnmea += "libboost_regex" +RDEPENDS_${PN}-plugins-gpsnmea += "automotive-message-broker" + + +DEPENDS = "" +#DEPENDS of automotive-message-broker +DEPENDS += "qt5-plugin-bearer-connman" +DEPENDS += "boost-dev" +DEPENDS_append_class-native = " cmake-native" +DEPENDS_append_class-target = " cmake-native" +DEPENDS += "sqlite-dev" +DEPENDS += "qt5-qtnetwork-dev" +DEPENDS += "libwebsockets-dev" +DEPENDS += "qt5-plugin-bearer-generic" +DEPENDS += "dbus" +DEPENDS += "murphy" +DEPENDS += "glib-2.0" +DEPENDS += "qt5-qtdbus-dev" +DEPENDS += "qt5-qtcore-dev" +DEPENDS += "qt5-qtconcurrent-dev" +DEPENDS_append_class-native = " libtool" +DEPENDS_append_class-target = " libtool-cross" +DEPENDS += "murphy-glib-dev" +DEPENDS += "libjson-dev" +DEPENDS += "qt5-plugin-bearer-nm" +DEPENDS += "libuuid-dev" +DEPENDS += "murphy-glib" +DEPENDS += "opencv-dev" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n automotive-message-broker-0.11.810 + + +} +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 \ + ${EXTRA_OECMAKE} -Dqtmainloop=ON -Ddatabase_plugin=ON -Dopencvlux_plugin=ON -Dmurphy_plugin=ON -Dwebsocket_plugin=ON -Dobd2_plugin=ON -Dtest_plugin=ON -Dgpsnmea_plugin=ON -Dcangen_plugin=ON -Dcansim_plugin=ON -Dbluetooth_plugin=ON + + make + + + +} + +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}/lib/systemd/system/network.target.wants + cp packaging.in/ambd.service.systemd.tizen ${D}${prefix}/lib/systemd/system/ambd.service + ln -s ../ambd.service ${D}${prefix}/lib/systemd/system/network.target.wants/ambd.service + + mkdir -p ${D}//lib/systemd/system/multi-user.target.wants + ln -s ../ambd.service ${D}//lib/systemd/system/multi-user.target.wants/ambd.service + + cp packaging.in/config.tizen ${D}/etc/ambd/ + + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x\$D" == "x" ] && ldconfig +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x\$D" == "x" ] && ldconfig +} + +pkg_postrm_${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 += " automotive-message-broker-plugins-bluetooth " +PACKAGES += " automotive-message-broker-plugins-cangen " +PACKAGES += " automotive-message-broker-plugins-common " +PACKAGES += " automotive-message-broker-plugins-qtmainloop " +PACKAGES += " automotive-message-broker-plugins-murphy " +PACKAGES += " automotive-message-broker-plugins " +PACKAGES += " automotive-message-broker-plugins-opencvlux " +PACKAGES += " automotive-message-broker-plugins-test " +PACKAGES += " automotive-message-broker-plugins-wheel " +PACKAGES += " automotive-message-broker-plugins-cansim " +PACKAGES += " automotive-message-broker-dev " +PACKAGES += " automotive-message-broker " +PACKAGES += " automotive-message-broker-plugins-database " +PACKAGES += " automotive-message-broker-plugins-websocket " +PACKAGES += " automotive-message-broker-plugins-obd2 " +PACKAGES += " automotive-message-broker-plugins-gpsnmea " + +automotive-message-broker-plugins-bluetooth_files = "" +automotive-message-broker-plugins-bluetooth_files += "${prefix}/lib/automotive-message-broker/bluetoothplugin.so" +automotive-message-broker-plugins-bluetooth_files += "/etc/dbus-1/system.d/ambbt.conf" +MANIFESTFILES_${PN}-plugins-bluetooth = "packaging.in/amb.manifest.plugins" + +automotive-message-broker-plugins-cangen_files = "" +automotive-message-broker-plugins-cangen_files += "${prefix}/lib/automotive-message-broker/cangenplugin.so" +automotive-message-broker-plugins-cangen_files += "${prefix}/bin/gen-set" +MANIFESTFILES_${PN}-plugins-cangen = "packaging.in/amb.manifest.plugins" + +automotive-message-broker-plugins-common_files = "" +automotive-message-broker-plugins-common_files += "${prefix}/lib/libamb-plugins-common.so" +MANIFESTFILES_${PN}-plugins-common = "packaging.in/amb.manifest.plugins" + +automotive-message-broker-plugins-qtmainloop_files = "" +automotive-message-broker-plugins-qtmainloop_files += "${prefix}/lib/automotive-message-broker/qtmainloopplugin.so" +MANIFESTFILES_${PN}-plugins-qtmainloop = "packaging.in/amb.manifest.plugins" + +automotive-message-broker-plugins-murphy_files = "" +automotive-message-broker-plugins-murphy_files += "${prefix}/lib/automotive-message-broker/murphysourceplugin.so" +MANIFESTFILES_${PN}-plugins-murphy = "packaging.in/amb.manifest.plugins" + +automotive-message-broker-plugins_files = "" +automotive-message-broker-plugins_files += "${prefix}/lib/automotive-message-broker/examplesourceplugin.so" +automotive-message-broker-plugins_files += "${prefix}/lib/automotive-message-broker/examplesinkplugin.so" +automotive-message-broker-plugins_files += "${prefix}/lib/automotive-message-broker/dbussinkplugin.so" +automotive-message-broker-plugins_files += "${prefix}/lib/automotive-message-broker/demosinkplugin.so" +automotive-message-broker-plugins_files += "/etc/dbus-1/system.d/amb.conf" +MANIFESTFILES_${PN}-plugins = "packaging.in/amb.manifest.plugins" + +automotive-message-broker-plugins-opencvlux_files = "" +automotive-message-broker-plugins-opencvlux_files += "${prefix}/lib/automotive-message-broker/opencvluxplugin.so" +MANIFESTFILES_${PN}-plugins-opencvlux = "packaging.in/amb.manifest.plugins" + +automotive-message-broker-plugins-test_files = "" +automotive-message-broker-plugins-test_files += "${prefix}/lib/automotive-message-broker/testplugin.so" +MANIFESTFILES_${PN}-plugins-test = "packaging.in/amb.manifest.plugins" + +automotive-message-broker-doc_files = "" +automotive-message-broker-doc_files += "${prefix}/share/doc/packages/automotive-message-broker/*.txt" +MANIFESTFILES_${PN}-doc = "packaging.in/amb.manifest.plugins" + +automotive-message-broker-plugins-wheel_files = "" +automotive-message-broker-plugins-wheel_files += "${prefix}/lib/automotive-message-broker/wheelsourceplugin.so" +MANIFESTFILES_${PN}-plugins-wheel = "packaging.in/amb.manifest.plugins" + +automotive-message-broker-plugins-cansim_files = "" +automotive-message-broker-plugins-cansim_files += "${prefix}/lib/automotive-message-broker/cansimplugin.so" +MANIFESTFILES_${PN}-plugins-cansim = "packaging.in/amb.manifest.plugins" + +automotive-message-broker-dev_files = "" +automotive-message-broker-dev_files += "${prefix}/include/amb/*.h" +automotive-message-broker-dev_files += "${prefix}/include/amb/*.hpp" +automotive-message-broker-dev_files += "${prefix}/lib/pkgconfig/*.pc" +MANIFESTFILES_${PN}-dev = "packaging.in/amb.manifest.plugins" + +automotive-message-broker_files = "" +automotive-message-broker_files += "${sysconfdir}/ambd/config" +automotive-message-broker_files += "${sysconfdir}/ambd/config.tizen" +automotive-message-broker_files += "${sysconfdir}/ambd/examples/*" +automotive-message-broker_files += "${prefix}/bin/ambd" +automotive-message-broker_files += "${prefix}/lib/libamb.so*" +automotive-message-broker_files += "${prefix}/lib/systemd/system/ambd.service" +automotive-message-broker_files += "${prefix}/lib/systemd/system/network.target.wants/ambd.service" +automotive-message-broker_files += "${prefix}/lib/systemd/system/multi-user.target.wants/ambd.service" +automotive-message-broker_files += "${prefix}/bin/amb-get" +automotive-message-broker_files += "${prefix}/bin/amb-get-history" +automotive-message-broker_files += "${prefix}/bin/amb-set" +automotive-message-broker_files += "${prefix}/bin/amb-listen" +CONFFILES_${PN} = "" +CONFFILES_${PN} += "${sysconfdir}/ambd/config" +CONFFILES_${PN} += "${sysconfdir}/ambd/config.tizen" +CONFFILES_${PN} += "${sysconfdir}/ambd/examples/*" +MANIFESTFILES_${PN} = "packaging.in/amb.manifest" + +automotive-message-broker-plugins-database_files = "" +automotive-message-broker-plugins-database_files += "${prefix}/lib/automotive-message-broker/databasesinkplugin.so" +MANIFESTFILES_${PN}-plugins-database = "packaging.in/amb.manifest.plugins" + +automotive-message-broker-plugins-websocket_files = "" +automotive-message-broker-plugins-websocket_files += "${prefix}/lib/automotive-message-broker/websocketsource.so" +automotive-message-broker-plugins-websocket_files += "${prefix}/lib/automotive-message-broker/websocketsink.so" +MANIFESTFILES_${PN}-plugins-websocket = "packaging.in/amb.manifest.plugins" + +automotive-message-broker-plugins-obd2_files = "" +automotive-message-broker-plugins-obd2_files += "${prefix}/lib/automotive-message-broker/obd2sourceplugin.so" +MANIFESTFILES_${PN}-plugins-obd2 = "packaging.in/amb.manifest.plugins" + +automotive-message-broker-plugins-gpsnmea_files = "" +automotive-message-broker-plugins-gpsnmea_files += "${prefix}/lib/automotive-message-broker/gpsnmea.so" +MANIFESTFILES_${PN}-plugins-gpsnmea = "packaging.in/amb.manifest.plugins" + +FILES_${PN}-plugins-bluetooth = "${automotive-message-broker-plugins-bluetooth_files}" +FILES_${PN}-plugins-cangen = "${automotive-message-broker-plugins-cangen_files}" +FILES_${PN}-plugins-common = "${automotive-message-broker-plugins-common_files}" +FILES_${PN}-plugins-qtmainloop = "${automotive-message-broker-plugins-qtmainloop_files}" +FILES_${PN}-plugins-murphy = "${automotive-message-broker-plugins-murphy_files}" +FILES_${PN}-plugins = "${automotive-message-broker-plugins_files}" +FILES_${PN}-plugins-opencvlux = "${automotive-message-broker-plugins-opencvlux_files}" +FILES_${PN}-plugins-test = "${automotive-message-broker-plugins-test_files}" +FILES_${PN}-doc = "${automotive-message-broker-doc_files}" +FILES_${PN}-plugins-wheel = "${automotive-message-broker-plugins-wheel_files}" +FILES_${PN}-plugins-cansim = "${automotive-message-broker-plugins-cansim_files}" +FILES_${PN}-dev = "${automotive-message-broker-dev_files}" +FILES_${PN} = "${automotive-message-broker_files}" +FILES_${PN}-plugins-database = "${automotive-message-broker-plugins-database_files}" +FILES_${PN}-plugins-websocket = "${automotive-message-broker-plugins-websocket_files}" +FILES_${PN}-plugins-obd2 = "${automotive-message-broker-plugins-obd2_files}" +FILES_${PN}-plugins-gpsnmea = "${automotive-message-broker-plugins-gpsnmea_files}" + +PKG_automotive-message-broker-plugins-bluetooth= "automotive-message-broker-plugins-bluetooth" +PKG_automotive-message-broker-plugins-cangen= "automotive-message-broker-plugins-cangen" +PKG_automotive-message-broker-plugins-common= "automotive-message-broker-plugins-common" +PKG_automotive-message-broker-plugins-qtmainloop= "automotive-message-broker-plugins-qtmainloop" +PKG_automotive-message-broker-plugins-murphy= "automotive-message-broker-plugins-murphy" +PKG_automotive-message-broker-plugins= "automotive-message-broker-plugins" +PKG_automotive-message-broker-plugins-opencvlux= "automotive-message-broker-plugins-opencvlux" +PKG_automotive-message-broker-plugins-test= "automotive-message-broker-plugins-test" +PKG_automotive-message-broker-doc= "automotive-message-broker-doc" +PKG_automotive-message-broker-plugins-wheel= "automotive-message-broker-plugins-wheel" +PKG_automotive-message-broker-plugins-cansim= "automotive-message-broker-plugins-cansim" +PKG_automotive-message-broker-dev= "automotive-message-broker-dev" +PKG_automotive-message-broker= "automotive-message-broker" +PKG_automotive-message-broker-plugins-database= "automotive-message-broker-plugins-database" +PKG_automotive-message-broker-plugins-websocket= "automotive-message-broker-plugins-websocket" +PKG_automotive-message-broker-plugins-obd2= "automotive-message-broker-plugins-obd2" +PKG_automotive-message-broker-plugins-gpsnmea= "automotive-message-broker-plugins-gpsnmea" + +require automotive-message-broker-extraconf.inc + diff --git a/recipes-tizen/automotive-message-broker/automotive-message-broker_git.bb b/recipes-tizen/automotive-message-broker/automotive-message-broker_git.bb new file mode 100644 index 00000000..ec65d28c --- /dev/null +++ b/recipes-tizen/automotive-message-broker/automotive-message-broker_git.bb @@ -0,0 +1,10 @@ +require automotive-message-broker.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/profile/ivi/automotive-message-broker;tag=e059fd68a2e1da18084466b24a83ce889fc7a015;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/recipes-tizen/contacts-service/contacts-service-extraconf.inc b/recipes-tizen/contacts-service/contacts-service-extraconf.inc new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/recipes-tizen/contacts-service/contacts-service-extraconf.inc diff --git a/recipes-tizen/contacts-service/contacts-service.inc b/recipes-tizen/contacts-service/contacts-service.inc new file mode 100644 index 00000000..ffa761ad --- /dev/null +++ b/recipes-tizen/contacts-service/contacts-service.inc @@ -0,0 +1,185 @@ +DESCRIPTION = "Contacts Service" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Social & Contents/Contacts" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by contacts-service2 +PROVIDES += "contacts-service2" + + +#PROVIDES by contacts-service + + +#PROVIDES by contacts-service2-dev +PROVIDES += "contacts-service2-dev" + + +RDEPENDS = "" +#RDEPENDS of contacts-service2 (${PN}2) +RDEPENDS_${PN}2 += "libprivilege-control" + +#RDEPENDS of contacts-service (${PN}) +RDEPENDS_${PN} += "sqlite3" +RDEPENDS_${PN} += "/bin/chown" +RDEPENDS_${PN} += "eglibc" +RDEPENDS_${PN} += "vconf" +RDEPENDS_${PN} += "/bin/chmod" + +#RDEPENDS of contacts-service2-dev (${PN}2-dev) +RDEPENDS_${PN}2-dev += "contacts-service2" + + +DEPENDS = "" +#DEPENDS of contacts-service +DEPENDS += "pkgconfig(pims-ipc)" +DEPENDS_append_class-native = " cmake-native" +DEPENDS_append_class-target = " cmake-native" +DEPENDS += "smack" +DEPENDS += "pkgconfig(accounts-svc)" +DEPENDS += "tizen-platform-config" +DEPENDS += "libtapi-legacy" +DEPENDS += "dlog" +DEPENDS += "glib-2.0" +DEPENDS += "libexif" +DEPENDS += "pkgconfig(badge)" +DEPENDS += "icu" +DEPENDS += "security-server" +DEPENDS += "sqlite3" +DEPENDS += "pkgconfig(capi-media-image-util)" +DEPENDS += "vconf" +DEPENDS += "libslp-db-util" +DEPENDS += "common" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/contacts-service2.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 \ + ${EXTRA_OECMAKE} . -DTZ_SYS_ETC=${sysconfdir} + make ${PARALLEL_MAKE} + + + + +} + +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/lib/systemd/user/tizen-middleware.target.wants + install -m 0644 ${S}/packaging/contacts-service.service ${D}/usr/lib/systemd/user/contacts-service.service + ln -s ../contacts-service.service ${D}/usr/lib/systemd/user/tizen-middleware.target.wants/contacts-service.service + + mkdir -p ${D}/usr/lib/systemd/user/sockets.target.wants + install -m 0644 ${S}/packaging/contacts-service.socket ${D}/usr/lib/systemd/user/contacts-service.socket + ln -s ../contacts-service.socket ${D}/usr/lib/systemd/user/sockets.target.wants/contacts-service.socket + + + +} + +pkg_postinst_contacts-service2() { + #!/bin/sh -e + + [ "x\$D" == "x" ] && ldconfig + vconftool set -t int file/private/contacts-service/default_lang 0 -g 6005 -s contacts-service::vconf-private + vconftool set -t int db/contacts-svc/name_sorting_order 0 -g 6005 -s contacts-service::vconf + vconftool set -t int db/contacts-svc/name_display_order 0 -g 6005 -s contacts-service::vconf + vconftool set -t int db/contacts-svc/phonenumber_min_match_digit 8 -g 6005 -s contacts-service::vconf + +} + +pkg_postrm_contacts-service2() { + #!/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 += " contacts-service2 " +PACKAGES += " contacts-service2-dev " + +contacts-service2_files = "" +contacts-service2_files += "${prefix}/lib/libcontacts-service2.so.*" +contacts-service2_files += "${prefix}/bin/contacts-service-ipcd*" +contacts-service2_files += "/usr/lib/systemd/user/contacts-service.service" +contacts-service2_files += "/usr/lib/systemd/user/tizen-middleware.target.wants/contacts-service.service" +contacts-service2_files += "/usr/lib/systemd/user/sockets.target.wants/contacts-service.socket" +contacts-service2_files += "/usr/lib/systemd/user/contacts-service.socket" +MANIFESTFILES_${PN}2 = "contacts-service2.manifest" + +contacts-service2-dev_files = "" +contacts-service2-dev_files += "${prefix}/lib/libcontacts-service2.so" +contacts-service2-dev_files += "${prefix}/lib/pkgconfig/contacts-service2.pc" +contacts-service2-dev_files += "${prefix}/include/contacts-svc/contacts.h" +contacts-service2-dev_files += "${prefix}/include/contacts-svc/contacts_*.h" + +FILES_${PN}2 = "${contacts-service2_files}" +FILES_${PN}2-dev = "${contacts-service2-dev_files}" + +PKG_contacts-service2= "contacts-service2" +PKG_contacts-service2-dev= "contacts-service2-dev" + +require contacts-service-extraconf.inc + diff --git a/recipes-tizen/contacts-service/contacts-service_git.bb b/recipes-tizen/contacts-service/contacts-service_git.bb new file mode 100644 index 00000000..0c0ee6fd --- /dev/null +++ b/recipes-tizen/contacts-service/contacts-service_git.bb @@ -0,0 +1,10 @@ +require contacts-service.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/pim/contacts-service;tag=2fa3e1372427d1f65e0be8b51ad0fa58eb4e360e;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/recipes-tizen/crosswalk/crosswalk.inc b/recipes-tizen/crosswalk/crosswalk.inc index d1704723..ffdc6dfc 100644 --- a/recipes-tizen/crosswalk/crosswalk.inc +++ b/recipes-tizen/crosswalk/crosswalk.inc @@ -21,7 +21,6 @@ DEPENDS = "" #DEPENDS of crosswalk DEPENDS += "libhaptic" DEPENDS += "cairo" -DEPENDS += "expat" DEPENDS += "udev" DEPENDS += "app-core" DEPENDS += "libslp-sensor" @@ -55,6 +54,7 @@ DEPENDS += "vconf" DEPENDS += "nspr" DEPENDS += "dbus" DEPENDS += "libxkbcommon" +DEPENDS += "expat-dev" DEPENDS += "pulseaudio" DEPENDS += "location-manager" DEPENDS += "libexif" diff --git a/recipes-tizen/dlt-daemon/dlt-daemon-extraconf.inc b/recipes-tizen/dlt-daemon/dlt-daemon-extraconf.inc new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/recipes-tizen/dlt-daemon/dlt-daemon-extraconf.inc diff --git a/recipes-tizen/dlt-daemon/dlt-daemon.inc b/recipes-tizen/dlt-daemon/dlt-daemon.inc new file mode 100644 index 00000000..1caaf1dc --- /dev/null +++ b/recipes-tizen/dlt-daemon/dlt-daemon.inc @@ -0,0 +1,165 @@ +DESCRIPTION = "GENIVI Diagnostic Log and Trace" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Automotive/GENIVI" +LICENSE = "MPL-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by dlt-daemon + + +#PROVIDES by dlt-bin +PROVIDES += "dlt-bin" + + +#PROVIDES by dlt-dev +PROVIDES += "dlt-dev" + + +#PROVIDES by dlt-test +PROVIDES += "dlt-test" + + +#PROVIDES by dlt +PROVIDES += "dlt" + + +#PROVIDES by libdlt +PROVIDES += "libdlt" + + +RDEPENDS = "" +#RDEPENDS of dlt-dev (dlt-dev) +RDEPENDS_dlt-dev += "libdlt" + +#RDEPENDS of dlt (dlt) +RDEPENDS_dlt += "eglibc" + + +DEPENDS = "" +#DEPENDS of dlt +DEPENDS += "systemd" +DEPENDS += "zlib" +DEPENDS_append_class-native = " cmake-native" +DEPENDS_append_class-target = " cmake-native" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n dlt-2.9.1 + + +} +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 ; + + mkdir build + cd build + + cmake -DWITH_SYSTEMD=ON -DWITH_SYSTEMD_JOURNAL=ON \ + -DWITH_MAN=OFF -DWITH_DLT_EXAMPLES=OFF .. + make + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf "$RPM_BUILD_ROOT" + cd build + make install DESTDIR=$RPM_BUILD_ROOT + + +} + +pkg_postinst_libdlt() { + #!/bin/sh -e + + [ "x\$D" == "x" ] && ldconfig +} + +pkg_postrm_libdlt() { + #!/bin/sh -e + + [ "x\$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " dlt-dev " +PACKAGES += " dlt-bin " +PACKAGES += " dlt-daemon " +PACKAGES += " dlt-test " +PACKAGES += " libdlt " + +dlt-dev_files = "" +dlt-dev_files += "${prefix}/include/dlt/*" +dlt-dev_files += "${prefix}/lib/*.so" +dlt-dev_files += "${prefix}/lib/pkgconfig/*.pc" + +dlt-bin_files = "" +dlt-bin_files += "${prefix}/bin/dlt-adaptor*" +dlt-bin_files += "${prefix}/bin/dlt-convert" +dlt-bin_files += "${prefix}/bin/dlt-receive" +dlt-bin_files += "${prefix}/bin/dlt-system" +dlt-bin_files += "${prefix}/bin/dlt-control" +dlt-bin_files += "${sysconfdir}/dlt-system.conf" +dlt-bin_files += "${prefix}/lib/systemd/system/dlt-adaptor-udp.service" +dlt-bin_files += "${prefix}/lib/systemd/system/dlt-receive.service" +dlt-bin_files += "${prefix}/lib/systemd/system/dlt-system.service" +CONFFILES_dlt-bin = "" +CONFFILES_dlt-bin += "${sysconfdir}/dlt-system.conf" + +dlt-daemon_files = "" +dlt-daemon_files += "${prefix}/bin/dlt-daemon" +dlt-daemon_files += "${sysconfdir}/dlt.conf" +dlt-daemon_files += "${prefix}/lib/systemd/system/dlt.service" +CONFFILES_${PN} = "" +CONFFILES_${PN} += "${sysconfdir}/dlt.conf" + +dlt-test_files = "" +dlt-test_files += "${prefix}/bin/dlt-test*" +dlt-test_files += "${prefix}/share/dlt-filetransfer/*" + +libdlt_files = "" +libdlt_files += "${prefix}/lib/*so.*" + +FILES_dlt-dev = "${dlt-dev_files}" +FILES_dlt-bin = "${dlt-bin_files}" +FILES_${PN} = "${dlt-daemon_files}" +FILES_dlt-test = "${dlt-test_files}" +FILES_libdlt = "${libdlt_files}" + +PKG_dlt-dev= "dlt-dev" +PKG_dlt-bin= "dlt-bin" +PKG_dlt-daemon= "dlt-daemon" +PKG_dlt-test= "dlt-test" +PKG_libdlt= "libdlt" + +require dlt-daemon-extraconf.inc + diff --git a/recipes-tizen/dlt-daemon/dlt-daemon_git.bb b/recipes-tizen/dlt-daemon/dlt-daemon_git.bb new file mode 100644 index 00000000..b7504d15 --- /dev/null +++ b/recipes-tizen/dlt-daemon/dlt-daemon_git.bb @@ -0,0 +1,10 @@ +require dlt-daemon.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/profile/ivi/dlt-daemon;tag=9b6cc0899dae31aa158de56f68b98fa9dc4cf99c;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/recipes-tizen/efl-theme-tizen/efl-theme-tizen-extraconf.inc b/recipes-tizen/efl-theme-tizen/efl-theme-tizen-extraconf.inc new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/recipes-tizen/efl-theme-tizen/efl-theme-tizen-extraconf.inc diff --git a/recipes-tizen/efl-theme-tizen/efl-theme-tizen.inc b/recipes-tizen/efl-theme-tizen/efl-theme-tizen.inc new file mode 100644 index 00000000..5e6e8364 --- /dev/null +++ b/recipes-tizen/efl-theme-tizen/efl-theme-tizen.inc @@ -0,0 +1,109 @@ +DESCRIPTION = "Tizen theme files" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Libraries" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by efl-theme-tizen-dev +PROVIDES += "efl-theme-tizen-dev" + + +#PROVIDES by efl-theme-tizen-hd +PROVIDES += "efl-theme-tizen-hd" + + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of efl-theme-tizen-hd +DEPENDS += "efl" +inherit perlnative + +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 ; + + export CFLAGS+=" --fPIC" + export LDFLAGS+=" -Wl,--hash-style=both -Wl,--as-needed -Wl,--rpath=/usr/lib" + + make + + + + +} + +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 ${WORKDIR}/git/LICENSE ${D}/usr/share/license/efl-theme-tizen-hd + cp ${D}/usr/share/elementary/themes/tizen-HD-dark.edj ${D}/usr/share/elementary/themes/tizen-hd.edj + + +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " efl-theme-tizen-dev " +PACKAGES += " efl-theme-tizen-hd " + +efl-theme-tizen-dev_files = "" +efl-theme-tizen-dev_files += "/opt/var/efl-theme-tizen-edc/*" + +efl-theme-tizen-hd_files = "" +efl-theme-tizen-hd_files += "${prefix}/share/elementary/themes/tizen-HD-dark.edj" +efl-theme-tizen-hd_files += "${prefix}/share/elementary/themes/tizen-HD-light.edj" +efl-theme-tizen-hd_files += "${prefix}/share/elementary/themes/tizen-hd.edj" +efl-theme-tizen-hd_files += "/usr/share/license/efl-theme-tizen-hd" +MANIFESTFILES_${PN}-hd = "efl-theme-tizen-hd.manifest" + +FILES_${PN}-dev = "${efl-theme-tizen-dev_files}" +FILES_${PN}-hd = "${efl-theme-tizen-hd_files}" + +PKG_efl-theme-tizen-dev= "efl-theme-tizen-dev" +PKG_efl-theme-tizen-hd= "efl-theme-tizen-hd" + +require efl-theme-tizen-extraconf.inc + diff --git a/recipes-tizen/efl-theme-tizen/efl-theme-tizen_git.bb b/recipes-tizen/efl-theme-tizen/efl-theme-tizen_git.bb new file mode 100644 index 00000000..74e60e22 --- /dev/null +++ b/recipes-tizen/efl-theme-tizen/efl-theme-tizen_git.bb @@ -0,0 +1,10 @@ +require efl-theme-tizen.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/core/uifw/efl-theme-tizen;tag=3fa1ccde4d2fd7436720accabb70c63deedb87f3;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/recipes-tizen/evolution-data-server/evolution-data-server-extraconf.inc b/recipes-tizen/evolution-data-server/evolution-data-server-extraconf.inc new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/recipes-tizen/evolution-data-server/evolution-data-server-extraconf.inc diff --git a/recipes-tizen/evolution-data-server/evolution-data-server.inc b/recipes-tizen/evolution-data-server/evolution-data-server.inc new file mode 100644 index 00000000..149a3b04 --- /dev/null +++ b/recipes-tizen/evolution-data-server/evolution-data-server.inc @@ -0,0 +1,411 @@ +DESCRIPTION = "Evolution Data Server" +HOMEPAGE = "http://www.gnome.org" +SECTION = "Development/Libraries" +LICENSE = "LGPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by typelib-EBook +PROVIDES += "typelib-EBook" + + +#PROVIDES by evolution-data-server + + +#PROVIDES by typelib-EDataServer +PROVIDES += "typelib-EDataServer" + + +#PROVIDES by libedataserver +PROVIDES += "libedataserver" + + +#PROVIDES by libecal +PROVIDES += "libecal" + + +#PROVIDES by libcamel +PROVIDES += "libcamel" + + +#PROVIDES by libedata-cal +PROVIDES += "libedata-cal" + + +#PROVIDES by libebook-contacts +PROVIDES += "libebook-contacts" + + +#PROVIDES by typelib-EBookContacts +PROVIDES += "typelib-EBookContacts" + + +#PROVIDES by libedata-book +PROVIDES += "libedata-book" + + +#PROVIDES by evolution-data-server-doc +PROVIDES += "evolution-data-server-doc" + + +#PROVIDES by libebook +PROVIDES += "libebook" + + +#PROVIDES by libebackend +PROVIDES += "libebackend" + + +#PROVIDES by evolution-data-server-dev +PROVIDES += "evolution-data-server-dev" + + +RDEPENDS = "" +#RDEPENDS of evolution-data-server (${PN}) +RDEPENDS_${PN} += "glib2-tools" + +#RDEPENDS of evolution-data-server-doc (${PN}-doc) +RDEPENDS_${PN}-doc += "evolution-data-server" + +#RDEPENDS of evolution-data-server-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "typelib-EBook" +RDEPENDS_${PN}-dev += "evolution-data-server" +RDEPENDS_${PN}-dev += "typelib-EDataServer" +RDEPENDS_${PN}-dev += "libedataserver" +RDEPENDS_${PN}-dev += "libecal" +RDEPENDS_${PN}-dev += "libcamel" +RDEPENDS_${PN}-dev += "libedata-cal" +RDEPENDS_${PN}-dev += "eglibc" +RDEPENDS_${PN}-dev += "libedata-book" +RDEPENDS_${PN}-dev += "libebook" +RDEPENDS_${PN}-dev += "libebackend" + + +DEPENDS = "" +#DEPENDS of evolution-data-server +DEPENDS_append_class-native = " intltool-native" +DEPENDS_append_class-target = " intltool-native" +DEPENDS += "gnome-common" +DEPENDS += "gperf" +DEPENDS += "nss" +DEPENDS += "pkgconfig(gcr-base-3)" +DEPENDS += "eglibc-locale" +DEPENDS += "db" +#Replace "DEPENDS" on gettext by "inherit gettext" +inherit gettext +DEPENDS += "pkgconfig(libsecret-unstable)" +DEPENDS += "libsoup-2.4" +DEPENDS += "pkgconfig(gobject-introspection-1.0)" +DEPENDS += "icu" +DEPENDS += "pkgconfig(libical)" +DEPENDS += "sqlite3" +DEPENDS += "pkgconfig(python-2.7)" +DEPENDS_append_class-native = " fdupes-native" +DEPENDS_append_class-target = " fdupes-native" +DEPENDS += "vala" +DEPENDS += "gtk-doc" + +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 ; + + + # "maintainer mode" depends on GTK and is not needed + # for packaging, so disable it. + + + + autotools_do_configure + + make ${PARALLEL_MAKE} V=1 + + + +} +EXTRA_OECONF += " --libexecdir=${prefix}/libexec/evolution-data-server --disable-maintainer-mode --enable-ipv6= --enable-smime= --enable-nntp= --disable-static --disable-uoa --enable-goa=no --enable-weather=no --enable-gtk=no --enable-google=no --enable-vala-bindings --enable-introspection # end of configure line" + +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/help + #find_lang evolution-data-server-3.9 + mv evolution-data-server-3.9.lang evolution-data-server.lang + + _target=""; + _symlinks=0; + + fdupes -q -n -r ${D} | + while read _file; do + if test -z "$_target" ; then + _target="$_file"; + else + if test -z "$_file" ; then + _target=""; + continue ; + fi ; + if test "$_symlinks" = 1; then + ln -sf "${_target#${D}}" "$_file"; + else + ln -f "$_target" "$_file"; + fi ; + fi ; + done + + #lang_package + + +} + +pkg_postinst_libebook() { + #!/bin/sh -e + + [ "x\$D" == "x" ] && ldconfig +} + +pkg_postinst_libecal() { + #!/bin/sh -e + + [ "x\$D" == "x" ] && ldconfig +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + %glib2_gsettings_schema_post + +} + +pkg_postinst_libebackend() { + #!/bin/sh -e + + [ "x\$D" == "x" ] && ldconfig +} + +pkg_postinst_libedata-cal() { + #!/bin/sh -e + + [ "x\$D" == "x" ] && ldconfig +} + +pkg_postinst_libebook-contacts() { + #!/bin/sh -e + + [ "x\$D" == "x" ] && ldconfig +} + +pkg_postinst_libedataserver() { + #!/bin/sh -e + + [ "x\$D" == "x" ] && ldconfig +} + +pkg_postinst_libedata-book() { + #!/bin/sh -e + + [ "x\$D" == "x" ] && ldconfig +} + +pkg_postinst_libcamel() { + #!/bin/sh -e + + [ "x\$D" == "x" ] && ldconfig +} + +pkg_postrm_libedata-cal() { + #!/bin/sh -e + + [ "x\$D" == "x" ] && ldconfig +} + +pkg_postrm_libcamel() { + #!/bin/sh -e + + [ "x\$D" == "x" ] && ldconfig +} + +pkg_postrm_libedata-book() { + #!/bin/sh -e + + [ "x\$D" == "x" ] && ldconfig +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + %glib2_gsettings_schema_postun + +} + +pkg_postrm_libebackend() { + #!/bin/sh -e + + [ "x\$D" == "x" ] && ldconfig +} + +pkg_postrm_libedataserver() { + #!/bin/sh -e + + [ "x\$D" == "x" ] && ldconfig +} + +pkg_postrm_libecal() { + #!/bin/sh -e + + [ "x\$D" == "x" ] && ldconfig +} + +pkg_postrm_libebook() { + #!/bin/sh -e + + [ "x\$D" == "x" ] && ldconfig +} + +pkg_postrm_libebook-contacts() { + #!/bin/sh -e + + [ "x\$D" == "x" ] && ldconfig +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " typelib-EBook " +PACKAGES += " evolution-data-server " +PACKAGES += " typelib-EDataServer " +PACKAGES += " libecal " +PACKAGES += " libcamel " +PACKAGES += " libedataserver " +PACKAGES += " libedata-cal " +PACKAGES += " libebook-contacts " +PACKAGES += " typelib-EBookContacts " +PACKAGES += " libebook " +PACKAGES += " libedata-book " +PACKAGES += " libebackend " +PACKAGES += " evolution-data-server-dev " + +typelib-EBook_files = "" +typelib-EBook_files += "${prefix}/lib/girepository-1.0/EBook-1.2.typelib" + +evolution-data-server_files = "" +evolution-data-server_files += "${prefix}/share/GConf/gsettings/evolution-data-server.convert" +evolution-data-server_files += "${prefix}/share/GConf/gsettings/libedataserver.convert" +evolution-data-server_files += "${prefix}/share/glib-2.0/schemas/org.gnome.Evolution.DefaultSources.gschema.xml" +evolution-data-server_files += "${prefix}/share/glib-2.0/schemas/org.gnome.evolution.eds-shell.gschema.xml" +evolution-data-server_files += "${prefix}/share/glib-2.0/schemas/org.gnome.evolution.shell.network-config.gschema.xml" +evolution-data-server_files += "${prefix}/share/glib-2.0/schemas/org.gnome.evolution-data-server.addressbook.gschema.xml" +evolution-data-server_files += "${prefix}/share/glib-2.0/schemas/org.gnome.evolution-data-server.calendar.gschema.xml" +evolution-data-server_files += "${prefix}/share/pixmaps/evolution-data-server/" +evolution-data-server_files += "${prefix}/share/dbus-1/services/org.gnome.evolution.dataserver.*.service" +evolution-data-server_files += "${prefix}/lib/evolution-data-server/" +evolution-data-server_files += "${prefix}/libexec/evolution-data-server/" + +typelib-EDataServer_files = "" +typelib-EDataServer_files += "${prefix}/lib/girepository-1.0/EDataServer-1.2.typelib" + +libecal_files = "" +libecal_files += "${prefix}/lib/libecal-1.2.so.15*" + +libcamel_files = "" +libcamel_files += "${prefix}/lib/libcamel-1.2.so.43*" + +libedataserver_files = "" +libedataserver_files += "${prefix}/lib/libedataserver-1.2.so.17*" + +libedata-cal_files = "" +libedata-cal_files += "${prefix}/lib/libedata-cal-1.2.so.20*" + +libebook-contacts_files = "" +libebook-contacts_files += "${prefix}/lib/libebook-contacts-1.2.so.0*" + +typelib-EBookContacts_files = "" +typelib-EBookContacts_files += "${prefix}/lib/girepository-1.0/EBookContacts-1.2.typelib" + +libebook_files = "" +libebook_files += "${prefix}/lib/libebook-1.2.so.14*" + +libedata-book_files = "" +libedata-book_files += "${prefix}/lib/libedata-book-1.2.so.17*" + +libebackend_files = "" +libebackend_files += "${prefix}/lib/libebackend-1.2.so.6*" + +evolution-data-server-dev_files = "" +evolution-data-server-dev_files += "${prefix}/include/evolution-data-server/" +evolution-data-server-dev_files += "${prefix}/lib/*.so" +evolution-data-server-dev_files += "${prefix}/lib/pkgconfig/*.pc" +evolution-data-server-dev_files += "${prefix}/share/gir-1.0/*.gir" +evolution-data-server-dev_files += "${prefix}/share/vala" +evolution-data-server-dev_files += "${prefix}/share/vala/vapi" +evolution-data-server-dev_files += "${prefix}/share/vala/vapi/*.deps" +evolution-data-server-dev_files += "${prefix}/share/vala/vapi/*.vapi" +DIRFILES_${PN}-dev = "" +DIRFILES_${PN}-dev += "${prefix}/share/vala" +DIRFILES_${PN}-dev += "${prefix}/share/vala/vapi" + +FILES_typelib-EBook = "${typelib-EBook_files}" +FILES_${PN} = "${evolution-data-server_files}" +FILES_typelib-EDataServer = "${typelib-EDataServer_files}" +FILES_libecal = "${libecal_files}" +FILES_libcamel = "${libcamel_files}" +FILES_libedataserver = "${libedataserver_files}" +FILES_libedata-cal = "${libedata-cal_files}" +FILES_libebook-contacts = "${libebook-contacts_files}" +FILES_typelib-EBookContacts = "${typelib-EBookContacts_files}" +FILES_libebook = "${libebook_files}" +FILES_libedata-book = "${libedata-book_files}" +FILES_libebackend = "${libebackend_files}" +FILES_${PN}-dev = "${evolution-data-server-dev_files}" + +PKG_typelib-EBook= "typelib-EBook" +PKG_evolution-data-server= "evolution-data-server" +PKG_typelib-EDataServer= "typelib-EDataServer" +PKG_libecal= "libecal" +PKG_libcamel= "libcamel" +PKG_libedataserver= "libedataserver" +PKG_libedata-cal= "libedata-cal" +PKG_libebook-contacts= "libebook-contacts" +PKG_typelib-EBookContacts= "typelib-EBookContacts" +PKG_libebook= "libebook" +PKG_libedata-book= "libedata-book" +PKG_libebackend= "libebackend" +PKG_evolution-data-server-dev= "evolution-data-server-dev" + +require evolution-data-server-extraconf.inc + diff --git a/recipes-tizen/evolution-data-server/evolution-data-server_git.bb b/recipes-tizen/evolution-data-server/evolution-data-server_git.bb new file mode 100644 index 00000000..c2a3a6c2 --- /dev/null +++ b/recipes-tizen/evolution-data-server/evolution-data-server_git.bb @@ -0,0 +1,10 @@ +require evolution-data-server.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/platform/upstream/evolution-data-server;tag=f8f9a927b8170f19a668d9664ca0bf747368a8b4;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/recipes-tizen/festival/festival-extraconf.inc b/recipes-tizen/festival/festival-extraconf.inc new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/recipes-tizen/festival/festival-extraconf.inc diff --git a/recipes-tizen/festival/festival.inc b/recipes-tizen/festival/festival.inc new file mode 100644 index 00000000..4c4636fd --- /dev/null +++ b/recipes-tizen/festival/festival.inc @@ -0,0 +1,257 @@ +DESCRIPTION = "A free speech synthesis and text-to-speech system" +HOMEPAGE = "http://www.cstr.ed.ac.uk/projects/festival/" +SECTION = "System/Libraries" +LICENSE = "MIT and GPL+ and TCL" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by festival + + +#PROVIDES by festival-dev +PROVIDES += "festival-dev" + + +RDEPENDS = "" +#RDEPENDS of festival-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "festival" + + +DEPENDS = "" +#DEPENDS of festival +DEPENDS += "ncurses" + +do_prep() { + cd ${S} + #extracte source 1 + pushd ${S}/../ + unp ${S}/packaging/speech_tools-2.1-release.tar.gz + popd + #extracte source 2 + pushd ${S}/../ + unp ${S}/packaging/festlex_CMU.tar.gz + popd + #extracte source 3 + pushd ${S}/../ + unp ${S}/packaging/festvox_kallpc16k.tar.gz + popd + #extracte source 4 + pushd ${S}/../ + unp ${S}/packaging/festlex_POSLEX.tar.gz + popd + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -b 1 -b 2 -b 3 -b 4 + mv ../festival/lib/* lib/ + cat ${S}/packaging/festival-1.95-examples.patch | patch -s -p1 --fuzz=2 + #patch0 -p1 + cat ${S}/packaging/festival-text2wave-manpage.patch | patch -s -p1 --fuzz=2 + #patch1 -p1 + cat ${S}/packaging/festival-1.95-libdir.patch | patch -s -p0 --fuzz=2 + #patch2 + cat ${S}/packaging/festival-1.95-audsp.patch | patch -s -p0 --fuzz=2 + #patch3 + cat ${S}/packaging/festival-1.96-chroot.patch | patch -s -p0 --fuzz=2 + #patch4 + cat ${S}/packaging/festival-no-LD_LIBRARY_PATH-extension.patch | patch -s -p1 --fuzz=2 + #patch5 -p1 + cat ${S}/packaging/festival-safe-temp-file.patch | patch -s -p1 --fuzz=2 + #patch6 -p1 + cat ${S}/packaging/festival-use-pacat.patch | patch -s -p1 -b --suffix .use-pacat --fuzz=2 + #patch7 -p1 -b .use-pacat + cd ../speech_tools + cat ${S}/packaging/speech_tools-undefined-operation.patch | patch -s -p1 --fuzz=2 + #patch101 -p1 + cat ${S}/packaging/speech_tools-1.2.95-config.patch | patch -s -p0 --fuzz=2 + #patch102 + cat ${S}/packaging/speech_tools-no-LD_LIBRARY_PATH-extension.patch | patch -s -p1 --fuzz=2 + #patch103 -p1 + cat ${S}/packaging/speech_tools-gcc47.patch | patch -s -p1 --fuzz=2 + #patch104 -p1 + + cat ${S}/packaging/festival-1.96-speechtools-shared-build.patch | patch -s -p2 -b --suffix .shared-build --fuzz=2 + #patch200 -p2 -b .shared-build + cat ${S}/packaging/festival-1.96-bettersonamehack.patch | patch -s -p2 -b --suffix .bettersoname --fuzz=2 + #patch201 -p2 -b .bettersoname + cat ${S}/packaging/festival-1.96-main-speech_tools-shared-build.patch | patch -s -p2 -b --suffix .shared --fuzz=2 + #patch205 -p2 -b .shared + cd ../festival-2.1 + cat ${S}/packaging/festival-1.96-main-festival-shared-build.patch | patch -s -p1 -b --suffix .shared --fuzz=2 + #patch206 -p1 -b .shared + cd ../speech_tools + cat ${S}/packaging/no-shared-data.patch | patch -s -p1 -b --suffix .no-shared-data --fuzz=2 + #patch210 -p1 -b .no-shared-data + cat ${S}/packaging/festival-1.96-speechtools-linklibswithotherlibs.patch | patch -s -p1 -b --suffix .linklibswithotherlibs --fuzz=2 + #patch211 -p1 -b .linklibswithotherlibs + + +} +do_patch_append() { + bb.build.exec_func('do_prep', d) +} + +do_configure() { +} + +do_compile() { +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + cd .. + export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$(pwd)/speech_tools/lib + export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$(pwd)/festival-2.1/src/lib + cd - + # + 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 -- + #make INSTALLED_BIN=$RPM_BUILD_ROOT${prefix}/bin make_installed_bin_shared + cd ../speech_tools + + 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 -- + cd ../festival-2.1 + # install binarys + install -D bin/text2wave $RPM_BUILD_ROOT${prefix}/bin/text2wave + install -m 755 src/main/festival $RPM_BUILD_ROOT${prefix}/bin/ + install -m 755 src/main/festival_client $RPM_BUILD_ROOT${prefix}/bin/ + install -m 755 bin/festival_server* $RPM_BUILD_ROOT${prefix}/bin/ + install -m 755 examples/saytime $RPM_BUILD_ROOT${prefix}/bin/ + # install manpages + install -D -m 644 doc/festival.1 $RPM_BUILD_ROOT${mandir}/man1/festival.1 + install -m 644 doc/festival_client.1 $RPM_BUILD_ROOT${mandir}/man1/ + install -m 644 doc/text2wave.1 $RPM_BUILD_ROOT${mandir}/man1/ + # install configs + install -D lib/festival.scm $RPM_BUILD_ROOT${sysconfdir}/festival.scm + # install dictionarys + install -D lib/dicts/cmu/cmudict-0.4.out $RPM_BUILD_ROOT${prefix}/share/festival/dicts/cmu/cmudict-0.4.out + install -m 644 lib/dicts/cmu/*.scm $RPM_BUILD_ROOT${prefix}/share/festival/dicts/cmu/ + install -m 644 lib/dicts/wsj.wp39.poslexR $RPM_BUILD_ROOT${prefix}/share/festival/dicts/ + install -m 644 lib/dicts/wsj.wp39.tri.ngrambin $RPM_BUILD_ROOT${prefix}/share/festival/dicts/ + # install voices + mkdir -p $RPM_BUILD_ROOT/usr/share/festival/voices/english/kal_diphone/festvox + mkdir -p $RPM_BUILD_ROOT/usr/share/festival/voices/english/kal_diphone/group + cp lib/voices/english/kal_diphone/group/* $RPM_BUILD_ROOT/usr/share/festival/voices/english/kal_diphone/group/ + cp lib/voices/english/kal_diphone/festvox/*.scm $RPM_BUILD_ROOT/usr/share/festival/voices/english/kal_diphone/festvox + # install data + cp lib/*.scm $RPM_BUILD_ROOT/usr/share/festival/ + cp lib/*.ngrambin $RPM_BUILD_ROOT/usr/share/festival/ + cp lib/*.gram $RPM_BUILD_ROOT/usr/share/festival/ + cp lib/*.el $RPM_BUILD_ROOT/usr/share/festival/ + install -D lib/etc/unknown_Linux/audsp $RPM_BUILD_ROOT/usr/lib/festival/audsp + # install libs + install -D src/lib/libFestival.so $RPM_BUILD_ROOT/${prefix}/lib/libFestival.so + # install includes + mkdir -p $RPM_BUILD_ROOT${prefix}/include/ + install -m 644 src/include/*.h $RPM_BUILD_ROOT${prefix}/include/ + cd ../speech_tools + # install includes + mkdir -p $RPM_BUILD_ROOT${prefix}/include/instantiate + mkdir -p $RPM_BUILD_ROOT${prefix}/include/ling_class + mkdir -p $RPM_BUILD_ROOT${prefix}/include/rxp + mkdir -p $RPM_BUILD_ROOT${prefix}/include/sigpr + mkdir -p $RPM_BUILD_ROOT${prefix}/include/unix + install -m 644 include/*h $RPM_BUILD_ROOT${prefix}/include + install -m 644 include/instantiate/*h $RPM_BUILD_ROOT${prefix}/include/instantiate + install -m 644 include/ling_class/*h $RPM_BUILD_ROOT${prefix}/include/ling_class + install -m 644 include/rxp/*h $RPM_BUILD_ROOT${prefix}/include/rxp + install -m 644 include/sigpr/*h $RPM_BUILD_ROOT${prefix}/include/sigpr + install -m 644 include/unix/*h $RPM_BUILD_ROOT${prefix}/include/unix + # make sure we have no static libs, install shared ones + install -m 644 lib/lib*.so* $RPM_BUILD_ROOT${prefix}/lib + rm -f $RPM_BUILD_ROOT${prefix}/lib/*.a + + # install init script + # install -m 755 -D %SOURCE6 $RPM_BUILD_ROOT/etc/init.d/festival + # install -d $RPM_BUILD_ROOT${prefix}/sbin + # ln -sf ../../etc/init.d/festival $RPM_BUILD_ROOT/usr/sbin/rcfestival + # installl sysconfig file + #install -m 644 -D %SOURCE5 $RPM_BUILD_ROOT/var/adm/fillup-templates/sysconfig.festival + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + ldconfig + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + ldconfig + +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + ldconfig + +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + ldconfig + +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " festival " +PACKAGES += " festival-dev " + +festival_files = "" +festival_files += "COPYING README INSTALL examples/*.text examples/ex1.* examples/*.scm examples/*.dtd" +festival_files += "${sysconfdir}/festival.scm" +festival_files += "${prefix}/bin/festival" +festival_files += "${prefix}/bin/festival_client" +festival_files += "${prefix}/bin/festival_server" +festival_files += "${prefix}/bin/festival_server_control" +festival_files += "${prefix}/bin/text2wave" +festival_files += "${prefix}/bin/saytime" +festival_files += "${prefix}/lib/libe*.so.*" +festival_files += "${prefix}/lib/libFestival.so" +festival_files += "${prefix}/lib/festival" +festival_files += "${prefix}/share/festival" +festival_files += "${mandir}/man1/*" + +festival-dev_files = "" +festival-dev_files += "${prefix}/include/*" +festival-dev_files += "${prefix}/lib/libe*.so" + +FILES_${PN} = "${festival_files}" +FILES_${PN}-dev = "${festival-dev_files}" + +PKG_festival= "festival" +PKG_festival-dev= "festival-dev" + +require festival-extraconf.inc + diff --git a/recipes-tizen/festival/festival_git.bb b/recipes-tizen/festival/festival_git.bb new file mode 100644 index 00000000..fda5f907 --- /dev/null +++ b/recipes-tizen/festival/festival_git.bb @@ -0,0 +1,10 @@ +require festival.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/profile/ivi/festival;tag=46c12f13085720f0758c2f205acf9768e22a3f47;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/recipes-tizen/genivi-audio-manager/genivi-audio-manager-extraconf.inc b/recipes-tizen/genivi-audio-manager/genivi-audio-manager-extraconf.inc new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/recipes-tizen/genivi-audio-manager/genivi-audio-manager-extraconf.inc diff --git a/recipes-tizen/genivi-audio-manager/genivi-audio-manager.inc b/recipes-tizen/genivi-audio-manager/genivi-audio-manager.inc new file mode 100644 index 00000000..cae91756 --- /dev/null +++ b/recipes-tizen/genivi-audio-manager/genivi-audio-manager.inc @@ -0,0 +1,115 @@ +DESCRIPTION = "GENIVI Audio Manager" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Automotive/API" +LICENSE = "MPL-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by genivi-audio-manager-dev +PROVIDES += "genivi-audio-manager-dev" + + +#PROVIDES by genivi-audio-manager + + +RDEPENDS = "" +#RDEPENDS of genivi-audio-manager-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "genivi-audio-manager" + +#RDEPENDS of genivi-audio-manager (${PN}) +RDEPENDS_${PN} += "eglibc" + + +DEPENDS = "" +#DEPENDS of genivi-audio-manager +DEPENDS += "systemd" +DEPENDS += "dlt-daemon" +DEPENDS_append_class-native = " cmake-native" +DEPENDS_append_class-target = " cmake-native" +inherit pythonnative +DEPENDS += "dbus" +DEPENDS += "zlib" +DEPENDS += "sqlite3" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n genivi-audio-manager-3.2 + + +} +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 ; + + mkdir build + cd build + + cmake -DUSE_BUILD_LIBS=OFF -DWITH_TESTS=OFF -DWITH_DBUS_WRAPPER=ON -DWITH_NSM=OFF -DCMAKE_INSTALL_PREFIX=/usr .. + #make VERBOSE=1 + make ${PARALLEL_MAKE} + + + +} + +do_install() { + echo export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf "$RPM_BUILD_ROOT" + cd build + make install DESTDIR=$RPM_BUILD_ROOT + mkdir $RPM_BUILD_ROOT${prefix}/include/genivi-audio-manager + mv $RPM_BUILD_ROOT${prefix}/include/*.h $RPM_BUILD_ROOT${prefix}/include/command $RPM_BUILD_ROOT${prefix}/include/control $RPM_BUILD_ROOT${prefix}/include/routing $RPM_BUILD_ROOT${prefix}/include/shared $RPM_BUILD_ROOT${prefix}/include/genivi-audio-manager + rm $RPM_BUILD_ROOT${prefix}/lib/audioManager/routing/libPluginRoutingInterfaceAsync.so* + + +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " genivi-audio-manager-dev " +PACKAGES += " genivi-audio-manager " + +genivi-audio-manager-dev_files = "" +genivi-audio-manager-dev_files += "${prefix}/include/genivi-audio-manager/*" + +genivi-audio-manager_files = "" +genivi-audio-manager_files += "LICENCE README.html" +genivi-audio-manager_files += "${prefix}/bin/AudioManager" +genivi-audio-manager_files += "${prefix}/lib/audioManager/command/libPluginCommandInterfaceDbus.so*" +genivi-audio-manager_files += "${prefix}/lib/audioManager/routing/libPluginRoutingInterfaceDbus.so*" +genivi-audio-manager_files += "${prefix}/lib/audioManager/control/libPluginControlInterface.so*" +genivi-audio-manager_files += "${prefix}/lib/audioManager/control/libPluginControlInterfaceDbus.so*" +genivi-audio-manager_files += "${prefix}/share/audiomanager/*xml" + +FILES_${PN}-dev = "${genivi-audio-manager-dev_files}" +FILES_${PN} = "${genivi-audio-manager_files}" + +PKG_genivi-audio-manager-dev= "genivi-audio-manager-dev" +PKG_genivi-audio-manager= "genivi-audio-manager" + +require genivi-audio-manager-extraconf.inc + diff --git a/recipes-tizen/genivi-audio-manager/genivi-audio-manager_git.bb b/recipes-tizen/genivi-audio-manager/genivi-audio-manager_git.bb new file mode 100644 index 00000000..e9ef86db --- /dev/null +++ b/recipes-tizen/genivi-audio-manager/genivi-audio-manager_git.bb @@ -0,0 +1,10 @@ +require genivi-audio-manager.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/profile/ivi/genivi/genivi-audio-manager;tag=c408bbaa028e734b541f08fe4cff122b3da4c4ec;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/recipes-tizen/ico-uxf-device-input-controller/ico-uxf-device-input-controller-extraconf.inc b/recipes-tizen/ico-uxf-device-input-controller/ico-uxf-device-input-controller-extraconf.inc new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/recipes-tizen/ico-uxf-device-input-controller/ico-uxf-device-input-controller-extraconf.inc diff --git a/recipes-tizen/ico-uxf-device-input-controller/ico-uxf-device-input-controller.inc b/recipes-tizen/ico-uxf-device-input-controller/ico-uxf-device-input-controller.inc new file mode 100644 index 00000000..f9ffe902 --- /dev/null +++ b/recipes-tizen/ico-uxf-device-input-controller/ico-uxf-device-input-controller.inc @@ -0,0 +1,111 @@ +DESCRIPTION = "Device Input Controller" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Graphics & UI Framework/Input" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by ico-uxf-device-input-controller + + +RDEPENDS = "" +#RDEPENDS of ico-uxf-device-input-controller (${PN}) +RDEPENDS_${PN} += "weston" +RDEPENDS_${PN} += "ico-uxf-utilities" +RDEPENDS_${PN} += "ico-uxf-weston-plugin" + + +DEPENDS = "" +#DEPENDS of ico-uxf-device-input-controller +DEPENDS += "glib-2.0" +DEPENDS += "wayland" +DEPENDS += "ico-uxf-utilities-dev" +DEPENDS += "ico-uxf-weston-plugin-dev" +DEPENDS += "mesa" +DEPENDS += "mesa-dev" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n ico-uxf-device-input-controller-0.9.06 + + +} +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 + oe_runmake ${PARALLEL_MAKE} + + + +} +EXTRA_OECONF += "" + +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 -- + + # configurations + mkdir -p ${D}/opt/etc/ico/device-input-controller + mkdir -p ${D}/lib/systemd/user + install -m 0644 settings/drivingforcegt.conf ${D}/opt/etc/ico/device-input-controller + install -m 0644 settings/g27racingwheel.conf ${D}/opt/etc/ico/device-input-controller + install -m 0755 settings/set_daynight.sh ${D}/opt/etc/ico/device-input-controller + install -m 644 settings/ico-device-input-controller.service ${D}/lib/systemd/user/ico-device-input-controller.service + + +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " ico-uxf-device-input-controller " + +ico-uxf-device-input-controller_files = "" +ico-uxf-device-input-controller_files += "${prefix}/bin/ico_dic-gtforce" +ico-uxf-device-input-controller_files += "/opt/etc/ico/device-input-controller/drivingforcegt.conf" +ico-uxf-device-input-controller_files += "/opt/etc/ico/device-input-controller/g27racingwheel.conf" +ico-uxf-device-input-controller_files += "/opt/etc/ico/device-input-controller/set_daynight.sh" +ico-uxf-device-input-controller_files += "/lib/systemd/user/ico-device-input-controller.service" +MANIFESTFILES_${PN} = "ico-uxf-device-input-controller.manifest" + +FILES_${PN} = "${ico-uxf-device-input-controller_files}" + +PKG_ico-uxf-device-input-controller= "ico-uxf-device-input-controller" + +require ico-uxf-device-input-controller-extraconf.inc + diff --git a/recipes-tizen/ico-uxf-device-input-controller/ico-uxf-device-input-controller_git.bb b/recipes-tizen/ico-uxf-device-input-controller/ico-uxf-device-input-controller_git.bb new file mode 100644 index 00000000..d2b82b17 --- /dev/null +++ b/recipes-tizen/ico-uxf-device-input-controller/ico-uxf-device-input-controller_git.bb @@ -0,0 +1,10 @@ +require ico-uxf-device-input-controller.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/profile/ivi/ico-uxf-device-input-controller;tag=6554394e29dc2c8409726a096beef43083f28145;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/recipes-tizen/ico-uxf-homescreen-sample-apps/ico-uxf-homescreen-sample-apps-extraconf.inc b/recipes-tizen/ico-uxf-homescreen-sample-apps/ico-uxf-homescreen-sample-apps-extraconf.inc new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/recipes-tizen/ico-uxf-homescreen-sample-apps/ico-uxf-homescreen-sample-apps-extraconf.inc diff --git a/recipes-tizen/ico-uxf-homescreen-sample-apps/ico-uxf-homescreen-sample-apps.inc b/recipes-tizen/ico-uxf-homescreen-sample-apps/ico-uxf-homescreen-sample-apps.inc new file mode 100644 index 00000000..c7a7e90f --- /dev/null +++ b/recipes-tizen/ico-uxf-homescreen-sample-apps/ico-uxf-homescreen-sample-apps.inc @@ -0,0 +1,214 @@ +DESCRIPTION = "HomeScreen sample application" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/GUI" +LICENSE = "Apache License, Version 2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by ico-uxf-homescreen-sample-apps + + +RDEPENDS = "" +#RDEPENDS of ico-uxf-homescreen-sample-apps (${PN}) +RDEPENDS_${PN} += "libpulse" +RDEPENDS_${PN} += "ico-uxf-utilities" +RDEPENDS_${PN} += "edbus" +RDEPENDS_${PN} += "weekeyboard" +RDEPENDS_${PN} += "weston-ivi-shell-clients" +RDEPENDS_${PN} += "ico-uxf-homescreen" +RDEPENDS_${PN} += "evas" +RDEPENDS_${PN} += "dbus" +RDEPENDS_${PN} += "capi-appfw-application" +RDEPENDS_${PN} += "weston" +RDEPENDS_${PN} += "ico-vic-amb-plugin" +RDEPENDS_${PN} += "automotive-message-broker" +RDEPENDS_${PN} += "elementary" +RDEPENDS_${PN} += "ecore" +RDEPENDS_${PN} += "glib2" +RDEPENDS_${PN} += "dbus-glib" +RDEPENDS_${PN} += "ico-uxf-weston-plugin" + + +DEPENDS = "" +#DEPENDS of ico-uxf-homescreen-sample-apps +DEPENDS += "edje" +DEPENDS += "edbus" +DEPENDS += "application" +DEPENDS += "evas" +DEPENDS += "dbus" +DEPENDS += "aul" +DEPENDS += "bundle" +DEPENDS += "glib-2.0" +DEPENDS += "eina" +DEPENDS += "ico-uxf-utilities-dev" +DEPENDS += "libpulse-dev" +DEPENDS += "elementary" +DEPENDS += "ecore" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n ico-uxf-homescreen-sample-apps-0.9.8 + + +} +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 ; + + autoreconf --install + + + autotools_do_configure + make ${PARALLEL_MAKE} + + + +} +EXTRA_OECONF += "" + +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 -- + + # create tizen package metadata related directories + mkdir -p ${D}${prefix}/share/packages/ + mkdir -p ${D}${prefix}/share/icons/default/small + + # configurations(ico-app-soundsample) + + mkdir -p ${D}/usr/apps/org.tizen.ico.app-soundsample/bin/ + mkdir -p ${D}/usr/apps/org.tizen.ico.app-soundsample/sounds/ + mkdir -p ${D}/usr/apps/org.tizen.ico.app-soundsample/res/icons/default/small/ + mkdir -p ${D}/usr/apps/org.tizen.ico.app-soundsample/res/images/ + install -m 0644 ico-app-soundsample/soundsample_config.txt ${D}/usr/apps/org.tizen.ico.app-soundsample/res/ + install -m 0644 ico-app-soundsample/sound_bg.png ${D}/usr/apps/org.tizen.ico.app-soundsample/res/images/ + install -m 0644 ico-app-soundsample/org.tizen.ico.app-soundsample.png ${D}/usr/apps/org.tizen.ico.app-soundsample/res/icons/default/small/ + install -m 0644 ico-app-soundsample/musicbox.wav ${D}/usr/apps/org.tizen.ico.app-soundsample/sounds/ + install -m 0644 ico-app-soundsample/org.tizen.ico.app-soundsample.xml ${D}${prefix}/share/packages/ + + # configurations(ico-app-vicsample) + + mkdir -p ${D}/usr/apps/org.tizen.ico.app-vicsample/bin/ + mkdir -p ${D}/usr/apps/org.tizen.ico.app-vicsample/res/icons/default/small/ + mkdir -p ${D}/usr/apps/org.tizen.ico.app-vicsample/res/images/ + install -m 0644 ico-app-vicsample/vicsample_config.txt ${D}/usr/apps/org.tizen.ico.app-vicsample/res/ + install -m 0644 ico-app-vicsample/vicinfo_bg.png ${D}/usr/apps/org.tizen.ico.app-vicsample/res/images/ + install -m 0644 ico-app-vicsample/org.tizen.ico.app-vicsample.png ${D}/usr/apps/org.tizen.ico.app-vicsample/res/icons/default/small/ + install -m 0644 ico-app-vicsample/org.tizen.ico.app-vicsample.xml ${D}${prefix}/share/packages/ + + # configurations(ico-app-miscellaneous) + # install tizen package metadata for weston-terminal + install -m 0644 ico-app-miscellaneous/terminal.xml ${D}${prefix}/share/packages/ + + # install browser package metadata for MiniBrowser + mkdir -p ${D}${prefix}/bin + install -m 0644 ico-app-miscellaneous/browser.xml ${D}${prefix}/share/packages/ + install -m 0644 ico-app-miscellaneous/browser.png ${D}${prefix}/share/icons/default/small/ + install -m 0755 ico-app-miscellaneous/browser ${D}${prefix}/bin + + # install tizen package metadata for weekeyboard + install -m 0644 ico-app-miscellaneous/weekeyboard.xml ${D}${prefix}/share/packages/ + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x\$D" == "x" ] && ldconfig + # This icon exists in main weston package so we don't package it in. + # Create a symbolic link to it instead. + ln -s $D${prefix}/share/weston/terminal.png $D${prefix}/share/icons/default/small/ + # Update the app database. + $D${prefix}/bin/pkginfo --imd /usr/share/packages/org.tizen.ico.app-soundsample.xml + $D${prefix}/bin/pkginfo --imd /usr/share/packages/org.tizen.ico.app-vicsample.xml + $D${prefix}/bin/pkginfo --imd /usr/share/packages/browser.xml + $D${prefix}/bin/pkginfo --imd /usr/share/packages/terminal.xml + +} + +pkg_prerm_${PN}() { + #!/bin/sh -e + + # Update the app database. + $D${prefix}/bin/pkginfo --rmd /usr/share/packages/org.tizen.ico.app-soundsample.xml + $D${prefix}/bin/pkginfo --rmd /usr/share/packages/org.tizen.ico.app-vicsample.xml + $D${prefix}/bin/pkginfo --rmd /usr/share/packages/browser.xml + $D${prefix}/bin/pkginfo --rmd /usr/share/packages/terminal.xml + +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x\$D" == "x" ] && ldconfig + rm -f /usr/share/applications/org.tizen.ico.app-soundsample.desktop + rm -f /usr/share/applications/org.tizen.ico.app-vicsample.desktop + rm -f /usr/share/applications/browser.desktop + rm -f /usr/share/applications/terminal.desktop + rm -f $D${prefix}/share/icons/default/small/terminal.png + +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " ico-uxf-homescreen-sample-apps " + +ico-uxf-homescreen-sample-apps_files = "" +ico-uxf-homescreen-sample-apps_files += "/usr/apps/org.tizen.ico.app-soundsample/bin/ico-app-soundsample" +ico-uxf-homescreen-sample-apps_files += "/usr/apps/org.tizen.ico.app-soundsample/res/soundsample_config.txt" +ico-uxf-homescreen-sample-apps_files += "/usr/apps/org.tizen.ico.app-soundsample/res/images/sound_bg.png" +ico-uxf-homescreen-sample-apps_files += "/usr/apps/org.tizen.ico.app-soundsample/res/icons/default/small/org.tizen.ico.app-soundsample.png" +ico-uxf-homescreen-sample-apps_files += "/usr/apps/org.tizen.ico.app-soundsample/sounds/musicbox.wav" +ico-uxf-homescreen-sample-apps_files += "${prefix}/share/packages/org.tizen.ico.app-soundsample.xml" +ico-uxf-homescreen-sample-apps_files += "/usr/apps/org.tizen.ico.app-vicsample/bin/ico-app-vicsample" +ico-uxf-homescreen-sample-apps_files += "/usr/apps/org.tizen.ico.app-vicsample/res/vicsample_config.txt" +ico-uxf-homescreen-sample-apps_files += "/usr/apps/org.tizen.ico.app-vicsample/res/images/vicinfo_bg.png" +ico-uxf-homescreen-sample-apps_files += "/usr/apps/org.tizen.ico.app-vicsample/res/icons/default/small/org.tizen.ico.app-vicsample.png" +ico-uxf-homescreen-sample-apps_files += "/usr/share/packages/org.tizen.ico.app-vicsample.xml" +ico-uxf-homescreen-sample-apps_files += "${prefix}/bin/browser" +ico-uxf-homescreen-sample-apps_files += "${prefix}/share/packages/browser.xml" +ico-uxf-homescreen-sample-apps_files += "${prefix}/share/packages/terminal.xml" +ico-uxf-homescreen-sample-apps_files += "${prefix}/share/packages/weekeyboard.xml" +ico-uxf-homescreen-sample-apps_files += "${prefix}/share/icons/default/small/browser.png" +MANIFESTFILES_${PN} = "ico-uxf-homescreen-sample-apps.manifest" + +FILES_${PN} = "${ico-uxf-homescreen-sample-apps_files}" + +PKG_ico-uxf-homescreen-sample-apps= "ico-uxf-homescreen-sample-apps" + +require ico-uxf-homescreen-sample-apps-extraconf.inc + diff --git a/recipes-tizen/ico-uxf-homescreen-sample-apps/ico-uxf-homescreen-sample-apps_git.bb b/recipes-tizen/ico-uxf-homescreen-sample-apps/ico-uxf-homescreen-sample-apps_git.bb new file mode 100644 index 00000000..f29d4e09 --- /dev/null +++ b/recipes-tizen/ico-uxf-homescreen-sample-apps/ico-uxf-homescreen-sample-apps_git.bb @@ -0,0 +1,10 @@ +require ico-uxf-homescreen-sample-apps.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/profile/ivi/ico-uxf-homescreen-sample-apps;tag=b6b8af930dc8db218d9081c5be0e45dab00fe1b9;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/recipes-tizen/ico-uxf-homescreen/ico-uxf-homescreen-extraconf.inc b/recipes-tizen/ico-uxf-homescreen/ico-uxf-homescreen-extraconf.inc new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/recipes-tizen/ico-uxf-homescreen/ico-uxf-homescreen-extraconf.inc diff --git a/recipes-tizen/ico-uxf-homescreen/ico-uxf-homescreen.inc b/recipes-tizen/ico-uxf-homescreen/ico-uxf-homescreen.inc new file mode 100644 index 00000000..27176d05 --- /dev/null +++ b/recipes-tizen/ico-uxf-homescreen/ico-uxf-homescreen.inc @@ -0,0 +1,240 @@ +DESCRIPTION = "Sample homescreen and system controller" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Graphics & UI Framework/Automotive UI" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by ico-uxf-homescreen-system-controller-dev +PROVIDES += "ico-uxf-homescreen-system-controller-dev" + + +#PROVIDES by ico-uxf-homescreen + + +RDEPENDS = "" +#RDEPENDS of ico-uxf-homescreen-system-controller-dev (${PN}-system-controller-dev) +RDEPENDS_${PN}-system-controller-dev += "edje" +RDEPENDS_${PN}-system-controller-dev += "ico-uxf-homescreen" +RDEPENDS_${PN}-system-controller-dev += "evas" +RDEPENDS_${PN}-system-controller-dev += "app-svc" +RDEPENDS_${PN}-system-controller-dev += "glib-2.0" +RDEPENDS_${PN}-system-controller-dev += "eina" +RDEPENDS_${PN}-system-controller-dev += "capi-base-common-dev" +RDEPENDS_${PN}-system-controller-dev += "ecore" + +#RDEPENDS of ico-uxf-homescreen (${PN}) +RDEPENDS_${PN} += "weston" +RDEPENDS_${PN} += "genivi-shell" +RDEPENDS_${PN} += "ico-uxf-utilities" +RDEPENDS_${PN} += "weston-ivi-shell" +RDEPENDS_${PN} += "ico-uxf-weston-plugin" + + +DEPENDS = "" +#DEPENDS of ico-uxf-homescreen +DEPENDS += "edje" +DEPENDS += "weston-ivi-shell-dev" +DEPENDS += "genivi-shell" +DEPENDS += "eina" +DEPENDS += "json-glib" +DEPENDS += "mesa-dev" +DEPENDS += "genivi-shell-dev" +DEPENDS += "slp-pkgmgr" +DEPENDS += "wayland" +DEPENDS += "notification" +DEPENDS += "app-svc" +DEPENDS += "aul" +DEPENDS += "glib-2.0" +DEPENDS += "application" +DEPENDS += "boost-dev" +DEPENDS += "evas" +DEPENDS += "murphy" +DEPENDS += "bundle" +DEPENDS += "ico-uxf-utilities-dev" +DEPENDS += "weston-ivi-shell" +DEPENDS += "libwebsockets" +DEPENDS += "ecore" +DEPENDS += "mesa" +DEPENDS += "dbus" +DEPENDS += "ail" +DEPENDS += "ico-uxf-weston-plugin-dev" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n ico-uxf-homescreen-0.9.22 + + mkdir -p weston + cp -av /usr/share/genivi-shell/protocol/*.xml weston/ + + ls weston/*.xml | while read protocol ; do + + /usr/bin/wayland-scanner client-header \ + < "${protocol}" > "${protocol/.xml/}-client-protocol.h" + + /usr/bin/wayland-scanner code \ + < "${protocol}" > "${protocol/.xml/.c}" + + done + + ls weston/ + + + +} +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 ${PARALLEL_MAKE} + + + +} +EXTRA_OECONF += "" + +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 -- + + cp tool/ico_clear_screen ${D}${prefix}/bin + cp tool/ico_change_loginuser ${D}${prefix}/bin + cp tool/notification/ico_del_notification ${D}${prefix}/bin + cp tool/notification/ico_dump_notification ${D}${prefix}/bin + cp tool/notification/ico_send_notification ${D}${prefix}/bin + cp tool/notification/ico_send_notification2 ${D}${prefix}/bin + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x\$D" == "x" ] && ldconfig + # Update the app database. + $D${prefix}/bin/pkginfo --imd /usr/share/packages/org.tizen.ico.homescreen.xml + $D${prefix}/bin/pkginfo --imd /usr/share/packages/org.tizen.ico.statusbar.xml + $D${prefix}/bin/pkginfo --imd /usr/share/packages/org.tizen.ico.system-controller.xml + $D${prefix}/bin/pkginfo --imd /usr/share/packages/org.tizen.ico.onscreen.xml + +} + +pkg_prerm_${PN}() { + #!/bin/sh -e + + # Update the app database. + $D${prefix}/bin/pkginfo --rmd /usr/share/packages/org.tizen.ico.homescreen.xml + $D${prefix}/bin/pkginfo --rmd /usr/share/packages/org.tizen.ico.statusbar.xml + $D${prefix}/bin/pkginfo --rmd /usr/share/packages/org.tizen.ico.system-controller.xml + $D${prefix}/bin/pkginfo --rmd /usr/share/packages/org.tizen.ico.onscreen.xml + +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x\$D" == "x" ] && ldconfig + rm -f /usr/share/applications/org.tizen.ico.homescreen.desktop + rm -f /usr/share/applications/org.tizen.ico.statusbar.desktop + rm -f /usr/share/applications/org.tizen.ico.onscreen.desktop + rm -f /usr/share/applications/org.tizen.ico.system-controller.desktop + +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " ico-uxf-homescreen-system-controller-dev " +PACKAGES += " ico-uxf-homescreen " + +ico-uxf-homescreen-system-controller-dev_files = "" +ico-uxf-homescreen-system-controller-dev_files += "${prefix}/include/ico-appfw/ico_syc_application.h" +ico-uxf-homescreen-system-controller-dev_files += "${prefix}/include/ico-appfw/ico_syc_appresctl.h" +ico-uxf-homescreen-system-controller-dev_files += "${prefix}/include/ico-appfw/ico_syc_common.h" +ico-uxf-homescreen-system-controller-dev_files += "${prefix}/include/ico-appfw/ico_syc_error.h" +ico-uxf-homescreen-system-controller-dev_files += "${prefix}/include/ico-appfw/ico_syc_inputctl.h" +ico-uxf-homescreen-system-controller-dev_files += "${prefix}/include/ico-appfw/ico_syc_private.h" +ico-uxf-homescreen-system-controller-dev_files += "${prefix}/include/ico-appfw/ico_syc_privilege.h" +ico-uxf-homescreen-system-controller-dev_files += "${prefix}/include/ico-appfw/ico_syc_type.h" +ico-uxf-homescreen-system-controller-dev_files += "${prefix}/include/ico-appfw/ico_syc_userctl.h" +ico-uxf-homescreen-system-controller-dev_files += "${prefix}/include/ico-appfw/ico_syc_winctl.h" +ico-uxf-homescreen-system-controller-dev_files += "${prefix}/include/ico-state-machine/CicoBlockParser.h" +ico-uxf-homescreen-system-controller-dev_files += "${prefix}/include/ico-state-machine/CicoEvent.h" +ico-uxf-homescreen-system-controller-dev_files += "${prefix}/include/ico-state-machine/CicoEventInfo.h" +ico-uxf-homescreen-system-controller-dev_files += "${prefix}/include/ico-state-machine/CicoFinalState.h" +ico-uxf-homescreen-system-controller-dev_files += "${prefix}/include/ico-state-machine/CicoHistoryState.h" +ico-uxf-homescreen-system-controller-dev_files += "${prefix}/include/ico-state-machine/CicoState.h" +ico-uxf-homescreen-system-controller-dev_files += "${prefix}/include/ico-state-machine/CicoStateAction.h" +ico-uxf-homescreen-system-controller-dev_files += "${prefix}/include/ico-state-machine/CicoStateCore.h" +ico-uxf-homescreen-system-controller-dev_files += "${prefix}/include/ico-state-machine/CicoStateMachine.h" +ico-uxf-homescreen-system-controller-dev_files += "${prefix}/include/ico-state-machine/CicoStateMachineCreator.h" +MANIFESTFILES_${PN}-system-controller-dev = "ico-uxf-homescreen.manifest" + +ico-uxf-homescreen_files = "" +ico-uxf-homescreen_files += "/usr/apps/org.tizen.ico.homescreen" +ico-uxf-homescreen_files += "/usr/apps/org.tizen.ico.statusbar" +ico-uxf-homescreen_files += "/usr/apps/org.tizen.ico.onscreen" +ico-uxf-homescreen_files += "/usr/share/packages/org.tizen.ico.homescreen.xml" +ico-uxf-homescreen_files += "/usr/share/packages/org.tizen.ico.statusbar.xml" +ico-uxf-homescreen_files += "/usr/share/packages/org.tizen.ico.onscreen.xml" +ico-uxf-homescreen_files += "${prefix}/lib/libico-appfw.*" +ico-uxf-homescreen_files += "${prefix}/lib/libico-state-machine.*" +ico-uxf-homescreen_files += "/usr/apps/org.tizen.ico.system-controller" +ico-uxf-homescreen_files += "/usr/share/packages/org.tizen.ico.system-controller.xml" +ico-uxf-homescreen_files += "/usr/lib/systemd/user/ico-system-controller.service" +ico-uxf-homescreen_files += "/usr/lib/systemd/user/ico-uxf-wait-launchpad-ready.path" +ico-uxf-homescreen_files += "/usr/lib/systemd/user/weston.target.wants/ico-uxf-wait-launchpad-ready.path" +ico-uxf-homescreen_files += "${prefix}/bin/ico_clear_screen" +ico-uxf-homescreen_files += "${prefix}/bin/ico_change_loginuser" +ico-uxf-homescreen_files += "${prefix}/bin/ico_del_notification" +ico-uxf-homescreen_files += "${prefix}/bin/ico_dump_notification" +ico-uxf-homescreen_files += "${prefix}/bin/ico_send_notification" +ico-uxf-homescreen_files += "${prefix}/bin/ico_send_notification2" +ico-uxf-homescreen_files += "/home/app/ico/defaultApps.info" +ico-uxf-homescreen_files += "/home/app/ico" +MANIFESTFILES_${PN} = "ico-uxf-homescreen.manifest" + +FILES_${PN}-system-controller-dev = "${ico-uxf-homescreen-system-controller-dev_files}" +FILES_${PN} = "${ico-uxf-homescreen_files}" + +PKG_ico-uxf-homescreen-system-controller-dev= "ico-uxf-homescreen-system-controller-dev" +PKG_ico-uxf-homescreen= "ico-uxf-homescreen" + +require ico-uxf-homescreen-extraconf.inc + diff --git a/recipes-tizen/ico-uxf-homescreen/ico-uxf-homescreen_git.bb b/recipes-tizen/ico-uxf-homescreen/ico-uxf-homescreen_git.bb new file mode 100644 index 00000000..c0c7163f --- /dev/null +++ b/recipes-tizen/ico-uxf-homescreen/ico-uxf-homescreen_git.bb @@ -0,0 +1,10 @@ +require ico-uxf-homescreen.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/profile/ivi/ico-uxf-homescreen;tag=e03365e1982cdfac684f4928d7da0a0968a54d06;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/recipes-tizen/ico-uxf-utilities/ico-uxf-utilities-extraconf.inc b/recipes-tizen/ico-uxf-utilities/ico-uxf-utilities-extraconf.inc new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/recipes-tizen/ico-uxf-utilities/ico-uxf-utilities-extraconf.inc diff --git a/recipes-tizen/ico-uxf-utilities/ico-uxf-utilities.inc b/recipes-tizen/ico-uxf-utilities/ico-uxf-utilities.inc new file mode 100644 index 00000000..4cb53af7 --- /dev/null +++ b/recipes-tizen/ico-uxf-utilities/ico-uxf-utilities.inc @@ -0,0 +1,138 @@ +DESCRIPTION = "Common utilities for ico uifw" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Automotive/Libraries" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by ico-uxf-utilities + + +#PROVIDES by ico-uxf-utilities-dev +PROVIDES += "ico-uxf-utilities-dev" + + +RDEPENDS = "" +#RDEPENDS of ico-uxf-utilities (${PN}) +RDEPENDS_${PN} += "automotive-message-broker" +RDEPENDS_${PN} += "/usr/bin/chmod" +RDEPENDS_${PN} += "/usr/bin/mkdir" + +#RDEPENDS of ico-uxf-utilities-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "ico-uxf-utilities" +RDEPENDS_${PN}-dev += "libwebsockets-dev" + + +DEPENDS = "" +#DEPENDS of ico-uxf-utilities +DEPENDS += "libwebsockets" +DEPENDS += "edbus" +DEPENDS += "dlog" +DEPENDS += "glib-2.0" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n ico-uxf-utilities-0.9.07 + + +} +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 + oe_runmake ${PARALLEL_MAKE} + + + +} +EXTRA_OECONF += "" + +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 -- + + # include + mkdir -p ${D}/${prefix}/include/ico-util/ + cp -f include/ico_uws.h ${D}/${prefix}/include/ico-util/ + cp -f include/ico_log.h ${D}/${prefix}/include/ico-util/ + cp -f include/ico_dbus_amb_efl.h ${D}/${prefix}/include/ico-util/ + # log output + mkdir -p ${D}/${localstatedir}/log/ico/ + chmod 0777 ${D}/${localstatedir}/log/ico/ + + +} + +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 += " ico-uxf-utilities " +PACKAGES += " ico-uxf-utilities-dev " + +ico-uxf-utilities_files = "" +ico-uxf-utilities_files += "${prefix}/lib/libico-util*" +ico-uxf-utilities_files += "${localstatedir}/log/ico/" +MANIFESTFILES_${PN} = "ico-uxf-utilities.manifest" + +ico-uxf-utilities-dev_files = "" +ico-uxf-utilities-dev_files += "${prefix}/include/ico-util/ico_uws.h" +ico-uxf-utilities-dev_files += "${prefix}/include/ico-util/ico_log.h" +ico-uxf-utilities-dev_files += "${prefix}/include/ico-util/ico_dbus_amb_efl.h" +ico-uxf-utilities-dev_files += "${prefix}/lib/libico-util*" +ico-uxf-utilities-dev_files += "${localstatedir}/log/ico/" +MANIFESTFILES_${PN}-dev = "ico-uxf-utilities.manifest" + +FILES_${PN} = "${ico-uxf-utilities_files}" +FILES_${PN}-dev = "${ico-uxf-utilities-dev_files}" + +PKG_ico-uxf-utilities= "ico-uxf-utilities" +PKG_ico-uxf-utilities-dev= "ico-uxf-utilities-dev" + +require ico-uxf-utilities-extraconf.inc + diff --git a/recipes-tizen/ico-uxf-utilities/ico-uxf-utilities_git.bb b/recipes-tizen/ico-uxf-utilities/ico-uxf-utilities_git.bb new file mode 100644 index 00000000..00d1f819 --- /dev/null +++ b/recipes-tizen/ico-uxf-utilities/ico-uxf-utilities_git.bb @@ -0,0 +1,10 @@ +require ico-uxf-utilities.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/profile/ivi/ico-uxf-utilities;tag=e5749682aabdd8cbe57045c52c37f72b01946b0f;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/recipes-tizen/ico-uxf-weston-plugin/ico-uxf-weston-plugin-extraconf.inc b/recipes-tizen/ico-uxf-weston-plugin/ico-uxf-weston-plugin-extraconf.inc new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/recipes-tizen/ico-uxf-weston-plugin/ico-uxf-weston-plugin-extraconf.inc diff --git a/recipes-tizen/ico-uxf-weston-plugin/ico-uxf-weston-plugin.inc b/recipes-tizen/ico-uxf-weston-plugin/ico-uxf-weston-plugin.inc new file mode 100644 index 00000000..6487b7ab --- /dev/null +++ b/recipes-tizen/ico-uxf-weston-plugin/ico-uxf-weston-plugin.inc @@ -0,0 +1,149 @@ +DESCRIPTION = "Weston Plugins for IVI" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Graphics & UI Framework/Automotive UI" +LICENSE = "MIT" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by ico-uxf-weston-plugin-dev +PROVIDES += "ico-uxf-weston-plugin-dev" + + +#PROVIDES by ico-uxf-weston-plugin + + +RDEPENDS = "" +#RDEPENDS of ico-uxf-weston-plugin-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "ico-uxf-weston-plugin" + +#RDEPENDS of ico-uxf-weston-plugin (${PN}) +RDEPENDS_${PN} += "weston" +RDEPENDS_${PN} += "genivi-shell" +RDEPENDS_${PN} += "weston-ivi-shell" +RDEPENDS_${PN} += "weekeyboard" + + +DEPENDS = "" +#DEPENDS of ico-uxf-weston-plugin +DEPENDS += "weston-ivi-shell-dev" +DEPENDS += "evas" +DEPENDS += "aul" +DEPENDS += "weston" +DEPENDS += "ecore" +DEPENDS += "mesa" +DEPENDS += "mesa-dev" +DEPENDS += "genivi-shell-dev" +DEPENDS += "pixman" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n ico-uxf-weston-plugin-0.9.22 + + +} +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 + oe_runmake ${PARALLEL_MAKE} + + + +} +EXTRA_OECONF += "" + +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 -- + + # configurations + mkdir -p ${D}${sysconfdir}/xdg/weston > /dev/null 2>&1 + mkdir -p ${D}/lib/systemd/system/multi-user.target.wants > /dev/null 2>&1 + install -m 0644 settings/weston.ini ${D}${sysconfdir}/xdg/weston + install -m 0644 settings/ico-pseudo-input-device.service ${D}/lib/systemd/system/ico-pseudo-input-device.service + ln -s /lib/systemd/system/ico-pseudo-input-device.service ${D}/lib/systemd/system/multi-user.target.wants/ico-pseudo-input-device.service + + +} + +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 += " ico-uxf-weston-plugin-dev " +PACKAGES += " ico-uxf-weston-plugin " + +ico-uxf-weston-plugin-dev_files = "" +ico-uxf-weston-plugin-dev_files += "${prefix}/include/ico-uxf-weston-plugin/ico_input_mgr-client-protocol.h" +ico-uxf-weston-plugin-dev_files += "${prefix}/include/ico-uxf-weston-plugin/ico_window_mgr-client-protocol.h" +ico-uxf-weston-plugin-dev_files += "${prefix}/include/ico-uxf-weston-plugin/ico_input_mgr.h" +ico-uxf-weston-plugin-dev_files += "${prefix}/lib/libico-uxf-weston-plugin.so" +MANIFESTFILES_${PN}-dev = "ico-uxf-weston-plugin.manifest" + +ico-uxf-weston-plugin_files = "" +ico-uxf-weston-plugin_files += "${prefix}/lib/weston/" +ico-uxf-weston-plugin_files += "${prefix}/lib/weston/*.so" +ico-uxf-weston-plugin_files += "${prefix}/lib/libico-uxf-weston-plugin.so.*" +ico-uxf-weston-plugin_files += "${prefix}/bin/ico_send_inputevent" +ico-uxf-weston-plugin_files += "${prefix}/bin/ico_pseudo_input_device" +ico-uxf-weston-plugin_files += "/lib/systemd/system/ico-pseudo-input-device.service" +ico-uxf-weston-plugin_files += "/lib/systemd/system/multi-user.target.wants/ico-pseudo-input-device.service" +ico-uxf-weston-plugin_files += "${sysconfdir}/xdg/weston/weston.ini" +CONFFILES_${PN} = "" +CONFFILES_${PN} += "${sysconfdir}/xdg/weston/weston.ini" +MANIFESTFILES_${PN} = "ico-uxf-weston-plugin.manifest" +DIRFILES_${PN} = "" +DIRFILES_${PN} += "${prefix}/lib/weston/" + +FILES_${PN}-dev = "${ico-uxf-weston-plugin-dev_files}" +FILES_${PN} = "${ico-uxf-weston-plugin_files}" + +PKG_ico-uxf-weston-plugin-dev= "ico-uxf-weston-plugin-dev" +PKG_ico-uxf-weston-plugin= "ico-uxf-weston-plugin" + +require ico-uxf-weston-plugin-extraconf.inc + diff --git a/recipes-tizen/ico-uxf-weston-plugin/ico-uxf-weston-plugin_git.bb b/recipes-tizen/ico-uxf-weston-plugin/ico-uxf-weston-plugin_git.bb new file mode 100644 index 00000000..c23f57f8 --- /dev/null +++ b/recipes-tizen/ico-uxf-weston-plugin/ico-uxf-weston-plugin_git.bb @@ -0,0 +1,10 @@ +require ico-uxf-weston-plugin.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/profile/ivi/ico-uxf-weston-plugin;tag=76d2fc15ee7b0999cb2eaca8430e31c31bc97904;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/recipes-tizen/ico-vic-amb-plugin/ico-vic-amb-plugin-extraconf.inc b/recipes-tizen/ico-vic-amb-plugin/ico-vic-amb-plugin-extraconf.inc new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/recipes-tizen/ico-vic-amb-plugin/ico-vic-amb-plugin-extraconf.inc diff --git a/recipes-tizen/ico-vic-amb-plugin/ico-vic-amb-plugin.inc b/recipes-tizen/ico-vic-amb-plugin/ico-vic-amb-plugin.inc new file mode 100644 index 00000000..4f8df36b --- /dev/null +++ b/recipes-tizen/ico-vic-amb-plugin/ico-vic-amb-plugin.inc @@ -0,0 +1,130 @@ +DESCRIPTION = "Automotive Message Broker is a vehicle network abstraction system." +HOMEPAGE = "http://nohomepage.org" +SECTION = "System Environment/Daemons" +LICENSE = "LGPL v2.1" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by ico-vic-amb-plugin + + +RDEPENDS = "" +#RDEPENDS of ico-vic-amb-plugin (${PN}) +RDEPENDS_${PN} += "libjson" +RDEPENDS_${PN} += "ico-uxf-utilities" +RDEPENDS_${PN} += "eglibc" + + +DEPENDS = "" +#DEPENDS of ico-vic-amb-plugin +DEPENDS += "ico-uxf-utilities" +DEPENDS += "boost-dev" +DEPENDS_append_class-native = " cmake-native" +DEPENDS_append_class-target = " cmake-native" +DEPENDS += "app-core" +DEPENDS += "automotive-message-broker" +DEPENDS += "libjson-dev" +DEPENDS += "elementary" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n ico-vic-amb-plugin-0.9.5 + + +} +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 \ + ${EXTRA_OECMAKE} + + make + + + +} + +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}/${sysconfdir}/ambd + mkdir -p ${D}/usr/bin + cp src/AMBformat.conf ${D}/${sysconfdir}/ambd/ + cp tool/ico_set_vehicleinfo ${D}/usr/bin/ico_set_vehicleinfo + + +} + +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 += " ico-vic-amb-plugin " + +ico-vic-amb-plugin_files = "" +ico-vic-amb-plugin_files += "${prefix}/lib/automotive-message-broker/*.so" +ico-vic-amb-plugin_files += "${sysconfdir}/ambd/AMBformat.conf" +ico-vic-amb-plugin_files += "/usr/share/doc/automotive-message-broker/ico-vic-amb-plugin/README" +ico-vic-amb-plugin_files += "/usr/bin/ico_set_vehicleinfo" +MANIFESTFILES_${PN} = "ico-vic-amb-plugin.manifest" + +FILES_${PN} = "${ico-vic-amb-plugin_files}" + +PKG_ico-vic-amb-plugin= "ico-vic-amb-plugin" + +require ico-vic-amb-plugin-extraconf.inc + diff --git a/recipes-tizen/ico-vic-amb-plugin/ico-vic-amb-plugin_git.bb b/recipes-tizen/ico-vic-amb-plugin/ico-vic-amb-plugin_git.bb new file mode 100644 index 00000000..6eeb231e --- /dev/null +++ b/recipes-tizen/ico-vic-amb-plugin/ico-vic-amb-plugin_git.bb @@ -0,0 +1,10 @@ +require ico-vic-amb-plugin.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/profile/ivi/ico-vic-amb-plugin;tag=e4130dfc7c8b75aa2e8a81bb90b03dd3c3aba0a1;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/recipes-tizen/ico-vic-carsimulator/ico-vic-carsimulator-extraconf.inc b/recipes-tizen/ico-vic-carsimulator/ico-vic-carsimulator-extraconf.inc new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/recipes-tizen/ico-vic-carsimulator/ico-vic-carsimulator-extraconf.inc diff --git a/recipes-tizen/ico-vic-carsimulator/ico-vic-carsimulator.inc b/recipes-tizen/ico-vic-carsimulator/ico-vic-carsimulator.inc new file mode 100644 index 00000000..a83c7e7e --- /dev/null +++ b/recipes-tizen/ico-vic-carsimulator/ico-vic-carsimulator.inc @@ -0,0 +1,125 @@ +DESCRIPTION = "CarSimulator" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System Environment/Daemons" +LICENSE = "Apache 2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by ico-vic-carsimulator + + +RDEPENDS = "" +#RDEPENDS of ico-vic-carsimulator (${PN}) +RDEPENDS_${PN} += "ico-vic-amb-plugin" +RDEPENDS_${PN} += "eglibc" +RDEPENDS_${PN} += "glib2" +RDEPENDS_${PN} += "ico-uxf-utilities" + + +DEPENDS = "" +#DEPENDS of ico-vic-carsimulator +DEPENDS += "ico-uxf-utilities" +DEPENDS += "boost-dev" +DEPENDS += "make" +DEPENDS += "glib-2.0" +DEPENDS += "json-glib-dev" +DEPENDS_append_class-native = " automake-native" +DEPENDS_append_class-target = " automake-native" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n ico-vic-carsimulator-0.9.10 + + +} +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 ; + + autoreconf --install + + + autotools_do_configure + make ${PARALLEL_MAKE} + + + +} +EXTRA_OECONF += "" + +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 -- + + # configurations + mkdir -p ${D}/etc/ico-vic-carsim/ + mkdir -p ${D}/usr/lib/systemd/user/ + install -m 0644 G25.conf ${D}/etc/ico-vic-carsim/ + install -m 0644 G27.conf ${D}/etc/ico-vic-carsim/ + install -m 0644 ico-vic-carsim.service ${D}/lib/systemd/user/ico-vic-carsim.service + + +} + +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 += " ico-vic-carsimulator " + +ico-vic-carsimulator_files = "" +ico-vic-carsimulator_files += "${prefix}/bin/ico-vic-carsim" +ico-vic-carsimulator_files += "${prefix}/bin/*" +ico-vic-carsimulator_files += "/etc/ico-vic-carsim/*" +ico-vic-carsimulator_files += "/usr/lib/systemd/user/ico-vic-carsim.service" +MANIFESTFILES_${PN} = "ico-vic-carsimulator.manifest" + +FILES_${PN} = "${ico-vic-carsimulator_files}" + +PKG_ico-vic-carsimulator= "ico-vic-carsimulator" + +require ico-vic-carsimulator-extraconf.inc + diff --git a/recipes-tizen/ico-vic-carsimulator/ico-vic-carsimulator_git.bb b/recipes-tizen/ico-vic-carsimulator/ico-vic-carsimulator_git.bb new file mode 100644 index 00000000..1ca1294f --- /dev/null +++ b/recipes-tizen/ico-vic-carsimulator/ico-vic-carsimulator_git.bb @@ -0,0 +1,10 @@ +require ico-vic-carsimulator.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/profile/ivi/ico-vic-carsimulator;tag=0d3b74297286d2ce2260f498caeceddcd90c1a2a;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/recipes-tizen/lemolo/lemolo-extraconf.inc b/recipes-tizen/lemolo/lemolo-extraconf.inc new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/recipes-tizen/lemolo/lemolo-extraconf.inc diff --git a/recipes-tizen/lemolo/lemolo.inc b/recipes-tizen/lemolo/lemolo.inc new file mode 100644 index 00000000..9b1fdccc --- /dev/null +++ b/recipes-tizen/lemolo/lemolo.inc @@ -0,0 +1,125 @@ +DESCRIPTION = "Ofono EFL Dialer" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Applications/Telephony" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by lemolo + + +RDEPENDS = "" +#RDEPENDS of lemolo (${PN}) +RDEPENDS_${PN} += "automotive-message-broker" +RDEPENDS_${PN} += "ofono" + + +DEPENDS = "" +#DEPENDS of lemolo +#Replace "DEPENDS" on gettext by "inherit gettext" +inherit gettext +DEPENDS += "edbus" +DEPENDS += "pulseaudio" +DEPENDS += "power" +DEPENDS += "ofono" +DEPENDS += "evas" +DEPENDS += "app-svc" +DEPENDS += "aul" +DEPENDS += "app-core" +DEPENDS += "contacts-service" +DEPENDS += "efl" +DEPENDS += "notification" +DEPENDS += "elementary" +DEPENDS += "ecore" +DEPENDS += "vconf" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n lemolo-0.1.6 + + +} +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 + + + +} +EXTRA_OECONF += " --enable-notification --enable-tizen" + +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 -- + #find_lang lemolo + + +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " lemolo " + +lemolo_files = "" +lemolo_files += "${prefix}/bin/answer_daemon" +lemolo_files += "${prefix}/bin/dialer" +lemolo_files += "${prefix}/bin/messages" +lemolo_files += "${prefix}/bin/dialer_daemon" +lemolo_files += "${prefix}/bin/dialer_open" +lemolo_files += "${prefix}/bin/message_daemon" +lemolo_files += "${prefix}/share/lemolo/examples/contacts.csv" +lemolo_files += "${prefix}/share/lemolo/ringtones/default.wav" +lemolo_files += "${prefix}/share/lemolo/scripts/ofono-efl-contacts-db-create.py" +lemolo_files += "${prefix}/share/lemolo/themes/default.edj" +lemolo_files += "${prefix}/share/lemolo/themes/night.edj" +lemolo_files += "${prefix}/share/lemolo/tizen-examples/order" +lemolo_files += "${prefix}/share/packages/org.tizen.dialer.xml" +lemolo_files += "${prefix}/share/icons/default/small/org.tizen.dialer.png" +lemolo_files += "${prefix}/share/dbus-1/services/org.tizen.dialer.service" + +FILES_${PN} = "${lemolo_files}" + +PKG_lemolo= "lemolo" + +require lemolo-extraconf.inc + diff --git a/recipes-tizen/lemolo/lemolo_git.bb b/recipes-tizen/lemolo/lemolo_git.bb new file mode 100644 index 00000000..059c8342 --- /dev/null +++ b/recipes-tizen/lemolo/lemolo_git.bb @@ -0,0 +1,10 @@ +require lemolo.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/profile/ivi/lemolo;tag=4d73c5d50328dffb0769f7627cdb8cb21ab2f01a;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/recipes-tizen/libwebsockets/libwebsockets-extraconf.inc b/recipes-tizen/libwebsockets/libwebsockets-extraconf.inc new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/recipes-tizen/libwebsockets/libwebsockets-extraconf.inc diff --git a/recipes-tizen/libwebsockets/libwebsockets.inc b/recipes-tizen/libwebsockets/libwebsockets.inc new file mode 100644 index 00000000..617e7d95 --- /dev/null +++ b/recipes-tizen/libwebsockets/libwebsockets.inc @@ -0,0 +1,135 @@ +DESCRIPTION = "WebSocket Library" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Libraries" +LICENSE = "LGPLv2.1" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by libwebsockets + + +#PROVIDES by libwebsockets-dev +PROVIDES += "libwebsockets-dev" + + +RDEPENDS = "" +#RDEPENDS of libwebsockets (${PN}) +RDEPENDS_${PN} += "eglibc" + +#RDEPENDS of libwebsockets-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "libwebsockets" + + +DEPENDS = "" +#DEPENDS of libwebsockets +DEPENDS += "systemd" +DEPENDS += "zlib" +DEPENDS_append_class-native = " cmake-native" +DEPENDS_append_class-target = " cmake-native" +DEPENDS += "openssl" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n libwebsockets-1.2 + + +} +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 \ + ${EXTRA_OECMAKE} -DWITH_SSL=On -DWITH_SD_DAEMON=ON + + make + + + +} + +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 -- + + +} + +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 += " libwebsockets " +PACKAGES += " libwebsockets-dev " + +libwebsockets_files = "" +libwebsockets_files += "${prefix}/bin/libwebsockets*" +libwebsockets_files += "${prefix}/lib/libwebsockets*.so.*" +libwebsockets_files += "${prefix}/share/libwebsockets-test-server/*" + +libwebsockets-dev_files = "" +libwebsockets-dev_files += "${prefix}/include/libwebsockets.h" +libwebsockets-dev_files += "${prefix}/lib/libwebsockets.so" +libwebsockets-dev_files += "${prefix}/lib/pkgconfig/*" + +FILES_${PN} = "${libwebsockets_files}" +FILES_${PN}-dev = "${libwebsockets-dev_files}" + +PKG_libwebsockets= "libwebsockets" +PKG_libwebsockets-dev= "libwebsockets-dev" + +require libwebsockets-extraconf.inc + diff --git a/recipes-tizen/libwebsockets/libwebsockets_git.bb b/recipes-tizen/libwebsockets/libwebsockets_git.bb new file mode 100644 index 00000000..9f30102d --- /dev/null +++ b/recipes-tizen/libwebsockets/libwebsockets_git.bb @@ -0,0 +1,10 @@ +require libwebsockets.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/profile/ivi/libwebsockets;tag=270620a55c0144f0af05f006523f2d294298ade2;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/recipes-tizen/murphy/murphy-extraconf.inc b/recipes-tizen/murphy/murphy-extraconf.inc new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/recipes-tizen/murphy/murphy-extraconf.inc diff --git a/recipes-tizen/murphy/murphy.inc b/recipes-tizen/murphy/murphy.inc new file mode 100644 index 00000000..7f3b309d --- /dev/null +++ b/recipes-tizen/murphy/murphy.inc @@ -0,0 +1,498 @@ +DESCRIPTION = "Murphy policy framework" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Service" +LICENSE = "BSD-3-Clause" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by murphy-dev +PROVIDES += "murphy-dev" + + +#PROVIDES by murphy-ecore +PROVIDES += "murphy-ecore" + + +#PROVIDES by murphy-pulse +PROVIDES += "murphy-pulse" + + +#PROVIDES by murphy-doc +PROVIDES += "murphy-doc" + + +#PROVIDES by murphy + + +#PROVIDES by murphy-ivi-resource-manager +PROVIDES += "murphy-ivi-resource-manager" + + +#PROVIDES by murphy-ecore-dev +PROVIDES += "murphy-ecore-dev" + + +#PROVIDES by murphy-pulse-dev +PROVIDES += "murphy-pulse-dev" + + +#PROVIDES by murphy-tests +PROVIDES += "murphy-tests" + + +#PROVIDES by murphy-system-controller +PROVIDES += "murphy-system-controller" + + +#PROVIDES by murphy-glib +PROVIDES += "murphy-glib" + + +#PROVIDES by murphy-glib-dev +PROVIDES += "murphy-glib-dev" + + +RDEPENDS = "" +#RDEPENDS of murphy-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "murphy" +RDEPENDS_${PN}-dev += "libjson-dev" + +#RDEPENDS of murphy-ecore (${PN}-ecore) +RDEPENDS_${PN}-ecore += "murphy" + +#RDEPENDS of murphy-pulse (${PN}-pulse) +RDEPENDS_${PN}-pulse += "murphy" + +#RDEPENDS of murphy (${PN}) +RDEPENDS_${PN} += "libcap-tools" +RDEPENDS_${PN} += "/bin/systemctl" + +#RDEPENDS of murphy-ecore-dev (${PN}-ecore-dev) +RDEPENDS_${PN}-ecore-dev += "murphy-ecore" +RDEPENDS_${PN}-ecore-dev += "murphy" + +#RDEPENDS of murphy-pulse-dev (${PN}-pulse-dev) +RDEPENDS_${PN}-pulse-dev += "murphy-pulse" +RDEPENDS_${PN}-pulse-dev += "murphy" + +#RDEPENDS of murphy-tests (${PN}-tests) +RDEPENDS_${PN}-tests += "murphy" + +#RDEPENDS of murphy-system-controller (${PN}-system-controller) +RDEPENDS_${PN}-system-controller += "ico-uxf-homescreen" + +#RDEPENDS of murphy-glib (${PN}-glib) +RDEPENDS_${PN}-glib += "murphy" + +#RDEPENDS of murphy-glib-dev (${PN}-glib-dev) +RDEPENDS_${PN}-glib-dev += "murphy" +RDEPENDS_${PN}-glib-dev += "murphy-glib" + + +DEPENDS = "" +#DEPENDS of murphy +DEPENDS += "flex" +DEPENDS += "systemd" +DEPENDS += "mesa-libEGL" +DEPENDS += "smack" +DEPENDS += "ofono" +DEPENDS += "ail" +DEPENDS += "json-c" +DEPENDS += "libxml2" +DEPENDS += "dbus" +DEPENDS += "mesa-libGLESv2" +DEPENDS += "pulseaudio" +DEPENDS += "glib-2.0" +DEPENDS += "lua" +DEPENDS += "aul" +DEPENDS_append_class-native = " bison-native" +DEPENDS_append_class-target = " bison-native" +DEPENDS += "ecore" +DEPENDS += "libwebsockets" +DEPENDS += "libcap" +DEPENDS += "audio-session-manager" +DEPENDS += "ico-uxf-weston-plugin" + +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 ; + + + CONFIG_OPTIONS="" + DYNAMIC_PLUGINS="domain-control,system-controller,ivi-resource-manager" + + CONFIG_OPTIONS="$CONFIG_OPTIONS --enable-gpl --enable-pulse" + + CONFIG_OPTIONS="$CONFIG_OPTIONS --enable-gpl --enable-ecore" + + CONFIG_OPTIONS="$CONFIG_OPTIONS --enable-gpl --enable-glib" + + CONFIG_OPTIONS="$CONFIG_OPTIONS --disable-qt" + + CONFIG_OPTIONS="$CONFIG_OPTIONS --enable-gpl --enable-libdbus" + + CONFIG_OPTIONS="$CONFIG_OPTIONS --enable-gpl --enable-telephony" + + CONFIG_OPTIONS="$CONFIG_OPTIONS --enable-resource-asm" + DYNAMIC_PLUGINS="$DYNAMIC_PLUGINS,resource-asm" + + CONFIG_OPTIONS="$CONFIG_OPTIONS --enable-websockets" + + CONFIG_OPTIONS="$CONFIG_OPTIONS --enable-smack" + + CONFIG_OPTIONS="$CONFIG_OPTIONS --enable-system-controller" + + CONFIG_OPTIONS="$CONFIG_OPTIONS --enable-system-monitor" + + NUM_CPUS="`cat /proc/cpuinfo | tr -s '\t' ' ' | grep '^processor *:' | wc -l`" + [ -z "$NUM_CPUS" ] && NUM_CPUS=1 + + ./bootstrap && + autotools_do_configure + + + +} +EXTRA_OECONF += " $CONFIG_OPTIONS --with-dynamic-plugins=$DYNAMIC_PLUGINS && make clean && make -j$(($NUM_CPUS + 1)) $V" + +do_install() { + echo export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf $RPM_BUILD_ROOT + + 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 -- + + # Make sure we have a plugin dir even if all the basic plugins + # are configured to be built in. + mkdir -p $RPM_BUILD_ROOT${prefix}/lib/murphy/plugins + + # Get rid of any *.la files installed by libtool. + rm -f $RPM_BUILD_ROOT${prefix}/lib/*.la + + # Clean up also the murphy DB installation. + rm -f $RPM_BUILD_ROOT${prefix}/lib/murphy/*.la + + # Generate list of linkedin plugins (depends on the configuration). + outdir="`pwd`" + pushd $RPM_BUILD_ROOT >& /dev/null && \ + find ./${prefix}/lib -name libmurphy-plugin-*.so* | \ + sed 's#^./*#/#g' > $outdir/filelist.plugins-base && \ + popd >& /dev/null + echo "Found the following linked-in plugin files:" + cat $outdir/filelist.plugins-base | sed 's/^/ /g' + + # Generate list of header files, filtering ones that go to subpackages. + outdir="`pwd`" + pushd $RPM_BUILD_ROOT >& /dev/null && \ + find ./${prefix}/include/murphy | \ + egrep -v '((pulse)|(ecore)|(glib)|(qt))-glue' | \ + sed 's#^./*#/#g' > $outdir/filelist.devel-includes && \ + popd >& /dev/null + + # Replace the default sample/test config files with the packaging ones. + rm -f $RPM_BUILD_ROOT${sysconfdir}/murphy/* + cp packaging.in/murphy-lua.conf $RPM_BUILD_ROOT${sysconfdir}/murphy/murphy.conf + cp packaging.in/murphy.lua $RPM_BUILD_ROOT${sysconfdir}/murphy/murphy.lua + + # Copy plugin configuration files in place. + mkdir -p $RPM_BUILD_ROOT${sysconfdir}/murphy/plugins/amb + cp packaging.in/amb-config.lua \ + $RPM_BUILD_ROOT${sysconfdir}/murphy/plugins/amb/config.lua + + # Copy tmpfiles.d config file in place + mkdir -p $RPM_BUILD_ROOT/usr/lib/tmpfiles.d + cp packaging.in/murphyd.conf $RPM_BUILD_ROOT/usr/lib/tmpfiles.d + + # Copy the systemd files in place. + mkdir -p $RPM_BUILD_ROOT/lib/systemd/system + mkdir -p $RPM_BUILD_ROOT/lib/systemd/user + cp packaging.in/murphyd.service $RPM_BUILD_ROOT/lib/systemd/system + cp packaging.in/ico-homescreen.service $RPM_BUILD_ROOT/lib/systemd/user + cp packaging.in/murphy-wait-for-launchpad-ready.path $RPM_BUILD_ROOT/lib/systemd/user + + mkdir -p $RPM_BUILD_ROOT${sysconfdir}/dbus-1/system.d + cp packaging.in/org.Murphy.conf $RPM_BUILD_ROOT${sysconfdir}/dbus-1/system.d/org.Murphy.conf + + # copy the manifest file + cp -a ${S}/packaging/murphy.manifest $RPM_BUILD_ROOT${prefix}/share/murphy.manifest + cp -a ${S}/packaging/murphy.manifest $RPM_BUILD_ROOT${prefix}/share/murphy-tests.manifest + cp -a ${S}/packaging/murphy.manifest $RPM_BUILD_ROOT${prefix}/share/murphy-ivi-resource-manager.manifest + cp -a ${S}/packaging/murphy.manifest $RPM_BUILD_ROOT${prefix}/share/murphy-glib.manifest + cp -a ${S}/packaging/murphy.manifest $RPM_BUILD_ROOT${prefix}/share/murphy-pulse.manifest + cp -a ${S}/packaging/murphy.manifest $RPM_BUILD_ROOT${prefix}/share/murphy-ecore.manifest + cp -a ${S}/packaging/murphy.manifest $RPM_BUILD_ROOT${prefix}/share/murphy-system-controller.manifest + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + ldconfig + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + /bin/systemctl enable murphyd.service + setcap 'cap_net_admin=+ep' $D${prefix}/bin/murphyd + ldconfig + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + ldconfig + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + # prevent system controller from starting + rm -f /lib/systemd/user/weston.target.wants/ico-uxf-wait-launchpad-ready.path + # instead launch just ico-homescreen + rm -f /lib/systemd/user/weston.target.wants/murphy-wait-for-launchpad-ready.path + ln -s /lib/systemd/user/murphy-wait-for-launchpad-ready.path \ + /lib/systemd/user/weston.target.wants/murphy-wait-for-launchpad-ready.path + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + ldconfig + +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + rm -f /lib/systemd/user/weston.target.wants/murphy-wait-for-launchpad-ready.path + if [ -f /lib/systemd/user/ico-uxf-wait-launchpad-ready.path ]; then + ln -sf /lib/systemd/user/ico-uxf-wait-launchpad-ready.path \ + /lib/systemd/user/weston.target.wants/ico-uxf-wait-launchpad-ready.path + fi + +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + if [ "$1" = "0" ]; then + /bin/systemctl disable murphyd.service + fi + ldconfig + +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + ldconfig + +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + ldconfig + +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + ldconfig + +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " murphy-dev " +PACKAGES += " murphy-ecore " +PACKAGES += " murphy-pulse " +PACKAGES += " murphy " +PACKAGES += " murphy-ivi-resource-manager " +PACKAGES += " murphy-ecore-dev " +PACKAGES += " murphy-pulse-dev " +PACKAGES += " murphy-tests " +PACKAGES += " murphy-system-controller " +PACKAGES += " murphy-glib " +PACKAGES += " murphy-glib-dev " + +murphy-dev_files = "" +murphy-dev_files += "${prefix}/include/murphy-db" +murphy-dev_files += "${prefix}/lib/libmurphy-common.so" +murphy-dev_files += "${prefix}/lib/libmurphy-core.so" +murphy-dev_files += "${prefix}/lib/libmurphy-resolver.so" +murphy-dev_files += "${prefix}/lib/libmurphy-resource.so" +murphy-dev_files += "${prefix}/lib/libmurphy-resource-backend.so" +murphy-dev_files += "${prefix}/lib/libmurphy-lua-utils.so" +murphy-dev_files += "${prefix}/lib/libmurphy-lua-decision.so" +murphy-dev_files += "${prefix}/lib/libmurphy-domain-controller.so" +murphy-dev_files += "${prefix}/lib/murphy/*.so" +murphy-dev_files += "${prefix}/lib/pkgconfig/murphy-common.pc" +murphy-dev_files += "${prefix}/lib/pkgconfig/murphy-core.pc" +murphy-dev_files += "${prefix}/lib/pkgconfig/murphy-resolver.pc" +murphy-dev_files += "${prefix}/lib/pkgconfig/murphy-lua-utils.pc" +murphy-dev_files += "${prefix}/lib/pkgconfig/murphy-lua-decision.pc" +murphy-dev_files += "${prefix}/lib/pkgconfig/murphy-domain-controller.pc" +murphy-dev_files += "${prefix}/lib/pkgconfig/murphy-db.pc" +murphy-dev_files += "${prefix}/lib/pkgconfig/murphy-resource.pc" +murphy-dev_files += "${prefix}/include/breedline" +murphy-dev_files += "${prefix}/lib/libbreedline*.so" +murphy-dev_files += "${prefix}/lib/pkgconfig/breedline*.pc" +murphy-dev_files += "${prefix}/lib/libmurphy-libdbus.so" +murphy-dev_files += "${prefix}/lib/libmurphy-dbus-libdbus.so" +murphy-dev_files += "${prefix}/lib/pkgconfig/murphy-libdbus.pc" +murphy-dev_files += "${prefix}/lib/pkgconfig/murphy-dbus-libdbus.pc" + +murphy-ecore_files = "" +murphy-ecore_files += "${prefix}/lib/libmurphy-ecore.so.*" +MANIFESTFILES_${PN}-ecore = "${prefix}/share/murphy-ecore.manifest" + +murphy-pulse_files = "" +murphy-pulse_files += "${prefix}/lib/libmurphy-pulse.so.*" +MANIFESTFILES_${PN}-pulse = "${prefix}/share/murphy-pulse.manifest" + +murphy-doc_files = "" +murphy-doc_files += "${prefix}/share/doc/packages/../murphy/AUTHORS" +murphy-doc_files += "${prefix}/share/doc/packages/../murphy/CODING-STYLE" +murphy-doc_files += "${prefix}/share/doc/packages/../murphy/ChangeLog" +murphy-doc_files += "${prefix}/share/doc/packages/../murphy/INSTALL" +murphy-doc_files += "${prefix}/share/doc/packages/../murphy/NEWS" +murphy-doc_files += "${prefix}/share/doc/packages/../murphy/README" + +murphy_files = "" +murphy_files += "${prefix}/bin/murphyd" +murphy_files += "${sysconfdir}/murphy" +murphy_files += "/lib/systemd/system/murphyd.service" +murphy_files += "/usr/lib/tmpfiles.d/murphyd.conf" +murphy_files += "${prefix}/sbin/asm-bridge" +murphy_files += "${sysconfdir}/dbus-1/system.d" +murphy_files += "${sysconfdir}/dbus-1/system.d/org.Murphy.conf" +murphy_files += "${prefix}/share/murphy" +murphy_files += "${prefix}/lib/libmurphy-common.so.*" +murphy_files += "${prefix}/lib/libmurphy-core.so.*" +murphy_files += "${prefix}/lib/libmurphy-resolver.so.*" +murphy_files += "${prefix}/lib/libmurphy-resource.so.*" +murphy_files += "${prefix}/lib/libmurphy-resource-backend.so.*" +murphy_files += "${prefix}/lib/libmurphy-lua-utils.so.*" +murphy_files += "${prefix}/lib/libmurphy-lua-decision.so.*" +murphy_files += "${prefix}/lib/libmurphy-domain-controller.so.*" +murphy_files += "${prefix}/lib/murphy/*.so.*" +murphy_files += "${prefix}/lib/libbreedline*.so.*" +murphy_files += "${prefix}/lib/libmurphy-libdbus.so.*" +murphy_files += "${prefix}/lib/libmurphy-dbus-libdbus.so.*" +murphy_files += "${prefix}/lib/murphy/plugins/plugin-domain-control.so" +murphy_files += "${prefix}/lib/murphy/plugins/plugin-resource-asm.so" +murphy_files += "${prefix}/lib/murphy/plugins/plugin-resource-native.so" +CONFFILES_${PN} = "" +CONFFILES_${PN} += "${sysconfdir}/murphy" +CONFFILES_${PN} += "${sysconfdir}/dbus-1/system.d/org.Murphy.conf" +MANIFESTFILES_${PN} = "${prefix}/share/murphy.manifest" + +murphy-ivi-resource-manager_files = "" +murphy-ivi-resource-manager_files += "${prefix}/lib/murphy/plugins/plugin-ivi-resource-manager.so" +MANIFESTFILES_${PN}-ivi-resource-manager = "${prefix}/share/murphy-ivi-resource-manager.manifest" + +murphy-ecore-dev_files = "" +murphy-ecore-dev_files += "${prefix}/include/murphy/common/ecore-glue.h" +murphy-ecore-dev_files += "${prefix}/lib/libmurphy-ecore.so" +murphy-ecore-dev_files += "${prefix}/lib/pkgconfig/murphy-ecore.pc" + +murphy-pulse-dev_files = "" +murphy-pulse-dev_files += "${prefix}/include/murphy/common/pulse-glue.h" +murphy-pulse-dev_files += "${prefix}/lib/libmurphy-pulse.so" +murphy-pulse-dev_files += "${prefix}/lib/pkgconfig/murphy-pulse.pc" + +murphy-tests_files = "" +murphy-tests_files += "${prefix}/bin/resource-client" +murphy-tests_files += "${prefix}/bin/resource-api-test" +murphy-tests_files += "${prefix}/bin/resource-api-fuzz" +murphy-tests_files += "${prefix}/bin/test-domain-controller" +murphy-tests_files += "${prefix}/bin/murphy-console" +MANIFESTFILES_${PN}-tests = "${prefix}/share/murphy-tests.manifest" + +murphy-system-controller_files = "" +murphy-system-controller_files += "${prefix}/lib/murphy/plugins/plugin-system-controller.so" +murphy-system-controller_files += "/lib/systemd/user/ico-homescreen.service" +murphy-system-controller_files += "/lib/systemd/user/murphy-wait-for-launchpad-ready.path" +MANIFESTFILES_${PN}-system-controller = "${prefix}/share/murphy-system-controller.manifest" + +murphy-glib_files = "" +murphy-glib_files += "${prefix}/lib/libmurphy-glib.so.*" +MANIFESTFILES_${PN}-glib = "${prefix}/share/murphy-glib.manifest" + +murphy-glib-dev_files = "" +murphy-glib-dev_files += "${prefix}/include/murphy/common/glib-glue.h" +murphy-glib-dev_files += "${prefix}/lib/libmurphy-glib.so" +murphy-glib-dev_files += "${prefix}/lib/pkgconfig/murphy-glib.pc" + +FILES_${PN}-dev = "${murphy-dev_files}" +FILES_${PN}-ecore = "${murphy-ecore_files}" +FILES_${PN}-pulse = "${murphy-pulse_files}" +FILES_${PN}-doc = "${murphy-doc_files}" +FILES_${PN} = "${murphy_files}" +FILES_${PN}-ivi-resource-manager = "${murphy-ivi-resource-manager_files}" +FILES_${PN}-ecore-dev = "${murphy-ecore-dev_files}" +FILES_${PN}-pulse-dev = "${murphy-pulse-dev_files}" +FILES_${PN}-tests = "${murphy-tests_files}" +FILES_${PN}-system-controller = "${murphy-system-controller_files}" +FILES_${PN}-glib = "${murphy-glib_files}" +FILES_${PN}-glib-dev = "${murphy-glib-dev_files}" + +PKG_murphy-dev= "murphy-dev" +PKG_murphy-ecore= "murphy-ecore" +PKG_murphy-pulse= "murphy-pulse" +PKG_murphy-doc= "murphy-doc" +PKG_murphy= "murphy" +PKG_murphy-ivi-resource-manager= "murphy-ivi-resource-manager" +PKG_murphy-ecore-dev= "murphy-ecore-dev" +PKG_murphy-pulse-dev= "murphy-pulse-dev" +PKG_murphy-tests= "murphy-tests" +PKG_murphy-system-controller= "murphy-system-controller" +PKG_murphy-glib= "murphy-glib" +PKG_murphy-glib-dev= "murphy-glib-dev" + +require murphy-extraconf.inc + diff --git a/recipes-tizen/murphy/murphy_git.bb b/recipes-tizen/murphy/murphy_git.bb new file mode 100644 index 00000000..1eb03517 --- /dev/null +++ b/recipes-tizen/murphy/murphy_git.bb @@ -0,0 +1,10 @@ +require murphy.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/profile/ivi/murphy;tag=4938a88ca6e447fb0ace5bf50ce98bf85fa7c976;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/recipes-tizen/node-startup-controller/node-startup-controller-extraconf.inc b/recipes-tizen/node-startup-controller/node-startup-controller-extraconf.inc new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/recipes-tizen/node-startup-controller/node-startup-controller-extraconf.inc diff --git a/recipes-tizen/node-startup-controller/node-startup-controller.inc b/recipes-tizen/node-startup-controller/node-startup-controller.inc new file mode 100644 index 00000000..902b3504 --- /dev/null +++ b/recipes-tizen/node-startup-controller/node-startup-controller.inc @@ -0,0 +1,123 @@ +DESCRIPTION = "GENIVI Node Startup Controller" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Automotive/GENIVI" +LICENSE = "MPL-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by node-startup-controller + + +#PROVIDES by node-startup-controller-dummy +PROVIDES += "node-startup-controller-dummy" + + +RDEPENDS = "" +#RDEPENDS of node-startup-controller-dummy (${PN}-dummy) +RDEPENDS_${PN}-dummy += "node-startup-controller" + + +DEPENDS = "" +#DEPENDS of node-startup-controller +DEPENDS += "systemd" +DEPENDS += "dlt-daemon" +DEPENDS += "zlib" +DEPENDS += "glib-2.0" +DEPENDS += "python-xml" +DEPENDS += "gtk-doc" + +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 ; + + + (test -d m4 || mkdir m4) && autoreconf -ivf + + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --enable-debug=no \ + --enable-gtk-doc=no \ + GDBUS_CODEGEN=`which gdbus-codegen` + + make ARCH=i586 + + + +} + +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 = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " node-startup-controller " +PACKAGES += " node-startup-controller-dummy " + +node-startup-controller_files = "" +node-startup-controller_files += "${sysconfdir}/dbus-1/system.d/org.genivi.NodeStartupController1.conf" +node-startup-controller_files += "${prefix}/lib/node-startup-controller-1/legacy-app-handler" +node-startup-controller_files += "${prefix}/lib/node-startup-controller-1/node-startup-controller" +node-startup-controller_files += "${prefix}/lib/systemd/system/node-startup-controller.service" +node-startup-controller_files += "${prefix}/share/dbus-1/system-services/org.genivi.NodeStartupController1.service" +CONFFILES_${PN} = "" +CONFFILES_${PN} += "${sysconfdir}/dbus-1/system.d/org.genivi.NodeStartupController1.conf" + +node-startup-controller-dummy_files = "" +node-startup-controller-dummy_files += "${prefix}/lib/node-startup-controller-1/nsm-dummy" +node-startup-controller-dummy_files += "${prefix}/lib/systemd/system/nsm-dummy.service" +node-startup-controller-dummy_files += "${sysconfdir}/dbus-1/system.d/org.genivi.NodeStateManager.conf" +node-startup-controller-dummy_files += "${prefix}/share/dbus-1/system-services/org.genivi.NodeStateManager.Consumer.service" +node-startup-controller-dummy_files += "${prefix}/share/dbus-1/system-services/org.genivi.NodeStateManager.LifecycleControl.service" +CONFFILES_${PN}-dummy = "" +CONFFILES_${PN}-dummy += "${sysconfdir}/dbus-1/system.d/org.genivi.NodeStateManager.conf" + +FILES_${PN} = "${node-startup-controller_files}" +FILES_${PN}-dummy = "${node-startup-controller-dummy_files}" + +PKG_node-startup-controller= "node-startup-controller" +PKG_node-startup-controller-dummy= "node-startup-controller-dummy" + +require node-startup-controller-extraconf.inc + diff --git a/recipes-tizen/node-startup-controller/node-startup-controller_git.bb b/recipes-tizen/node-startup-controller/node-startup-controller_git.bb new file mode 100644 index 00000000..b77242cf --- /dev/null +++ b/recipes-tizen/node-startup-controller/node-startup-controller_git.bb @@ -0,0 +1,10 @@ +require node-startup-controller.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/profile/ivi/node-startup-controller;tag=d269ec968e6723a101d346e9843bbfe5ae15238c;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/recipes-tizen/phoned/phoned-extraconf.inc b/recipes-tizen/phoned/phoned-extraconf.inc new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/recipes-tizen/phoned/phoned-extraconf.inc diff --git a/recipes-tizen/phoned/phoned.inc b/recipes-tizen/phoned/phoned.inc new file mode 100644 index 00000000..4756f1ec --- /dev/null +++ b/recipes-tizen/phoned/phoned.inc @@ -0,0 +1,101 @@ +DESCRIPTION = "OFono/Obex business logic for phone web APIs" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Automotive/Modello" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by phoned + + +RDEPENDS = "" + +DEPENDS = "" +#DEPENDS of phoned +DEPENDS_append_class-native = " cmake-native" +DEPENDS_append_class-target = " cmake-native" +DEPENDS += "evolution-data-server" +DEPENDS += "dbus" +DEPENDS += "expat" +#Replace "DEPENDS" on gettext by "inherit gettext" +inherit gettext +DEPENDS += "json-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 ; + + + + export LDFLAGS+="-Wl,--rpath="${prefix}/lib/wrt-plugins" -Wl,--as-needed" + + cmake . -DCMAKE_INSTALL_PREFIX=${prefix} -DENABLE_TIME_TRACER="OFF" + + make VERBOSE=1 + + + +} + +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 -- + + +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " phoned " + +phoned_files = "" +phoned_files += "${prefix}/lib/pkgconfig/phoned.pc" +phoned_files += "${prefix}/sbin/phoned" +phoned_files += "${prefix}/share/dbus-1/services/org.tizen.phone.service" +phoned_files += "${prefix}/lib/systemd/user/phoned.service" + +FILES_${PN} = "${phoned_files}" + +PKG_phoned= "phoned" + +require phoned-extraconf.inc + diff --git a/recipes-tizen/phoned/phoned_git.bb b/recipes-tizen/phoned/phoned_git.bb new file mode 100644 index 00000000..f9187c5c --- /dev/null +++ b/recipes-tizen/phoned/phoned_git.bb @@ -0,0 +1,10 @@ +require phoned.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/profile/ivi/phoned;tag=ba27231c6ce2a674db5be654ae1d4d9bc269e1d8;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/recipes-tizen/pulseaudio-module-murphy-ivi/pulseaudio-module-murphy-ivi-extraconf.inc b/recipes-tizen/pulseaudio-module-murphy-ivi/pulseaudio-module-murphy-ivi-extraconf.inc new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/recipes-tizen/pulseaudio-module-murphy-ivi/pulseaudio-module-murphy-ivi-extraconf.inc diff --git a/recipes-tizen/pulseaudio-module-murphy-ivi/pulseaudio-module-murphy-ivi.inc b/recipes-tizen/pulseaudio-module-murphy-ivi/pulseaudio-module-murphy-ivi.inc new file mode 100644 index 00000000..79035590 --- /dev/null +++ b/recipes-tizen/pulseaudio-module-murphy-ivi/pulseaudio-module-murphy-ivi.inc @@ -0,0 +1,120 @@ +DESCRIPTION = "Pulseaudio module for enforcing policy decisions in the audio domain" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System Environment/Daemons" +LICENSE = "LGPLv2.1" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by pulseaudio-module-murphy-ivi + + +RDEPENDS = "" +#RDEPENDS of pulseaudio-module-murphy-ivi (${PN}) +RDEPENDS_${PN} += "pulseaudio" +RDEPENDS_${PN} += "aul" + + +DEPENDS = "" +#DEPENDS of pulseaudio-module-murphy-ivi +DEPENDS += "config(pulseaudio)" +DEPENDS += "dbus" +DEPENDS += "murphy" +DEPENDS += "pulseaudio" +DEPENDS += "glib-2.0" +DEPENDS += "lua" +DEPENDS += "aul" +DEPENDS_append_class-native = " libtool" +DEPENDS_append_class-target = " libtool-cross" + +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 ; + + PAVER="`/usr/bin/pkg-config --silence-errors --modversion libpulse | tr -d \\n | sed -e 's/\([0123456789.]\+\).*/\1/'`" + ./bootstrap.sh + + unset LD_AS_NEEDED + + autotools_do_configure + make + + + +} +EXTRA_OECONF += " --disable-static --with-module-dir=${prefix}/lib/pulse-$PAVER/modules --with-dbus --with-documentation=no --with-murphyif" + +do_install() { + echo export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf $RPM_BUILD_ROOT + + 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 ${prefix}/lib/pulse-*/modules/module-*.la + + + +} + +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 += " pulseaudio-module-murphy-ivi " + +pulseaudio-module-murphy-ivi_files = "" +pulseaudio-module-murphy-ivi_files += "${prefix}/lib/pulse-*/modules/module-*.so" +pulseaudio-module-murphy-ivi_files += "${sysconfdir}/dbus-1/system.d/pulseaudio-murphy-ivi.conf" +pulseaudio-module-murphy-ivi_files += "${sysconfdir}/pulse/murphy-ivi.lua" + +FILES_${PN} = "${pulseaudio-module-murphy-ivi_files}" + +PKG_pulseaudio-module-murphy-ivi= "pulseaudio-module-murphy-ivi" + +require pulseaudio-module-murphy-ivi-extraconf.inc + diff --git a/recipes-tizen/pulseaudio-module-murphy-ivi/pulseaudio-module-murphy-ivi_git.bb b/recipes-tizen/pulseaudio-module-murphy-ivi/pulseaudio-module-murphy-ivi_git.bb new file mode 100644 index 00000000..4f6d6f12 --- /dev/null +++ b/recipes-tizen/pulseaudio-module-murphy-ivi/pulseaudio-module-murphy-ivi_git.bb @@ -0,0 +1,10 @@ +require pulseaudio-module-murphy-ivi.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/profile/ivi/pulseaudio-module-murphy-ivi;tag=1b2c68de083f39b0078f5529e4f92530e1eed9b0;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/recipes-tizen/rygel/rygel-extraconf.inc b/recipes-tizen/rygel/rygel-extraconf.inc new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/recipes-tizen/rygel/rygel-extraconf.inc diff --git a/recipes-tizen/rygel/rygel.inc b/recipes-tizen/rygel/rygel.inc new file mode 100644 index 00000000..27cc3a62 --- /dev/null +++ b/recipes-tizen/rygel/rygel.inc @@ -0,0 +1,215 @@ +DESCRIPTION = "GNOME UPnP/DLNA Media Server" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Applications/Multimedia" +LICENSE = "LGPL-2.0+" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by rygel + + +#PROVIDES by rygel-dev +PROVIDES += "rygel-dev" + + +RDEPENDS = "" +#RDEPENDS of rygel (${PN}) +RDEPENDS_${PN} += "/bin/touch" + +#RDEPENDS of rygel-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "rygel" + + +DEPENDS = "" +#DEPENDS of rygel +DEPENDS += "docbook-xsl-stylesheets" +DEPENDS += "util-linux" +DEPENDS += "gupnp-dlna" +DEPENDS += "gnome-common" +DEPENDS += "gstreamer1.0-plugins-base" +DEPENDS += "vala" +DEPENDS += "gupnp" +DEPENDS += "libsoup-2.4" +DEPENDS_append_class-native = " intltool-native" +DEPENDS_append_class-target = " intltool-native" +DEPENDS += "libgee" +DEPENDS += "gupnp-av" +DEPENDS += "libxslt-tools" +DEPENDS += "sqlite3" +DEPENDS += "glib-2.0" +DEPENDS += "gstreamer1.0" +DEPENDS += "dbus-glib" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n rygel-0_22_0 + + # >> setup + # << setup + + +} +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 ; + + # >> build pre + # << build pre + NOCONFIGURE=y ./autogen.sh + + autotools_do_configure + + # >> build post + # << build post + + +} +EXTRA_OECONF += " --disable-static --disable-external-plugin --disable-mpris-plugin --disable-mediathek-plugin --disable-tracker-plugin --disable-gst-launch-plugin --disable-example-plugins --disable-tests --enable-valadoc=no" + +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} + # >> install pre + # << install pre + + 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 post + # << install post + #find_lang rygel + + # Systemd service file + install -D -m 644 examples/service/systemd/rygel.service.tizen ${D}/lib/systemd/system/rygel.service + # + mkdir -p ${D}//lib/systemd/system/network.target.wants + ln -s ../rygel.service ${D}//lib/systemd/system/network.target.wants/rygel.service + rm -rf $RPM_BUILD_ROOT${prefix}/share/applications/*.desktop + + +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x\$D" == "x" ] && ldconfig + /bin/touch --no-create $D${prefix}/share/icons/hicolor || : + $D${prefix}/bin/gtk-update-icon-cache \ + --quiet $D${prefix}/share/icons/hicolor 2> /dev/null|| : + # systemctl daemon-reload + # systemctl restart rygel.service + +} + +pkg_prerm_${PN}() { + #!/bin/sh -e + + systemctl stop rygel.service + +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x\$D" == "x" ] && ldconfig + /bin/touch --no-create $D${prefix}/share/icons/hicolor || : + $D${prefix}/bin/gtk-update-icon-cache \ + --quiet $D${prefix}/share/icons/hicolor 2> /dev/null|| : + systemctl daemon-reload + +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " rygel " +PACKAGES += " rygel-dev " + +rygel_files = "" +rygel_files += "/etc/rygel.conf" +rygel_files += "/lib/systemd/system/rygel.service" +rygel_files += "/lib/systemd/system/network.target.wants/rygel.service" +rygel_files += "${prefix}/bin/rygel" +rygel_files += "${prefix}/share/dbus-1/services/org.gnome.Rygel1.service" +rygel_files += "${prefix}/share/icons/hicolor/128x128/apps/rygel.png" +rygel_files += "${prefix}/share/icons/hicolor/48x48/apps/rygel.png" +rygel_files += "${prefix}/share/icons/hicolor/32x32/apps/rygel.png" +rygel_files += "${prefix}/share/icons/hicolor/scalable/apps/rygel-full.svg" +rygel_files += "${prefix}/share/icons/hicolor/scalable/apps/rygel.svg" +rygel_files += "${prefix}/share/rygel/icons/120x120/rygel.jpg" +rygel_files += "${prefix}/share/rygel/icons/120x120/rygel.png" +rygel_files += "${prefix}/share/rygel/icons/48x48/rygel.jpg" +rygel_files += "${prefix}/share/rygel/icons/48x48/rygel.png" +rygel_files += "${prefix}/share/rygel/presets/GstFaac.prs" +rygel_files += "${prefix}/share/rygel/presets/GstLameMP3Enc.prs" +rygel_files += "${prefix}/share/rygel/presets/GstMP4Mux.prs" +rygel_files += "${prefix}/share/rygel/presets/GstTwoLame.prs" +rygel_files += "${prefix}/share/rygel/presets/GstX264Enc.prs" +rygel_files += "${prefix}/share/rygel/presets/avenc_aac.prs" +rygel_files += "${prefix}/share/rygel/presets/avenc_mp2.prs" +rygel_files += "${prefix}/share/rygel/presets/avenc_mpeg2video.prs" +rygel_files += "${prefix}/share/rygel/presets/avenc_wmav1.prs" +rygel_files += "${prefix}/share/rygel/presets/avenc_wmv1.prs" +rygel_files += "${prefix}/share/rygel/xml/ContentDirectory-NoTrack.xml" +rygel_files += "${prefix}/share/rygel/xml/AVTransport2.xml" +rygel_files += "${prefix}/share/rygel/xml/BasicManagement2.xml" +rygel_files += "${prefix}/share/rygel/xml/ConnectionManager.xml" +rygel_files += "${prefix}/share/rygel/xml/ContentDirectory.xml" +rygel_files += "${prefix}/share/rygel/xml/MediaRenderer2.xml" +rygel_files += "${prefix}/share/rygel/xml/MediaServer3.xml" +rygel_files += "${prefix}/share/rygel/xml/RenderingControl2.xml" +rygel_files += "${prefix}/share/rygel/xml/X_MS_MediaReceiverRegistrar1.xml" +rygel_files += "${prefix}/share/man/man1/rygel.1.gz" +rygel_files += "${prefix}/share/man/man5/rygel.conf.5.gz" +rygel_files += "${prefix}/lib/librygel-*.so.*" +rygel_files += "${prefix}/lib/rygel-2.2/plugins/*.so" +rygel_files += "${prefix}/lib/rygel-2.2/plugins/*.plugin" +rygel_files += "${prefix}/lib/rygel-2.2/engines/*.so" +rygel_files += "${prefix}/lib/rygel-2.2/engines/*.plugin" +CONFFILES_${PN} = "" +CONFFILES_${PN} += "/etc/rygel.conf" + +rygel-dev_files = "" +rygel-dev_files += "${prefix}/include/rygel-2.2/*" +rygel-dev_files += "${prefix}/lib/*.so" +rygel-dev_files += "${prefix}/lib/pkgconfig/rygel-*-2.2.pc" +rygel-dev_files += "${prefix}/share/vala/vapi/rygel-*-2.2.deps" +rygel-dev_files += "${prefix}/share/vala/vapi/rygel-*-2.2.vapi" + +FILES_${PN} = "${rygel_files}" +FILES_${PN}-dev = "${rygel-dev_files}" + +PKG_rygel= "rygel" +PKG_rygel-dev= "rygel-dev" + +require rygel-extraconf.inc + diff --git a/recipes-tizen/rygel/rygel_git.bb b/recipes-tizen/rygel/rygel_git.bb new file mode 100644 index 00000000..d57eb051 --- /dev/null +++ b/recipes-tizen/rygel/rygel_git.bb @@ -0,0 +1,10 @@ +require rygel.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/profile/ivi/rygel;tag=be0b78a986fe3d55ec3353afc4661f54351a3766;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/recipes-tizen/security-server/security-server.inc b/recipes-tizen/security-server/security-server.inc index 55f7f89d..aa50e8f1 100644 --- a/recipes-tizen/security-server/security-server.inc +++ b/recipes-tizen/security-server/security-server.inc @@ -100,7 +100,7 @@ do_compile() { -DSHARE_INSTALL_PREFIX:PATH=${prefix}/share \ -DCMAKE_SKIP_RPATH:BOOL=ON \ -DBUILD_SHARED_LIBS:BOOL=ON \ - ${EXTRA_OECMAKE} . -DVERSION=0.0.120 \ + ${EXTRA_OECMAKE} . -DVERSION=0.1.1 \ -DCMAKE_BUILD_TYPE=RELEASE \ -DCMAKE_VERBOSE_MAKEFILE=ON make diff --git a/recipes-tizen/sphinxbase/sphinxbase-extraconf.inc b/recipes-tizen/sphinxbase/sphinxbase-extraconf.inc new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/recipes-tizen/sphinxbase/sphinxbase-extraconf.inc diff --git a/recipes-tizen/sphinxbase/sphinxbase.inc b/recipes-tizen/sphinxbase/sphinxbase.inc new file mode 100644 index 00000000..80efdfa5 --- /dev/null +++ b/recipes-tizen/sphinxbase/sphinxbase.inc @@ -0,0 +1,144 @@ +DESCRIPTION = "Speech Recognition Engine" +HOMEPAGE = "http://nohomepage.org" +SECTION = "System/Libraries" +LICENSE = "BSD" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by sphinxbase-dev +PROVIDES += "sphinxbase-dev" + + +#PROVIDES by sphinxbase + + +#PROVIDES by sphinxbase-python +PROVIDES += "sphinxbase-python" + + +#PROVIDES by sphinxbase-libs +PROVIDES += "sphinxbase-libs" + + +RDEPENDS = "" +#RDEPENDS of sphinxbase-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "sphinxbase-libs" + +#RDEPENDS of sphinxbase-python (${PN}-python) +RDEPENDS_${PN}-python += "sphinxbase-libs" + + +DEPENDS = "" +#DEPENDS of sphinxbase +inherit pythonnative +DEPENDS += "python-setuptools" +DEPENDS_append_class-native = " bison-native" +DEPENDS_append_class-target = " bison-native" + +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 ; + + + autotools_do_configure + + make ${PARALLEL_MAKE} + + + +} +EXTRA_OECONF += " --disable-static --disable-rpath" + +do_install() { + echo export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf $RPM_BUILD_ROOT + mkdir -p $RPM_BUILD_ROOT${prefix}/lib/python2.7/site-packages + make install DESTDIR=$RPM_BUILD_ROOT + rm -f $RPM_BUILD_ROOT${prefix}/lib/*.la + + # Install the man pages + mkdir -p $RPM_BUILD_ROOT${mandir}/man1 + cp -p doc/*.1 $RPM_BUILD_ROOT${mandir}/man1 + + +} + +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 += " sphinxbase-dev " +PACKAGES += " sphinxbase " +PACKAGES += " sphinxbase-libs " +PACKAGES += " sphinxbase-python " + +sphinxbase-dev_files = "" +sphinxbase-dev_files += "${prefix}/include/sphinxbase" +sphinxbase-dev_files += "${prefix}/lib/libsphinxad.so" +sphinxbase-dev_files += "${prefix}/lib/libsphinxbase.so" +sphinxbase-dev_files += "${prefix}/lib/pkgconfig/sphinxbase.pc" + +sphinxbase_files = "" +sphinxbase_files += "${prefix}/bin/*" +sphinxbase_files += "${mandir}/man1/*" + +sphinxbase-libs_files = "" +sphinxbase-libs_files += "AUTHORS ChangeLog COPYING NEWS README" +sphinxbase-libs_files += "${prefix}/lib/libsphinxad.so.*" +sphinxbase-libs_files += "${prefix}/lib/libsphinxbase.so.*" + +sphinxbase-python_files = "" +sphinxbase-python_files += "${prefix}/lib/python2.7/site-packages/*" + +FILES_${PN}-dev = "${sphinxbase-dev_files}" +FILES_${PN} = "${sphinxbase_files}" +FILES_${PN}-libs = "${sphinxbase-libs_files}" +FILES_${PN}-python = "${sphinxbase-python_files}" + +PKG_sphinxbase-dev= "sphinxbase-dev" +PKG_sphinxbase= "sphinxbase" +PKG_sphinxbase-libs= "sphinxbase-libs" +PKG_sphinxbase-python= "sphinxbase-python" + +require sphinxbase-extraconf.inc + diff --git a/recipes-tizen/sphinxbase/sphinxbase_git.bb b/recipes-tizen/sphinxbase/sphinxbase_git.bb new file mode 100644 index 00000000..690a6d8c --- /dev/null +++ b/recipes-tizen/sphinxbase/sphinxbase_git.bb @@ -0,0 +1,10 @@ +require sphinxbase.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/profile/ivi/sphinxbase;tag=dfd0999be40186cbf473dc9d41b6196df06861a8;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/recipes-tizen/udev-rules/udev-rules-extraconf.inc b/recipes-tizen/udev-rules/udev-rules-extraconf.inc new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/recipes-tizen/udev-rules/udev-rules-extraconf.inc diff --git a/recipes-tizen/udev-rules/udev-rules.inc b/recipes-tizen/udev-rules/udev-rules.inc new file mode 100644 index 00000000..9df5dfdf --- /dev/null +++ b/recipes-tizen/udev-rules/udev-rules.inc @@ -0,0 +1,81 @@ +DESCRIPTION = "Tizen IVI udev Rules" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Automotive/Hardware Adaptation" +LICENSE = "GPL-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by udev-rules + + +#PROVIDES by udev-rules-ivi +PROVIDES += "udev-rules-ivi" + + +RDEPENDS = "" + +DEPENDS = "" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q -n udev-rules-0.12 + + +} +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() { + echo export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + rm -rf ${D} + make -C ivi install DESTDIR=${D} + + +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " udev-rules-ivi " + +udev-rules-ivi_files = "" +udev-rules-ivi_files += "/usr/lib/udev/rules.d/99-atkbd.rules" +udev-rules-ivi_files += "/usr/lib/udev/rules.d/99-neard.rules" +udev-rules-ivi_files += "/usr/lib/udev/rules.d/99-tty.rules" +udev-rules-ivi_files += "/usr/lib/udev/rules.d/70-tun.rules" + +FILES_${PN}-ivi = "${udev-rules-ivi_files}" + +PKG_udev-rules-ivi= "udev-rules-ivi" + +require udev-rules-extraconf.inc + diff --git a/recipes-tizen/udev-rules/udev-rules_git.bb b/recipes-tizen/udev-rules/udev-rules_git.bb new file mode 100644 index 00000000..91f4d873 --- /dev/null +++ b/recipes-tizen/udev-rules/udev-rules_git.bb @@ -0,0 +1,10 @@ +require udev-rules.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/profile/ivi/udev-rules;tag=f4c1dc2f26f647eeb790b6df1868da7bd1548eb2;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/recipes-tizen/wayland-ivi-extension/wayland-ivi-extension-extraconf.inc b/recipes-tizen/wayland-ivi-extension/wayland-ivi-extension-extraconf.inc new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/recipes-tizen/wayland-ivi-extension/wayland-ivi-extension-extraconf.inc diff --git a/recipes-tizen/wayland-ivi-extension/wayland-ivi-extension.inc b/recipes-tizen/wayland-ivi-extension/wayland-ivi-extension.inc new file mode 100644 index 00000000..38bfbe76 --- /dev/null +++ b/recipes-tizen/wayland-ivi-extension/wayland-ivi-extension.inc @@ -0,0 +1,168 @@ +DESCRIPTION = "GENIVI Shell Plugin-in" +HOMEPAGE = "http://git.projects.genivi.org/wayland-ivi-extension.git" +SECTION = "Graphics & UI Framework/Wayland Window System" +LICENSE = "Apache-2.0" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by genivi-shell +PROVIDES += "genivi-shell" + + +#PROVIDES by genivi-shell-dev +PROVIDES += "genivi-shell-dev" + + +RDEPENDS = "" +#RDEPENDS of genivi-shell-dev (genivi-shell-dev) +RDEPENDS_genivi-shell-dev += "genivi-shell" + + +DEPENDS = "" +#DEPENDS of genivi-shell +DEPENDS_append_class-native = " cmake-native" +DEPENDS_append_class-target = " cmake-native" +DEPENDS += "libxkbcommon" +DEPENDS += "cairo" +DEPENDS += "weston" +DEPENDS += "wayland" +DEPENDS += "libffi" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/genivi-shell.manifest . + + /usr/bin/wayland-scanner code < protocol/ivi-controller.xml \ + > protocol/ivi-controller-protocol.c + + + + 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 \ + ${EXTRA_OECMAKE} . + + +} +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 ; + + + make ${PARALLEL_MAKE} + + + +} + +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}/${prefix}/share/genivi-shell/protocol/ + + install -m 644 protocol/ivi-application.xml ${D}/${prefix}/share/genivi-shell/protocol/ + install -m 644 protocol/ivi-controller.xml ${D}/${prefix}/share/genivi-shell/protocol/ + + install -m 644 protocol/ivi-application-server-protocol.h \ + ${D}/${prefix}/share/genivi-shell/protocol/ + + install -m 644 protocol/ivi-application-protocol.c \ + ${D}/${prefix}/share/genivi-shell/protocol/ + + install -m 644 protocol/ivi-controller-server-protocol.h \ + ${D}/${prefix}/share/genivi-shell/protocol/ + + install -m 644 protocol/ivi-controller-protocol.c \ + ${D}/${prefix}/share/genivi-shell/protocol/ + + +} + +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 += " genivi-shell " +PACKAGES += " genivi-shell-dev " + +genivi-shell_files = "" +genivi-shell_files += "${prefix}/bin/LayerManagerControl" +genivi-shell_files += "${prefix}/bin/EGLWLMockNavigation" +genivi-shell_files += "${prefix}/lib/libilmClient.so.*" +genivi-shell_files += "${prefix}/lib/libilmCommon.so.*" +genivi-shell_files += "${prefix}/lib/libilmControl.so.*" +genivi-shell_files += "${prefix}/lib/weston/ivi-controller.so" +MANIFESTFILES_genivi-shell = "genivi-shell.manifest" + +genivi-shell-dev_files = "" +genivi-shell-dev_files += "${prefix}/include/ilm/ilm_client.h" +genivi-shell-dev_files += "${prefix}/include/ilm/ilm_common.h" +genivi-shell-dev_files += "${prefix}/include/ilm/ilm_control.h" +genivi-shell-dev_files += "${prefix}/include/ilm/ilm_platform.h" +genivi-shell-dev_files += "${prefix}/include/ilm/ilm_types.h" +genivi-shell-dev_files += "${prefix}/lib/libilmClient.so" +genivi-shell-dev_files += "${prefix}/lib/libilmCommon.so" +genivi-shell-dev_files += "${prefix}/lib/libilmControl.so" +genivi-shell-dev_files += "${prefix}/share/genivi-shell/protocol/*.xml" +genivi-shell-dev_files += "${prefix}/share/genivi-shell/protocol/*.h" +genivi-shell-dev_files += "${prefix}/share/genivi-shell/protocol/*.c" + +FILES_genivi-shell = "${genivi-shell_files}" +FILES_genivi-shell-dev = "${genivi-shell-dev_files}" + +PKG_genivi-shell= "genivi-shell" +PKG_genivi-shell-dev= "genivi-shell-dev" + +require wayland-ivi-extension-extraconf.inc + diff --git a/recipes-tizen/wayland-ivi-extension/wayland-ivi-extension_git.bb b/recipes-tizen/wayland-ivi-extension/wayland-ivi-extension_git.bb new file mode 100644 index 00000000..0615e8c6 --- /dev/null +++ b/recipes-tizen/wayland-ivi-extension/wayland-ivi-extension_git.bb @@ -0,0 +1,10 @@ +require wayland-ivi-extension.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/profile/ivi/wayland-ivi-extension;tag=da1215f2271a7e77944f50072a3898f9db2b76cc;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/recipes-tizen/weston-ivi-shell/weston-ivi-shell-extraconf.inc b/recipes-tizen/weston-ivi-shell/weston-ivi-shell-extraconf.inc new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/recipes-tizen/weston-ivi-shell/weston-ivi-shell-extraconf.inc diff --git a/recipes-tizen/weston-ivi-shell/weston-ivi-shell.inc b/recipes-tizen/weston-ivi-shell/weston-ivi-shell.inc new file mode 100644 index 00000000..ac521362 --- /dev/null +++ b/recipes-tizen/weston-ivi-shell/weston-ivi-shell.inc @@ -0,0 +1,167 @@ +DESCRIPTION = "Weston IVI Shell" +HOMEPAGE = "https://github.com/ntanibata/weston-ivi-shell/" +SECTION = "Graphics & UI Framework/Wayland Window System" +LICENSE = "MIT" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by weston-ivi-shell-dev +PROVIDES += "weston-ivi-shell-dev" + + +#PROVIDES by weston-ivi-shell-config +PROVIDES += "weston-ivi-shell-config" + + +#PROVIDES by weston-ivi-shell + + +RDEPENDS = "" +#RDEPENDS of weston-ivi-shell-dev (${PN}-dev) +RDEPENDS_${PN}-dev += "weston-ivi-shell" + +#RDEPENDS of weston-ivi-shell-config (${PN}-config) +RDEPENDS_${PN}-config += "weekeyboard" +RDEPENDS_${PN}-config += "weston-clients" +RDEPENDS_${PN}-config += "genivi-shell" + +#RDEPENDS of weston-ivi-shell (${PN}) +RDEPENDS_${PN} += "weston" + + +DEPENDS = "" +#DEPENDS of weston-ivi-shell +DEPENDS += "mtdev" +DEPENDS += "libxkbcommon" +DEPENDS += "libjpeg-turbo" +DEPENDS_append_class-native = " pkgconfig-native" +DEPENDS_append_class-target = " pkgconfig-native" +DEPENDS_append_class-native = " automake-native" +DEPENDS_append_class-target = " automake-native" +DEPENDS += "weston" +DEPENDS += "wayland" +DEPENDS_append_class-native = " libtool" +DEPENDS_append_class-target = " libtool-cross" +DEPENDS += "cairo" +DEPENDS += "mesa" +DEPENDS_append_class-native = " autoconf-native" +DEPENDS_append_class-target = " autoconf-native" +DEPENDS += "pango" +DEPENDS += "pixman" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/weston-ivi-shell.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 ; + + # We only care about the ivi-shell related bits so disable anything + # unrelated. + + + autotools_do_configure + make ${PARALLEL_MAKE} + + + +} +EXTRA_OECONF += " --disable-static --disable-egl --disable-libunwind --disable-xwayland --disable-xwayland-test --disable-drm-compositor --disable-x11-compositor --disable-rpi-compositor --disable-fbdev-compositor --disable-wayland-compositor --disable-headless-compositor --disable-weston-launch --enable-clients --disable-wcap-tools --disable-demo-clients-install --disable-libinput-backend --disable-fullscreen-shell" + +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}/${prefix}/share/weston-ivi-shell/protocol/ + + install -m 644 protocol/*.xml \ + ${D}/${prefix}/share/weston-ivi-shell/protocol/ + + install -m 644 protocol/*.h \ + ${D}/${prefix}/share/weston-ivi-shell/protocol/ + + install -m 644 protocol/*.c \ + ${D}/${prefix}/share/weston-ivi-shell/protocol/ + + mkdir -p ${D}${sysconfdir}/xdg/weston + install -m 0644 ${S}/packaging/weston.ini ${D}${sysconfdir}/xdg/weston + install -d ${D}/${prefix}/share/weston/ + cp -rfva data/* ${D}/${prefix}/share/weston/ + + + + +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " weston-ivi-shell-dev " +PACKAGES += " weston-ivi-shell-config " +PACKAGES += " weston-ivi-shell " + +weston-ivi-shell-dev_files = "" +weston-ivi-shell-dev_files += "${prefix}/include/weston/ivi-layout-export.h" +weston-ivi-shell-dev_files += "${prefix}/include/weston/ivi-layout.h" +weston-ivi-shell-dev_files += "${prefix}/include/weston/ivi-shell.h" +weston-ivi-shell-dev_files += "${prefix}/include/weston/ivi-layout-transition.h" +weston-ivi-shell-dev_files += "${prefix}/share/weston-ivi-shell/protocol/*" +MANIFESTFILES_${PN}-dev = "weston-ivi-shell.manifest" + +weston-ivi-shell-config_files = "" +weston-ivi-shell-config_files += "${sysconfdir}/xdg/weston/weston.ini" +CONFFILES_${PN}-config = "" +CONFFILES_${PN}-config += "${sysconfdir}/xdg/weston/weston.ini" +MANIFESTFILES_${PN}-config = "weston-ivi-shell.manifest" + +weston-ivi-shell_files = "" +weston-ivi-shell_files += "${prefix}/lib/weston" +weston-ivi-shell_files += "${prefix}/libexec/weston-ivi-shell-user-interface" +weston-ivi-shell_files += "${prefix}/share/weston/*" +MANIFESTFILES_${PN} = "weston-ivi-shell.manifest" + +FILES_${PN}-dev = "${weston-ivi-shell-dev_files}" +FILES_${PN}-config = "${weston-ivi-shell-config_files}" +FILES_${PN} = "${weston-ivi-shell_files}" + +PKG_weston-ivi-shell-dev= "weston-ivi-shell-dev" +PKG_weston-ivi-shell-config= "weston-ivi-shell-config" +PKG_weston-ivi-shell= "weston-ivi-shell" + +require weston-ivi-shell-extraconf.inc + diff --git a/recipes-tizen/weston-ivi-shell/weston-ivi-shell_git.bb b/recipes-tizen/weston-ivi-shell/weston-ivi-shell_git.bb new file mode 100644 index 00000000..70f0385a --- /dev/null +++ b/recipes-tizen/weston-ivi-shell/weston-ivi-shell_git.bb @@ -0,0 +1,10 @@ +require weston-ivi-shell.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/profile/ivi/weston-ivi-shell;tag=79bfd85f5492ce1b2e731aa71d4506d507c6945f;nobranch=1" + +BBCLASSEXTEND += " native " + diff --git a/recipes-tizen/weston-ivi/weston-ivi-extraconf.inc b/recipes-tizen/weston-ivi/weston-ivi-extraconf.inc new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/recipes-tizen/weston-ivi/weston-ivi-extraconf.inc diff --git a/recipes-tizen/weston-ivi/weston-ivi.inc b/recipes-tizen/weston-ivi/weston-ivi.inc new file mode 100644 index 00000000..039a322e --- /dev/null +++ b/recipes-tizen/weston-ivi/weston-ivi.inc @@ -0,0 +1,107 @@ +DESCRIPTION = "Tizen IVI Weston configuration and set-up" +HOMEPAGE = "http://nohomepage.org" +SECTION = "Automotive/Configuration" +LICENSE = "MIT" + +SRC_URI = "" + +S = "${WORKDIR}/git" + +inherit autotools-brokensep + +BBCLASSEXTEND = "" +PROVIDES = "" + +#PROVIDES by weston-ivi-config +PROVIDES += "weston-ivi-config" + + +#PROVIDES by weston-ivi +# the PROVIDES rules is ignore "weston-startup " +PROVIDES += "weston-startup" +RPROVIDES_weston-ivi += "weston-startup" + + +RDEPENDS = "" +#RDEPENDS of weston-ivi-config (${PN}-config) +RDEPENDS_${PN}-config += "weekeyboard" + + +DEPENDS = "" + +do_prep() { + cd ${S} + chmod -Rf a+rX,u+w,g-w,o-w ${S} + #setup -q + cp ${S}/packaging/weston-ivi.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() { + echo export RPM_BUILD_ROOT=${D} + cd ${S} + LANG=C + export LANG + unset DISPLAY + rm -rf ${D} + mkdir -p ${D} + + + install -d ${D}/lib/systemd/user/weston.target.wants + install -m 644 weston.service ${D}/lib/systemd/user/weston.service + ln -sf ../weston.service ${D}//lib/systemd/user/weston.target.wants/ + + mkdir -p ${D}${sysconfdir}/profile.d/ + install -m 0644 weston.sh ${D}${sysconfdir}/profile.d/ + + mkdir -p ${D}${sysconfdir}/xdg/weston + install -m 0644 weston.ini ${D}${sysconfdir}/xdg/weston + + +} + +PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" +PACKAGES += " weston-ivi-config " +PACKAGES += " weston-ivi " + +weston-ivi-config_files = "" +weston-ivi-config_files += "${sysconfdir}/xdg/weston/weston.ini" +CONFFILES_${PN}-config = "" +CONFFILES_${PN}-config += "${sysconfdir}/xdg/weston/weston.ini" +MANIFESTFILES_${PN}-config = "weston-ivi.manifest" + +weston-ivi_files = "" +weston-ivi_files += "/lib/systemd/user/weston.service" +weston-ivi_files += "/lib/systemd/user/weston.target.wants/weston.service" +weston-ivi_files += "${sysconfdir}/profile.d/*" +CONFFILES_${PN} = "" +CONFFILES_${PN} += "${sysconfdir}/profile.d/*" +MANIFESTFILES_${PN} = "weston-ivi.manifest" + +FILES_${PN}-config = "${weston-ivi-config_files}" +FILES_${PN} = "${weston-ivi_files}" + +PKG_weston-ivi-config= "weston-ivi-config" +PKG_weston-ivi= "weston-ivi" + +require weston-ivi-extraconf.inc + diff --git a/recipes-tizen/weston-ivi/weston-ivi_git.bb b/recipes-tizen/weston-ivi/weston-ivi_git.bb new file mode 100644 index 00000000..347cf7dd --- /dev/null +++ b/recipes-tizen/weston-ivi/weston-ivi_git.bb @@ -0,0 +1,10 @@ +require weston-ivi.inc + +PRIORITY = "10" + +LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI += "git://review.tizen.org/profile/ivi/weston-ivi;tag=057a26dfa55045dd269f58c9e9ee8f608d37e340;nobranch=1" + +BBCLASSEXTEND += " native " + |