From e00d8bd4e6373421231e0f70b7b46369bc30a863 Mon Sep 17 00:00:00 2001 From: chakradhar Date: Wed, 12 Feb 2020 12:11:25 +0530 Subject: [PATCH] removing context name and replacing it with gesture Change-Id: Ie3912bf42491ca4e861ba39d78ab39cadac1427a Signed-off-by: chakradhar --- CMakeLists.txt | 4 ++-- capi-context-gesture.pc.in => capi-gesture.pc.in | 0 doc/gesture_recognition_doc.h | 10 +++++----- include/gesture_recognition.h | 2 +- .../{capi-context-gesture.manifest => capi-gesture.manifest} | 0 packaging/{capi-context-gesture.spec => capi-gesture.spec} | 12 ++++++------ 6 files changed, 14 insertions(+), 14 deletions(-) rename capi-context-gesture.pc.in => capi-gesture.pc.in (100%) rename packaging/{capi-context-gesture.manifest => capi-gesture.manifest} (100%) rename packaging/{capi-context-gesture.spec => capi-gesture.spec} (83%) diff --git a/CMakeLists.txt b/CMakeLists.txt index 214b460..b41fcda 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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-gesture.pc.in similarity index 100% rename from capi-context-gesture.pc.in rename to capi-gesture.pc.in diff --git a/doc/gesture_recognition_doc.h b/doc/gesture_recognition_doc.h index 48c913f..5a3191d 100644 --- a/doc/gesture_recognition_doc.h +++ b/doc/gesture_recognition_doc.h @@ -18,16 +18,16 @@ */ /** - * @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 * - * @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 @@ -133,7 +133,7 @@ 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 diff --git a/include/gesture_recognition.h b/include/gesture_recognition.h index 4b9ae4b..b5c90ce 100644 --- a/include/gesture_recognition.h +++ b/include/gesture_recognition.h @@ -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-gesture.manifest similarity index 100% rename from packaging/capi-context-gesture.manifest rename to packaging/capi-gesture.manifest diff --git a/packaging/capi-context-gesture.spec b/packaging/capi-gesture.spec similarity index 83% rename from packaging/capi-context-gesture.spec rename to packaging/capi-gesture.spec index 22a8b9c..b456052 100644 --- a/packaging/capi-context-gesture.spec +++ b/packaging/capi-gesture.spec @@ -1,8 +1,8 @@ -Name: capi-context-gesture +Name: capi-gesture Summary: Tizen Native Gesture Recognition API Version: 2.0.2 Release: 1 -Group: Service/Context +Group: Service/Gesture License: Apache-2.0 Source0: %{name}-%{version}.tar.gz @@ -18,7 +18,7 @@ Requires(postun): /sbin/ldconfig # Backward compatibility Provides: gesture -Provides: libcore-context-manager.so.1 +Provides: libcore-gesture-manager.so.1 %description Tizen Native Gesture Recognition API @@ -42,8 +42,8 @@ make %{?_smp_mflags} # 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 +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 @@ -58,7 +58,7 @@ ln -s lib%{name}.so.%{version} %{buildroot}/%{_libdir}/libcore-context-manager.s %package devel Summary: Tizen Native Gesture Recognition API (Development) -Group: Framework/context +Group: Framework/activity Requires: %{name} = %{version}-%{release} %description devel -- 2.7.4