[oe-commits] org.oe.dev matchbox-keyboard svn: Add patches to make it work decent on QVGA devices.
pfalcon commit
openembedded-commits at lists.openembedded.org
Fri Feb 9 19:34:40 UTC 2007
matchbox-keyboard svn: Add patches to make it work decent on QVGA devices.
* Note: these patched don't affect other devices, as being applied to
matchnox-keyboard's own "smallscreen" handling paths (smallscreen defined as
having width/height <=320).
Author: pfalcon at openembedded.org
Branch: org.openembedded.dev
Revision: 92644cae3346daa785486f68dac64e9df06af1cc
ViewMTN: http://monotone.openembedded.org/revision.psp?id=92644cae3346daa785486f68dac64e9df06af1cc
Files:
1
packages/matchbox-keyboard/files
packages/matchbox-keyboard/files/smallscreen-fontsize.patch
packages/matchbox-keyboard/matchbox-keyboard_svn.bb
Diffs:
#
# mt diff -r43c6d04686adb46f7a2ad2cd7fc3d6e3b56916d9 -r92644cae3346daa785486f68dac64e9df06af1cc
#
#
#
# add_dir "packages/matchbox-keyboard/files"
#
# add_file "packages/matchbox-keyboard/files/smallscreen-fontsize.patch"
# content [479e5cdd4e2ad8cad4cedb6580cbd61f722b7c1d]
#
# patch "packages/matchbox-keyboard/matchbox-keyboard_svn.bb"
# from [dbe98e764144d3293717e3bf949f0d153e2e6877]
# to [98ee6fe896b463c3fe5a82950f30d212e87a4bac]
#
============================================================
--- packages/matchbox-keyboard/files/smallscreen-fontsize.patch 479e5cdd4e2ad8cad4cedb6580cbd61f722b7c1d
+++ packages/matchbox-keyboard/files/smallscreen-fontsize.patch 479e5cdd4e2ad8cad4cedb6580cbd61f722b7c1d
@@ -0,0 +1,22 @@
+--- matchbox-keyboard-0.1/src/matchbox-keyboard.c.orig 2006-11-04 00:41:52.000000000 +0100
++++ matchbox-keyboard-0.1/src/matchbox-keyboard.c 2006-11-04 00:29:25.000000000 +0100
+@@ -77,7 +77,7 @@
+ kb->key_pad = 0;
+ kb->col_spacing = 0;
+ kb->row_spacing = 0;
+- kb->font_pt_size = 8;
++ kb->font_pt_size = 5;
+ }
+
+ if (!mb_kbd_config_load(kb, variant))
+--- matchbox-keyboard-0.1/src/matchbox-keyboard-ui.c.org 2006-07-14 00:50:25.000000000 +0000
++++ matchbox-keyboard-0.1/src/matchbox-keyboard-ui.c 2007-02-09 17:38:19.000000000 +0000
+@@ -291,7 +291,7 @@
+ /* FIXME: hack for small displays */
+ if (mb_kbd_ui_display_height(ui) <= 320)
+ {
+- *height += 4;
++ *height += 1;
+ }
+
+ }
============================================================
--- packages/matchbox-keyboard/matchbox-keyboard_svn.bb dbe98e764144d3293717e3bf949f0d153e2e6877
+++ packages/matchbox-keyboard/matchbox-keyboard_svn.bb 98ee6fe896b463c3fe5a82950f30d212e87a4bac
@@ -1,11 +1,12 @@ PV = "0.0+svn${SRCDATE}"
DESCRIPTION = "Matchbox virtual keyboard for X11"
LICENSE = "GPL"
DEPENDS = "libfakekey expat libxft"
SECTION = "x11"
PV = "0.0+svn${SRCDATE}"
-PR="r2"
+PR="r3"
-SRC_URI = "svn://svn.o-hand.com/repos/matchbox/trunk;module=${PN};proto=http"
+SRC_URI = "svn://svn.o-hand.com/repos/matchbox/trunk;module=${PN};proto=http \
+ file://smallscreen-fontsize.patch;patch=1"
S = "${WORKDIR}/${PN}"
More information about the Openembedded-commits
mailing list