Tizen 2.0 Release 2.0_release
authorHyungKyu Song <hk76.song@samsung.com>
Thu, 14 Feb 2013 13:08:18 +0000 (22:08 +0900)
committerHyungKyu Song <hk76.song@samsung.com>
Thu, 14 Feb 2013 13:08:18 +0000 (22:08 +0900)
AUTHORS
debian/changelog
debian/control
debian/copyright
include/accel_sim_filter.h
packaging/sf-plugin-filter-accel-emul.manifest [new file with mode: 0644]
packaging/sf-plugin-filter-accel-emul.spec [new file with mode: 0644]
src/accel_sim_filter.cpp

diff --git a/AUTHORS b/AUTHORS
index 8acdf13..1722483 100644 (file)
--- a/AUTHORS
+++ b/AUTHORS
@@ -1,3 +1,12 @@
-DongKyun Yun <dk77.yun@samsung.com>
-Sungmin Ha <sungmin82.ha@samsung.com>
+YeongKyoon Lee <yeongkyoon.lee@samsung.com>
+DaiYoung Kim <daiyoung777.kim@samsung.com>
+SeokYeon Hwang <syeon.hwang@samsung.com>
+SangJin Kim <sangjin3.kim@samsung.com>
+KiTae Kim <kt920.kim@samsung.com>
+JinHyung Jo <jinhyung.jo@samsung.com>
+SungMin Ha <sungmin82.ha@samsung.com>
+MunKyu Im <munkyu.im@samsung.com>
+JiHye Kim <jihye1128.kim@samsung.com>
+GiWoong Kim <giwoong.kim@samsung.com>
+SooYoung Ha <yoosah.ha@samsnung.com>
 HyunGoo Kang <hyungoo1.kang@samsung.com>
index aba4490..6c983f5 100644 (file)
@@ -1,98 +1,54 @@
-sf-plugin-filter-accel-emul (0.2.2) unstable; urgency=low
-  
-  * modified for build only i386
-
- -- Sungmin Ha <sungmin82.ha@samsung.com>  Sat, 18 Feb 2012 13:06:52 +0900
-sf-plugin-filter-accel-emul (0.2.1) unstable; urgency=low
-
- -- Sungmin Ha <sungmin82.ha@samsung.com> Fri, 10 Feb 2012 14:00:00 +0900
-
-sf-plugin-filter-accel-sim (0.1.2-3) unstable; urgency=low
-
-  * does not check target type anymore
-  * Git:165.213.180.234:/slp/pkgs/s/sf-plugin-filter-accel-sim
-  * Tag:sf-plugin-filter-accel-sim_0.1.2-3
-
- -- Yong-sul Oh <yongsul96.oh@samsung.com>  Tue, 21 Dec 2010 22:12:35 +0900
-
-sf-plugin-filter-bma023 (0.1.2-2) unstable; urgency=low
-
-  * some prevent-checking-bug fix (CID 14020 , 14019)
-  * Git:165.213.180.234:/git/slp/pkgs/sf-plugin-filter-bma023
-  * Tag:sf-plugin-filter-bma023_0.1.2-2
-
- -- Yong-sul Oh <yongsul96.oh@samsung.com>  Wed, 15 Sep 2010 16:54:52 +0900
-
-sf-plugin-filter-bma023 (0.1.2-1) unstable; urgency=low
-
-  * change get_struct_value() & get_property()
-  * Git:165.213.180.234:/git/slp2.0/slp2.0-pkgs/sf-plugin-filter-bma023-0
-  * Tag:sf-plugin-filter-bma023_0.1.2-1
+sf-plugin-filter-accel-emul (0.2.9) unstable; urgency=low
 
- -- Yong-sul Oh <yongsul96.oh@samsung.com>  Tue, 15 Jun 2010 09:46:14 +0900
+  * modified for sensor FW changed by juhyun kim
+  * Git: slp/pkgs/e/emulator-plugin-accel-filter
+  * Tag: sf-plugin-filter-accel-emul_0.2.9
 
-sf-plugin-filter-bma023 (0.1.1-1) unstable; urgency=low
+ -- Sungmin Ha <sungmin82.ha@samsung.com> Mon, 30 Jul 2012 15:52:41 +0900
 
-  * change for new libslp-sensor APIs
-  * Git:165.213.180.234:/git/slp2.0/slp2.0-pkgs/sf-plugin-filter-bma023-0
-  * Tag:sf-plugin-filter-bma023_0.1.1-1
+sf-plugin-filter-accel-emul (0.2.8) unstable; urgency=low
 
- -- Yong-sul Oh <yongsul96.oh@samsung.com>  Mon, 31 May 2010 01:05:26 +0900
+  * tag changed for rejected SR
+  * Git: slp/pkgs/e/emulator-plugin-accel-filter
+  * Tag: sf-plugin-filter-accel-emul_0.2.8
 
-sf-plugin-filter-bma023 (0.0.4-2) unstable; urgency=low
+ -- Sungmin Ha <sungmin82.ha@samsung.com>  Fri, 20 Jul 2012 15:40:51 +0900
 
-  * DAC rule changed
-  * Git:165.213.180.234:/git/slp2.0/slp2.0-pkgs/sf-plugin-filter-bma023-0
-  * Tag:sf-plugin-filter-bma023_0.0.4-2
+sf-plugin-filter-accel-emul (0.2.7) unstable; urgency=low
 
- -- Yong-sul Oh <yongsul96.oh@samsung.com>  Mon, 10 May 2010 17:51:36 +0900
+  * modified for OBS SR
+  * Git: slp/pkgs/e/emulator-plugin-accel-filter
+  * Tag: sf-plugin-filter-accel-emul_0.2.7
 
-sf-plugin-filter-bma023 (0.0.4-1) unstable; urgency=low
+ -- Sungmin Ha <sungmin82.ha@samsung.com>  Thu, 19 Jul 2012 21:36:51 +0900
 
-  * add {pkg_name}.postinst.in for permission control & add free() codes when it's class constructor returned with error
-  * Git:165.213.180.234:/git/slp2.0/slp2.0-pkgs/sf-plugin-filter-bma023-0
-  * Tag:sf-plugin-filter-bma023_0.0.4-1
+sf-plugin-filter-accel-emul (0.2.5) unstable; urgency=low
 
- -- Yong-sul Oh <yongsul96.oh@samsung.com>  Mon, 19 Apr 2010 21:44:15 +0900
+  * modified for OBS SR
+  * Git: slp/pkgs/e/emulator-plugin-accel-filter
+  * Tag: sf-plugin-filter-accel-emul_0.2.5
 
-sf-plugin-filter-bma023 (0.0.3-1) unstable; urgency=low
+ -- Sungmin Ha <sungmin82.ha@samsung.com>  Thu, 19 Jul 2012 17:36:51 +0900
 
-  * add real-device checking routine (return NULL when a real-device does not exist)
 
- -- Yong-sul Oh <yongsul96.oh@samsung.com>  Mon, 29 Mar 2010 11:49:52 +0900
+sf-plugin-filter-accel-emul (0.2.3) unstable; urgency=low
 
-sf-plugin-filter-bma023 (0.0.2-2) unstable; urgency=low
+  * modified for united acceleration value between eventinjector and emulator
+  * Git: slp/pkgs/e/emulator-plugin-accel-filter
+  * Tag: sf-plugin-filter-accel-emul_0.2.3
 
-  * toolchain upgrade
+ -- Sungmin Ha <sungmin82.ha@samsung.com>  Wed, 18 Jul 2012 18:50:51 +0900
 
- -- Yong-sul Oh <yongsul96.oh@samsung.com>  Thu, 25 Mar 2010 17:05:33 +0900
-
-sf-plugin-filter-bma023 (0.0.2-1) unstable; urgency=low
-
-  * double-execute updating bug-fix
-
- -- Yong-sul Oh <yongsul96.oh@samsung.com>  Fri, 19 Mar 2010 14:26:46 +0900
-
-sf-plugin-filter-bma023 (0.0.1-4) unstable; urgency=low
-
-  * remove assert
-
- -- Yong-sul Oh <yongsul96.oh@samsung.com>  Mon, 08 Feb 2010 12:09:04 +0900
-
-sf-plugin-filter-bma023 (0.0.1-3) unstable; urgency=low
-
-  * change dependency (does not use libslp-ipc)
-
- -- Yong-sul Oh <yongsul96.oh@samsung.com>  Thu, 21 Jan 2010 19:48:24 +0900
-
-sf-plugin-filter-bma023 (0.0.1-2) unstable; urgency=low
+sf-plugin-filter-accel-emul (0.2.2) unstable; urgency=low
 
-  * remove debug messages
+  * Update changelog version.
+  * Git: slp/pkgs/e/emulator-plugin-accel-filter
+  * Tag: sf-plugin-filter-accel-emul_0.2.2
 
- -- Yong-sul Oh <yongsul96.oh@samsung.com>  Mon, 11 Jan 2010 19:35:17 +0900
+ -- Kitae kim <kt920.kim@samsung.com> Thu, 27 Mar 2012 20:00:00 +0900
 
-sf-plugin-filter-bma023 (0.0.1-1) unstable; urgency=low
+sf-plugin-filter-accel-emul (0.2.1) unstable; urgency=low
 
   * Initial Release.
 
- -- Yong-sul Oh <yongsul96.oh@samsung.com>  Mon, 21 Dec 2009 15:29:52 +0900
+ -- Sungmin Ha <sungmin82.ha@samsung.com> Thu, 15 Mar 2012 17:00:00 +0900
index faaab54..b24ad6c 100644 (file)
@@ -1,9 +1,9 @@
 Source: sf-plugin-filter-accel-emul
 Section: misc
 Priority: extra
-Maintainer: Sungmin ha <sungmin82.ha@samsung.com>
+Maintainer:Sungmin ha <sungmin82.ha@samsung.com>,Jihye Kim <jihye1128.kim@samsung.com>,Yeongkyoon Lee <yeongkyoon.lee@samsung.com>
 Build-Depends: libsf-common-dev
-Standards-Version: 0.2.1
+Standards-Version: 0.2.9
 
 Package: sf-plugin-filter-accel-emul
 Section: misc
index ce0fd88..8b13789 100644 (file)
@@ -1,21 +1 @@
-This is $PACKAGE_NAME, written and maintained by $NAME <$EMAIL>
-on Fri, 13 Nov 2009 14:08:22 +0900.
 
-The original source can always be found at:
-       ftp://slp.samsung.net/dists/unstable/main/source/
-
-Copyright Holder: $NAME
-
-License:
-       samsung
-
-/*
- * Copyright (c) 2008 Samsung Electronics, Inc.
- * All rights reserved.
- *
- * This software is a confidential and proprietary information
- * of Samsung Electronics, Inc. ("Confidential Information").  You
- * shall not disclose such Confidential Information and shall use
- * it only in accordance with the terms of the license agreement
- * you entered into with Samsung Electronics. 
- */
index a08056e..ac54798 100644 (file)
@@ -3,7 +3,9 @@
  *
  * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
  *
- * Contact: Sungmin Ha <sungmin82.ha@samsung.com>
+ * Contact:
+ * SooYoung Ha <yoosah.ha@samsnung.com>
+ * Sungmin Ha <sungmin82.ha@samsung.com>
  * 
  * This library is free software; you can redistribute it and/or modify it under
  * the terms of the GNU Lesser General Public License as published by the
diff --git a/packaging/sf-plugin-filter-accel-emul.manifest b/packaging/sf-plugin-filter-accel-emul.manifest
new file mode 100644 (file)
index 0000000..017d22d
--- /dev/null
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+    <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/sf-plugin-filter-accel-emul.spec b/packaging/sf-plugin-filter-accel-emul.spec
new file mode 100644 (file)
index 0000000..8c537b4
--- /dev/null
@@ -0,0 +1,46 @@
+#git:/slp/pkgs/e/emulator-plugin-accel-filter
+Name: sf-plugin-filter-accel-emul
+Version: 0.2.10
+Release: 1
+Summary: Accel simulator filter plugin for sensor framework
+Group: System Environment/Libraries
+License: GNU2
+Source0: %{name}-%{version}.tar.gz
+Source1001: packaging/sf-plugin-filter-accel-emul.manifest
+BuildRequires: cmake
+BuildRequires: pkgconfig(sf_common)
+
+%description
+
+%prep
+%setup -q
+
+%build
+export LDFLAGS+="-Wl,--rpath=%{_prefix}/lib -Wl,--as-needed"    
+    
+LDFLAGS="$LDFLAGS" cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix}
+
+make
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+%clean
+make clean
+rm -rf CMakeCache.txt
+rm -rf CMakeFiles
+rm -rf cmake_install.cmake
+rm -rf Makefile
+rm -rf install_manifes.txt
+rm -rf *.so
+
+%post
+
+%postun
+
+%files
+%defattr(-,root,root,-)
+%{_prefix}/lib/sensor_framework/*.so*
+
+%changelog
index 2381ec7..c61f146 100644 (file)
@@ -3,7 +3,8 @@
  *
  * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
  *
- * Contact: 
+ * Contact:
+ * SooYoung Ha <yoosah.ha@samsnung.com>
  * Sungmin Ha <sungmin82.ha@samsung.com>
  * DongKyun Yun <dk77.yun@samsung.com>
  * 
@@ -54,8 +55,6 @@
 #include <cfilter_module.h>
 #include <accel_sim_filter.h>
 
-
-
 accel_sim_filter::accel_sim_filter()
 : m_sensor(NULL)
 , m_id(11)
@@ -342,9 +341,9 @@ int accel_sim_filter::get_struct_value(unsigned int struct_type , void *struct_v
                        return_struct_value->data_unit_idx = IDX_UNIT_METRE_PER_SECOND_SQUARED;
                        return_struct_value->time_stamp = sensor_struct_value.time_stamp;
                        return_struct_value->values_num = 3;
-                       return_struct_value->values[0] = -(sensor_struct_value.values[0] * 0.004 * (9.81));
-                       return_struct_value->values[1] = -(sensor_struct_value.values[1] * 0.004 * (9.81));
-                       return_struct_value->values[2] = -(sensor_struct_value.values[2] * 0.004 * (9.81));
+                       return_struct_value->values[0] = (sensor_struct_value.values[0] / 100000);
+                       return_struct_value->values[1] = (sensor_struct_value.values[1] / 100000);
+                       return_struct_value->values[2] = (sensor_struct_value.values[2] / 100000);
 
                        DBG("accel_sim_filter , struct_value , x : %f , y : %f , z :%f\n",return_struct_value->values[0] , return_struct_value->values[1] , return_struct_value->values[2]);