removing context name and replacing it with gesture 55/224655/1
authorchakradhar <v.pogiri@samsung.com>
Wed, 12 Feb 2020 06:41:25 +0000 (12:11 +0530)
committerchakradhar <v.pogiri@samsung.com>
Wed, 12 Feb 2020 06:41:25 +0000 (12:11 +0530)
Change-Id: Ie3912bf42491ca4e861ba39d78ab39cadac1427a
Signed-off-by: chakradhar <v.pogiri@samsung.com>
CMakeLists.txt
capi-context-gesture.pc.in [deleted file]
capi-gesture.pc.in [new file with mode: 0644]
doc/gesture_recognition_doc.h
include/gesture_recognition.h
packaging/capi-context-gesture.manifest [deleted file]
packaging/capi-context-gesture.spec [deleted file]
packaging/capi-gesture.manifest [new file with mode: 0644]
packaging/capi-gesture.spec [new file with mode: 0644]

index 214b4600d79ab343c379a01c3059e59b77e1f976..b41fcdab4fc4277fbb73127e145b8ec2297ccae2 100644 (file)
@@ -1,5 +1,5 @@
 CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
-PROJECT(capi-context-gesture)
+PROJECT(capi-gesture)
 INCLUDE(GNUInstallDirs)
 
 SET(target ${PROJECT_NAME})
@@ -7,7 +7,7 @@ SET(target ${PROJECT_NAME})
 # Source Lists
 FILE(GLOB SRCS src/*.cpp)
 
-SET(inc_subdir "context-service")
+SET(inc_subdir "gesture")
 SET(dependency "glib-2.0 dlog capi-base-common capi-system-info sensor")
 
 # Options
diff --git a/capi-context-gesture.pc.in b/capi-context-gesture.pc.in
deleted file mode 100644 (file)
index 71c14c4..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-#Package Information for pkg-config
-
-prefix=@PC_PREFIX@
-exec_prefix=@PC_PREFIX@
-libdir=@PC_LIBDIR@
-includedir=@PC_INCLUDE@
-
-Name: @PC_NAME@
-Description: @PC_DESCRIPTION@
-Version: @VERSION@
-Requires: @PC_REQUIRED@
-Libs: -L${libdir} @PC_LDFLAGS@
-Cflags: -I${includedir}
diff --git a/capi-gesture.pc.in b/capi-gesture.pc.in
new file mode 100644 (file)
index 0000000..71c14c4
--- /dev/null
@@ -0,0 +1,13 @@
+#Package Information for pkg-config
+
+prefix=@PC_PREFIX@
+exec_prefix=@PC_PREFIX@
+libdir=@PC_LIBDIR@
+includedir=@PC_INCLUDE@
+
+Name: @PC_NAME@
+Description: @PC_DESCRIPTION@
+Version: @VERSION@
+Requires: @PC_REQUIRED@
+Libs: -L${libdir} @PC_LDFLAGS@
+Cflags: -I${includedir}
index 48c913f3963463a0838248058133ee2114eb1b71..5a3191d1113a8b373def92f84f2acb78d75fe69f 100644 (file)
  */
 
 /**
- * @ingroup            CAPI_CONTEXT_FRAMEWORK
- * @defgroup   CAPI_CONTEXT_GESTURE_MODULE Gesture Recognition
+ * @ingroup            CAPI_GESTURE_FRAMEWORK
+ * @defgroup   CAPI_GESTURE_MODULE Gesture Recognition
  *
  * @brief              The gesture recognition API allows applications to be notified and
  *                             react when the user performs a gesture.
  *
- * @section            CAPI_CONTEXT_GESTURE_MODULE_HEADER Required Header
+ * @section            CAPI_GESTURE_MODULE_HEADER Required Header
  *                             \#include <gesture_recognition.h>
  *
- * @section            CAPI_CONTEXT_GESTURE_MODULE_OVERVIEW Overview
+ * @section            CAPI_GESTURE_MODULE_OVERVIEW Overview
  *
  *
  * The gesture recognition API allows to register callback functions to be called
        gesture_release(handle);
  \endcode
 
- * @section            CAPI_CONTEXT_GESTURE_MODULE_FEATURE Related Features
+ * @section            CAPI_GESTURE_MODULE_FEATURE Related Features
  * This API is related with the following features:\n
  * - http://tizen.org/feature/sensor.gesture_recognition\n
  * - http://tizen.org/feature/sensor.wrist_up
index 4b9ae4bebdae60373a7fc2ab25a16fad9aeb0b27..b5c90cef75d8a6f05a0092d4400ea8a2bf55743c 100644 (file)
@@ -21,7 +21,7 @@
 #define __TIZEN_GESTURE_H__
 
 /**
- * @addtogroup CAPI_CONTEXT_GESTURE_MODULE
+ * @addtogroup CAPI_GESTURE_MODULE
  * @{
  */
 
diff --git a/packaging/capi-context-gesture.manifest b/packaging/capi-context-gesture.manifest
deleted file mode 100644 (file)
index 97e8c31..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-<manifest>
-       <request>
-               <domain name="_"/>
-       </request>
-</manifest>
diff --git a/packaging/capi-context-gesture.spec b/packaging/capi-context-gesture.spec
deleted file mode 100644 (file)
index 22a8b9c..0000000
+++ /dev/null
@@ -1,70 +0,0 @@
-Name:       capi-context-gesture
-Summary:    Tizen Native Gesture Recognition API
-Version:    2.0.2
-Release:    1
-Group:      Service/Context
-License:    Apache-2.0
-Source0:    %{name}-%{version}.tar.gz
-
-BuildRequires:  cmake
-BuildRequires:  pkgconfig(glib-2.0)
-BuildRequires:  pkgconfig(dlog)
-BuildRequires:  pkgconfig(capi-base-common)
-BuildRequires:  pkgconfig(capi-system-info)
-BuildRequires:  pkgconfig(sensor)
-
-Requires(post):  /sbin/ldconfig
-Requires(postun):  /sbin/ldconfig
-
-# Backward compatibility
-Provides: gesture
-Provides: libcore-context-manager.so.1
-
-%description
-Tizen Native Gesture Recognition API
-
-%prep
-%setup -q
-
-%build
-MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
-
-export CXXFLAGS+=" -Wextra -Wcast-align -Wshadow -Wwrite-strings -Wswitch-default -Wno-unused-parameter"
-export CXXFLAGS+=" -Wno-empty-body -fomit-frame-pointer -fno-optimize-sibling-calls"
-export CXXFLAGS+=" -fno-strict-aliasing -fno-unroll-loops -fsigned-char -fstrict-overflow"
-export CXXFLAGS+=" -Wnon-virtual-dtor"
-
-%cmake . -DMAJORVER=${MAJORVER} -DFULLVER=%{version}
-make %{?_smp_mflags}
-
-%install
-%make_install
-
-# For backward compatibility
-ln -s %{name}.pc %{buildroot}/%{_libdir}/pkgconfig/gesture.pc
-ln -s %{name}.pc %{buildroot}/%{_libdir}/pkgconfig/libcore-context-manager.pc
-ln -s lib%{name}.so.%{version} %{buildroot}/%{_libdir}/libcore-context-manager.so.1
-
-%post
-/sbin/ldconfig
-
-%postun
-/sbin/ldconfig
-
-%files
-%manifest packaging/%{name}.manifest
-%{_libdir}/*.so.*
-%license LICENSE
-
-%package devel
-Summary:       Tizen Native Gesture Recognition API (Development)
-Group:         Framework/context
-Requires:      %{name} = %{version}-%{release}
-
-%description devel
-Tizen Native Gesture Recognition API (Development)
-
-%files devel
-%{_includedir}/*/*.h
-%{_libdir}/*.so
-%{_libdir}/pkgconfig/*.pc
diff --git a/packaging/capi-gesture.manifest b/packaging/capi-gesture.manifest
new file mode 100644 (file)
index 0000000..97e8c31
--- /dev/null
@@ -0,0 +1,5 @@
+<manifest>
+       <request>
+               <domain name="_"/>
+       </request>
+</manifest>
diff --git a/packaging/capi-gesture.spec b/packaging/capi-gesture.spec
new file mode 100644 (file)
index 0000000..b456052
--- /dev/null
@@ -0,0 +1,70 @@
+Name:       capi-gesture
+Summary:    Tizen Native Gesture Recognition API
+Version:    2.0.2
+Release:    1
+Group:      Service/Gesture
+License:    Apache-2.0
+Source0:    %{name}-%{version}.tar.gz
+
+BuildRequires:  cmake
+BuildRequires:  pkgconfig(glib-2.0)
+BuildRequires:  pkgconfig(dlog)
+BuildRequires:  pkgconfig(capi-base-common)
+BuildRequires:  pkgconfig(capi-system-info)
+BuildRequires:  pkgconfig(sensor)
+
+Requires(post):  /sbin/ldconfig
+Requires(postun):  /sbin/ldconfig
+
+# Backward compatibility
+Provides: gesture
+Provides: libcore-gesture-manager.so.1
+
+%description
+Tizen Native Gesture Recognition API
+
+%prep
+%setup -q
+
+%build
+MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
+
+export CXXFLAGS+=" -Wextra -Wcast-align -Wshadow -Wwrite-strings -Wswitch-default -Wno-unused-parameter"
+export CXXFLAGS+=" -Wno-empty-body -fomit-frame-pointer -fno-optimize-sibling-calls"
+export CXXFLAGS+=" -fno-strict-aliasing -fno-unroll-loops -fsigned-char -fstrict-overflow"
+export CXXFLAGS+=" -Wnon-virtual-dtor"
+
+%cmake . -DMAJORVER=${MAJORVER} -DFULLVER=%{version}
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+# For backward compatibility
+ln -s %{name}.pc %{buildroot}/%{_libdir}/pkgconfig/gesture.pc
+ln -s %{name}.pc %{buildroot}/%{_libdir}/pkgconfig/libcore-gesture-manager.pc
+ln -s lib%{name}.so.%{version} %{buildroot}/%{_libdir}/libcore-gesture-manager.so.1
+
+%post
+/sbin/ldconfig
+
+%postun
+/sbin/ldconfig
+
+%files
+%manifest packaging/%{name}.manifest
+%{_libdir}/*.so.*
+%license LICENSE
+
+%package devel
+Summary:       Tizen Native Gesture Recognition API (Development)
+Group:         Framework/activity
+Requires:      %{name} = %{version}-%{release}
+
+%description devel
+Tizen Native Gesture Recognition API (Development)
+
+%files devel
+%{_includedir}/*/*.h
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/*.pc