TizenRefApp-5046 Fixing build by removing tizen-2.4 specific stuff from back and... 31/52131/3
authorAndrey Klimenko <and.klimenko@samsung.com>
Thu, 19 Nov 2015 08:20:51 +0000 (10:20 +0200)
committerAndrey Klimenko <and.klimenko@samsung.com>
Thu, 19 Nov 2015 08:37:05 +0000 (10:37 +0200)
Change-Id: I5ba4c111f8f6f497711dd4562f13f7de1b961451
Signed-off-by: Andrey Klimenko <and.klimenko@samsung.com>
res/edje/button_theme.edc
run.sh

index 0ace281..ada48b1 100755 (executable)
@@ -3135,38 +3135,6 @@ MSG_BUBBLE_BUTTON_STYLE_TRANSLATE("translate_button", "M01_circle_button.png", "
             }
          }
          program {
-            name: "pass_event_enable";
-            signal: "elm,event,pass,enabled";
-            source: "elm";
-            script {
-               set_mouse_events(PART:"event", 0);
-            }
-         }
-         program {
-            name: "pass_event_disable";
-            signal: "elm,event,pass,disabled";
-            source:"elm";
-            script {
-               set_mouse_events(PART:"event", 1);
-            }
-         }
-         program {
-            name: "repeat_event_enable";
-            signal: "elm,event,repeat,enabled";
-            source: "elm";
-            script {
-              set_repeat_events(PART:"event", 1);
-            }
-         }
-         program {
-            name: "repeat_event_disable";
-            signal: "elm,event,repeat,disabled";
-            source:"elm";
-            script {
-               set_repeat_events(PART:"event", 0);
-            }
-         }
-         program {
             name: "make_blue";
             signal: "button,color,blue";
             source: "*";
@@ -3452,38 +3420,6 @@ MSG_BUBBLE_BUTTON_STYLE_TRANSLATE("translate_button", "M01_circle_button.png", "
             }
          }
          program {
-            name: "pass_event_enable";
-            signal: "elm,event,pass,enabled";
-            source: "elm";
-            script {
-               set_mouse_events(PART:"event", 0);
-            }
-         }
-         program {
-            name: "pass_event_disable";
-            signal: "elm,event,pass,disabled";
-            source:"elm";
-            script {
-               set_mouse_events(PART:"event", 1);
-            }
-         }
-         program {
-            name: "repeat_event_enable";
-            signal: "elm,event,repeat,enabled";
-            source: "elm";
-            script {
-               set_repeat_events(PART:"event", 1);
-            }
-         }
-         program {
-            name: "repeat_event_disable";
-            signal: "elm,event,repeat,disabled";
-            source:"elm";
-            script {
-               set_repeat_events(PART:"event", 0);
-            }
-         }
-         program {
             name: "make_blue";
             signal: "button,color,blue";
             source: "*";
diff --git a/run.sh b/run.sh
index 3a64477..1212b5c 100755 (executable)
--- a/run.sh
+++ b/run.sh
@@ -296,13 +296,13 @@ install()
     do
       current_package=$current_package_name-$VERSION-$RELEASE.$PLATFORM.rpm
       ShowMessage "Installing the package $current_package ..."
-      $SDB install $RPMSPATH/$current_package
+      #$SDB install $RPMSPATH/$current_package
       #if hasPrefix $current_package; then
         # install with pkgcmd
-        #SdbShell "pkgcmd -q -i -t rpm -p $TEMPDIR/$current_package" 
+        #SdbShell "pkgcmd -q -i -t rpm -p $TEMPDIR/$current_package"
       #else
         # uninstall with rpm
-        #SdbShell "rpm -i $TEMPDIR/$current_package"
+        SdbShell "rpm -ivh --force --nodeps $TEMPDIR/$current_package"
       #fi
     done
 
@@ -313,6 +313,8 @@ install()
         ShowMessage "Installing the package $DEBUGSOURCEPKGNAME.rpm ..."
         SdbShell "rpm -i $TEMPDIR/$DEBUGSOURCEPKGNAME.rpm"
     fi
+
+    SdbShell "pkg_initdb"
 }
 
 ##--------------- Running ----------------##
@@ -335,7 +337,7 @@ run()
     else
       SdbShell "pkill -f $APPNAME"
       ShowMessage "running the $ABSOLUTEPATHTOAPP..."
-      SdbShell "$ABSOLUTEPATHTOAPP"  
+      SdbShell "$ABSOLUTEPATHTOAPP"
   fi
 }
 
@@ -345,10 +347,13 @@ installApp()
 {
   checkConnection
   initPackageList
-  
+
+  $SDB root on
   #uninstall
-  #push
+  push
   install
+
+  $SDB root off
 }
 
 runApp()