From: Jihoon Kim Date: Mon, 29 Feb 2016 02:53:43 +0000 (+0900) Subject: Remove unused utilX dependency X-Git-Tag: accepted/tizen/common/20160302.193421~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=84455cd5683b75859a8c0c2597aab7bcae63c8ad;p=platform%2Fcore%2Fuifw%2Flibscl-ui.git Remove unused utilX dependency Change-Id: I1a5cc09cf89d103a5ce73ce53aa37faffbefe591 --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 524a3cf..1228acf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -100,11 +100,10 @@ SET(PKGS_CHECK_MODULES IF (with_wayland) ADD_DEFINITIONS("-DWAYLAND") - pkg_check_modules(pkgs REQUIRED ${PKGS_CHECK_MODULES}) -ELSE (with_wayland) - pkg_check_modules(pkgs REQUIRED ${PKGS_CHECK_MODULES} utilX) ENDIF(with_wayland) +pkg_check_modules(pkgs REQUIRED ${PKGS_CHECK_MODULES}) + FOREACH(flag ${pkgs_CFLAGS}) SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}") ENDFOREACH(flag) diff --git a/packaging/libscl-ui.spec b/packaging/libscl-ui.spec index de76db1..dd6d13d 100644 --- a/packaging/libscl-ui.spec +++ b/packaging/libscl-ui.spec @@ -16,7 +16,6 @@ BuildRequires: cmake BuildRequires: pkgconfig(elementary) %if %{with wayland} %else -BuildRequires: pkgconfig(utilX) BuildRequires: pkgconfig(x11) %endif BuildRequires: pkgconfig(vconf) diff --git a/scl/gwes/efl/sclevents-efl.cpp b/scl/gwes/efl/sclevents-efl.cpp index 05f9805..9d0a236 100755 --- a/scl/gwes/efl/sclevents-efl.cpp +++ b/scl/gwes/efl/sclevents-efl.cpp @@ -31,7 +31,6 @@ #include #else #include -#include #endif #include "sclkeyfocushandler.h" diff --git a/scl/gwes/efl/sclwindows-efl.cpp b/scl/gwes/efl/sclwindows-efl.cpp index d43f20e..0e4d717 100644 --- a/scl/gwes/efl/sclwindows-efl.cpp +++ b/scl/gwes/efl/sclwindows-efl.cpp @@ -34,7 +34,6 @@ #include #include #include -#include #endif #include #include "sclkeyfocushandler.h" diff --git a/scl/sclkeyfocushandler.cpp b/scl/sclkeyfocushandler.cpp index c3561d0..fd864bd 100644 --- a/scl/sclkeyfocushandler.cpp +++ b/scl/sclkeyfocushandler.cpp @@ -20,7 +20,6 @@ #include #ifndef WAYLAND #include -#include #endif #include "sclres_type.h" #include "scldebug.h"