[Tizen-submit] 16477: Changes to Tizen:Mobile/osp-common-service

noreply at tizen.org noreply at tizen.org
Thu Oct 24 06:52:52 GMT 2013


Hi,
Hokwon Song have made the following changes to osp-common-service in project Tizen:Mobile. Please review and accept ASAP.

Thank You,

[This message was auto-generated]

---

Request: #16477

  submit:       Tizen:Mobile:build/osp-common-service(cleanup) -> Tizen:Mobile


Message:
Submitter: Hokwon Song <hokwon.song at samsung.com>
Comments: fixed build error.
Git project: platform/framework/native/common-service
Tag: submit/tizen/20131024.065414
Commit: a2a6df2fdfd15b77da2458fa8ecddc3492a71054 fix build error.

State:   new        2013-10-24T06:54:15 tizenrobot
Comment: <no comment>
spec files:
-----------
--- osp-common-service.spec
+++ osp-common-service.spec
@@ -2,7 +2,7 @@
 Summary:	osp common service
 Version:	1.2.2.0
 Release:	1
-VCS:     platform/framework/native/common-service#submit/tizen/20131023.011734-0-g54f51cd2181484551922096e8163ea514b8a3166
+VCS:     platform/framework/native/common-service#submit/tizen/20131024.065414-0-ga2a6df2fdfd15b77da2458fa8ecddc3492a71054
 Group:		System/Libraries
 License:	Apache License, Version 2.0 or Flora
 Source0:	%{name}-%{version}.tar.gz

other changes:
--------------

++++++ osp-common-service-1.2.2.0.tar.gz
--- CMakeLists.txt
+++ CMakeLists.txt
@@ -7,27 +7,11 @@
 SET(EXECUTABLE_OUTPUT_PATH "${CMAKE_CURRENT_SOURCE_DIR}/output")
 
 INCLUDE_DIRECTORIES (
-	/usr/include/glib-2.0
-	/usr/lib/glib-2.0/include
-	/usr/include/ecore-1
-	/usr/include/eina-1
-	/usr/include/eina-1/eina
-	/usr/include/appfw
-	/usr/include/osp
-	/usr/include/osp/app
-	/usr/include/osp/base
-	/usr/include/osp/io
-	/usr/include/osp/system
-	/usr/include/osp/security
-	/usr/include/osp/ui
-	/usr/include/osp/server
-	/usr/include/chromium
-	/usr/include/osp/system-service/inc
-	/usr/include/osp/system-server/
 	inc
 ##	src/messaging
 	src/system
 	src/ui
+	/usr/include/osp/system-server
 	)
 
 SET (${this_target}_SOURCE_FILES
@@ -35,6 +19,22 @@
 	src/CommonServiceEntry.cpp
 	)
 
+INCLUDE(FindPkgConfig)
+pkg_check_modules(${this_target} REQUIRED
+	glib-2.0
+	ecore
+	eina
+	chromium
+	libsmack
+	capi-appfw-application
+	osp-appfw
+	osp-appfw-server
+	osp-system-server
+)
+
+FOREACH(flag ${${this_target}_CFLAGS})
+	SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}")
+ENDFOREACH(flag)
 ##ADD_SUBDIRECTORY(src/messaging)
 ADD_SUBDIRECTORY(src/system)
 ADD_SUBDIRECTORY(src/ui)
@@ -81,19 +81,18 @@
 TARGET_LINK_LIBRARIES( ${this_target} ${STATIC_LIBS})
 
 TARGET_LINK_LIBRARIES(${this_target} -Xlinker --no-undefined -Xlinker --as-needed -pie)
-TARGET_LINK_LIBRARIES(${this_target} "-L/usr/lib/osp -losp-appfw -lchromium")
 TARGET_LINK_LIBRARIES(${this_target} "-L/usr/lib/osp -losp-uifw" )
 TARGET_LINK_LIBRARIES(${this_target} -L/usr/lib/osp -losp-messaging)
-TARGET_LINK_LIBRARIES(${this_target} "-lcapi-appfw-application" )
 TARGET_LINK_LIBRARIES(${this_target} "-lmsg_mapi" )
 TARGET_LINK_LIBRARIES(${this_target} "-lutilX" )
 TARGET_LINK_LIBRARIES(${this_target} "-lecore_x" )
 TARGET_LINK_LIBRARIES(${this_target} "-ltapi" )
 TARGET_LINK_LIBRARIES(${this_target} "-lcapi-system-info" )
 TARGET_LINK_LIBRARIES(${this_target} "-lcapi-network-wifi" )

Please refer to OBS webUI for more details about this SR.


More information about the Tizen-submit mailing list