From: Fabio Mello Date: Thu, 23 Jan 2014 18:23:15 +0000 (-0200) Subject: Make bt-syspopup not dependent on ecore-x. X-Git-Tag: submit/tizen/20140408.084402~2^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1ce3d8555154ff435aeff017b5b0c301ccbf33fa;p=platform%2Fcore%2Fconnectivity%2Fbt-syspopup.git Make bt-syspopup not dependent on ecore-x. Change-Id: I09200f356cbde1690af719ee548dd00ee307da07 Signed-off-by: Leandro Dorileo --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 18a3959..7a9cbaf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -30,7 +30,6 @@ pkg_check_modules(pkgs REQUIRED gobject-2.0 pmapi syspopup - utilX bluetooth-api feedback aul) diff --git a/debian/control b/debian/control index 042cb74..0b9dab5 100644 --- a/debian/control +++ b/debian/control @@ -3,13 +3,13 @@ Section: main Priority: extra Maintainer: Hocheol Seo , DoHyun Pyun , InJun Yang , Chanyeol Park Uploaders: Sunil Behera , Syam Sidhardhan -Build-Depends: debhelper (>= 5),libevas-dev,libecore-dev,libethumb-dev,libelm-dev,libefreet-dev, libslp-sensor-dev,libappcore-efl-dev,libdevman-dev, libslp-utilx-dev, syspopup-dev, dlog-dev, libslp-pm-dev, libdbus-glib-1-dev, libglib2.0-dev, libaul-1-dev +Build-Depends: debhelper (>= 5),libevas-dev,libecore-dev,libethumb-dev,libelm-dev,libefreet-dev, libslp-sensor-dev,libappcore-efl-dev,libdevman-dev, syspopup-dev, dlog-dev, libslp-pm-dev, libdbus-glib-1-dev, libglib2.0-dev, libaul-1-dev Standards-Version: 0.1.0 Package: com.samsung.bt-syspopup Section: main Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends}, libslp-utilx-0, libdlog-0 +Depends: ${shlibs:Depends}, ${misc:Depends}, libdlog-0 Description: bluetooth system-popup application (bluetooth system popup) Package: com.samsung.bt-syspopup-dbg diff --git a/packaging/org.tizen.bt-syspopup.spec b/packaging/org.tizen.bt-syspopup.spec index e70afac..a7b807c 100644 --- a/packaging/org.tizen.bt-syspopup.spec +++ b/packaging/org.tizen.bt-syspopup.spec @@ -18,7 +18,6 @@ BuildRequires: pkgconfig(sysman) BuildRequires: pkgconfig(sensor) BuildRequires: pkgconfig(appcore-efl) BuildRequires: pkgconfig(devman) -BuildRequires: pkgconfig(utilX) BuildRequires: pkgconfig(syspopup) BuildRequires: pkgconfig(dlog) BuildRequires: pkgconfig(pmapi) diff --git a/src/bt-syspopup.c b/src/bt-syspopup.c index 65ad57c..0609d90 100644 --- a/src/bt-syspopup.c +++ b/src/bt-syspopup.c @@ -17,8 +17,6 @@ #include #include #include -#include -#include #include #include #include @@ -1090,16 +1088,11 @@ static void __bluetooth_win_del(void *data) static Evas_Object *__bluetooth_create_win(const char *name) { Evas_Object *eo; - int w; - int h; eo = elm_win_add(NULL, name, ELM_WIN_DIALOG_BASIC); if (eo) { elm_win_title_set(eo, name); elm_win_borderless_set(eo, EINA_TRUE); - ecore_x_window_size_get(ecore_x_window_root_first_get(), - &w, &h); - evas_object_resize(eo, w, h); } return eo;