From 6125b371bd75c14c0b3e3ac568da44b0fa2d4b9b Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Thu, 6 Jan 2011 23:09:56 +0000 Subject: [PATCH] a widget toolkit should NOT, I repeat, should NOT, depend on HAL. especially when no HAL functionality is used. SVN revision: 55961 --- configure.ac | 5 ++--- src/lib/Elementary.h.in | 1 - src/lib/elm_main.c | 2 -- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/configure.ac b/configure.ac index ea729f3..9ca0e67 100644 --- a/configure.ac +++ b/configure.ac @@ -330,13 +330,12 @@ if test "x$want_elementary_edbus" != "xno"; then PKG_CHECK_MODULES([ELEMENTARY_EDBUS], [ edbus >= 1.0.0 - ehal >= 1.0.0 ], [ AC_DEFINE(HAVE_ELEMENTARY_EDBUS, 1, [EDBus support for Elementary]) have_elementary_edbus="yes" ELM_EDBUS_DEF="#define" - requirement_elm="ehal >= 1.0.0 edbus >= 1.0.0 ${requirement_elm}" + requirement_elm="edbus >= 1.0.0 ${requirement_elm}" ], [have_elementary_edbus="no"] ) @@ -344,7 +343,7 @@ else have_elementary_edbus="no" fi if test "x$want_elementary_edbus" = "xyes" -a "x$have_elementary_edbus" = "xno"; then - AC_MSG_ERROR([E_DBus support requested, but no edbus/ehal found by pkg-config.]) + AC_MSG_ERROR([E_DBus support requested, but no e_dbus found by pkg-config.]) fi AC_SUBST(ELM_EDBUS_DEF) diff --git a/src/lib/Elementary.h.in b/src/lib/Elementary.h.in index f546fc1..0cb2574 100644 --- a/src/lib/Elementary.h.in +++ b/src/lib/Elementary.h.in @@ -75,7 +75,6 @@ #ifdef ELM_EDBUS # include -# include #endif #ifdef ELM_EFREET diff --git a/src/lib/elm_main.c b/src/lib/elm_main.c index ef20b61..6237ec8 100644 --- a/src/lib/elm_main.c +++ b/src/lib/elm_main.c @@ -374,7 +374,6 @@ elm_need_e_dbus(void) #ifdef ELM_EDBUS if (_elm_need_e_dbus++) return EINA_TRUE; e_dbus_init(); - e_hal_init(); return EINA_TRUE; #else return EINA_FALSE; @@ -388,7 +387,6 @@ _elm_unneed_e_dbus(void) if (--_elm_need_e_dbus) return; _elm_need_e_dbus = 0; - e_hal_shutdown(); e_dbus_shutdown(); #endif } -- 2.7.4