From: Przemyslaw Ciezkowski
Date: Tue, 30 Oct 2012 14:53:04 +0000 (+0100)
Subject: Clean unused libraries and includes
X-Git-Tag: 2.1b_release~22^2~245
X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d8f9863f1fabcdc483f5e430ea326fc4fa27cdc0;p=platform%2Fframework%2Fweb%2Fwrt.git
Clean unused libraries and includes
[Issue#] LINUXNGWAP-446
[Bug] There are unused libraries or not used directly by wrt.
[Problem] N/A
[Cause] N/A
[Solution] Removed
[Verification] Build repository. Check if all libraries
are found with ldd /usr/bin/wrt-client
Change-Id: I801ebfee57630adadfe6d7c8aef67ddfad2c25a6
---
diff --git a/packaging/wrt.spec b/packaging/wrt.spec
index e77572f..df9dd57 100644
--- a/packaging/wrt.spec
+++ b/packaging/wrt.spec
@@ -26,8 +26,6 @@ BuildRequires: pkgconfig(ui-gadget-1)
BuildRequires: pkgconfig(utilX)
BuildRequires: pkgconfig(secure-storage)
BuildRequires: pkgconfig(pkgmgr)
-BuildRequires: pkgconfig(xmlsec1)
-BuildRequires: pkgconfig(libidn)
BuildRequires: pkgconfig(libiri)
BuildRequires: pkgconfig(appsvc)
BuildRequires: pkgconfig(cert-svc-vcore)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 10ef0a0..13abe28 100755
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -74,11 +74,6 @@ SET(WRT_BASIC_DEP
edje
ecore
ecore-x
- ecore-imf
- ecore-ipc
- ecore-evas
- ecore-file
- ecore-input
evas
eina
ewebkit2
@@ -87,8 +82,6 @@ SET(WRT_BASIC_DEP
cert-svc
libsoup-2.4
ui-gadget-1
- libidn
- xmlsec1
secure-storage
libiri
appsvc
diff --git a/src/wrt-client/CMakeLists.txt b/src/wrt-client/CMakeLists.txt
index 25994fb..0459e3a 100644
--- a/src/wrt-client/CMakeLists.txt
+++ b/src/wrt-client/CMakeLists.txt
@@ -23,7 +23,6 @@ SET(WRT_CLIENT_SRCS
PKG_CHECK_MODULES(CLIENT_DEP
dpl-wrt-dao-ro
- libprivilege-control
REQUIRED
)
diff --git a/src/wrt-client/wrt-client.cpp b/src/wrt-client/wrt-client.cpp
index c75a3b9..baec7bd 100644
--- a/src/wrt-client/wrt-client.cpp
+++ b/src/wrt-client/wrt-client.cpp
@@ -22,7 +22,6 @@
#include
#include
#include
-#include
#include
#include
#include
diff --git a/src/wrt-client/wrt-client.h b/src/wrt-client/wrt-client.h
index d666d5f..eb734b4 100644
--- a/src/wrt-client/wrt-client.h
+++ b/src/wrt-client/wrt-client.h
@@ -26,9 +26,7 @@
#include
#include
#include "widget_state.h"
-#include
#include
-#include
#include "window_data.h"
#include "splash_screen_support.h"