+++ /dev/null
-libslp-lbs-plugin-replay (0.1.3-10) unstable; urgency=low
-
- * Reduce the size of the NMEA logging file
- * Git: framework/location/libslp-lbs-plugin-replay
- * Tag: libslp-lbs-plugin-replay_0.1.3-9
-
- -- Minjune Kim <sena06.kim@samsung.com> Tue, 17 Jul 2012 13:23:35 +0900
-
-libslp-lbs-plugin-replay (0.1.3-9) unstable; urgency=low
-
- * strip
- * Git: framework/location/libslp-lbs-plugin-replay
- * Tag: libslp-lbs-plugin-replay_0.1.3-9
-
- -- Minjune Kim <sena06.kim@samsung.com> Wed, 11 Jul 2012 22:00:45 +0900
-
-libslp-lbs-plugin-replay (0.1.3-8) unstable; urgency=low
-
- * change directory path of config files to /etc(for FOTA)
- * Git: framework/location/libslp-lbs-plugin-replay
- * Tag: libslp-lbs-plugin-replay_0.1.3-8
-
- -- Genie Kim <daejins.kim@samsung.com> Fri, 15 Jun 2012 14:35:18 +0900
-
-libslp-lbs-plugin-replay (0.1.3-7) unstable; urgency=low
-
- * change to use vconf location internal keys
- * Git: framework/location/libslp-lbs-plugin-replay
- * Tag: libslp-lbs-plugin-replay_0.1.3-7
-
- -- Genie Kim <daejins.kim@samsung.com> Tue, 15 May 2012 19:53:25 +0900
-
-libslp-lbs-plugin-replay (0.1.3-6) unstable; urgency=low
-
- * add gpgll nmea sentence
- * Git: framework/location/libslp-lbs-plugin-replay
- * Tag: libslp-lbs-plugin-replay_0.1.3-6
-
- -- Genie Kim <daejins.kim@samsung.com> Wed, 09 May 2012 17:01:41 +0900
-
-libslp-lbs-plugin-replay (0.1.3-5) unstable; urgency=low
-
- * Bug fix : eof of nmea log
- * Git: framework/location/libslp-lbs-plugin-replay
- * Tag: libslp-lbs-plugin-replay_0.1.3-5
-
- -- Genie Kim <daejins.kim@samsung.com> Mon, 16 Apr 2012 16:29:00 +0900
-
-libslp-lbs-plugin-replay (0.1.3-4) unstable; urgency=low
-
- * Bug fix: replay mode key
- * Git: framework/location/libslp-lbs-plugin-replay
- * Tag: libslp-lbs-plugin-replay_0.1.3-4
-
- -- Genie Kim <daejins.kim@samsung.com> Fri, 13 Apr 2012 16:41:43 +0900
-
-libslp-lbs-plugin-replay (0.1.3-3) unstable; urgency=low
-
- * Bug fix: NMEA log file path
- * Git: framework/location/libslp-lbs-plugin-replay
- * Tag: libslp-lbs-plugin-replay_0.1.3-3
-
- -- Youngae Kang <youngae.kang@samsung.com> Sat, 07 Apr 2012 14:49:22 +0900
-
-libslp-lbs-plugin-replay (0.1.3-2) unstable; urgency=low
-
- * change spec file
- * Git: framework/location/libslp-lbs-plugin-replay
- * Tag: libslp-lbs-plugin-replay_0.1.3-2
-
- -- Genie Kim <daejins.kim@samsung.com> Tue, 21 Feb 2012 20:04:52 +0900
-
-libslp-lbs-plugin-replay (0.1.3-1) unstable; urgency=low
-
- * add position valid data in sv_data
- * Git: framework/location/libslp-lbs-plugin-replay
- * Tag: libslp-lbs-plugin-replay_0.1.3-1
-
- -- Minjune Kim <sena06.kim@samsung.com> Fri, 17 Feb 2012 17:12:01 +0900
-
-libslp-lbs-plugin-replay (0.1.2-1) unstable; urgency=low
-
- * bug fix for fclose
- * Git: framework/location/libslp-lbs-plugin-replay
- * Tag: libslp-lbs-plugin-replay_0.1.2-1
-
- -- Genie Kim <daejins.kim@samsung.com> Wed, 15 Feb 2012 11:10:09 +0900
-
-libslp-lbs-plugin-replay (0.1.1-1) unstable; urgency=low
-
- * Add manual replay mode for SDK
- * Git: framework/location/libslp-lbs-plugin-replay
- * Tag: libslp-lbs-plugin-replay_0.1.1-1
-
- -- Genie Kim <daejins.kim@samsung.com> Wed, 01 Feb 2012 16:18:43 +0900
-
-libslp-lbs-plugin-replay (0.1.0-1) unstable; urgency=low
-
- * Initial Release.
- * Git: framework/location/libslp-lbs-plugin-replay
- * Tag: libslp-lbs-plugin-replay_0.1.0-1
-
- -- Genie Kim <daejins.kim@samsung.com> Mon, 26 Sep 2011 00:00:00 +0900
+++ /dev/null
-Source: libslp-lbs-plugin-replay
-Section: devel
-Priority: extra
-Maintainer: Youngae Kang <youngae.kang@samsung.com>, Yunhan Kim <yhan.kim@samsung.com>, Genie Kim <daejins.kim@samsung.com>
-Uploaders: Genie Kim <daejins.kim@samsung.com>
-Build-Depends: debhelper (>= 4.0.0), autotools-dev, gps-manager-plugin-dev, libglib2.0-dev, libvconf-dev, vconf-internal-keys-dev, dlog-dev
-Standards-Version: 0.1.0
-
-Package: libslp-lbs-plugin-replay
-Section: libs
-Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, libglib2.0-0, libvconf-0, libdlog-0
-Description: GPS manager plugin library for replay mode
-
-Package: libslp-lbs-plugin-replay-dbg
-Section: debug
-Architecture: any
-Depends: libslp-lbs-plugin-replay (= ${Source-Version})
-Description: GPS manager plugin library for replay mode (for debugging)
+++ /dev/null
-debian/tmp@PREFIX@/lib/libSLP-lbs-plugin-replay.so
-debian/tmp@PREFIX@/lib/libSLP-lbs-plugin-replay.so.*
-debian/tmp/etc/gps-manager/replay/*
+++ /dev/null
-#!/bin/sh
-rm -rf /usr/lib/libSLP-lbs-plugin.so
-ln -sf /usr/lib/libSLP-lbs-plugin-replay.so /usr/lib/libSLP-lbs-plugin.so
-
-
-if [ "${USER}" = "root" ]
-then
-#Change File owner
- chown root:root /etc/gps-manager/replay/nmea_replay.log
-
-#Change File Permission
- chmod 666 /etc/gps-manager/replay/nmea_replay.log
-fi
+++ /dev/null
-#!/usr/bin/make -f
-# -*- makefile -*-
-# Sample debian/rules that uses debhelper.
-# This file was originally written by Joey Hess and Craig Small.
-# As a special exception, when this file is copied by dh-make into a
-# dh-make output file, you may use that output file without restriction.
-# This special exception was added by Craig Small in version 0.37 of dh-make.
-
-# Uncomment this to turn on verbose mode.
-export DH_VERBOSE=1
-
-
-# These are used for cross-compiling and for saving the configure script
-# from having to guess our platform (since we know it already)
-
-CFLAGS ?= -Wall -g
-LDFLAGS ?=
-PREFIX ?= /usr
-DESTDIR ?= $(CURDIR)/debian/tmp
-DATADIR ?= $(DESTDIR)/etc/gps-manager
-
-#CFLAGS += -O0
-#CXXFLAGS += -O0
-CFLAGS += -fvisibility=hidden -Wall -fPIC
-CXXFLAGS += -fvisibility=hidden -Wall -fPIC
-LDFLAGS += -Wl,--as-needed -Wl,--hash-style=both
-
-configure: configure-stamp
-configure-stamp:
- dh_testdir
- # Add here commands to configure the package.
- ./autogen.sh
- mkdir -p build
- cd build && CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" LDFLAGS="$(LDFLAGS)" ../configure --prefix=$(PREFIX) --datadir=$(DATADIR)
-
- touch $@
-
-build: build-stamp
-build-stamp: configure-stamp
- dh_testdir
-
- # Add here commands to compile the package.
- mkdir -p build
- cd build && $(MAKE)
- #docbook-to-man debian/ncurses.sgml > ncurses.1
-
- for f in `find $(CURDIR)/debian/ -name "*.in"`; do \
- cat $$f > $${f%.in}; \
- sed -i -e "s#@PREFIX@#$(PREFIX)#g" $${f%.in}; \
- sed -i -e "s#@DATADIR@#$(DATADIR)#g" $${f%.in}; \
- done
-
- touch $@
-
-clean:
- dh_testdir
- dh_testroot
- rm -f build-stamp configure-stamp
-
- # Add here commands to clean up after the build process.
- mkdir -p build
- cd build
- -$(MAKE) clean
- -$(MAKE) distclean
- cd ..
-
- for f in `find $(CURDIR)/debian/ -name "*.in"`; do \
- rm -f $${f%.in}; \
- done
-
- find $(CURDIR) -name "Makefile.in" -exec rm -f {} \;
-
- dh_clean
- rm -rf build
- rm -rf build-aux
- rm -rf m4
- rm -f aclocal.m4 config.h.in configure
-
-install: build
- dh_testdir
- dh_testroot
-# dh_clean -k
- dh_installdirs
-
- # Add here commands to install the package into debian/ncurses.
- mkdir -p build
- cd build && $(MAKE) DESTDIR=$(DESTDIR) install
-
- mkdir -p $(DATADIR)/replay
- cp -a nmea-log/*.log $(DATADIR)/replay
-
-# Build architecture-independent files here.
-binary-indep: build install
-# We have nothing to do by default.
-
-# Build architecture-dependent files here.
-binary-arch: build install
- dh_testdir
- dh_testroot
- dh_installchangelogs
- dh_installdocs
- dh_installexamples
- dh_install #--sourcedir=debian/tmp
-# dh_installmenu
-# dh_installdebconf
-# dh_installlogrotate
-# dh_installemacsen
-# dh_installpam
-# dh_installmime
-# dh_python
-# dh_installinit
-# dh_installcron
-# dh_installinfo
- dh_installman
- dh_link
- dh_strip --dbg-package=libslp-lbs-plugin-replay-dbg
- dh_compress
- dh_fixperms
-# dh_perl
- dh_makeshlibs
- dh_installdeb
- dh_shlibdeps
- dh_gencontrol
- dh_md5sums
- dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
/*
- * GPS manager replay plugin
+ * gps-manager replay plugin
*
- * Copyright (c) 2011 Samsung Electronics Co., Ltd. All rights reserved.
+ * Copyright (c) 2011-2013 Samsung Electronics Co., Ltd. All rights reserved.
*
- * Contact: Youngae Kang <youngae.kang@samsung.com>, Yunhan Kim <yhan.kim@samsung.com>,
- * Genie Kim <daejins.kim@samsung.com>, Minjune Kim <sena06.kim@samsung.com>
+ * Contact: Youngae Kang <youngae.kang@samsung.com>, Minjune Kim <sena06.kim@samsung.com>
+ * Genie Kim <daejins.kim@samsung.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
/*
- * GPS manager replay plugin
+ * gps-manager replay plugin
*
- * Copyright (c) 2011 Samsung Electronics Co., Ltd. All rights reserved.
+ * Copyright (c) 2011-2013 Samsung Electronics Co., Ltd. All rights reserved.
*
- * Contact: Youngae Kang <youngae.kang@samsung.com>, Yunhan Kim <yhan.kim@samsung.com>,
- * Genie Kim <daejins.kim@samsung.com>, Minjune Kim <sena06.kim@samsung.com>
+ * Contact: Youngae Kang <youngae.kang@samsung.com>, Minjune Kim <sena06.kim@samsung.com>
+ * Genie Kim <daejins.kim@samsung.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
/*
- * GPS manager replay plugin
+ * gps-manager replay plugin
*
- * Copyright (c) 2011 Samsung Electronics Co., Ltd. All rights reserved.
+ * Copyright (c) 2011-2013 Samsung Electronics Co., Ltd. All rights reserved.
*
- * Contact: Youngae Kang <youngae.kang@samsung.com>, Yunhan Kim <yhan.kim@samsung.com>,
- * Genie Kim <daejins.kim@samsung.com>, Minjune Kim <sena06.kim@samsung.com>
+ * Contact: Youngae Kang <youngae.kang@samsung.com>, Minjune Kim <sena06.kim@samsung.com>
+ * Genie Kim <daejins.kim@samsung.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
/*
- * GPS manager replay plugin
+ * gps-manager replay plugin
*
- * Copyright (c) 2011 Samsung Electronics Co., Ltd. All rights reserved.
+ * Copyright (c) 2011-2013 Samsung Electronics Co., Ltd. All rights reserved.
*
- * Contact: Youngae Kang <youngae.kang@samsung.com>, Yunhan Kim <yhan.kim@samsung.com>,
- * Genie Kim <daejins.kim@samsung.com>, Minjune Kim <sena06.kim@samsung.com>
+ * Contact: Youngae Kang <youngae.kang@samsung.com>, Minjune Kim <sena06.kim@samsung.com>
+ * Genie Kim <daejins.kim@samsung.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
gps_event.event_data.pos_ind.pos.ver_accuracy = data->ver_accuracy;
}
- //LOG_PLUGIN(DBG_LOW, "%d / %f / %f / %f", gps_event.event_data.pos_ind.pos.timestamp, gps_event.event_data.pos_ind.pos.latitude, gps_event.event_data.pos_ind.pos.longitude, gps_event.event_data.pos_ind.pos.altitude);
+ //LOG_PLUGIN(DBG_LOW, "%d", gps_event.event_data.pos_ind.pos.timestamp);
if (g_gps_event_cb != NULL) {
g_gps_event_cb(&gps_event);
{
gboolean ret = FALSE;
read_error_t err = READ_SUCCESS;
- replay_timeout *timer = (replay_timeout *) data;
char nmea_data[REPLAY_NMEA_SET_SIZE] = { 0, };
+ replay_timeout *timer = (replay_timeout *) data;
+
+ if (timer == NULL) {
+ LOG_PLUGIN(DBG_ERR, "replay handel[timer] is NULL");
+ return FALSE;
+ }
memset(timer->pos_data, 0, sizeof(pos_data_t));
memset(timer->sv_data, 0, sizeof(sv_data_t));
setting_notify_key_changed(VCONFKEY_LOCATION_REPLAY_MODE, replay_mode_changed_cb);
timer->pos_data = (pos_data_t *) malloc(sizeof(pos_data_t));
- if (timer->pos_data == NULL) {
- LOG_PLUGIN(DBG_ERR, "pos_data allocation is failed.");
- free(timer);
- return NULL;
- }
+ if (timer->pos_data == NULL) {
+ LOG_PLUGIN(DBG_ERR, "pos_data allocation is failed.");
+ free(timer);
+ return NULL;
+ }
+
timer->sv_data = (sv_data_t *) malloc(sizeof(sv_data_t));
- if (timer->sv_data == NULL) {
- LOG_PLUGIN(DBG_ERR, "sv_data allocation is failed.");
- free(timer->pos_data);
- free(timer);
- return NULL;
- }
+ if (timer->sv_data == NULL) {
+ LOG_PLUGIN(DBG_ERR, "sv_data allocation is failed.");
+ free(timer->pos_data);
+ free(timer);
+ return NULL;
+ }
timer->nmea_data = (nmea_data_t *) malloc(sizeof(nmea_data_t));
- if (timer->nmea_data == NULL) {
- LOG_PLUGIN(DBG_ERR, "nmea_data allocation is failed.");
- free(timer->pos_data);
- free(timer->sv_data);
- free(timer);
- return NULL;
- }
+ if (timer->nmea_data == NULL) {
+ LOG_PLUGIN(DBG_ERR, "nmea_data allocation is failed.");
+ free(timer->pos_data);
+ free(timer->sv_data);
+ free(timer);
+ return NULL;
+ }
timer->timeout_src = NULL;
timer->default_context = NULL;
/*
- * GPS manager replay plugin
+ * gps-manager replay plugin
*
- * Copyright (c) 2011 Samsung Electronics Co., Ltd. All rights reserved.
+ * Copyright (c) 2011-2013 Samsung Electronics Co., Ltd. All rights reserved.
*
- * Contact: Youngae Kang <youngae.kang@samsung.com>, Yunhan Kim <yhan.kim@samsung.com>,
- * Genie Kim <daejins.kim@samsung.com>, Minjune Kim <sena06.kim@samsung.com>
+ * Contact: Youngae Kang <youngae.kang@samsung.com>, Minjune Kim <sena06.kim@samsung.com>
+ * Genie Kim <daejins.kim@samsung.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
/*
- * GPS manager replay plugin
+ * gps-manager replay plugin
*
- * Copyright (c) 2011 Samsung Electronics Co., Ltd. All rights reserved.
+ * Copyright (c) 2011-2013 Samsung Electronics Co., Ltd. All rights reserved.
*
- * Contact: Youngae Kang <youngae.kang@samsung.com>, Yunhan Kim <yhan.kim@samsung.com>,
- * Genie Kim <daejins.kim@samsung.com>, Minjune Kim <sena06.kim@samsung.com>
+ * Contact: Youngae Kang <youngae.kang@samsung.com>, Minjune Kim <sena06.kim@samsung.com>
+ * Genie Kim <daejins.kim@samsung.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.