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 bb7f6a3e204c4731f7ed8ab42cb4ce0be7a00b78..1a0243147be3f47f790f70c08cf0095cc6366ba2 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 ec4623b4a6b8f53a54116bc88f58421b8a73e545..4ecb68d159c5ca380dab2c2f39c1d8975ebd435c 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 2024b496c9d1c9ca3e88873ccf8a617660dcb437..990d716b467c04273e781d96d19400f7de7ee6cb 100644 (file)
@@ -27,8 +27,6 @@ extern "C" {
   */
 
 #include <stdbool.h>
-#include <glib.h>
-#include <stdio.h>
 #include <tbm_bufmgr.h>
 
 
index bae4289c571cb72b1071ded4accd6156878c3e87..4caa784f36d38010170f09ba0b93c0727fec4fc3 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 4815cb06dc305978bcdc9131aa2db38d2d333aec..d3cbfba01f1b164a0b71d68a1a0893bd62ae07db 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