diff options
Diffstat (limited to 'meta-efl/recipes-efl/efl')
| -rw-r--r-- | meta-efl/recipes-efl/efl/ecore-1.0.0/fix-ecore-fb-initialization.patch | 28 | ||||
| -rw-r--r-- | meta-efl/recipes-efl/efl/ecore/fix-ecore-fb-initialization.patch | 17 |
2 files changed, 37 insertions, 8 deletions
diff --git a/meta-efl/recipes-efl/efl/ecore-1.0.0/fix-ecore-fb-initialization.patch b/meta-efl/recipes-efl/efl/ecore-1.0.0/fix-ecore-fb-initialization.patch new file mode 100644 index 0000000000..cd74c7ebd4 --- /dev/null +++ b/meta-efl/recipes-efl/efl/ecore-1.0.0/fix-ecore-fb-initialization.patch | |||
| @@ -0,0 +1,28 @@ | |||
| 1 | # | ||
| 2 | # The whole ecore-fb init logic is somewhat flawed; with this patch we | ||
| 3 | # get at least a working touchscreen w/ tslib again. | ||
| 4 | # | ||
| 5 | # Signed-off-by: Michael 'Mickey' Lauer <mlauer@vanille-media.de> | ||
| 6 | # | ||
| 7 | |||
| 8 | diff -uNr ecore.orig//src/lib/ecore_fb/ecore_fb.c ecore/src/lib/ecore_fb/ecore_fb.c | ||
| 9 | --- ecore.orig//src/lib/ecore_fb/ecore_fb.c 2010-09-21 12:40:06.000000000 +0200 | ||
| 10 | +++ ecore/src/lib/ecore_fb/ecore_fb.c 2010-09-24 18:42:02.000000000 +0200 | ||
| 11 | @@ -39,6 +39,9 @@ | ||
| 12 | |||
| 13 | if (!ecore_fb_vt_init()) | ||
| 14 | return --_ecore_fb_init_count; | ||
| 15 | + | ||
| 16 | + if (!ecore_fb_ts_init()) | ||
| 17 | + return --_ecore_fb_init_count; | ||
| 18 | |||
| 19 | ECORE_FB_EVENT_KEY_DOWN = ecore_event_type_new(); | ||
| 20 | ECORE_FB_EVENT_KEY_UP = ecore_event_type_new(); | ||
| 21 | @@ -63,6 +66,7 @@ | ||
| 22 | if (--_ecore_fb_init_count != 0) | ||
| 23 | return _ecore_fb_init_count; | ||
| 24 | |||
| 25 | + ecore_fb_ts_shutdown(); | ||
| 26 | ecore_fb_vt_shutdown(); | ||
| 27 | |||
| 28 | return _ecore_fb_init_count; | ||
diff --git a/meta-efl/recipes-efl/efl/ecore/fix-ecore-fb-initialization.patch b/meta-efl/recipes-efl/efl/ecore/fix-ecore-fb-initialization.patch index cd74c7ebd4..216b5a5bb7 100644 --- a/meta-efl/recipes-efl/efl/ecore/fix-ecore-fb-initialization.patch +++ b/meta-efl/recipes-efl/efl/ecore/fix-ecore-fb-initialization.patch | |||
| @@ -5,20 +5,21 @@ | |||
| 5 | # Signed-off-by: Michael 'Mickey' Lauer <mlauer@vanille-media.de> | 5 | # Signed-off-by: Michael 'Mickey' Lauer <mlauer@vanille-media.de> |
| 6 | # | 6 | # |
| 7 | 7 | ||
| 8 | diff -uNr ecore.orig//src/lib/ecore_fb/ecore_fb.c ecore/src/lib/ecore_fb/ecore_fb.c | 8 | diff --git ecore.old/src/lib/ecore_fb/ecore_fb.c ecore/src/lib/ecore_fb/ecore_fb.c |
| 9 | --- ecore.orig//src/lib/ecore_fb/ecore_fb.c 2010-09-21 12:40:06.000000000 +0200 | 9 | index 77071e3..a4e1c5d 100644 |
| 10 | +++ ecore/src/lib/ecore_fb/ecore_fb.c 2010-09-24 18:42:02.000000000 +0200 | 10 | --- ecore.old/src/lib/ecore_fb/ecore_fb.c |
| 11 | @@ -39,6 +39,9 @@ | 11 | +++ ecore/src/lib/ecore_fb/ecore_fb.c |
| 12 | 12 | @@ -46,6 +46,9 @@ ecore_fb_init(const char *name __UNUSED__) | |
| 13 | if (!ecore_fb_vt_init()) | 13 | if (!ecore_fb_vt_init()) |
| 14 | return --_ecore_fb_init_count; | 14 | return --_ecore_fb_init_count; |
| 15 | + | 15 | |
| 16 | + if (!ecore_fb_ts_init()) | 16 | + if (!ecore_fb_ts_init()) |
| 17 | + return --_ecore_fb_init_count; | 17 | + return --_ecore_fb_init_count; |
| 18 | 18 | + | |
| 19 | ECORE_FB_EVENT_KEY_DOWN = ecore_event_type_new(); | 19 | ECORE_FB_EVENT_KEY_DOWN = ecore_event_type_new(); |
| 20 | ECORE_FB_EVENT_KEY_UP = ecore_event_type_new(); | 20 | ECORE_FB_EVENT_KEY_UP = ecore_event_type_new(); |
| 21 | @@ -63,6 +66,7 @@ | 21 | ECORE_FB_EVENT_MOUSE_BUTTON_DOWN = ecore_event_type_new(); |
| 22 | @@ -72,6 +75,7 @@ ecore_fb_shutdown(void) | ||
| 22 | if (--_ecore_fb_init_count != 0) | 23 | if (--_ecore_fb_init_count != 0) |
| 23 | return _ecore_fb_init_count; | 24 | return _ecore_fb_init_count; |
| 24 | 25 | ||
