[Tizen-submit] 5900: Changes to Tizen/capi-location-manager

noreply at tizen.org noreply at tizen.org
Mon May 20 11:36:25 GMT 2013


Hi,
Prajwal Mohan have made the following changes to capi-location-manager in project Tizen. Please review and accept ASAP.

Thank You,

[This message was auto-generated]

---

Request: #5900

  submit:       Tizen:build/capi-location-manager(cleanup) -> Tizen


Message:
Submitter: Prajwal Mohan <prajwal.karur.mohan at intel.com>
Comments: submit/tizen/20130517.044644
Git project: platform/core/api/location-manager
Tag: submit/tizen/20130517.044644
Commit: f7a18ab sync PRIVATE and RSA for tizen2.1

State:   accepted   2013-05-16T22:41:43 pkarurmo
Comment: Reviewed Ok

History: new        2013-05-16T21:44:03 tizenrobot
old:
----
  capi-location-manager-0.1.2.tar.gz

new:
----
  capi-location-manager-0.1.11.tar.gz

spec files:
-----------
--- capi-location-manager.spec
+++ capi-location-manager.spec
@@ -1,11 +1,11 @@
 #sbs-git:slp/api/location-manager capi-location-manager 0.1.0 d1ee09a32e8bc0e9ed48ece37c641a7393c086c5
 Name:       capi-location-manager
 Summary:    A Location Manager library in Tizen Native API
-Version: 0.1.2
+Version: 0.1.11
 Release:    1
-VCS:        platform/core/api/location-manager#submit/tizen/20130517.015151-0-g924a071
-Group:      TO_BE/FILLED_IN
-License:    TO BE FILLED IN
+VCS:        platform/core/api/location-manager#submit/tizen/20130517.044644-0-gf7a18ab
+Group:      System/Libraries
+License:    Apache License, Version 2.0
 Source0:    %{name}-%{version}.tar.gz
 BuildRequires:  cmake
 BuildRequires:  pkgconfig(dlog)
@@ -32,7 +32,7 @@
 
 %build
 MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
-cmake . -DCMAKE_INSTALL_PREFIX=/usr -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
+%cmake . -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
 
 make %{?jobs:-j%jobs}
 
@@ -46,6 +46,7 @@
 
 
 %files
+%manifest capi-location-manager.manifest
 %{_libdir}/libcapi-location-manager.so.*
 
 %files devel

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

++++++ capi-location-manager-0.1.2.tar.gz -> capi-location-manager-0.1.11.tar.gz
--- CMakeLists.txt
+++ CMakeLists.txt
@@ -19,7 +19,7 @@
     SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}")
 ENDFOREACH(flag)
 
-SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -fPIC -Wall -Werror")
+SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -fvisibility=hidden -fPIC -Wall -Werror")
 SET(CMAKE_C_FLAGS_DEBUG "-O0 -g")
 
 IF("${ARCH}" STREQUAL "arm")
@@ -27,9 +27,10 @@
 ENDIF("${ARCH}" STREQUAL "arm")
 
 ADD_DEFINITIONS("-DPREFIX=\"${CMAKE_INSTALL_PREFIX}\"")
+ADD_DEFINITIONS("-DEXPORT_API=__attribute__((visibility(\"default\")))")
 ADD_DEFINITIONS("-DTIZEN_DEBUG")
 
-SET(CMAKE_EXE_LINKER_FLAGS "-Wl,--as-needed -Wl,--rpath=/usr/lib")
+SET(CMAKE_EXE_LINKER_FLAGS "-Wl,--as-needed -Wl,--rpath=${LIB_INSTALL_DIR}")
 
 aux_source_directory(src SOURCES)
 ADD_LIBRARY(${fw_name} SHARED ${SOURCES})
@@ -43,7 +44,7 @@
 
 TARGET_LINK_LIBRARIES(${fw_name} ${${fw_name}_LDFLAGS})
 
-INSTALL(TARGETS ${fw_name} DESTINATION lib)
+INSTALL(TARGETS ${fw_name} DESTINATION ${LIB_INSTALL_DIR})
 INSTALL(
         DIRECTORY ${INC_DIR}/ DESTINATION include/location
         FILES_MATCHING
@@ -61,7 +62,7 @@
     ${CMAKE_CURRENT_SOURCE_DIR}/${fw_name}.pc

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


More information about the Tizen-submit mailing list