[oe-commits] org.oe.dev merge of 'd1d4ee2c6e573657511ea5110c7b0ff2cd6b7ba8'

mickeyl commit openembedded-commits at lists.openembedded.org
Mon Sep 17 16:29:44 UTC 2007


merge of 'd1d4ee2c6e573657511ea5110c7b0ff2cd6b7ba8'
     and 'd22fdb6dd89df0e5bc4ba3614166c769bb207126'

Author: mickeyl at openembedded.org
Branch: org.openembedded.dev
Revision: c542a82c23a94ecd52e25c1f41009e9a1bb14fbf
ViewMTN: http://monotone.openembedded.org/revision/info/c542a82c23a94ecd52e25c1f41009e9a1bb14fbf
Files:
1
packages/matchbox-keyboard/files/matchbox-keyboard-hide-delay.patch
packages/matchbox-keyboard/matchbox-keyboard-inputmethod_svn.bb
packages/linux/linux-openmoko-devel/printascii.patch
packages/linux/linux-openmoko-devel_svn.bb
Diffs:

#
# mt diff -rd1d4ee2c6e573657511ea5110c7b0ff2cd6b7ba8 -rc542a82c23a94ecd52e25c1f41009e9a1bb14fbf
#
# 
# 
# add_file "packages/matchbox-keyboard/files/matchbox-keyboard-hide-delay.patch"
#  content [d136e98d1e89f12fec85b8f247c99a11530c5a16]
# 
# patch "packages/matchbox-keyboard/matchbox-keyboard-inputmethod_svn.bb"
#  from [c83b2518da5c8c31d03ed19d8aed54afa6d26d38]
#    to [9a0b682073222bc2809e001ffe275c358bde77ed]
# 
============================================================
--- packages/matchbox-keyboard/files/matchbox-keyboard-hide-delay.patch	d136e98d1e89f12fec85b8f247c99a11530c5a16
+++ packages/matchbox-keyboard/files/matchbox-keyboard-hide-delay.patch	d136e98d1e89f12fec85b8f247c99a11530c5a16
@@ -0,0 +1,99 @@
+Index: matchbox-keyboard/src/matchbox-keyboard.h
+===================================================================
+--- matchbox-keyboard/src/matchbox-keyboard.h	(revision 1669)
++++ matchbox-keyboard/src/matchbox-keyboard.h	(working copy)
+@@ -285,7 +285,7 @@
+ void
+ mb_kbd_remote_init (MBKeyboardUI *ui);
+ 
+-void
++int
+ mb_kbd_remote_process_xevents (MBKeyboardUI *ui, XEvent *xevent);
+ 
+ /**** Keyboard ****/
+Index: matchbox-keyboard/src/matchbox-keyboard-ui.c
+===================================================================
+--- matchbox-keyboard/src/matchbox-keyboard-ui.c	(revision 1669)
++++ matchbox-keyboard/src/matchbox-keyboard-ui.c	(working copy)
+@@ -1096,6 +1096,8 @@
+   /* Key repeat - values for standard xorg install ( xset q) */
+   int repeat_delay = 100 * 10000;
+   int repeat_rate  = 30  * 1000;
++  int hide_delay = 100 * 1000;
++  int to_hide = 0;
+ 
+   int press_x = 0, press_y = 0; 
+ 
+@@ -1182,11 +1184,42 @@
+ 	      mb_kbd_xembed_process_xevents (ui, &xev);
+ 
+ 	    if (ui->is_daemon)
+-	      mb_kbd_remote_process_xevents (ui, &xev);
+-
++      {
++	      switch (mb_kbd_remote_process_xevents (ui, &xev))
++        {
++          case 0:
++            if (to_hide == 1) {
++              mb_kbd_ui_hide(ui);
++            }
++            tvt.tv_usec = hide_delay;
++            to_hide = 1;
++            break;
++          case 1:
++            mb_kbd_ui_show(ui);
++            tvt.tv_usec = repeat_delay;
++            to_hide = 0;
++            break;
++          default:
++            if (to_hide == 1) {
++              mb_kbd_ui_hide(ui);
++              tvt.tv_usec = repeat_delay;
++              to_hide = 0;
++            }
++            break;
++        }
++      }
+ 	  }
+ 	else
+ 	  {
++      /* Hide timed out */
++      if (to_hide == 1)
++      {
++        DBG("Hide timed out, calling mb_kbd_ui_hide");
++        mb_kbd_ui_hide(ui);
++        tvt.tv_usec = repeat_delay;
++        to_hide = 0;
++      }
++
+ 	    /* Keyrepeat */
+ 	    if (mb_kbd_get_held_key(ui->kbd) != NULL)
+ 	      {
+Index: matchbox-keyboard/src/matchbox-keyboard-remote.c
+===================================================================
+--- matchbox-keyboard/src/matchbox-keyboard-remote.c	(revision 1669)
++++ matchbox-keyboard/src/matchbox-keyboard-remote.c	(working copy)
+@@ -28,7 +28,7 @@
+ 					   "_MB_IM_INVOKER_COMMAND", False);
+ }
+ 
+-void
++int
+ mb_kbd_remote_process_xevents (MBKeyboardUI *ui, XEvent *xevent)
+ {
+   DBG("got a message\n");
+@@ -42,9 +42,12 @@
+ 	  DBG("got a message of type _MB_IM_INVOKER_COMMAND, val %i\n",
+ 	      xevent->xclient.data.l[0]);
+ 	  if (xevent->xclient.data.l[0] == 1)
+-	      mb_kbd_ui_show (ui);
++    {
++        return 1;
++    }
+ 	  else
+-	      mb_kbd_ui_hide (ui);
++        return 0;
+ 	}
+     }
++  return -1;
+ }
============================================================
--- packages/matchbox-keyboard/matchbox-keyboard-inputmethod_svn.bb	c83b2518da5c8c31d03ed19d8aed54afa6d26d38
+++ packages/matchbox-keyboard/matchbox-keyboard-inputmethod_svn.bb	9a0b682073222bc2809e001ffe275c358bde77ed
@@ -6,11 +6,12 @@ PV = "0.0+svnr${SRCREV}"
 #DEFAULT_PREFERENCE = "-1"
 SECTION = "x11"
 PV = "0.0+svnr${SRCREV}"
-PR = "r4"
+PR = "r5"
 
 SRC_URI = "svn://svn.o-hand.com/repos/matchbox/trunk;module=matchbox-keyboard;proto=http \
 	file://matchbox-keyboard-applet.patch;patch=1;pnum=0 \
-	file://80matchboxkeyboard"
+	file://80matchboxkeyboard \
+	file://matchbox-keyboard-hide-delay.patch;patch=1"
 
 SRC_URI_append_fic-gta01 = " file://fic-gta01-font-size.patch;patch=1"
 


#
# mt diff -rd22fdb6dd89df0e5bc4ba3614166c769bb207126 -rc542a82c23a94ecd52e25c1f41009e9a1bb14fbf
#
# 
# 
# add_file "packages/linux/linux-openmoko-devel/printascii.patch"
#  content [e7cfe3969d58b5690e047b0ce584a1b841f2b494]
# 
# patch "packages/linux/linux-openmoko-devel_svn.bb"
#  from [377566e2cac26889f083dae7e4b7e6f9f3c16906]
#    to [caff0d74c55eaddbfbb6f991685014f4afe718f1]
# 
============================================================
--- packages/linux/linux-openmoko-devel/printascii.patch	e7cfe3969d58b5690e047b0ce584a1b841f2b494
+++ packages/linux/linux-openmoko-devel/printascii.patch	e7cfe3969d58b5690e047b0ce584a1b841f2b494
@@ -0,0 +1,12 @@
+Index: linux-2.6.22.5/kernel/printk.c
+===================================================================
+--- linux-2.6.22.5.orig/kernel/printk.c
++++ linux-2.6.22.5/kernel/printk.c
+@@ -535,6 +535,7 @@ asmlinkage int vprintk(const char *fmt, 
+ 
+ 	/* Emit the output into the temporary buffer */
+ 	printed_len = vscnprintf(printk_buf, sizeof(printk_buf), fmt, args);
++    printascii(printk_buf);
+ 
+ 	/*
+ 	 * Copy the output into log_buf.  If the caller didn't provide
============================================================
--- packages/linux/linux-openmoko-devel_svn.bb	377566e2cac26889f083dae7e4b7e6f9f3c16906
+++ packages/linux/linux-openmoko-devel_svn.bb	caff0d74c55eaddbfbb6f991685014f4afe718f1
@@ -1,7 +1,7 @@ PV = "${VANILLA_VERSION}-moko11+svnr${SR
 DESCRIPTION = "Linux 2.6.x (development) kernel for FIC SmartPhones shipping w/ OpenMoko"
 VANILLA_VERSION = "2.6.22.5"
 PV = "${VANILLA_VERSION}-moko11+svnr${SRCREV}"
-PR = "r0"
+PR = "r1"
 
 KERNEL_IMAGETYPE = "uImage"
 UBOOT_ENTRYPOINT = "30008000"
@@ -16,7 +16,7 @@ SRC_URI = "${KERNELORG_MIRROR}/pub/linux
 SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${VANILLA_VERSION}.tar.bz2 \
            svn://svn.openmoko.org/trunk/src/target/kernel;module=patches;proto=http;name=patches \
            file://fix-EVIOCGRAB-semantics-2.6.22.5.patch;patch=1 \
-           file://printascii.patch;patch=1 \
+#           file://printascii.patch;patch=1 \
            file://defconfig \
            file://logo_linux_clut224.ppm"
 S = "${WORKDIR}/linux-${VANILLA_VERSION}"






More information about the Openembedded-commits mailing list