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>
## 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)
#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
#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
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
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/
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
%post
/sbin/ldconfig
-%post -n org.tizen.autofill-daemon
-mkdir -p %{TZ_SYS_RO_APP}/org.tizen.autofill-daemon
-
%postun -p /sbin/ldconfig
%{_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/*
+++ /dev/null
-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})
+++ /dev/null
-<manifest>
- <request>
- <domain name="_"/>
- </request>
-</manifest>
+++ /dev/null
-<?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>