Removing all mentions of X 49/2749/1 2.0alpha-wayland accepted/2.0alpha-wayland/20130215.201147 submit/2.0alpha-wayland/20130213.162230
authorbrianjjones <brian.j.jones@intel.com>
Wed, 13 Feb 2013 02:18:54 +0000 (18:18 -0800)
committerbrianjjones <brian.j.jones@intel.com>
Wed, 13 Feb 2013 02:18:54 +0000 (18:18 -0800)
CMakeLists.txt
include/ug-manager.h
packaging/ui-gadget-1.spec
src/manager.c
ui-gadget-1.pc.in

index e886952..2b8e5f4 100755 (executable)
@@ -28,7 +28,7 @@ SET(SRCS src/ug.c
 
 ADD_LIBRARY(${PROJECT_NAME} SHARED ${SRCS})
 
-PKG_CHECK_MODULES(PKGS REQUIRED glib-2.0 utilX bundle dlog x11 ecore-wayland capi-appfw-application appsvc)
+PKG_CHECK_MODULES(PKGS REQUIRED glib-2.0 bundle dlog ecore-wayland capi-appfw-application appsvc)
 FOREACH(flag ${PKGS_CFLAGS})
        SET(CFLAGS "${CFLAGS} ${flag}")
 ENDFOREACH(flag)
index 2a203c2..1610dc0 100755 (executable)
@@ -22,7 +22,6 @@
 #ifndef __UG_MANAGER_H__
 #define __UG_MANAGER_H__
 
-#include <utilX.h>
 #include "ug.h"
 
 int ugman_ug_add(ui_gadget_h parent, ui_gadget_h ug);
index 691b86c..29c82f5 100755 (executable)
@@ -8,12 +8,10 @@ License:    TO BE FILLED IN
 Source0:    %{name}-%{version}.tar.gz
 Requires(post): /sbin/ldconfig
 Requires(postun): /sbin/ldconfig
-BuildRequires:  pkgconfig(utilX)
 BuildRequires:  pkgconfig(glib-2.0)
 BuildRequires:  pkgconfig(appcore-efl)
 BuildRequires:  pkgconfig(bundle)
 BuildRequires:  pkgconfig(dlog)
-BuildRequires:  pkgconfig(x11)
 BuildRequires:  pkgconfig(ecore-wayland)
 BuildRequires:  pkgconfig(appsvc)
 BuildRequires:  pkgconfig(capi-appfw-application)
index 265b07d..dc0ca62 100755 (executable)
@@ -24,7 +24,6 @@
 #include <string.h>
 #include <errno.h>
 #include <glib.h>
-#include <utilX.h>
 
 #include "ug.h"
 #include "ug-manager.h"
@@ -270,8 +269,8 @@ static int ugman_indicator_update(enum ug_option opt, enum ug_event event)
                if (event == UG_EVENT_NONE)
                        enable = 1;
                else {
-                       cur_state = utilx_get_indicator_state(ug_man.disp, ug_man.win_id);
-                       enable = cur_state ? 1 : 0;
+                       //cur_state = utilx_get_indicator_state(ug_man.disp, ug_man.win_id);
+                       //enable = cur_state ? 1 : 0;
                }
                break;
        case UG_OPT_INDICATOR_PORTRAIT_ONLY:
@@ -288,7 +287,7 @@ static int ugman_indicator_update(enum ug_option opt, enum ug_event event)
                return -1;
        }
 
-       utilx_enable_indicator(ug_man.disp, ug_man.win_id, enable);
+       //utilx_enable_indicator(ug_man.disp, ug_man.win_id, enable);
 
        return 0;
 }
index f011267..4144016 100644 (file)
@@ -6,6 +6,6 @@ includedir=@INCLUDEDIR@/ug-1/
 Name: UI Gadget
 Description: UI Gadget Library
 Version: @VERSION@
-Requires: bundle x11 capi-appfw-application
+Requires: bundle capi-appfw-application
 Libs: -L${libdir} -lui-gadget-1
 Cflags: -I${includedir}