Fix wrong build requirements 84/178284/2 submit/tizen/20180510.005529
authorhyunho <hhstark.kang@samsung.com>
Wed, 9 May 2018 07:02:33 +0000 (16:02 +0900)
committerhyunho <hhstark.kang@samsung.com>
Wed, 9 May 2018 07:02:33 +0000 (16:02 +0900)
Change-Id: I27cb956ecf5bcf6624d3953c259917aaff622023
Signed-off-by: hyunho <hhstark.kang@samsung.com>
packaging/libwatchface-complication.spec
unittest/CMakeLists.txt
watchface-complication/include/watchface-complication-internal.h
watchface-complication/include/watchface-complication.h
watchface-complication/watchface-complication.pc.in
watchface-editor/CMakeLists.txt
watchface-editor/include/watchface-editor.h
watchface-editor/watchface-editor.pc.in

index fa2b15e..285faa0 100644 (file)
@@ -112,7 +112,7 @@ Provide APIs to develop the watchface complication provider.
 %package -n %{name}-provider-devel
 Summary: Watchface complication provider development library (dev)
 Group: Development/Libraries
-Requires: %{name}
+Requires: %{name}-provider
 
 %description -n %{name}-provider-devel
 Header & package configuration files to support development of the watchface complication provider.
@@ -155,6 +155,7 @@ Provide APIs to develop the watchface editor.
 %package -n libwatchface-editor-devel
 Summary: Watchface editor development library (dev)
 Group: Development/Libraries
+Requires: libwatchface-editor
 
 %description -n libwatchface-editor-devel
 Header & package configuration files to support development of the watchface editor.
index 578acf7..0a75e42 100644 (file)
@@ -19,6 +19,7 @@ SET(CMAKE_CXX_FLAGS_DEBUG "-O0 -g")
 SET(CMAKE_CXX_FLAGS_RELEASE "-O2")
 
 INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/../watchface-common/include)
+INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/../watchface-complication/include)
 INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/../)
 
 AUX_SOURCE_DIRECTORY(src SOURCES)
index cc3d449..dc90dc7 100644 (file)
@@ -16,7 +16,7 @@
 #ifndef WATCHFACE_COMPLICATION_INCLUDE_WATCHFACE_COMPLICATION_INTERNAL_H_
 #define WATCHFACE_COMPLICATION_INCLUDE_WATCHFACE_COMPLICATION_INTERNAL_H_
 
-#include <watchface-common/include/watchface-common.h>
+#include <watchface-common.h>
 
 #define SETUP_EDITOR_APPID_KEY "__SETUP_EDITOR_APPID_KEY__"
 #define SETUP_EDITABLE_ID_KEY "__SETUP_EDITABLE_ID_KEY__"
index f419537..f3f50a4 100644 (file)
@@ -20,7 +20,7 @@
 #include <tizen.h>
 #include <bundle.h>
 
-#include <watchface-common/include/watchface-common.h>
+#include <watchface-common.h>
 
 #ifdef __cplusplus
 extern "C" {
index 39e9bc8..c9f9e6a 100644 (file)
@@ -7,5 +7,5 @@ Name: watchface-complication
 Description: Support development of the watchface complication library
 Version: @VERSION@
 Libs: -L${libdir} -lwatchface-complication
-Cflags: -I${includedir}
-cppflags: -I${includedir}
\ No newline at end of file
+Cflags: -I${includedir} -I${includedir}/../watchface-common/include/
+cppflags: -I${includedir} -I${includedir}/../watchface-common/include/
\ No newline at end of file
index 53176c9..2f62fc1 100644 (file)
@@ -26,6 +26,7 @@ SET(CMAKE_CXX_FLAGS_DEBUG "-O0 -g")
 SET(CMAKE_CXX_FLAGS_RELEASE "-O2")
 
 INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/../watchface-common/include)
+INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/../watchface-complication/include)
 INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/../)
 INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/include)
 
index 5da0daa..ec23868 100644 (file)
@@ -20,8 +20,8 @@
 #include <tizen.h>
 #include <glib.h>
 #include <bundle.h>
-#include "watchface-complication/include/watchface-complication.h"
-#include "watchface-complication/include/watchface-editable.h"
+#include <watchface-complication.h>
+#include <watchface-editable.h>
 
 #ifdef __cplusplus
 extern "C" {
index ee086dc..bd34510 100644 (file)
@@ -8,3 +8,4 @@ Version: @VERSION@
 Requires: watchface-complication
 Libs: -L${libdir} -lwatchface-editor -lwatchface-complication
 Cflags: -I${includedir}
+cppflags: -I${includedir}
\ No newline at end of file