Removed build deps on ecore-x and libslp-utilx 84/2784/1
authorJimmy Huang <jimmy.huang@intel.com>
Tue, 26 Feb 2013 22:23:06 +0000 (14:23 -0800)
committerJimmy Huang <jimmy.huang@intel.com>
Tue, 26 Feb 2013 22:23:06 +0000 (14:23 -0800)
Signed-off-by: Jimmy Huang <jimmy.huang@intel.com>
CMakeLists.txt
debian/control
src/_genlist.c
src/_logic.c
src/taskmanager.c
src/taskmanager.h

index 6ceb23b..e9162ef 100755 (executable)
@@ -38,7 +38,6 @@ pkg_check_modules(pkgs REQUIRED
        ecore
        ecore-file
        ecore-input
-       ecore-x
        edje
        eina
        evas
index 86b9915..6418b45 100644 (file)
@@ -3,7 +3,7 @@ Section: devel
 Priority: extra
 Maintainer: Junghyun Kim <jh1114.kim>, hhh.kwon <hhh.kwon@samsung.com>
 Uploaders: Noha Park <noha.park@samsung.com>
-Build-Depends: debhelper (>= 5), libappcore-efl-dev, libelm-dev, libaul-1-dev, libslp-utilx-dev, librua-dev, libslp-sysman-dev, libail-0-dev, dlog-dev
+Build-Depends: debhelper (>= 5), libappcore-efl-dev, libelm-dev, libaul-1-dev librua-dev, libslp-sysman-dev, libail-0-dev, dlog-dev
 Standards-Version: 3.7.2
 
 Package: org.tizen.taskmgr
index a2e29af..ea3d6c7 100755 (executable)
@@ -23,9 +23,9 @@
 #include <vconf.h>
 #if HAVE_X
 #include <utilX.h>
+#include <Ecore_X.h>
 #endif
 #include <aul.h>
-#include <Ecore_X.h>
 #include <Eina.h>
 #include <unistd.h>
 #include <time.h>
index 1cbdd5a..041074a 100755 (executable)
@@ -19,7 +19,9 @@
 
 #include <appcore-common.h>
 #include <aul.h>
+#if HAVE_X
 #include <Ecore_X.h>
+#endif
 #include <vconf.h>
 
 #include "taskmanager.h"
@@ -223,7 +225,9 @@ static Eina_Bool __climsg_cb(void *data, int type, void *event)
 
        pid_a = ev->data.l[1];
        pid_d = ev->data.l[3];
+#if HAVE_X
        a_deact = ecore_x_atom_get("_X_ILLUME_DEACTIVATE_WINDOW");
+#endif
 
        /* when pid_a == pid_d, this is useless data */
        if (pid_a == pid_d) {
index 77eaf42..26fa6df 100755 (executable)
@@ -21,8 +21,8 @@
 #include <unistd.h>
 #include <appcore-efl.h>
 #include <Elementary.h>
-#include <Ecore_X.h>
 #if HAVE_X
+#include <Ecore_X.h>
 #include <utilX.h>
 #endif
 #include <vconf.h>
index c1d47a0..d21b4d5 100755 (executable)
@@ -23,8 +23,8 @@
 #define __TASKMANAGER_H__
 
 #include <Elementary.h>
-#include <Ecore_X.h>
 #if HAVE_X
+#include <Ecore_X.h>
 #include <utilX.h>
 #endif
 #include <bundle.h>