From: Jihoon Kim Date: Thu, 18 Oct 2018 07:49:22 +0000 (+0900) Subject: Sample: add sample app icon X-Git-Tag: accepted/tizen/unified/20181106.070517~12 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F49%2F191549%2F2;p=platform%2Fcore%2Fuifw%2Fautofill.git Sample: add sample app icon Change-Id: I809e1bb4fd218299f44686f09e484e47a3f192ee Signed-off-by: Jihoon Kim --- diff --git a/packaging/capi-ui-autofill.spec b/packaging/capi-ui-autofill.spec index e102295..4556326 100644 --- a/packaging/capi-ui-autofill.spec +++ b/packaging/capi-ui-autofill.spec @@ -110,7 +110,7 @@ rm -rf CMakeFiles rm -rf CMakeCache.txt MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'` cmake . -DCMAKE_INSTALL_PREFIX=/usr -DFULLVER=%{version} -DMAJORVER=${MAJORVER} -DLIB_INSTALL_DIR:PATH=%{_libdir} \ - -DTZ_SYS_RO_APP=%TZ_SYS_RO_APP -DTZ_SYS_RO_PACKAGES=%TZ_SYS_RO_PACKAGES + -DTZ_SYS_RO_APP=%TZ_SYS_RO_APP -DTZ_SYS_RO_PACKAGES=%TZ_SYS_RO_PACKAGES -DTZ_SYS_RO_ICONS=%TZ_SYS_RO_ICONS make %{?jobs:-j%jobs} @@ -164,6 +164,7 @@ mkdir -p %{TZ_SYS_RO_APP}/org.tizen.autofill-daemon %manifest test/org.tizen.autofill-test.manifest %{TZ_SYS_RO_PACKAGES}/org.tizen.autofill-test.xml %{TZ_SYS_RO_APP}/org.tizen.autofill-test/* +%{TZ_SYS_RO_ICONS}/default/small/* %files -n org.tizen.autofill-daemon %manifest server/org.tizen.autofill-daemon.manifest diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 8018441..b879451 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -1,6 +1,8 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.6) PROJECT(autofill-test C) +SET(ICONDIR "${TZ_SYS_RO_ICONS}/default/small") + SET(SRCS ecore_imf_example.c ) @@ -43,4 +45,5 @@ TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${pkgs_test_LDFLAGS} capi-ui-autofill) INSTALL(TARGETS ${PROJECT_NAME} DESTINATION ${TZ_SYS_RO_APP}/org.tizen.${PROJECT_NAME}/bin) INSTALL(FILES ${CMAKE_BINARY_DIR}/test/org.tizen.autofill-test.xml DESTINATION ${TZ_SYS_RO_PACKAGES}) +INSTALL(FILES ${CMAKE_SOURCE_DIR}/test/org.tizen.autofill-test.png DESTINATION ${ICONDIR}) #INSTALL(FILES ${CMAKE_BINARY_DIR}/test/autofill-test.manifest DESTINATION ${TZ_SYS_RO_PACKAGES}) diff --git a/test/org.tizen.autofill-test.png b/test/org.tizen.autofill-test.png new file mode 100644 index 0000000..9765b1b Binary files /dev/null and b/test/org.tizen.autofill-test.png differ diff --git a/test/org.tizen.autofill-test.xml b/test/org.tizen.autofill-test.xml index b14c751..a603bff 100644 --- a/test/org.tizen.autofill-test.xml +++ b/test/org.tizen.autofill-test.xml @@ -3,10 +3,10 @@ Jihoon Kim autofill-test - + + org.tizen.autofill-test.png - http://tizen.org/privilege/appmanager.launch http://tizen.org/privilege/datasharing