# Check ECORE_IPC library
PKG_CHECK_MODULES(ECORE_IPC, [ecore-ipc])
-# Check ECORE FILE library
-PKG_CHECK_MODULES(ECORE_FILE, [ecore-file])
-
-# Check ECORE FILE library
+# Check ECORE INPUT library
PKG_CHECK_MODULES(ECORE_INPUT, [ecore-input])
# Check ECORE EVAS library
#include <string.h>
#include <Eina.h>
#include <Ecore.h>
-#include <Ecore_File.h>
#include <malloc.h>
+#include <glib.h>
#include "scim_private.h"
#include "scim.h"
#include "scim_stl_map.h"
#if ISF_BUILD_CANDIDATE_UI
-#include <glib.h>
#include <Elementary.h>
#include <Evas.h>
#ifdef HAVE_ECOREWL
static Eina_Bool monitor_user_data_path_timer(void *data)
{
const char *path = static_cast<const char*>(data);
- bool user_data_path_exists = ecore_file_exists (path);
- bool user_data_path_is_dir = ecore_file_is_dir (path);
+ bool user_data_path_exists = g_file_test (path, G_FILE_TEST_EXISTS);
+ bool user_data_path_is_dir = g_file_test (path, G_FILE_TEST_IS_DIR);
if (user_data_path_exists && user_data_path_is_dir) {
LOGW ("'%s' exists : %d, is_dir : %d", path,
(user_data_path_exists ? 1 : 0), (user_data_path_is_dir ? 1 : 0));
/* Load ISF configuration */
user_data_path = scim_get_user_data_dir ();
- user_data_path_exists = ecore_file_exists (user_data_path.c_str ());
- user_data_path_is_dir = ecore_file_is_dir (user_data_path.c_str ());
+ user_data_path_exists = g_file_test (user_data_path.c_str(), G_FILE_TEST_EXISTS);
+ user_data_path_is_dir = g_file_test (user_data_path.c_str(), G_FILE_TEST_IS_DIR);
_launch_ise_on_request = scim_global_config_read (String (SCIM_GLOBAL_CONFIG_LAUNCH_ISE_ON_REQUEST), _launch_ise_on_request);
if (vconf_set_bool (VCONFKEY_ISF_IME_LAUNCH_ON_DEMAND, _launch_ise_on_request) != 0)
LOGW ("Failed to set vconf key");
%endif
BuildRequires: pkgconfig(eina)
BuildRequires: pkgconfig(ecore)
-BuildRequires: pkgconfig(ecore-file)
BuildRequires: pkgconfig(evas)
BuildRequires: pkgconfig(edje)
BuildRequires: pkgconfig(dlog)