Remove unnecessary package dependency and "#include" 48/166148/4 accepted/tizen/unified/20180109.172828 submit/tizen/20180109.043419
authorJeongmo Yang <jm80.yang@samsung.com>
Mon, 8 Jan 2018 07:49:27 +0000 (16:49 +0900)
committerJeongmo Yang <jm80.yang@samsung.com>
Tue, 9 Jan 2018 01:37:37 +0000 (10:37 +0900)
- package list : Evas, Ecore, Elementary, Ecore-wayland, vconf

[Version] 0.3.13
[Profile] Common
[Issue Type] Optimization
[Dependency module] N/A

Change-Id: Ic4326e053dab0ea93e8d5be2cfdde5c10cf339a5
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
legacy/CMakeLists.txt
legacy/src/legacy_camera.c
muse/include/muse_camera.h
muse/src/muse_camera_dispatcher.c
packaging/mmsvc-camera.spec

index bb7f6a3..1a02431 100644 (file)
@@ -4,7 +4,7 @@ SET(service "legacy")
 SET(submodule "camera")
 
 # for package file
-SET(dependents "dlog mm-camcorder capi-base-common gstreamer-1.0 evas ecore elementary vconf")
+SET(dependents "dlog mm-camcorder capi-base-common")
 
 SET(fw_name "${service}-${submodule}")
 
index ec4623b..4ecb68d 100644 (file)
 */
 
 
-#include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
-#include <mm.h>
-#include <mm_camcorder.h>
-#include <mm_types.h>
-#include <math.h>
+#include <unistd.h> /* for unlink */
 #include <legacy_camera_internal.h>
 #include <legacy_camera_private.h>
 #include <glib.h>
 #include <dlog.h>
-#include <gst/gst.h>
-#include <Evas.h>
-#include <Ecore.h>
-#include <Ecore_Wayland.h>
-#include <Elementary.h>
 
 #ifdef LOG_TAG
 #undef LOG_TAG
index 2024b49..990d716 100644 (file)
@@ -27,8 +27,6 @@ extern "C" {
   */
 
 #include <stdbool.h>
-#include <glib.h>
-#include <stdio.h>
 #include <tbm_bufmgr.h>
 
 
index bae4289..4caa784 100644 (file)
 */
 
 #include <stdlib.h>
-#include <string.h>
 #include <errno.h>
-#include <sys/types.h>
-#include <sys/socket.h>
-#include <sys/un.h>
 #include <stdio.h>
 #include <dlog.h>
 #include "muse_camera_msg.h"
 #include "muse_camera_internal.h"
-#include <mm_types.h>
-#include <muse_core.h>
 #include <muse_server.h>
+#include <glib.h>
 #include <gst/gst.h>
 
 #ifdef LOG_TAG
index 4815cb0..d3cbfba 100644 (file)
@@ -1,6 +1,6 @@
 Name:       mmsvc-camera
 Summary:    A Camera module for muse server
-Version:    0.3.12
+Version:    0.3.13
 Release:    0
 Group:      Multimedia/Libraries
 License:    Apache-2.0
@@ -11,12 +11,7 @@ BuildRequires:  pkgconfig(dlog)
 BuildRequires:  pkgconfig(muse-server)
 BuildRequires:  pkgconfig(mm-camcorder)
 BuildRequires:  pkgconfig(capi-base-common)
-BuildRequires:  pkgconfig(ecore-wayland)
 BuildRequires:  pkgconfig(libtbm)
-BuildRequires:  pkgconfig(evas)
-BuildRequires:  pkgconfig(ecore)
-BuildRequires:  pkgconfig(elementary)
-BuildRequires:  pkgconfig(vconf)
 Requires(post): /sbin/ldconfig
 Requires(postun): /sbin/ldconfig