Kyoungjun Sung <kj7.sung@samsung.com>
Seechan Kim <cbible.kim@samsung.com>
-Kangho Hur <kanho.hur@samsung.com>
Name: capi-location-manager
Summary: A Location Manager library in Tizen Native API
-Version: 0.7.9
+Version: 0.7.10
Release: 1
Group: Location/API
License: Apache-2.0
%build
-export CFLAGS="$CFLAGS -DTIZEN_DEBUG_ENABLE"
-export CXXFLAGS="$CXXFLAGS -DTIZEN_DEBUG_ENABLE"
-export FFLAGS="$FFLAGS -DTIZEN_DEBUG_ENABLE"
-
MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DLIBDIR=%{_libdir} -DINCLUDEDIR=%{_includedir} \
-DFULLVER=%{version} -DMAJORVER=${MAJORVER} -DTZ_SYS_RO_PACKAGES=%{TZ_SYS_RO_PACKAGES} -DTZ_SYS_BIN=%{TZ_SYS_BIN} \
%{_includedir}/location/*.h
%{_libdir}/pkgconfig/*.pc
%{_libdir}/libcapi-location-manager.so
-
-
-%if 0
-%package test
-Summary: Test application of Location Manager
-Group: Location/Testing
-Requires: %{name} = %{version}-%{release}
-
-%description test
-Test application of Location Manager
-
-%files test
-%manifest test/capi-location-manager-test.manifest
-#%{TZ_SYS_RO_PACKAGES}/capi-location-manager-test.xml
-%{_bindir}/location_test
-%endif
TARGET_LINK_LIBRARIES(${src_name} ${fw_name} ${${fw_test}_LDFLAGS})
ENDFOREACH()
-#INSTALL(TARGETS ${src_name} DESTINATION ${TZ_SYS_SHARE}/location/)
INSTALL(TARGETS ${src_name} DESTINATION ${TZ_SYS_BIN})
-#INSTALL(FILES ${fw_test}.xml DESTINATION ${TZ_SYS_RO_PACKAGES}/)
+++ /dev/null
-<manifest>
- <request>
- <domain name="_"/>
- </request>
-</manifest>
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<manifest xmlns="http://tizen.org/ns/packages" package="capi-location-manager-test" version="1.0.0" install-location="internal-only">
- <label>Location</label>
- <author email="kj7.sung@samsung.com" href="www.samsung.com">Kyoungjun Sung</author>
- <author email="cbible.kim@samsung.com" href="www.samsung.com">Seechan Kim</author>
- <author email="youngae.kang@samsung.com" href="www.samsung.com">Youngae kang</author>
- <description>Location Manager Test</description>
- <privileges>
- <privilege>http://tizen.org/privilege/location</privilege>
- <privilege>http://tizen.org/privilege/location.enable</privilege>
- </privileges>
- <ui-application appid="capi-location-manager-test" exec=${TZ_SYS_SHARE}"/location/location-test" nodisplay="true" multiple="false" type="capp" taskmanage="false" launch_mode="single">
- <label>Location Manager Test</label>
- </ui-application>
-</manifest>
void _satellite_updated_cb(int num_of_active, int num_of_inview, time_t timestamp, void *user_data)
{
/* fprintf(stderr, "-------------------------- satellite updated --------------------------\n"); */
- fprintf(stderr, "--- num_of_active[%d] num_of_inview[%d] timestamp[%ld]\n", num_of_active, num_of_inview, timestamp);
+ fprintf(stderr, "--- active[%d] inview[%d] timestamp[%ld]\n", num_of_active, num_of_inview, timestamp);
repeat_count++;
- if (repeat_count > 60)
+ if (repeat_count > 120)
test_timer = g_timeout_add_seconds(1, wait_test, NULL);
}