Move circle button image and mobile powerkey image to data folder 65/77565/1 accepted/tizen/common/20160701.192916 accepted/tizen/mobile/20160701.034436 accepted/tizen/tv/20160701.034324 accepted/tizen/wearable/20160701.034416 submit/tizen/20160701.013517 submit/tizen_common/20160701.180000
authorchangjoo.lee <changjoo.lee@samsung.com>
Thu, 30 Jun 2016 07:55:38 +0000 (16:55 +0900)
committerchangjoo.lee <changjoo.lee@samsung.com>
Thu, 30 Jun 2016 07:55:57 +0000 (16:55 +0900)
Change-Id: Ib5c7da272f59b964f767c28c7b2cf83cb97c2da6
Signed-off-by: changjoo.lee <changjoo.lee@samsung.com>
data/circle_btn_check.png [moved from circle_btn_check.png with 100% similarity, mode: 0755]
data/circle_btn_delete.png [moved from circle_btn_delete.png with 100% similarity, mode: 0755]
data/core_power_off.png [moved from core_power_off.png with 100% similarity]
data/core_restart.png [moved from core_restart.png with 100% similarity]
packaging/system-servant.spec
src/powerkey/CMakeLists.txt

old mode 100644 (file)
new mode 100755 (executable)
similarity index 100%
rename from circle_btn_check.png
rename to data/circle_btn_check.png
old mode 100644 (file)
new mode 100755 (executable)
similarity index 100%
rename from circle_btn_delete.png
rename to data/circle_btn_delete.png
similarity index 100%
rename from core_power_off.png
rename to data/core_power_off.png
similarity index 100%
rename from core_restart.png
rename to data/core_restart.png
index 4b6c8cb..110c43b 100755 (executable)
@@ -344,11 +344,15 @@ rm -rf %{buildroot}
 %defattr(-,root,root,-)
 %{TZ_SYS_RO_APP}/org.tizen.powerkey-syspopup/bin/powerkey-popup
 %{TZ_SYS_RO_SHARE}/packages/org.tizen.powerkey-syspopup.xml
+%if "%{?profile}" == "mobile"
 %{TZ_SYS_RO_APP}/org.tizen.powerkey-syspopup/res/core_power_off.png
 %{TZ_SYS_RO_APP}/org.tizen.powerkey-syspopup/res/core_restart.png
+%endif
+%if "%{?profile}" == "wearable"
 %{TZ_SYS_RO_APP}/org.tizen.powerkey-syspopup/res/circle_btn_check.png
 %{TZ_SYS_RO_APP}/org.tizen.powerkey-syspopup/res/circle_btn_delete.png
 %endif
+%endif
 
 %if %{overheat_popup} == on
 %files -n org.tizen.overheat-syspopup
index a1c7eb5..6bba0d2 100755 (executable)
@@ -70,7 +70,12 @@ TARGET_LINK_LIBRARIES(${EXECNAME} ${powerkey_pkgs_LDFLAGS})
 INSTALL(TARGETS ${EXECNAME} DESTINATION ${TZ_SYS_RO_APP}/${PKGNAME}/bin)
 INSTALL(FILES ${CMAKE_SOURCE_DIR}/src/powerkey/${PKGNAME}.xml DESTINATION ${MANIFESTDIR})
 
-INSTALL(FILES ${CMAKE_SOURCE_DIR}/circle_btn_check.png DESTINATION ${RESDIR})
-INSTALL(FILES ${CMAKE_SOURCE_DIR}/circle_btn_delete.png DESTINATION ${RESDIR})
-INSTALL(FILES ${CMAKE_SOURCE_DIR}/core_power_off.png DESTINATION ${RESDIR})
-INSTALL(FILES ${CMAKE_SOURCE_DIR}/core_restart.png DESTINATION ${RESDIR})
+IF(PROFILE STREQUAL wearable)
+INSTALL(FILES ${CMAKE_SOURCE_DIR}/data/circle_btn_check.png DESTINATION ${RESDIR})
+INSTALL(FILES ${CMAKE_SOURCE_DIR}/data/circle_btn_delete.png DESTINATION ${RESDIR})
+ENDIF()
+
+IF(PROFILE STREQUAL mobile)
+INSTALL(FILES ${CMAKE_SOURCE_DIR}/data/core_power_off.png DESTINATION ${RESDIR})
+INSTALL(FILES ${CMAKE_SOURCE_DIR}/data/core_restart.png DESTINATION ${RESDIR})
+ENDIF()
\ No newline at end of file