From: Jin Yoon Date: Wed, 22 Aug 2012 04:28:02 +0000 (+0900) Subject: modify the vconf key for the selected menu-screen X-Git-Tag: submit/2.0alpha-wayland/20130208.004706~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7b9c8854a2e1bad1c04fb14915e5f1e9d8204f22;p=profile%2Fivi%2Fmenu-screen.git modify the vconf key for the selected menu-screen Change-Id: I1c871d9f9285b2dd75234f414f60d9b1131eafad --- diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..1ad1c37 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,4 @@ +.gitattributes export-ignore +.gitignore export-ignore +debian export-ignore +packaging export-ignore diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt index ffcbd6a..e743f02 100644 --- a/data/CMakeLists.txt +++ b/data/CMakeLists.txt @@ -1,5 +1,8 @@ -CONFIGURE_FILE(${PACKAGE_NAME}.desktop.in ${CMAKE_BINARY_DIR}/${PACKAGE_NAME}.desktop) -INSTALL(FILES ${CMAKE_BINARY_DIR}/${PACKAGE_NAME}.desktop DESTINATION /opt/share/applications) +SET(MANIFESTDIR "/opt/share/packages") + +# manifest +CONFIGURE_FILE(${PACKAGE_NAME}.xml.in ${CMAKE_BINARY_DIR}/${PACKAGE_NAME}.xml) +INSTALL(FILES ${CMAKE_BINARY_DIR}/${PACKAGE_NAME}.xml DESTINATION ${MANIFESTDIR}) ADD_SUBDIRECTORY(edje) diff --git a/data/org.tizen.menu-screen.xml.in b/data/org.tizen.menu-screen.xml.in new file mode 100755 index 0000000..732d48e --- /dev/null +++ b/data/org.tizen.menu-screen.xml.in @@ -0,0 +1,10 @@ + + + + Jin Yoon + Youngjoo Park + Menu-screen Application + + + + diff --git a/debian/changelog b/debian/changelog index 1e1f01a..6b877ed 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,15 @@ -menu-screen (1.0.12) unstable; urgency=low +org.tizen.menu-screen (1.0.13) unstable; urgency=low - * Git: shared/pkgs/m/menu-screen + * Git: apps/home/menu-screen + * Tag: menu-screen_1.0.13 + + * modify the vconf key for the selected menu-screen. + + -- Jin Yoon Tue, 21 Aug 2012 10:37:58 +0900 + +org.tizen.menu-screen (1.0.12) unstable; urgency=low + + * Git: apps/home/menu-screen * Tag: menu-screen_1.0.12 * [Modify] Environment for ELM_ENGINE, ELM_FPS diff --git a/debian/org.tizen.menu-screen.install.in b/debian/org.tizen.menu-screen.install.in index c48fbc3..2f9f68e 100644 --- a/debian/org.tizen.menu-screen.install.in +++ b/debian/org.tizen.menu-screen.install.in @@ -1,2 +1,2 @@ /opt/apps/org.tizen.menu-screen/* -/opt/share/applications/* +/opt/share/packages/* diff --git a/debian/org.tizen.menu-screen.postinst b/debian/org.tizen.menu-screen.postinst index 42421bf..129d28f 100644 --- a/debian/org.tizen.menu-screen.postinst +++ b/debian/org.tizen.menu-screen.postinst @@ -5,34 +5,15 @@ INHOUSE_ID="5000" init_vconf() { # for menu daemon - vconftool set -t int memory/menu-screen/is_menu_screen_done 0 -i + vconftool set -t int memory/menu-screen/is_menu_screen_done 0 -i -f # for menu-screen - vconftool set -t int db/setting/menu_scroll_unit 1 -i -u 5000 - vconftool set -t int memory/idle_screen/top 0 -i -u 5000 -} - - - - -make_notifier_directory() -{ - NOTIFIER_DIR=`cat /usr/share/install-info/desktop.conf` - for I in $NOTIFIER_DIR - do - #echo "notifier directory :: $I" - if [ ! -d $I ]; then - mkdir -p $I - fi - chmod 775 $I - chown :$INHOUSE_ID $I - touch $I/.notify_this_directory - done + vconftool set -t int memory/idle_screen/top 0 -i -u 5000 -f + vconftool set -t string db/setting/menuscreen/package_name "org.tizen.menu-screen" -i -u 5000 -f } init_vconf -make_notifier_directory # End of a file diff --git a/packaging/org.tizen.menu-screen.spec b/packaging/org.tizen.menu-screen.spec index 5744ad1..3e287a1 100644 --- a/packaging/org.tizen.menu-screen.spec +++ b/packaging/org.tizen.menu-screen.spec @@ -4,7 +4,7 @@ Name: org.tizen.menu-screen Summary: An utility library of the menu screen -Version: 1.0.12 +Version: 1.0.13 Release: 1.1 Group: TO_BE/FILLED_IN License: Flora Software License @@ -71,44 +71,24 @@ chown -R 5000:5000 /opt/apps/org.tizen.menu-screen/data init_vconf() { # for menu daemon - vconftool set -t int memory/menu-screen/is_menu_screen_done 0 -i + vconftool set -t int memory/menu-screen/is_menu_screen_done 0 -i -f # for menu-screen - vconftool set -t int db/setting/menu_scroll_unit 1 -i -u 5000 - vconftool set -t int memory/idle_screen/top 0 -i -u 5000 - vconftool set -t string db/menuscreen/pkgname "org.tizen.menu-screen" -i -u 5000 -} - - - -make_notifier_directory() -{ - NOTIFIER_DIR=`cat /usr/share/install-info/desktop.conf` - for I in $NOTIFIER_DIR - do - #echo "notifier directory :: $I" - if [ ! -d $I ]; then - mkdir -p $I - fi - chmod 775 $I - chown :$INHOUSE_ID $I - touch $I/.notify_this_directory - done + vconftool set -t int memory/idle_screen/top 0 -i -u 5000 -f + vconftool set -t string db/setting/menuscreen/package_name "org.tizen.menu-screen" -i -u 5000 -f } init_vconf -make_notifier_directory #%files -f %{name}.lang %files -%dir %attr(-,inhouse,inhouse) /opt/apps/org.tizen.menu-screen/data %{_appdir}/org.tizen.menu-screen/bin/menu-screen %{_appdir}/org.tizen.menu-screen/res/edje/all_apps_portrait.edj %{_appdir}/org.tizen.menu-screen/res/edje/group_4x4_portrait.edj %{_appdir}/org.tizen.menu-screen/res/edje/item_4x4.edj %{_appdir}/org.tizen.menu-screen/res/edje/layout_portrait.edj -%{_opt_datadir}/applications/org.tizen.menu-screen.desktop +%{_opt_datadir}/packages/org.tizen.menu-screen.xml