e-wm: drop patches with really old maxrev
authorMartin Jansa <Martin.Jansa@gmail.com>
Sat, 29 Jan 2011 15:53:11 +0000 (16:53 +0100)
committerMartin Jansa <Martin.Jansa@gmail.com>
Sat, 29 Jan 2011 17:56:44 +0000 (18:56 +0100)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
recipes/e17/e-wm/fix-profiles.diff [deleted file]
recipes/e17/e-wm/gsm-segfault-fix.patch [deleted file]
recipes/e17/e-wm/illume-keyboard-flow.patch [deleted file]
recipes/e17/e-wm_svn.bb

diff --git a/recipes/e17/e-wm/fix-profiles.diff b/recipes/e17/e-wm/fix-profiles.diff
deleted file mode 100644 (file)
index d6de734..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-===================================================================\r
---- e/src/bin/e_config.c (revision 39880)\r
-+++ e/src/bin/e_config.c (revision 39889)\r
-@@ -1134,5 +1134,5 @@\r
-      }\r
-    dir = e_prefix_data_get();\r
--   len = snprintf(buf, sizeof(buf), "%s/data/config", dir);\r
-+   len = snprintf(buf, sizeof(buf), "%s/data/config/", dir);\r
-    if (len >= (int)sizeof(buf))\r
-      return NULL;\r
diff --git a/recipes/e17/e-wm/gsm-segfault-fix.patch b/recipes/e17/e-wm/gsm-segfault-fix.patch
deleted file mode 100644 (file)
index 0bed84a..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-Index: e/src/modules/illume/e_mod_gad_gsm.c
-===================================================================
---- e/src/modules/illume/e_mod_gad_gsm.c       (revision 37617)
-+++ e/src/modules/illume/e_mod_gad_gsm.c       (revision 37618)
-@@ -353,7 +353,7 @@
- {
-    /* We care only about the provider name right now. All the other status
-     * informations get ingnored for the gadget for now */
--   const char *provider, *name, *reg_stat;
-+   const char *provider = 0 , *name = 0, *reg_stat = 0;
-    DBusMessageIter iter, a_iter, s_iter, v_iter;
-    
-    if (!dbus_message_has_signature(msg, "a{sv}")) return NULL;
-@@ -380,10 +380,13 @@
-       dbus_message_iter_next(&a_iter);
-      }
-    
-+   if (!reg_stat) return NULL;
-    if (strcmp(reg_stat, "unregistered") == 0) provider = "No Service";
-    else if (strcmp(reg_stat, "busy") == 0) provider = "Searching...";
-    else if (strcmp(reg_stat, "denied") == 0) provider = "SOS only";
--   
-+
-+   if (!provider) return NULL;
-+
-    return strdup(provider);
- }
diff --git a/recipes/e17/e-wm/illume-keyboard-flow.patch b/recipes/e17/e-wm/illume-keyboard-flow.patch
deleted file mode 100644 (file)
index df5a5e5..0000000
+++ /dev/null
@@ -1,76 +0,0 @@
-Index: e/src/modules/illume-keyboard/e_kbd_int.c
-===================================================================
---- e/src/modules/illume-keyboard/e_kbd_int.c  (revision 46510)
-+++ e/src/modules/illume-keyboard/e_kbd_int.c  (working copy)
-@@ -434,6 +434,16 @@
- static void
- _e/src/modules/illume-keyboard/e_kbd_int_stroke_handle(E_Kbd_Int *ki, int dir)
- {
-+   /* If the keyboard direction is RTL switch dir 3 and 1
-+    * i.e, make forward backwards and the other way around */
-+   if (ki->layout.direction == E_KBD_INT_DIRECTION_RTL)
-+     {
-+        if (dir == 3)
-+              dir = 1;
-+      else if (dir == 1)
-+              dir = 3;
-+     }
-+     
-    if (dir == 4) // up
-      _e/src/modules/illume-keyboard/e_kbd_int_layout_next(ki);
-    else if (dir == 3) // left
-@@ -886,6 +896,10 @@
-    if (!f) return;
-    ki->layout.directory = ecore_file_dir_get(layout);
-    ki->layout.file = eina_stringshare_add(layout);
-+
-+   /* Make the default direction LTR */
-+   ki->layout.direction = E_KBD_INT_DIRECTION_LTR;
-+   
-    while (fgets(buf, sizeof(buf), f))
-      {
-       int len;
-@@ -913,6 +927,17 @@
-            sscanf(buf, "%*s %i\n", &(ki->layout.fuzz));
-            continue;
-         }
-+      if (!strcmp(str, "direction"))
-+        {
-+           char direction[4];
-+           sscanf(buf, "%*s %3s\n", direction);
-+           /* If rtl mark as rtl, otherwise make it ltr */
-+           if (!strcmp(direction, "rtl"))
-+              ki->layout.direction = E_KBD_INT_DIRECTION_RTL;
-+           else
-+              ki->layout.direction = E_KBD_INT_DIRECTION_LTR;
-+           continue;
-+        }
-       if (!strcmp(str, "key"))
-         {
-            ky = calloc(1, sizeof(E_Kbd_Int_Key));
-Index: e/src/modules/illume-keyboard/e_kbd_int.h
-===================================================================
---- e/src/modules/illume-keyboard/e_kbd_int.h  (revision 46510)
-+++ e/src/modules/illume-keyboard/e_kbd_int.h  (working copy)
-@@ -15,6 +15,13 @@
-    E_KBD_INT_TYPE_PASSWORD = (1 << 6)
- } E_Kbd_Int_Type;
-+/* The natural text direction of the keyboard */
-+typedef enum _E_kbd_Int_Direction
-+{
-+      E_KBD_INT_DIRECTION_LTR = (1 << 0),
-+      E_KBD_INT_DIRECTION_RTL = (1 << 1)
-+} E_Kbd_Int_Direction;
-+
- typedef struct _E_Kbd_Int           E_Kbd_Int;
- typedef struct _E_Kbd_Int_Key       E_Kbd_Int_Key;
- typedef struct _E_Kbd_Int_Key_State E_Kbd_Int_Key_State;
-@@ -35,6 +42,7 @@
-       const char       *file;
-       int               w, h;
-       int               fuzz;
-+      int             direction;
-       E_Kbd_Int_Type    type;
-       Eina_List        *keys;
-       E_Kbd_Int_Key    *pressed;
index 9c9f0e1..e8f6b1e 100644 (file)
@@ -7,22 +7,18 @@ PR = "r18"
 SRCREV = "${EFL_SRCREV}"
 
 inherit e update-alternatives
+S = "${WORKDIR}/${SRCNAME}"
 
 SRC_URI = "\
   ${E_SVN}/trunk;module=${SRCNAME};proto=http \
   file://enlightenment_start.oe \
   file://applications.menu \
-  file://gsm-segfault-fix.patch;maxrev=37617 \
-  file://fix-profiles.diff;maxrev=39889 \
 "
 
-SRC_URI_append_openmoko = " file://illume-disable-screensaver.patch"
-
 SRC_URI_append_shr = " \
   file://illume-disable-screensaver.patch \
   file://wizard-module-skipping.patch \
   file://illume-flaunch-fix.patch \
-  file://illume-keyboard-flow.patch;maxrev=46549 \
 "
 
 EXTRA_OECONF = "\