TizenRefApp-5097 [Email] Remove unused package dependancies 66/52666/1
authorIgor Olshevskyi <i.olshevskyi@samsung.com>
Wed, 25 Nov 2015 11:46:31 +0000 (13:46 +0200)
committerIgor Olshevskyi <i.olshevskyi@samsung.com>
Wed, 25 Nov 2015 11:46:31 +0000 (13:46 +0200)
Change-Id: I480186ab4b43e394d1540d616b76ab694f827311

13 files changed:
CMake/CMakeLists.txt
CMake/email-common/CMakeLists.txt
CMake/main/CMakeLists.txt
CMake/modules/email-composer-module/CMakeLists.txt
CMake/modules/email-mailbox-module/CMakeLists.txt
CMake/modules/email-viewer-module/CMakeLists.txt
Project-Files/common/src/email-utils.c
Project-Files/modules/mailbox/src/email-mailbox-more-menu.c
Project-Files/modules/mailbox/src/email-mailbox-toolbar.c
Project-Files/modules/setting/src/email-setting-utils.c
Project-Files/modules/viewer/src/email-viewer-util.c
Project-Files/modules/viewer/src/email-viewer.c
packaging/org.tizen.email.spec

index b08b05b..18a45d6 100644 (file)
@@ -11,7 +11,7 @@ SET(IMGDIR "${RESDIR}/images")
 SET(MISCDIR "${RESDIR}/misc")
 SET(LICENSEDIR ${SYS_LICENSE_DIR})
 SET(PACKAGEDIR ${SYS_PACKAGES_DIR})
-SET(ICONDIR ${SYS_ICONS_DIR}/default/small/)
+SET(ICONDIR ${SYS_ICONS_DIR})
 SET(SMAKEDIR ${SYS_SMACK_DIR})
 SET(CMAKE_BUILD_WITH_INSTALL_RPATH TRUE)
 
index cfabfeb..8a8549a 100644 (file)
@@ -17,12 +17,12 @@ SET(SRCS-common
 )
 
 IF(${ENABLE_ATTACH_PANEL})
-       SET(email-required-pkgs ecore glib-2.0 gobject-2.0 email-service tapi storage
+       SET(email-required-pkgs ecore glib-2.0 gobject-2.0 email-service storage
                contacts-service2 capi-content-media-content dlog elementary evas eina edje capi-base-utils-i18n
                accounts-svc capi-network-connection efl-extension capi-content-mime-type capi-system-system-settings
                capi-appfw-application chromium-efl capi-appfw-preference vconf attach-panel feedback libtzplatform-config)
 ELSE(${ENABLE_ATTACH_PANEL})
-       SET(email-required-pkgs ecore glib-2.0 gobject-2.0 email-service tapi storage
+       SET(email-required-pkgs ecore glib-2.0 gobject-2.0 email-service storage
                contacts-service2 capi-content-media-content dlog elementary evas eina edje capi-base-utils-i18n
                accounts-svc capi-network-connection efl-extension capi-content-mime-type capi-system-system-settings
                capi-appfw-application chromium-efl capi-appfw-preference vconf feedback libtzplatform-config)
index 2da95c9..6f4bebf 100644 (file)
@@ -6,7 +6,7 @@ SET(PACKAGE ${PROJECT_NAME})
 SET(PKGNAME "org.${VENDOR}.${PACKAGE}")
 
 pkg_check_modules(pkgs-email REQUIRED elementary email-service accounts-svc
-       bundle dlog ecore-input contacts-service2 gthread-2.0 efl-extension gio-2.0 capi-base-utils-i18n capi-system-system-settings
+       bundle dlog ecore-input contacts-service2 efl-extension gio-2.0 capi-base-utils-i18n capi-system-system-settings
        capi-appfw-application)
 
 FOREACH(flag ${pkgs-email_CFLAGS})
index 9b3aa7a..96fbc13 100644 (file)
@@ -30,7 +30,7 @@ INCLUDE_DIRECTORIES(${CURRENT_SOURCE_DIR}/inc)
 SET(email-required-pkgs ecore glib-2.0 gobject-2.0 gio-2.0 elementary capi-appfw-application
        capi-media-metadata-extractor capi-media-image-util notification evas dlog email-service contacts-service2
        libexif chromium-efl bundle efl-extension capi-system-system-settings
-       capi-network-connection capi-network-wifi libpng storage capi-content-media-content capi-appfw-app-manager)
+       capi-network-connection capi-network-wifi libpng storage capi-content-media-content)
 
 pkg_check_modules(pkgs-composer REQUIRED "${email-required-pkgs}")
 
index e29cef3..3fee2c7 100644 (file)
@@ -22,7 +22,7 @@ SET(SRCS
 INCLUDE_DIRECTORIES(${CURRENT_SOURCE_DIR}/inc)
 
 SET(email-required-pkgs elementary email-service glib-2.0 gio-2.0 bundle dlog capi-base-utils-i18n
-       capi-appfw-application contacts-service2 calendar-service2 notification capi-system-system-settings efl-extension)
+       capi-appfw-application contacts-service2 notification capi-system-system-settings efl-extension)
 
 pkg_check_modules(pkgs-mailbox REQUIRED "${email-required-pkgs}")
 
index 06e5587..fe60d82 100644 (file)
@@ -25,7 +25,7 @@ INCLUDE_DIRECTORIES(${CURRENT_SOURCE_DIR}/inc)
 SET(email-required-pkgs elementary ecore glib-2.0 gobject-2.0
        notification capi-media-metadata-extractor capi-media-image-util capi-content-media-content
        email-service gio-2.0 capi-appfw-application chromium-efl capi-system-system-settings
-       contacts-service2 bundle dlog calendar-service2 efl-extension storage capi-base-utils-i18n)
+       contacts-service2 bundle dlog efl-extension storage capi-base-utils-i18n)
 
 pkg_check_modules(pkgs-viewer REQUIRED "${email-required-pkgs}")
 
index 3bbda02..bbbf967 100644 (file)
@@ -52,7 +52,7 @@
 #define EMAIL_FAIL_SAFE_SHARED_RES_PATH        tzplatform_mkpath(TZ_SYS_RO_APP, EMAIL_SHARED_RES_PATH)
 #define EMAIL_FAIL_SAFE_SHARED_DATA_PATH       tzplatform_mkpath(TZ_USER_APP, EMAIL_SHARED_DATA_PATH)
 
-#define EMAIL_FAIL_SAFE_PHONE_STORAGE_PATH     tzplatform_getname(TZ_USER_CONTENT)
+#define EMAIL_FAIL_SAFE_PHONE_STORAGE_PATH     tzplatform_getenv(TZ_USER_CONTENT)
 #define EMAIL_FAIL_SAFE_MMC_STORAGE_PATH       tzplatform_mkpath(TZ_SYS_STORAGE, "sdcard")
 #define EMAIL_FAIL_SAFE_DOWNLOADS_DIR          "Downloads"
 #define EMAIL_FAIL_SAFE_SOUNDS_DIR                     "Sounds"
index 3a3b981..94ff2f5 100644 (file)
@@ -16,7 +16,7 @@
  */
 
 #include <account-types.h>
-#include <calendar.h>
+
 #include "email-mailbox.h"
 #include "email-mailbox-toolbar.h"
 #include "email-mailbox-item.h"
index 2d163ec..f35131f 100644 (file)
@@ -16,7 +16,6 @@
  */
 
 #include <notification.h>
-#include <calendar.h>
 
 #include "email-mailbox.h"
 #include "email-mailbox-toolbar.h"
index 98516dd..208bb50 100644 (file)
@@ -44,7 +44,6 @@ const int EMAIL_ACCOUNT_COLOR[] = {
        RGB(129, 130, 134)
 };
 
-
 typedef struct _email_setting_op_cancel_s {
        EmailSettingUGD *ugd;
        int *op_handle;
index 638cd0e..ef652e4 100644 (file)
@@ -23,7 +23,6 @@
 #include <time.h>
 #include <errno.h>
 #include <notification.h>
-#include <calendar.h>
 #include <storage.h>
 #include <stdarg.h>
 #include <media_content.h>
index 9dc24c3..c8316ad 100644 (file)
@@ -23,7 +23,6 @@
 #include <utils_i18n.h>
 #include <app_control.h>
 #include <malloc.h>
-#include <calendar.h>
 #include <notification.h>
 
 #include "email-common-types.h"
index e40e903..0e5d488 100644 (file)
@@ -17,10 +17,7 @@ Requires(post): sys-assert
 Requires: email-service
 BuildRequires: cmake
 BuildRequires: edje-tools
-BuildRequires: embryo-bin
 BuildRequires: gettext-tools
-BuildRequires: boost-devel
-BuildRequires: hash-signer
 BuildRequires: pkgconfig(capi-base-utils-i18n)
 BuildRequires: pkgconfig(email-service)
 BuildRequires: pkgconfig(ecore)
@@ -30,28 +27,22 @@ BuildRequires: pkgconfig(eina)
 BuildRequires: pkgconfig(evas)
 BuildRequires: pkgconfig(glib-2.0)
 BuildRequires: pkgconfig(gio-2.0)
-BuildRequires: pkgconfig(gthread-2.0)
 BuildRequires: pkgconfig(elementary)
 BuildRequires: pkgconfig(chromium-efl)
 BuildRequires: pkgconfig(dlog)
 BuildRequires: pkgconfig(bundle)
 BuildRequires: pkgconfig(capi-appfw-application)
 BuildRequires: pkgconfig(capi-appfw-preference)
-BuildRequires: pkgconfig(capi-appfw-app-manager)
 BuildRequires: pkgconfig(capi-base-common)
 BuildRequires: pkgconfig(contacts-service2)
 BuildRequires: pkgconfig(accounts-svc)
-BuildRequires: pkgconfig(calendar-service2)
 BuildRequires: pkgconfig(notification)
 BuildRequires: pkgconfig(capi-media-metadata-extractor)
 BuildRequires: pkgconfig(capi-media-image-util)
 BuildRequires: pkgconfig(capi-content-media-content)
 BuildRequires: pkgconfig(libexif)
 BuildRequires: pkgconfig(libxml-2.0)
-BuildRequires: pkgconfig(xmlsec1)
-BuildRequires: pkgconfig(xmlsec1-openssl)
 BuildRequires: pkgconfig(capi-system-system-settings)
-BuildRequires: pkgconfig(tapi)
 BuildRequires: pkgconfig(capi-network-connection)
 BuildRequires: pkgconfig(capi-network-wifi)
 BuildRequires: pkgconfig(libpng)
@@ -76,7 +67,7 @@ Description: Native email application
 %define _pkg_dir %{TZ_SYS_RO_APP}/%{name}
 %define _pkg_lib_dir %{_pkg_dir}/lib
 
-%define _sys_icons_dir %{TZ_SYS_RO_ICONS}
+%define _sys_icons_dir %{TZ_SYS_RO_ICONS}/default/small
 %define _sys_packages_dir %{TZ_SYS_RO_PACKAGES}
 %define _sys_license_dir %{TZ_SYS_SHARE}/license
 %define _sys_smake_dir %{TZ_SYS_SMACK}/accesses.d
@@ -143,7 +134,7 @@ pkgdir_maker --create --pkgid=%{name}
 %{_pkg_dir}/bin/email-setting
 %{_pkg_dir}/bin/email-composer
 
-%{_sys_icons_dir}/default/small/%{name}.png
+%{_sys_icons_dir}/%{name}.png
 %{_sys_packages_dir}/%{name}.xml
 %{_sys_license_dir}/%{name}
 %{_sys_smake_dir}/%{name}.efl