[Tizen-submit] 16489: Changes to Tizen:IVI:Release/libcom-core

noreply at tizen.org noreply at tizen.org
Thu Oct 24 20:23:41 GMT 2013


Hi,
Rusty Lynch have made the following changes to libcom-core in project Tizen:IVI:Release. Please review and accept ASAP.

Thank You,

[This message was auto-generated]

---

Request: #16489

  submit:       Tizen:IVI:Release:build/libcom-core(cleanup) -> Tizen:IVI:Release


Message:
Submitter: Rusty Lynch <rusty.lynch at intel.com>
Comments: Fix PTREL-142 which fixes a corrupt com-core.pc file that breaks dep packages
Git project: platform/core/appfw/com-core
Tag: submit/tizen/20131024.202239
Commit: 1f49db866dc29bd51a7b6695bef85b9f0d370926 PTREL-142: Restore use of %cmake macro

State:   new        2013-10-24T20:25:05 tizenrobot
Comment: <no comment>
changes files:
--------------

old:
----
  libcom-core-0.3.14.tar.gz

new:
----
  libcom-core-0.5.3.tar.gz

spec files:
-----------
--- libcom-core.spec
+++ libcom-core.spec
@@ -1,8 +1,8 @@
 Name: libcom-core
 Summary: Library for the light-weight IPC 
-Version: 0.3.14
+Version: 0.5.3
 Release: 1
-VCS:     platform/core/appfw/com-core#submit/tizen/20130909.202456-0-g49fb1bd2a4a2078f5f8536c391f38dd61508f15f
+VCS:     platform/core/appfw/com-core#submit/tizen/20131024.202239-0-g1f49db866dc29bd51a7b6695bef85b9f0d370926
 Group: Base/IPC
 License: Apache-2.0
 Source0: %{name}-%{version}.tar.gz
@@ -28,6 +28,12 @@
 cp %{SOURCE1001} .
 
 %build
+%if 0%{?tizen_build_binary_release_type_eng}
+export CFLAGS="${CFLAGS} -DTIZEN_ENGINEER_MODE"
+export CXXFLAGS="${CXXFLAGS} -DTIZEN_ENGINEER_MODE"
+export FFLAGS="${FFLAGS} -DTIZEN_ENGINEER_MODE"
+%endif
+
 %cmake
 make %{?jobs:-j%jobs}
 

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

++++++ libcom-core-0.3.14.tar.gz -> libcom-core-0.5.3.tar.gz
--- CMakeLists.txt
+++ CMakeLists.txt
@@ -4,7 +4,7 @@
 SET(PREFIX ${CMAKE_INSTALL_PREFIX})
 SET(EXEC_PREFIX "\${prefix}")
 SET(PROJECT_NAME "${PROJECT_NAME}")
-SET(LIBDIR ${LIB_INSTALL_DIR})
+SET(LIBDIR "\${exec_prefix}/lib")
 SET(INCLUDEDIR "\${prefix}/include/${PROJECT_NAME}")
 SET(VERSION_MAJOR 0)
 SET(VERSION "${VERSION_MAJOR}.0.1")
@@ -30,6 +30,7 @@
 ADD_DEFINITIONS("-DPREFIX=\"${PREFIX}\"")
 ADD_DEFINITIONS("-DLOG_TAG=\"COM_CORE\"")
 ADD_DEFINITIONS("-DNDEBUG")
+ADD_DEFINITIONS("-D_USE_ECORE_TIME_GET")
 
 ADD_LIBRARY(${PROJECT_NAME} SHARED
 	src/dlist.c
@@ -48,8 +49,8 @@
 CONFIGURE_FILE(${PROJECT_NAME}.pc.in ${PROJECT_NAME}.pc @ONLY)
 SET_DIRECTORY_PROPERTIES(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES "${PROJECT_NAME}.pc")
 
-INSTALL(TARGETS ${PROJECT_NAME} DESTINATION ${LIB_INSTALL_DIR})
-INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}.pc DESTINATION ${LIB_INSTALL_DIR}/pkgconfig)
+INSTALL(TARGETS ${PROJECT_NAME} DESTINATION ${LIBDIR})
+INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}.pc DESTINATION ${LIBDIR}/pkgconfig)
 INSTALL(FILES ${CMAKE_SOURCE_DIR}/include/secure_socket.h DESTINATION include/${PROJECT_NAME})
 INSTALL(FILES ${CMAKE_SOURCE_DIR}/include/com-core.h DESTINATION include/${PROJECT_NAME})
 INSTALL(FILES ${CMAKE_SOURCE_DIR}/include/com-core_packet.h DESTINATION include/${PROJECT_NAME})
--- include/com-core.h
+++ include/com-core.h
@@ -24,7 +24,7 @@
 
 enum com_core_event_type {
 	CONNECTOR_CONNECTED,
-	CONNECTOR_DISCONNECTED,
+	CONNECTOR_DISCONNECTED
 };
 
 extern int com_core_server_create(const char *addr, int is_sync, int (*service_cb)(int fd, void *data), void *data);
--- include/com-core_packet-router.h

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


More information about the Tizen-submit mailing list