Sample: add sample app icon 49/191549/2
authorJihoon Kim <jihoon48.kim@samsung.com>
Thu, 18 Oct 2018 07:49:22 +0000 (16:49 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Thu, 18 Oct 2018 07:54:36 +0000 (16:54 +0900)
Change-Id: I809e1bb4fd218299f44686f09e484e47a3f192ee
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
packaging/capi-ui-autofill.spec
test/CMakeLists.txt
test/org.tizen.autofill-test.png [new file with mode: 0644]
test/org.tizen.autofill-test.xml

index e102295..4556326 100644 (file)
@@ -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
index 8018441..b879451 100644 (file)
@@ -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 (file)
index 0000000..9765b1b
Binary files /dev/null and b/test/org.tizen.autofill-test.png differ
index b14c751..a603bff 100644 (file)
@@ -3,10 +3,10 @@
        <label>autofill-test</label>
        <author email="jihoon48.kim@samsung.com" href="www.samsung.com">Jihoon Kim</author>
        <description>autofill-test</description>
-       <ui-application appid="org.tizen.autofill-test" launch_mode="caller" exec="autofill-test" nodisplay="true" multiple="false" type="capp" taskmanage="false">
+       <ui-application appid="org.tizen.autofill-test" launch_mode="caller" exec="autofill-test" nodisplay="false" multiple="false" type="capp">
                <label>autofill-test</label>
+               <icon>org.tizen.autofill-test.png</icon>
        </ui-application>
-
        <privileges>
                <privilege>http://tizen.org/privilege/appmanager.launch</privilege>
                <privilege>http://tizen.org/privilege/datasharing</privilege>