modify the vconf key for the selected menu-screen
authorJin Yoon <jinny.yoon@samsung.com>
Wed, 22 Aug 2012 04:28:02 +0000 (13:28 +0900)
committerJin Yoon <jinny.yoon@samsung.com>
Wed, 22 Aug 2012 04:28:02 +0000 (13:28 +0900)
Change-Id: I1c871d9f9285b2dd75234f414f60d9b1131eafad

.gitattributes [new file with mode: 0644]
data/CMakeLists.txt
data/org.tizen.menu-screen.xml.in [new file with mode: 0755]
debian/changelog
debian/org.tizen.menu-screen.install.in
debian/org.tizen.menu-screen.postinst
packaging/org.tizen.menu-screen.spec

diff --git a/.gitattributes b/.gitattributes
new file mode 100644 (file)
index 0000000..1ad1c37
--- /dev/null
@@ -0,0 +1,4 @@
+.gitattributes export-ignore
+.gitignore export-ignore
+debian export-ignore
+packaging export-ignore
index ffcbd6a..e743f02 100644 (file)
@@ -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 (executable)
index 0000000..732d48e
--- /dev/null
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="utf-8"?>\r
+<manifest xmlns="http://tizen.org/ns/packages" package="@PACKAGE_NAME@" version="0.4.2" install-location="internal-only">\r
+       <label>Menu-screen</label>\r
+       <author email="jinny.yoon@samsung.com" href="www.samsung.com">Jin Yoon</author>\r
+       <author email="yjoo93.park@samsung.com" href="www.samsung.com">Youngjoo Park</author>\r
+       <description>Menu-screen Application</description>\r
+       <ui-application appid="@PACKAGE_NAME@" exec="@EXEC_PREFIX@/@PROJECT_NAME@" nodisplay="true" multiple="false" type="capp" taskmanage="false" categories="home-screen">\r
+               <label>Menu-screen</label>\r
+       </ui-application>\r
+</manifest>\r
index 1e1f01a..6b877ed 100644 (file)
@@ -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 <jinny.yoon@samsung.com>  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
index c48fbc3..2f9f68e 100644 (file)
@@ -1,2 +1,2 @@
 /opt/apps/org.tizen.menu-screen/*
-/opt/share/applications/*
+/opt/share/packages/*
index 42421bf..129d28f 100644 (file)
@@ -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
index 5744ad1..3e287a1 100644 (file)
@@ -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