core: Replace functionalities based on Ecore with ones based on GLib 51/144851/15
authorWook Song <wook16.song@samsung.com>
Fri, 4 Aug 2017 06:04:17 +0000 (15:04 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Thu, 7 Sep 2017 04:53:10 +0000 (04:53 +0000)
commite940c431622b565e243d12160ba6727b169ec9ef
treed62d9243144c307d657c9045859501c9f93a0d71
parentf08a1e75072b26e9033c81ca1e818790442e65a7
core: Replace functionalities based on Ecore with ones based on GLib

Since Ecore library is tightly coupled with EFL which is a set of
graphics libraries, for the devices without GUI, so called 'headless
devices', even if the system only requires the functionalities provided
by Ecore, many unnecessary packages should be included in it. This could
make the size of the platform image bigger. For this reason, we decided
to reimplement all the functionalites based on Ecore of PASS using GLib.

This patch replaces the functionalites based on Ecore with ones based on
GLib. In detail, the ecore main loop is changed to the glib main loop
and the ecore timer-based task handling is now changed to the glib
timeout-based task handling mechanism. In addition, in order to support
DBus IPC, PASS uses gdbus now instead of edbus. The code based on gdbus
which was implemented the old-fashioned way is also refactored by this
patch.

Change-Id: I6660c7f84da0ba5adce5f765852b4d9d0af781e9
Signed-off-by: Wook Song <wook16.song@samsung.com>
28 files changed:
CMakeLists.txt
packaging/pass.spec
scripts/pass-dbus.xml [new file with mode: 0644]
scripts/pmqos-dbus.xml [new file with mode: 0644]
src/core/boot.c [deleted file]
src/core/boot.h [deleted file]
src/core/common.h
src/core/device-notifier.c
src/core/devices.c
src/core/edbus-handler.c [deleted file]
src/core/edbus-handler.h [deleted file]
src/core/gdbus-util.c [new file with mode: 0644]
src/core/gdbus-util.h [new file with mode: 0644]
src/core/main.c
src/core/sig-handler.c [deleted file]
src/pass/pass-gov.c
src/pass/pass-pmqos.c
src/pass/pass.c
src/pass/pass.h
src/pmqos/pmqos-parser.c
src/pmqos/pmqos.c
src/shared/CMakeLists.txt [deleted file]
src/shared/common.h [deleted file]
src/shared/dbus.c [deleted file]
src/shared/dbus.h [deleted file]
src/shared/pass-systemd.c [deleted file]
src/shared/pass-systemd.h [deleted file]
src/shared/score-defines.h [deleted file]