From d8f9863f1fabcdc483f5e430ea326fc4fa27cdc0 Mon Sep 17 00:00:00 2001
From: Przemyslaw Ciezkowski
Date: Tue, 30 Oct 2012 15:53:04 +0100
Subject: [PATCH] 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
---
packaging/wrt.spec | 2 --
src/CMakeLists.txt | 7 -------
src/wrt-client/CMakeLists.txt | 1 -
src/wrt-client/wrt-client.cpp | 1 -
src/wrt-client/wrt-client.h | 2 --
5 files changed, 13 deletions(-)
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"
--
2.7.4