Change daemon from org.tizen.autofill-daemon to org.tizen.autofilld 10/193310/4
authorJihoon Kim <jihoon48.kim@samsung.com>
Mon, 19 Nov 2018 06:58:45 +0000 (15:58 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Mon, 24 Dec 2018 02:31:36 +0000 (11:31 +0900)
org.tizen.autofilld is located in other git repository for ABS build.

autofill-daemon is moved into other repository.

Change-Id: I2fae45317dea4c5af24dd06a0860e943366da91a
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
CMakeLists.txt
client/autofill.c
manager/autofill_manager.c
packaging/capi-ui-autofill.spec
server/CMakeLists.txt [deleted file]
server/org.tizen.autofill-daemon.manifest [deleted file]
server/org.tizen.autofill-daemon.xml [deleted file]

index ce0756d..71a1b45 100755 (executable)
@@ -32,11 +32,3 @@ ADD_SUBDIRECTORY(service_lib)
 
 ## Manager library ##
 ADD_SUBDIRECTORY(manager)
-
-## Server daemon ##
-ADD_SUBDIRECTORY(server)
-
-## Config ##
-#INSTALL(FILES ${CMAKE_SOURCE_DIR}/autofill-config.xml DESTINATION ${TZ_SYS_RO_SHARE}/voice/autofill/1.0)
-
-#INSTALL(FILES ${CMAKE_SOURCE_DIR}/autofill-server.conf DESTINATION /etc/dbus-1/session.d)
index 52cfeb0..6318d3d 100644 (file)
@@ -25,7 +25,7 @@
 #include "autofill_private.h"
 #include "autofill_proxy.h"
 
-#define AUTOFILL_DAEMON_APP_ID "org.tizen.autofill-daemon"
+#define AUTOFILL_DAEMON_APP_ID "org.tizen.autofilld"
 
 #ifdef LOG_TAG
 #undef LOG_TAG
index a047ba1..e2becfc 100644 (file)
@@ -24,7 +24,7 @@
 #include "autofill_manager_proxy.h"
 #include "../privilege_checker/privilege_checker_private.h"
 
-#define AUTOFILL_DAEMON_APP_ID "org.tizen.autofill-daemon"
+#define AUTOFILL_DAEMON_APP_ID "org.tizen.autofilld"
 
 #ifdef LOG_TAG
 #undef LOG_TAG
index 049084d..aabba06 100644 (file)
@@ -87,15 +87,6 @@ Requires: %{name} = %{version}-%{release}
 Autofill Manager Library (Development)
 
 
-%package -n org.tizen.autofill-daemon
-Summary:  Autofill Daemon application
-Group:    Graphics & UI Framework/Input
-Requires: %{name} = %{version}-%{release}
-
-%description -n org.tizen.autofill-daemon
-Autofill Daemon application
-
-
 %prep
 %setup -q
 
@@ -103,14 +94,6 @@ tidlc -p -l C -i tidl/autofill.tidl -o autofill_proxy
 mv autofill_proxy.h ./client/
 mv autofill_proxy.c ./client/
 
-tidlc -s -l C -i tidl/autofill.tidl -o autofill_stub
-mv autofill_stub.h ./server/
-mv autofill_stub.c ./server/
-
-tidlc -p -l C -i tidl/autofill_service.tidl -o autofill_service_proxy
-mv autofill_service_proxy.h ./server/
-mv autofill_service_proxy.c ./server/
-
 tidlc -s -l C -i tidl/autofill_service.tidl -o autofill_service_stub
 mv autofill_service_stub.h ./service_lib/
 mv autofill_service_stub.c ./service_lib/
@@ -133,9 +116,7 @@ export FFLAGS+=" -DTIZEN_DEBUG_ENABLE -fvisibility=hidden"
 rm -rf CMakeFiles
 rm -rf CMakeCache.txt
 MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
-%cmake . -DFULLVER=%{version} -DMAJORVER=${MAJORVER} \
-        -DTZ_SYS_RO_APP=%TZ_SYS_RO_APP -DTZ_SYS_RO_PACKAGES=%TZ_SYS_RO_PACKAGES
-
+%cmake . -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
 make %{?jobs:-j%jobs}
 
 %install
@@ -145,9 +126,6 @@ rm -rf %{buildroot}
 %post
 /sbin/ldconfig
 
-%post -n org.tizen.autofill-daemon
-mkdir -p %{TZ_SYS_RO_APP}/org.tizen.autofill-daemon
-
 %postun -p /sbin/ldconfig
 
 
@@ -192,8 +170,3 @@ mkdir -p %{TZ_SYS_RO_APP}/org.tizen.autofill-daemon
 %{_includedir}/autofill_manager*.h
 %{_libdir}/pkgconfig/capi-ui-autofill-manager.pc
 %{_libdir}/libcapi-ui-autofill-manager.so
-
-%files -n org.tizen.autofill-daemon
-%manifest server/org.tizen.autofill-daemon.manifest
-%{TZ_SYS_RO_PACKAGES}/org.tizen.autofill-daemon.xml
-%{TZ_SYS_RO_APP}/org.tizen.autofill-daemon/*
diff --git a/server/CMakeLists.txt b/server/CMakeLists.txt
deleted file mode 100644 (file)
index aba710e..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
-PROJECT(autofill-daemon C)
-
-SET(SRCS
-    main.c
-    autofill_config.c
-    autofill_stub.c
-    autofill_manager_stub.c
-    autofill_service_proxy.c
-)
-
-pkg_check_modules(pkgs_daemon REQUIRED
-    dlog
-    capi-appfw-service-application
-    rpc-port
-    glib-2.0
-    capi-appfw-app-manager
-    capi-appfw-preference
-    eina
-)
-
-INCLUDE_DIRECTORIES(${CMAKE_BINARY_DIR}/include)
-
-FOREACH(flag ${pkgs_daemon_CFLAGS})
-       SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}")
-ENDFOREACH(flag)
-
-SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -fPIE")
-SET(CMAKE_EXE_LINKER_FLAGS "-Wl,--as-needed -pie")
-
-FIND_PROGRAM(UNAME NAMES uname)
-EXEC_PROGRAM("${UNAME}" ARGS "-m" OUTPUT_VARIABLE "ARCH")
-IF("${ARCH}" STREQUAL "arm")
-       ADD_DEFINITIONS("-DTARGET")
-       MESSAGE("add -DTARGET")
-ENDIF("${ARCH}" STREQUAL "arm")
-
-ADD_EXECUTABLE(${PROJECT_NAME} ${SRCS})
-
-TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${pkgs_daemon_LDFLAGS})
-
-INSTALL(TARGETS ${PROJECT_NAME} DESTINATION ${TZ_SYS_RO_APP}/org.tizen.${PROJECT_NAME}/bin/)
-INSTALL(FILES ${CMAKE_BINARY_DIR}/server/org.tizen.${PROJECT_NAME}.xml DESTINATION ${TZ_SYS_RO_PACKAGES})
diff --git a/server/org.tizen.autofill-daemon.manifest b/server/org.tizen.autofill-daemon.manifest
deleted file mode 100644 (file)
index 017d22d..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-<manifest>
- <request>
-    <domain name="_"/>
- </request>
-</manifest>
diff --git a/server/org.tizen.autofill-daemon.xml b/server/org.tizen.autofill-daemon.xml
deleted file mode 100644 (file)
index 36ad5ac..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<manifest xmlns="http://tizen.org/ns/packages" api-version="5.0" package="org.tizen.autofill-daemon" version="0.0.1">
-       <label>autofill-daemon</label>
-       <author email="jihoon48.kim@samsung.com" href="www.samsung.com">Jihoon Kim</author>
-       <description>autofill-daemon</description>
-       <service-application appid="org.tizen.autofill-daemon" auto-restart ="true" on-boot="true" launch_mode="caller" exec="autofill-daemon" nodisplay="true" multiple="false" type="capp" taskmanage="false">
-               <label>autofill-daemon</label>
-       </service-application>
-
-       <privileges>
-               <privilege>http://tizen.org/privilege/appmanager.launch</privilege>
-               <privilege>http://tizen.org/privilege/datasharing</privilege>
-       </privileges>
-</manifest>