summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Benoit MARTIN <jean-benoit.martin@open.eurogiciel.org>2015-06-22 13:45:36 +0200
committerJean-Benoit MARTIN <jean-benoit.martin@open.eurogiciel.org>2015-06-22 13:46:21 +0200
commit8af27056adf4269fb1501e2491137cf1c23a21cf (patch)
tree906cb9d6db617a2e18b5ff4c3ef86de96c24cde8
parentd012bc288e86c77be940131321495ba202b1261d (diff)
downloadmeta-tizen-8af27056adf4269fb1501e2491137cf1c23a21cf.tar.gz
meta-tizen-8af27056adf4269fb1501e2491137cf1c23a21cf.tar.bz2
meta-tizen-8af27056adf4269fb1501e2491137cf1c23a21cf.zip
update q2 deviced
Change-Id: Ia4371d613b6ffbeec9bbe6d74ffb9bb907d140c9 Signed-off-by: Jean-Benoit MARTIN <jean-benoit.martin@open.eurogiciel.org>
-rw-r--r--meta-tizen-common-base/recipes-application-framework/deviced/deviced-extraconf.inc1
-rw-r--r--meta-tizen-common-base/recipes-application-framework/deviced/deviced.inc51
-rw-r--r--meta-tizen-common-base/recipes-application-framework/deviced/deviced_git.bb2
-rw-r--r--meta-tizen-common-base/recipes-application-framework/deviced/files/0001-add-link-to-dbus-glib.patch26
4 files changed, 61 insertions, 19 deletions
diff --git a/meta-tizen-common-base/recipes-application-framework/deviced/deviced-extraconf.inc b/meta-tizen-common-base/recipes-application-framework/deviced/deviced-extraconf.inc
index e69de29b..ab6b66dd 100644
--- a/meta-tizen-common-base/recipes-application-framework/deviced/deviced-extraconf.inc
+++ b/meta-tizen-common-base/recipes-application-framework/deviced/deviced-extraconf.inc
@@ -0,0 +1 @@
+SRC_URI += "file://0001-add-link-to-dbus-glib.patch"
diff --git a/meta-tizen-common-base/recipes-application-framework/deviced/deviced.inc b/meta-tizen-common-base/recipes-application-framework/deviced/deviced.inc
index 68f7b43d..ebe956b0 100644
--- a/meta-tizen-common-base/recipes-application-framework/deviced/deviced.inc
+++ b/meta-tizen-common-base/recipes-application-framework/deviced/deviced.inc
@@ -16,6 +16,8 @@ PROVIDES = ""
#PROVIDES by libdevman-dev
PROVIDES += "libdevman-dev"
+#PROVIDES by deviced-tools
+PROVIDES += "deviced-tools"
#PROVIDES by libhaptic
PROVIDES += "libhaptic"
@@ -79,6 +81,9 @@ RDEPENDS_libdevman-dev += "libdevman"
#RDEPENDS of libdeviced (lib${PN})
RDEPENDS_lib${PN} += "deviced"
+#RDEPENDS of deviced-toods (deviced-tools)
+RDEPENDS_deviced-tools += "deviced"
+
#RDEPENDS of sysman-dev (sysman-dev)
RDEPENDS_sysman-dev += "sysman"
@@ -138,6 +143,7 @@ DEPENDS += "capi-base-common"
DEPENDS += "openssl"
DEPENDS += "smack"
DEPENDS += "libprivilege-control"
+DEPENDS += "libinput"
do_prep() {
cd ${S}
@@ -164,6 +170,7 @@ do_configure() {
-DCMAKE_INSTALL_PREFIX=${prefix} \
-DARCH=emulator \
-DTIZEN_DISPLAY:BOOL=ON \
+ -DDPMS=wayland \
${EXTRA_OECMAKE} .
#eol
@@ -217,10 +224,7 @@ do_install() {
mkdir -p ${D}/${systemd_unitdir}/system/graphical.target.wants
ln -s ../zbooting-done.service ${D}/${systemd_unitdir}/system/graphical.target.wants/zbooting-done.service
-
- mkdir -p ${D}/${systemd_unitdir}/system/graphical.target.wants
- ln -s ../devicectl-stop@.service ${D}/${systemd_unitdir}/system/graphical.target.wants/devicectl-stop@.service
-
+
}
@@ -232,33 +236,23 @@ pkg_postinst_${PN}() {
vconftool set -t int memory/sysman/usbhost_status -1 -i
vconftool set -t int memory/sysman/mmc -1 -i
vconftool set -t int memory/sysman/earjack_key 0 -i
- vconftool set -t int memory/sysman/added_usb_storage 0 -i
- vconftool set -t int memory/sysman/removed_usb_storage 0 -i
vconftool set -t int memory/sysman/charger_status -1 -i
vconftool set -t int memory/sysman/charge_now -1 -i
vconftool set -t int memory/sysman/battery_status_low -1 -i
vconftool set -t int memory/sysman/battery_capacity -1 -i
vconftool set -t int memory/sysman/usb_status -1 -i
vconftool set -t int memory/sysman/earjack -1 -i
- vconftool set -t int memory/sysman/low_memory 1 -i
- vconftool set -t int memory/sysman/sliding_keyboard -1 -i
vconftool set -t int memory/sysman/mmc_mount -1 -i
- vconftool set -t int memory/sysman/mmc_unmount -1 -i
vconftool set -t int memory/sysman/mmc_format -1 -i
vconftool set -t int memory/sysman/mmc_format_progress 0 -i
- vconftool set -t int memory/sysman/mmc_err_status 0 -i
vconftool set -t int memory/sysman/power_off 0 -g "$users_gid" -i -f
vconftool set -t int memory/sysman/battery_level_status -1 -i
- vconftool set -t string memory/private/sysman/added_storage_uevent "" -i
- vconftool set -t string memory/private/sysman/removed_storage_uevent "" -g "$users_gid" -i
vconftool set -t int memory/sysman/hdmi 0 -i
vconftool set -t int memory/sysman/stime_changed 0 -i
#db type vconf key init
- vconftool set -t int db/sysman/mmc_dev_changed 0 -i
vconftool set -t int memory/pm/state 0 -i -g "$users_gid"
vconftool set -t int memory/pm/battery_timetofull -1 -i
vconftool set -t int memory/pm/battery_timetoempty -1 -i
- vconftool set -t int memory/pm/sip_status 0 -i -g "$users_gid"
vconftool set -t int memory/pm/custom_brightness_status 0 -i -g "$users_gid"
vconftool set -t bool memory/pm/brt_changed_lpm 0 -i
vconftool set -t int memory/pm/current_brt 60 -i -g "$users_gid"
@@ -269,6 +263,11 @@ pkg_postinst_${PN}() {
fi
}
+pkg_postinst_deviced-tools() {
+ #!/bin/sh -e
+
+ [ "x$D" == "x" ] && ldconfig
+}
pkg_postinst_libslp-pm() {
#!/bin/sh -e
@@ -310,6 +309,12 @@ pkg_prerm_${PN}() {
}
+pkg_postrm_deviced-tools() {
+ #!/bin/sh -e
+
+ [ "x$D" == "x" ] && ldconfig
+}
+
pkg_postrm_libhaptic() {
#!/bin/sh -e
@@ -353,6 +358,7 @@ PACKAGES += " libhaptic "
PACKAGES += " sysman-dev "
PACKAGES += " libslp-pm-dev "
PACKAGES += " deviced "
+PACKAGES += " deviced-tools "
PACKAGES += " libdevman "
PACKAGES += " libslp-pm "
PACKAGES += " libdeviced-dev "
@@ -394,18 +400,21 @@ deviced_files = ""
deviced_files += "${sysconfdir}/dbus-1/system.d/deviced.conf"
deviced_files += "${prefix}/bin/deviced-pre.sh"
deviced_files += "${prefix}/bin/deviced"
-deviced_files += "${prefix}/bin/devicectl"
deviced_files += "${prefix}/bin/movi_format.sh"
+deviced_files += "${prefix}/bin/mmc-smack-label"
+deviced_files += "${prefix}/bin/fsck_msdosfs"
+deviced_files += "${prefix}/bin/newfs_msdos"
+deviced_files += "${sysconfdir}/deviced/usb-operation.conf"
+deviced_files += "${sysconfdir}/deviced/usb-setting.conf"
deviced_files += "${systemd_unitdir}/system/multi-user.target.wants/deviced.service"
deviced_files += "${systemd_unitdir}/system/sockets.target.wants/deviced.socket"
deviced_files += "${systemd_unitdir}/system/graphical.target.wants/zbooting-done.service"
-deviced_files += "${systemd_unitdir}/system/graphical.target.wants/devicectl-stop@.service"
deviced_files += "${systemd_unitdir}/system/deviced.service"
deviced_files += "${systemd_unitdir}/system/deviced.socket"
deviced_files += "${systemd_unitdir}/system/deviced-pre.service"
deviced_files += "${systemd_unitdir}/system/zbooting-done.service"
-deviced_files += "${systemd_unitdir}/system/devicectl-start@.service"
-deviced_files += "${systemd_unitdir}/system/devicectl-stop@.service"
+deviced_files += "${prefix}/share/license/fsck_msdosfs"
+deviced_files += "${prefix}/share/license/newfs_msdos"
deviced_files += "${prefix}/lib/systemd/system/deviced-pre.service"
deviced_files += "${prefix}/lib/systemd/system/zbooting-done.service"
@@ -414,6 +423,10 @@ deviced_files += "${prefix}/lib/systemd/system/devicectl-start@.service"
deviced_files += "${prefix}/lib/systemd/system/deviced.socket"
deviced_files += "${prefix}/lib/systemd/system/deviced.service"
+deviced-tools_files = ""
+deviced-tools_files += "${prefix}/bin/devicectl"
+deviced-tools_files += "${prefix}/bin/direct_set_debug.sh"
+
CONFFILES_${PN} = ""
CONFFILES_${PN} += "${sysconfdir}/dbus-1/system.d/deviced.conf"
MANIFESTFILES_${PN} = "deviced.manifest"
@@ -464,6 +477,7 @@ FILES_libhaptic = "${libhaptic_files}"
FILES_sysman-dev = "${sysman-dev_files}"
FILES_libslp-pm-dev = "${libslp-pm-dev_files}"
FILES_${PN} = "${deviced_files}"
+FILES_deviced-tools = "${deviced-tools_files}"
FILES_libdevman = "${libdevman_files}"
FILES_libslp-pm = "${libslp-pm_files}"
FILES_lib${PN}-dev = "${libdeviced-dev_files}"
@@ -479,6 +493,7 @@ PKG_libhaptic= "libhaptic"
PKG_sysman-dev= "sysman-dev"
PKG_libslp-pm-dev= "libslp-pm-dev"
PKG_deviced= "deviced"
+PKG_deviced-tools= "deviced-tools"
PKG_libdevman= "libdevman"
PKG_libslp-pm= "libslp-pm"
PKG_libdeviced-dev= "libdeviced-dev"
diff --git a/meta-tizen-common-base/recipes-application-framework/deviced/deviced_git.bb b/meta-tizen-common-base/recipes-application-framework/deviced/deviced_git.bb
index e71aabee..c72f2fc1 100644
--- a/meta-tizen-common-base/recipes-application-framework/deviced/deviced_git.bb
+++ b/meta-tizen-common-base/recipes-application-framework/deviced/deviced_git.bb
@@ -4,7 +4,7 @@ PRIORITY = "10"
LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
-SRC_URI += "git://review.tizen.org/platform/core/system/deviced;tag=a8523c4eab30ad4decd1972aa5dd0934ee42b1ae;nobranch=1"
+SRC_URI += "git://review.tizen.org/platform/core/system/deviced;tag=c83bdb9c20ca96fccd7badb409f1a2ec306d5f86;nobranch=1"
BBCLASSEXTEND += " native "
diff --git a/meta-tizen-common-base/recipes-application-framework/deviced/files/0001-add-link-to-dbus-glib.patch b/meta-tizen-common-base/recipes-application-framework/deviced/files/0001-add-link-to-dbus-glib.patch
new file mode 100644
index 00000000..bc5a708d
--- /dev/null
+++ b/meta-tizen-common-base/recipes-application-framework/deviced/files/0001-add-link-to-dbus-glib.patch
@@ -0,0 +1,26 @@
+From d96be5093291f89aade85f6c5f60ba2f2d5997a3 Mon Sep 17 00:00:00 2001
+From: Jean-Benoit MARTIN <jean-benoit.martin@open.eurogiciel.org>
+Date: Mon, 22 Jun 2015 13:20:51 +0200
+Subject: [PATCH] add link to dbus-glib
+
+Change-Id: Iedf26454e8916461201855ca7c391a31d9d5ff19
+Signed-off-by: Jean-Benoit MARTIN <jean-benoit.martin@open.eurogiciel.org>
+---
+ src/libdeviced/CMakeLists.txt | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/libdeviced/CMakeLists.txt b/src/libdeviced/CMakeLists.txt
+index 71e13b0..17de698 100755
+--- a/src/libdeviced/CMakeLists.txt
++++ b/src/libdeviced/CMakeLists.txt
+@@ -23,6 +23,7 @@ pkg_check_modules(libpkgs REQUIRED
+ vconf
+ dlog
+ dbus-1
++ dbus-glib-1
+ edbus)
+
+ FOREACH(flag ${libpkgs_CFLAGS})
+--
+1.8.4.5
+