Reduce binary size
authorJiansong Jin <jiansong.jin@samsung.com>
Wed, 5 Sep 2012 02:23:54 +0000 (11:23 +0900)
committerJiansong Jin <jiansong.jin@samsung.com>
Wed, 5 Sep 2012 02:23:54 +0000 (11:23 +0900)
Change-Id: Ie0ec62595a39d1c5706c44672b27e39af7ead35f

39 files changed:
CMakeLists.txt
packaging/org.tizen.gallery.spec
res/white_theme/edc/images/00_grid_select_check.png [new file with mode: 0755]
res/white_theme/edc/images/00_title_btn_bg_press.png [new file with mode: 0755]
res/white_theme/edc/images/T01_Nocontents_picture.png [new file with mode: 0755]
res/white_theme/edc/images/T01_btn_play.png [new file with mode: 0755]
res/white_theme/edc/images/T01_controlbar_icon_cancel.png [new file with mode: 0755]
res/white_theme/edc/images/T01_controlbar_icon_done.png [new file with mode: 0755]
res/white_theme/edc/images/T01_controlbar_icon_slideshow.png [new file with mode: 0755]
res/white_theme/edc/images/T01_grid_select_check.png [new file with mode: 0755]
res/white_theme/edc/images/T01_img_pinch_zoomout.png [new file with mode: 0755]
res/white_theme/edc/images/T01_main_folder_bg.png [new file with mode: 0755]
res/white_theme/edc/images/T01_thumbs_bg.png [new file with mode: 0755]
res/white_theme/edc/sounds/S_Touch_30ms.wav [new file with mode: 0755]
res/white_theme/images/00_grid_select_check.png [deleted file]
res/white_theme/images/00_title_btn_bg_press.png [deleted file]
res/white_theme/images/01_list_group_title_bg.png [deleted file]
res/white_theme/images/T01_Nocontents_picture.png [deleted file]
res/white_theme/images/T01_btn_play.png [deleted file]
res/white_theme/images/T01_controlbar_icon_back.png [deleted file]
res/white_theme/images/T01_controlbar_icon_done.png [deleted file]
res/white_theme/images/T01_controlbar_icon_slideshow.png [deleted file]
res/white_theme/images/T01_grid_select_check.png [deleted file]
res/white_theme/images/T01_img_pinch_zoomout.png [deleted file]
res/white_theme/images/T01_main_folder_bg.png [deleted file]
res/white_theme/images/T01_thumbs_bg.png [deleted file]
res/white_theme/images/gallery_list_icon_bookmark.png [deleted file]
res/white_theme/sounds/S_Touch_30ms.wav [deleted file]
ug/ug-gallery-efl/CMakeLists.txt
ug/ug-gallery-efl/res/edc/images/T01_Nocontents_picture.png [new file with mode: 0755]
ug/ug-gallery-efl/res/edc/images/T01_btn_play.png [new file with mode: 0755]
ug/ug-gallery-efl/res/edc/images/T01_grid_select_check.png [new file with mode: 0755]
ug/ug-gallery-efl/res/edc/images/T01_main_folder_bg.png [new file with mode: 0755]
ug/ug-gallery-efl/res/edc/images/T01_thumbs_bg.png [new file with mode: 0755]
ug/ug-gallery-efl/res/images/T01_Nocontents_picture.png [deleted file]
ug/ug-gallery-efl/res/images/T01_btn_play.png [deleted file]
ug/ug-gallery-efl/res/images/T01_grid_select_check.png [deleted file]
ug/ug-gallery-efl/res/images/T01_main_folder_bg.png [deleted file]
ug/ug-gallery-efl/res/images/T01_thumbs_bg.png [deleted file]

index 81dfb815da9f497570fa4cd453951c60e717a92a..589f2f7b361588d476b0bf589b290d865dca37f3 100755 (executable)
@@ -4,8 +4,8 @@ PROJECT(gallery C)
 SET(RSRC_DIR res)
 
 SET(EDC_DIR white_theme/edc)
-SET(IMG_DIR white_theme/images)
-SET(SOUND_DIR white_theme/sounds)
+SET(IMG_DIR white_theme/edc/images)
+SET(SOUND_DIR white_theme/edc/sounds)
 
 SET(SRCS
  src/gallery.c
@@ -141,7 +141,6 @@ INSTALL(FILES ${CMAKE_BINARY_DIR}/${PKGNAME}.xml DESTINATION /opt/share/packages
 INSTALL(FILES ${CMAKE_SOURCE_DIR}/${RSRC_DIR}/icon/${PKGNAME}.png DESTINATION ${ICONDIR})
 
 INSTALL(DIRECTORY ${CMAKE_SOURCE_DIR}/res/white_theme/images DESTINATION ${RESDIR}/)
-INSTALL(DIRECTORY ${CMAKE_SOURCE_DIR}/res/white_theme/sounds DESTINATION ${RESDIR}/)
 
 # install content shortcut uri file
 INSTALL(FILES ${CMAKE_SOURCE_DIR}/${RSRC_DIR}/gallery.uri DESTINATION /opt/share/miregex )
index d884cdca0d4bf6b7cd61ebf2e2dd903d1f074a1c..b8960311566763e7ebb93968f6d6b9b7aefb8db8 100755 (executable)
@@ -4,7 +4,7 @@
 
 Name:       org.tizen.gallery
 Summary:    org.tizen.gallery UX
-Version:    1.1.33
+Version:    1.1.34
 Release:    1
 Group:      Applications
 License:    Flora Software License
@@ -72,7 +72,6 @@ ln -sf /usr/bin/ug-client /opt/ug/bin/gallery-efl
 %{_appdir}/org.tizen.gallery/res/locale/*
 /opt/share/icons/default/small/*
 %{_appdir}/org.tizen.gallery/res/images/*
-%{_appdir}/org.tizen.gallery/res/sounds/*
 %{_appdir}/org.tizen.gallery/res/edje/*
 %{_appdir}/org.tizen.gallery/data
 /opt/share/packages/*
diff --git a/res/white_theme/edc/images/00_grid_select_check.png b/res/white_theme/edc/images/00_grid_select_check.png
new file mode 100755 (executable)
index 0000000..4385567
Binary files /dev/null and b/res/white_theme/edc/images/00_grid_select_check.png differ
diff --git a/res/white_theme/edc/images/00_title_btn_bg_press.png b/res/white_theme/edc/images/00_title_btn_bg_press.png
new file mode 100755 (executable)
index 0000000..90a71c7
Binary files /dev/null and b/res/white_theme/edc/images/00_title_btn_bg_press.png differ
diff --git a/res/white_theme/edc/images/T01_Nocontents_picture.png b/res/white_theme/edc/images/T01_Nocontents_picture.png
new file mode 100755 (executable)
index 0000000..0f98480
Binary files /dev/null and b/res/white_theme/edc/images/T01_Nocontents_picture.png differ
diff --git a/res/white_theme/edc/images/T01_btn_play.png b/res/white_theme/edc/images/T01_btn_play.png
new file mode 100755 (executable)
index 0000000..b25d19c
Binary files /dev/null and b/res/white_theme/edc/images/T01_btn_play.png differ
diff --git a/res/white_theme/edc/images/T01_controlbar_icon_cancel.png b/res/white_theme/edc/images/T01_controlbar_icon_cancel.png
new file mode 100755 (executable)
index 0000000..5cb7824
Binary files /dev/null and b/res/white_theme/edc/images/T01_controlbar_icon_cancel.png differ
diff --git a/res/white_theme/edc/images/T01_controlbar_icon_done.png b/res/white_theme/edc/images/T01_controlbar_icon_done.png
new file mode 100755 (executable)
index 0000000..48483a5
Binary files /dev/null and b/res/white_theme/edc/images/T01_controlbar_icon_done.png differ
diff --git a/res/white_theme/edc/images/T01_controlbar_icon_slideshow.png b/res/white_theme/edc/images/T01_controlbar_icon_slideshow.png
new file mode 100755 (executable)
index 0000000..79c2ebd
Binary files /dev/null and b/res/white_theme/edc/images/T01_controlbar_icon_slideshow.png differ
diff --git a/res/white_theme/edc/images/T01_grid_select_check.png b/res/white_theme/edc/images/T01_grid_select_check.png
new file mode 100755 (executable)
index 0000000..f131f47
Binary files /dev/null and b/res/white_theme/edc/images/T01_grid_select_check.png differ
diff --git a/res/white_theme/edc/images/T01_img_pinch_zoomout.png b/res/white_theme/edc/images/T01_img_pinch_zoomout.png
new file mode 100755 (executable)
index 0000000..0f3bfd2
Binary files /dev/null and b/res/white_theme/edc/images/T01_img_pinch_zoomout.png differ
diff --git a/res/white_theme/edc/images/T01_main_folder_bg.png b/res/white_theme/edc/images/T01_main_folder_bg.png
new file mode 100755 (executable)
index 0000000..16d1d59
Binary files /dev/null and b/res/white_theme/edc/images/T01_main_folder_bg.png differ
diff --git a/res/white_theme/edc/images/T01_thumbs_bg.png b/res/white_theme/edc/images/T01_thumbs_bg.png
new file mode 100755 (executable)
index 0000000..14adbb1
Binary files /dev/null and b/res/white_theme/edc/images/T01_thumbs_bg.png differ
diff --git a/res/white_theme/edc/sounds/S_Touch_30ms.wav b/res/white_theme/edc/sounds/S_Touch_30ms.wav
new file mode 100755 (executable)
index 0000000..99ba74d
Binary files /dev/null and b/res/white_theme/edc/sounds/S_Touch_30ms.wav differ
diff --git a/res/white_theme/images/00_grid_select_check.png b/res/white_theme/images/00_grid_select_check.png
deleted file mode 100755 (executable)
index 4385567..0000000
Binary files a/res/white_theme/images/00_grid_select_check.png and /dev/null differ
diff --git a/res/white_theme/images/00_title_btn_bg_press.png b/res/white_theme/images/00_title_btn_bg_press.png
deleted file mode 100755 (executable)
index 90a71c7..0000000
Binary files a/res/white_theme/images/00_title_btn_bg_press.png and /dev/null differ
diff --git a/res/white_theme/images/01_list_group_title_bg.png b/res/white_theme/images/01_list_group_title_bg.png
deleted file mode 100755 (executable)
index 83447f7..0000000
Binary files a/res/white_theme/images/01_list_group_title_bg.png and /dev/null differ
diff --git a/res/white_theme/images/T01_Nocontents_picture.png b/res/white_theme/images/T01_Nocontents_picture.png
deleted file mode 100755 (executable)
index 0f98480..0000000
Binary files a/res/white_theme/images/T01_Nocontents_picture.png and /dev/null differ
diff --git a/res/white_theme/images/T01_btn_play.png b/res/white_theme/images/T01_btn_play.png
deleted file mode 100755 (executable)
index b25d19c..0000000
Binary files a/res/white_theme/images/T01_btn_play.png and /dev/null differ
diff --git a/res/white_theme/images/T01_controlbar_icon_back.png b/res/white_theme/images/T01_controlbar_icon_back.png
deleted file mode 100755 (executable)
index d708747..0000000
Binary files a/res/white_theme/images/T01_controlbar_icon_back.png and /dev/null differ
diff --git a/res/white_theme/images/T01_controlbar_icon_done.png b/res/white_theme/images/T01_controlbar_icon_done.png
deleted file mode 100755 (executable)
index 48483a5..0000000
Binary files a/res/white_theme/images/T01_controlbar_icon_done.png and /dev/null differ
diff --git a/res/white_theme/images/T01_controlbar_icon_slideshow.png b/res/white_theme/images/T01_controlbar_icon_slideshow.png
deleted file mode 100755 (executable)
index 79c2ebd..0000000
Binary files a/res/white_theme/images/T01_controlbar_icon_slideshow.png and /dev/null differ
diff --git a/res/white_theme/images/T01_grid_select_check.png b/res/white_theme/images/T01_grid_select_check.png
deleted file mode 100755 (executable)
index f131f47..0000000
Binary files a/res/white_theme/images/T01_grid_select_check.png and /dev/null differ
diff --git a/res/white_theme/images/T01_img_pinch_zoomout.png b/res/white_theme/images/T01_img_pinch_zoomout.png
deleted file mode 100755 (executable)
index 0f3bfd2..0000000
Binary files a/res/white_theme/images/T01_img_pinch_zoomout.png and /dev/null differ
diff --git a/res/white_theme/images/T01_main_folder_bg.png b/res/white_theme/images/T01_main_folder_bg.png
deleted file mode 100755 (executable)
index 16d1d59..0000000
Binary files a/res/white_theme/images/T01_main_folder_bg.png and /dev/null differ
diff --git a/res/white_theme/images/T01_thumbs_bg.png b/res/white_theme/images/T01_thumbs_bg.png
deleted file mode 100755 (executable)
index 14adbb1..0000000
Binary files a/res/white_theme/images/T01_thumbs_bg.png and /dev/null differ
diff --git a/res/white_theme/images/gallery_list_icon_bookmark.png b/res/white_theme/images/gallery_list_icon_bookmark.png
deleted file mode 100755 (executable)
index 4a199bf..0000000
Binary files a/res/white_theme/images/gallery_list_icon_bookmark.png and /dev/null differ
diff --git a/res/white_theme/sounds/S_Touch_30ms.wav b/res/white_theme/sounds/S_Touch_30ms.wav
deleted file mode 100755 (executable)
index 99ba74d..0000000
Binary files a/res/white_theme/sounds/S_Touch_30ms.wav and /dev/null differ
index 6b13ee37bc9e10749e7c31cd6301e3e267c7f73f..246b3599dbe6a176a31aa398838f8c9d5a51992c 100755 (executable)
@@ -80,7 +80,7 @@ TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${pkgs_LDFLAGS} -lstdc++ )
 
 # EDJE
 ADD_CUSTOM_COMMAND(OUTPUT gallery-efl.edj
-                COMMAND edje_cc -id ${CMAKE_CURRENT_SOURCE_DIR}/res/images
+                COMMAND edje_cc -id ${CMAKE_CURRENT_SOURCE_DIR}/res/edc/images
                 ${CMAKE_CURRENT_SOURCE_DIR}/res/edc/gallery-efl.edc
                                ${CMAKE_BINARY_DIR}/gallery-efl.edj
                 DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/res/edc/gallery-efl.edc
diff --git a/ug/ug-gallery-efl/res/edc/images/T01_Nocontents_picture.png b/ug/ug-gallery-efl/res/edc/images/T01_Nocontents_picture.png
new file mode 100755 (executable)
index 0000000..0f98480
Binary files /dev/null and b/ug/ug-gallery-efl/res/edc/images/T01_Nocontents_picture.png differ
diff --git a/ug/ug-gallery-efl/res/edc/images/T01_btn_play.png b/ug/ug-gallery-efl/res/edc/images/T01_btn_play.png
new file mode 100755 (executable)
index 0000000..b25d19c
Binary files /dev/null and b/ug/ug-gallery-efl/res/edc/images/T01_btn_play.png differ
diff --git a/ug/ug-gallery-efl/res/edc/images/T01_grid_select_check.png b/ug/ug-gallery-efl/res/edc/images/T01_grid_select_check.png
new file mode 100755 (executable)
index 0000000..f131f47
Binary files /dev/null and b/ug/ug-gallery-efl/res/edc/images/T01_grid_select_check.png differ
diff --git a/ug/ug-gallery-efl/res/edc/images/T01_main_folder_bg.png b/ug/ug-gallery-efl/res/edc/images/T01_main_folder_bg.png
new file mode 100755 (executable)
index 0000000..16d1d59
Binary files /dev/null and b/ug/ug-gallery-efl/res/edc/images/T01_main_folder_bg.png differ
diff --git a/ug/ug-gallery-efl/res/edc/images/T01_thumbs_bg.png b/ug/ug-gallery-efl/res/edc/images/T01_thumbs_bg.png
new file mode 100755 (executable)
index 0000000..c71e2d3
Binary files /dev/null and b/ug/ug-gallery-efl/res/edc/images/T01_thumbs_bg.png differ
diff --git a/ug/ug-gallery-efl/res/images/T01_Nocontents_picture.png b/ug/ug-gallery-efl/res/images/T01_Nocontents_picture.png
deleted file mode 100755 (executable)
index 0f98480..0000000
Binary files a/ug/ug-gallery-efl/res/images/T01_Nocontents_picture.png and /dev/null differ
diff --git a/ug/ug-gallery-efl/res/images/T01_btn_play.png b/ug/ug-gallery-efl/res/images/T01_btn_play.png
deleted file mode 100755 (executable)
index b25d19c..0000000
Binary files a/ug/ug-gallery-efl/res/images/T01_btn_play.png and /dev/null differ
diff --git a/ug/ug-gallery-efl/res/images/T01_grid_select_check.png b/ug/ug-gallery-efl/res/images/T01_grid_select_check.png
deleted file mode 100755 (executable)
index f131f47..0000000
Binary files a/ug/ug-gallery-efl/res/images/T01_grid_select_check.png and /dev/null differ
diff --git a/ug/ug-gallery-efl/res/images/T01_main_folder_bg.png b/ug/ug-gallery-efl/res/images/T01_main_folder_bg.png
deleted file mode 100755 (executable)
index 16d1d59..0000000
Binary files a/ug/ug-gallery-efl/res/images/T01_main_folder_bg.png and /dev/null differ
diff --git a/ug/ug-gallery-efl/res/images/T01_thumbs_bg.png b/ug/ug-gallery-efl/res/images/T01_thumbs_bg.png
deleted file mode 100755 (executable)
index c71e2d3..0000000
Binary files a/ug/ug-gallery-efl/res/images/T01_thumbs_bg.png and /dev/null differ