I have made the following changes intended for :
  CE:UX:MTF / meegotouch-compositor
  CE:UX:MTF / meegotouch-compositor-gestures

Please review and accept or decline.
BOSS has already run some checks on this request.
See the "Messages from BOSS" section below.

https://build.pub.meego.com//request/show/3048

Thank You,
bossbot ([email protected])

[This message was auto-generated]

---

Request # 3048:

Messages from BOSS:
  None

State:   review          2011-11-10T14:22:53 bossbot

Reviews:
     from bossbot  :Prechecks completed; none failed.
     accepted on No date
     from   None

Changes:
  submit: Project:MTF / meegotouch-compositor -> CE:UX:MTF / 
meegotouch-compositor
  Index: meegotouch-compositor.changes
===================================================================
--- meegotouch-compositor.changes (revision 2)
+++ meegotouch-compositor.changes (revision 33)
@@ -1,3 +1,6 @@
+* Thu Nov 10 2011 w00t <[email protected]> - 1.1.20
+- patch to fix use with mcompositor gestures plugin
+
 * Mon Oct 31 2011 Miroslav Safr <[email protected]> - 1.1.20
 - decorator desktop changed to software because creating of gl context can 
cause problems 
 -- BMC#23759   Failed to create a texture from a shared image (qt 4.8.0/lmt) 
Index: meegotouch-compositor.spec
===================================================================
--- meegotouch-compositor.spec (revision 2)
+++ meegotouch-compositor.spec (revision 33)
@@ -23,6 +23,7 @@
 Patch5:     new_test_definitions.patch
 Patch6:     BMC_18554_xTerm_is_improperly_redrawn_after_maximization.patch
 Patch7:     BMC_22845_move-var-run-to-home.patch
+Patch8:     fix_animations_for_gestures_plugin.patch
 Requires(post): /sbin/ldconfig
 Requires(postun): /sbin/ldconfig
 BuildRequires:  pkgconfig(QtDBus)
@@ -94,6 +95,8 @@
 %patch6 -p1
 # BMC_22845_move-var-run-to-home.patch
 %patch7 -p1
+# fix_animations_for_gestures_plugin.patch
+%patch8 -p1
 # >> setup
 # << setup
 
Index: meegotouch-compositor.yaml
===================================================================
--- meegotouch-compositor.yaml (revision 2)
+++ meegotouch-compositor.yaml (revision 33)
@@ -18,6 +18,7 @@
     - new_test_definitions.patch
     - BMC_18554_xTerm_is_improperly_redrawn_after_maximization.patch
     - BMC_22845_move-var-run-to-home.patch
+    - fix_animations_for_gestures_plugin.patch
 Description: |
     This package contains the Direct UI compositing window manager.
 PkgConfigBR:
Index: fix_animations_for_gestures_plugin.patch
===================================================================
--- fix_animations_for_gestures_plugin.patch (added)
+++ fix_animations_for_gestures_plugin.patch (revision 33)
@@ -0,0 +1,30 @@
+From: Robin Burchell <[email protected]>
+Date: Fri, 23 Sep 2011 15:57:38 +0200
+Subject: [PATCH] provide a default duration for animations regardless of 
plugins
+
+On Harmattan, plugins handle animations, not meegotouch-compositor, but this is
+not necessarily the case.
+
+This should be upstreamed by having the plugin call a method to indicate it 
does
+not handle animations.
+
+---
+ src/mcompositewindowanimation.cpp |    2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/src/mcompositewindowanimation.cpp 
b/src/mcompositewindowanimation.cpp
+index 6438bea..fa158e0 100644
+--- a/src/mcompositewindowanimation.cpp
++++ b/src/mcompositewindowanimation.cpp
+@@ -107,7 +107,7 @@ public:
+     {
+         const MCompositeManager *mc = static_cast<MCompositeManager*>(qApp);
+         // default duration of 1 ms to keep "NOP animation" short 
+-        int duration = 1;
++        int duration = 300;
+         if (!mc->hasPlugins())
+             // dont bork the animation if we dont have a plugin
+             duration = mc->configInt("startup-anim-duration");
+-- 
+1.7.5.4
+
Index: Makefile
===================================================================
--- Makefile (revision 2)
+++ Makefile (deleted)
@@ -1,6 +0,0 @@
-PKG_NAME := meegotouch-compositor
-SPECFILE = $(addsuffix .spec, $(PKG_NAME))
-YAMLFILE = $(addsuffix .yaml, $(PKG_NAME))
-
-
-include /usr/share/packaging-tools/Makefile.common

  submit: Project:MTF / meegotouch-compositor-gestures -> CE:UX:MTF / 
meegotouch-compositor-gestures
  error: 'CE:UX:MTF/meegotouch-compositor-gestures' does not exist


Reply via email to