diff options
| author | Ben Deering <ben_deering@swissmail.org> | 2012-12-18 07:29:22 -0500 |
|---|---|---|
| committer | Martin Jansa <Martin.Jansa@gmail.com> | 2012-12-19 17:48:20 +0100 |
| commit | 306cf7689c473feddf6b17530c6a557301e26e12 (patch) | |
| tree | 4ea7260293670e0ff2718c6abf667f3a4a8e60de /meta-oe/recipes-sato | |
| parent | 7f5ebfe5a893f873c3727c4d3db20c553ddd5a86 (diff) | |
| download | meta-openembedded-306cf7689c473feddf6b17530c6a557301e26e12.tar.gz | |
claws-mail: Upgrade from 3.6.1 to 3.9.0
Switch Claws mail to latest version (3.9.0) and remove patches that were
applied to 3.6.1. The patches do not seem to be needed anymore.
Signed-off-by: Ben Deering <ben_deering@swissmail.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-sato')
| -rw-r--r-- | meta-oe/recipes-sato/claws-mail/claws-mail-3.6.1/claws-mail-g_strcmp0.patch | 575 | ||||
| -rw-r--r-- | meta-oe/recipes-sato/claws-mail/claws-mail-3.6.1/desktop.patch | 19 | ||||
| -rw-r--r-- | meta-oe/recipes-sato/claws-mail/claws-mail-3.6.1/duplicate-header.patch | 10 | ||||
| -rw-r--r-- | meta-oe/recipes-sato/claws-mail/claws-mail-3.6.1/glib-2.32.patch | 11 | ||||
| -rw-r--r-- | meta-oe/recipes-sato/claws-mail/claws-mail_3.9.0.bb (renamed from meta-oe/recipes-sato/claws-mail/claws-mail_3.6.1.bb) | 17 |
5 files changed, 4 insertions, 628 deletions
diff --git a/meta-oe/recipes-sato/claws-mail/claws-mail-3.6.1/claws-mail-g_strcmp0.patch b/meta-oe/recipes-sato/claws-mail/claws-mail-3.6.1/claws-mail-g_strcmp0.patch deleted file mode 100644 index 17c213d732..0000000000 --- a/meta-oe/recipes-sato/claws-mail/claws-mail-3.6.1/claws-mail-g_strcmp0.patch +++ /dev/null | |||
| @@ -1,575 +0,0 @@ | |||
| 1 | http://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=1773 | ||
| 2 | |||
| 3 | However using if (g_utf8_collate(foo1, foo2)) works and gives good results (at | ||
| 4 | least if glibc or locale data are not broken), this usage is bad. | ||
| 5 | |||
| 6 | If you need to just compare strings to get equal/non-equal return value, than | ||
| 7 | using of four-pass locale wise lexicographic collating is purely superfluous. | ||
| 8 | |||
| 9 | Using simpler functions like strcmp() or g_strcmp0() will give the same result | ||
| 10 | 5-50 times faster. | ||
| 11 | |||
| 12 | In attached patch, I replaces all occurrences of upper mentioned use case. | ||
| 13 | |||
| 14 | Stanislav Brabec | ||
| 15 | |||
| 16 | diff -ur claws-mail-3.6.1.orig/src/addrcustomattr.c claws-mail-3.6.1/src/addrcustomattr.c | ||
| 17 | --- claws-mail-3.6.1.orig/src/addrcustomattr.c 2008-07-25 23:01:29.000000000 +0200 | ||
| 18 | +++ claws-mail-3.6.1/src/addrcustomattr.c 2008-11-14 14:27:12.000000000 +0100 | ||
| 19 | @@ -353,7 +353,7 @@ | ||
| 20 | gchar *attr; | ||
| 21 | gtk_tree_model_get(model, iter, CUSTOM_ATTR_NAME, &attr, -1); | ||
| 22 | |||
| 23 | - if (g_utf8_collate(data->attr, attr)==0) { | ||
| 24 | + if (g_strcmp0(data->attr, attr)==0) { | ||
| 25 | data->path = path; /* signal we found it */ | ||
| 26 | data->iter = *iter; | ||
| 27 | return TRUE; | ||
| 28 | diff -ur claws-mail-3.6.1.orig/src/addressbook_foldersel.c claws-mail-3.6.1/src/addressbook_foldersel.c | ||
| 29 | --- claws-mail-3.6.1.orig/src/addressbook_foldersel.c 2008-09-09 19:10:50.000000000 +0200 | ||
| 30 | +++ claws-mail-3.6.1/src/addressbook_foldersel.c 2008-11-14 14:27:12.000000000 +0100 | ||
| 31 | @@ -392,12 +392,19 @@ | ||
| 32 | corresponds to what we received */ | ||
| 33 | |||
| 34 | if ( path != NULL ) { | ||
| 35 | - if ( g_utf8_collate(path, _("Any")) == 0 || strcasecmp(path, "Any") ==0 || *path == '\0' ) | ||
| 36 | + /* FIXME: Do we really need to recognize "anY" (and translated form)? */ | ||
| 37 | + /* It's a bit more complicated than g_utf8_collate, but still much faster */ | ||
| 38 | + char *tmp1, *tmp2; | ||
| 39 | + tmp1 = g_utf8_casefold(path, -1); | ||
| 40 | + tmp2 = g_utf8_casefold(_("Any"), -1); /* FIXME: This should be done only once. */ | ||
| 41 | + if ( g_strcmp0(tmp1, tmp2) == 0 || g_ascii_strcasecmp(path, "Any") ==0 || *path == '\0' ) | ||
| 42 | /* consider "Any" (both translated or untranslated forms) and "" | ||
| 43 | as valid addressbook roots */ | ||
| 44 | folder_path_match.matched = TRUE; | ||
| 45 | else | ||
| 46 | folder_path_match.folder_path = g_strsplit( path, "/", 256 ); | ||
| 47 | + g_free(tmp1); | ||
| 48 | + g_free(tmp2); | ||
| 49 | } | ||
| 50 | |||
| 51 | addressbook_foldersel_load_data( addrIndex, &folder_path_match ); | ||
| 52 | diff -ur claws-mail-3.6.1.orig/src/addrgather.c claws-mail-3.6.1/src/addrgather.c | ||
| 53 | --- claws-mail-3.6.1.orig/src/addrgather.c 2008-09-09 19:10:50.000000000 +0200 | ||
| 54 | +++ claws-mail-3.6.1/src/addrgather.c 2008-11-14 14:27:12.000000000 +0100 | ||
| 55 | @@ -507,7 +507,7 @@ | ||
| 56 | for (i = 0; i < NUM_FIELDS; i++) { | ||
| 57 | gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(addrgather_dlg.checkHeader[i]), | ||
| 58 | FALSE); | ||
| 59 | - if (g_utf8_collate(_harv_headerNames_[i], HEADER_FROM) == 0) | ||
| 60 | + if (g_strcmp0(_harv_headerNames_[i], HEADER_FROM) == 0) | ||
| 61 | gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(addrgather_dlg.checkHeader[i]), | ||
| 62 | TRUE); | ||
| 63 | } | ||
| 64 | diff -ur claws-mail-3.6.1.orig/src/common/mgutils.c claws-mail-3.6.1/src/common/mgutils.c | ||
| 65 | --- claws-mail-3.6.1.orig/src/common/mgutils.c 2007-10-15 19:19:53.000000000 +0200 | ||
| 66 | +++ claws-mail-3.6.1/src/common/mgutils.c 2008-11-14 14:27:12.000000000 +0100 | ||
| 67 | @@ -356,7 +356,7 @@ | ||
| 68 | if( strlen( str ) > 0 ) { | ||
| 69 | node = list; | ||
| 70 | while( node ) { | ||
| 71 | - if( g_utf8_collate( str, node->data ) == 0 ) | ||
| 72 | + if( g_strcmp0( str, node->data ) == 0 ) | ||
| 73 | return FALSE; | ||
| 74 | node = g_slist_next( node ); | ||
| 75 | } | ||
| 76 | @@ -380,7 +380,7 @@ | ||
| 77 | if( strlen( str ) > 0 ) { | ||
| 78 | node = list; | ||
| 79 | while( node ) { | ||
| 80 | - if( g_utf8_collate( str, node->data ) == 0 ) | ||
| 81 | + if( g_strcmp0( str, node->data ) == 0 ) | ||
| 82 | return FALSE; | ||
| 83 | node = g_list_next( node ); | ||
| 84 | } | ||
| 85 | diff -ur claws-mail-3.6.1.orig/src/compose.c claws-mail-3.6.1/src/compose.c | ||
| 86 | --- claws-mail-3.6.1.orig/src/compose.c 2008-10-04 12:58:45.000000000 +0200 | ||
| 87 | +++ claws-mail-3.6.1/src/compose.c 2008-11-14 14:27:12.000000000 +0100 | ||
| 88 | @@ -2399,7 +2399,7 @@ | ||
| 89 | for (h_list = compose->header_list; h_list != NULL; h_list = h_list->next) { | ||
| 90 | entry = GTK_ENTRY(((ComposeHeaderEntry *)h_list->data)->entry); | ||
| 91 | if (gtk_entry_get_text(entry) && | ||
| 92 | - !g_utf8_collate(gtk_entry_get_text(entry), mailto)) { | ||
| 93 | + !g_strcmp0(gtk_entry_get_text(entry), mailto)) { | ||
| 94 | if (yellow_initialised) { | ||
| 95 | gtk_widget_modify_base( | ||
| 96 | GTK_WIDGET(((ComposeHeaderEntry *)h_list->data)->entry), | ||
| 97 | @@ -4858,7 +4858,7 @@ | ||
| 98 | headerentry = ((ComposeHeaderEntry *)list->data); | ||
| 99 | headerentryname = gtk_entry_get_text(GTK_ENTRY(gtk_bin_get_child(GTK_BIN((headerentry->combo))))); | ||
| 100 | |||
| 101 | - if (g_utf8_collate(headerentryname, to_hdr) == 0) { | ||
| 102 | + if (g_strcmp0(headerentryname, to_hdr) == 0) { | ||
| 103 | const gchar *entstr = gtk_entry_get_text(GTK_ENTRY(headerentry->entry)); | ||
| 104 | Xstrdup_a(str, entstr, return -1); | ||
| 105 | g_strstrip(str); | ||
| 106 | @@ -4886,7 +4886,7 @@ | ||
| 107 | headerentry = ((ComposeHeaderEntry *)list->data); | ||
| 108 | headerentryname = gtk_entry_get_text(GTK_ENTRY(gtk_bin_get_child(GTK_BIN((headerentry->combo))))); | ||
| 109 | |||
| 110 | - if (g_utf8_collate(headerentryname, cc_hdr) == 0) { | ||
| 111 | + if (g_strcmp0(headerentryname, cc_hdr) == 0) { | ||
| 112 | const gchar *strg = gtk_entry_get_text(GTK_ENTRY(headerentry->entry)); | ||
| 113 | Xstrdup_a(str, strg, return -1); | ||
| 114 | g_strstrip(str); | ||
| 115 | @@ -5760,7 +5760,7 @@ | ||
| 116 | headerentry = ((ComposeHeaderEntry *)list->data); | ||
| 117 | headerentryname = gtk_entry_get_text(GTK_ENTRY(gtk_bin_get_child(GTK_BIN((headerentry->combo))))); | ||
| 118 | |||
| 119 | - if (!g_utf8_collate(trans_fieldname, headerentryname)) { | ||
| 120 | + if (!g_strcmp0(trans_fieldname, headerentryname)) { | ||
| 121 | str = gtk_editable_get_chars(GTK_EDITABLE(headerentry->entry), 0, -1); | ||
| 122 | g_strstrip(str); | ||
| 123 | if (str[0] != '\0') { | ||
| 124 | diff -ur claws-mail-3.6.1.orig/src/customheader.c claws-mail-3.6.1/src/customheader.c | ||
| 125 | --- claws-mail-3.6.1.orig/src/customheader.c 2007-07-11 18:33:01.000000000 +0200 | ||
| 126 | +++ claws-mail-3.6.1/src/customheader.c 2008-11-14 14:27:12.000000000 +0100 | ||
| 127 | @@ -83,7 +83,7 @@ | ||
| 128 | |||
| 129 | for (cur = header_list; cur != NULL; cur = cur->next) { | ||
| 130 | chdr = (CustomHeader *)cur->data; | ||
| 131 | - if (!g_utf8_collate(chdr->name, header)) | ||
| 132 | + if (!g_strcmp0(chdr->name, header)) | ||
| 133 | return chdr; | ||
| 134 | } | ||
| 135 | |||
| 136 | diff -ur claws-mail-3.6.1.orig/src/exportldif.c claws-mail-3.6.1/src/exportldif.c | ||
| 137 | --- claws-mail-3.6.1.orig/src/exportldif.c 2007-10-04 19:36:26.000000000 +0200 | ||
| 138 | +++ claws-mail-3.6.1/src/exportldif.c 2008-11-14 14:27:12.000000000 +0100 | ||
| 139 | @@ -275,7 +275,7 @@ | ||
| 140 | UserAttribute *attrib = node->data; | ||
| 141 | |||
| 142 | node = g_list_next( node ); | ||
| 143 | - if( g_utf8_collate( attrib->name, LDIF_TAG_DN ) == 0 ) { | ||
| 144 | + if( g_strcmp0( attrib->name, LDIF_TAG_DN ) == 0 ) { | ||
| 145 | retVal = g_strdup( attrib->value ); | ||
| 146 | break; | ||
| 147 | } | ||
| 148 | diff -ur claws-mail-3.6.1.orig/src/gtk/combobox.c claws-mail-3.6.1/src/gtk/combobox.c | ||
| 149 | --- claws-mail-3.6.1.orig/src/gtk/combobox.c 2008-08-29 10:37:19.000000000 +0200 | ||
| 150 | +++ claws-mail-3.6.1/src/gtk/combobox.c 2008-11-14 14:27:12.000000000 +0100 | ||
| 151 | @@ -101,7 +101,7 @@ | ||
| 152 | const gchar *curdata; | ||
| 153 | |||
| 154 | gtk_tree_model_get (GTK_TREE_MODEL(model), iter, 0, &curdata, -1); | ||
| 155 | - if (!g_utf8_collate(data, curdata)) { | ||
| 156 | + if (!g_strcmp0(data, curdata)) { | ||
| 157 | gtk_combo_box_set_active_iter(combobox, iter); | ||
| 158 | return TRUE; | ||
| 159 | } | ||
| 160 | diff -ur claws-mail-3.6.1.orig/src/jpilot.c claws-mail-3.6.1/src/jpilot.c | ||
| 161 | --- claws-mail-3.6.1.orig/src/jpilot.c 2008-10-01 09:10:29.000000000 +0200 | ||
| 162 | +++ claws-mail-3.6.1/src/jpilot.c 2008-11-14 14:27:12.000000000 +0100 | ||
| 163 | @@ -1322,7 +1322,7 @@ | ||
| 164 | } | ||
| 165 | } | ||
| 166 | |||
| 167 | - if( g_utf8_collate( labelName, lbl ) == 0 ) { | ||
| 168 | + if( g_strcmp0( labelName, lbl ) == 0 ) { | ||
| 169 | ind = i; | ||
| 170 | break; | ||
| 171 | } | ||
| 172 | @@ -1640,7 +1640,7 @@ | ||
| 173 | if( labelName ) { | ||
| 174 | node = pilotFile->customLabels; | ||
| 175 | while( node ) { | ||
| 176 | - if( g_utf8_collate( labelName, ( gchar * ) node->data ) == 0 ) { | ||
| 177 | + if( g_strcmp0( labelName, ( gchar * ) node->data ) == 0 ) { | ||
| 178 | retVal = TRUE; | ||
| 179 | break; | ||
| 180 | } | ||
| 181 | diff -ur claws-mail-3.6.1.orig/src/ldapserver.c claws-mail-3.6.1/src/ldapserver.c | ||
| 182 | --- claws-mail-3.6.1.orig/src/ldapserver.c 2007-08-22 18:08:33.000000000 +0200 | ||
| 183 | +++ claws-mail-3.6.1/src/ldapserver.c 2008-11-14 14:27:12.000000000 +0100 | ||
| 184 | @@ -437,7 +437,7 @@ | ||
| 185 | /* Search backwards for query */ | ||
| 186 | while( node ) { | ||
| 187 | LdapQuery *qry = node->data; | ||
| 188 | - if( g_utf8_collate( ADDRQUERY_SEARCHVALUE(qry), searchTerm ) == 0 ) { | ||
| 189 | + if( g_strcmp0( ADDRQUERY_SEARCHVALUE(qry), searchTerm ) == 0 ) { | ||
| 190 | if( qry->agedFlag ) continue; | ||
| 191 | if( qry->completed ) { | ||
| 192 | /* Found */ | ||
| 193 | diff -ur claws-mail-3.6.1.orig/src/ldif.c claws-mail-3.6.1/src/ldif.c | ||
| 194 | --- claws-mail-3.6.1.orig/src/ldif.c 2008-08-06 21:38:36.000000000 +0200 | ||
| 195 | +++ claws-mail-3.6.1/src/ldif.c 2008-11-14 14:27:12.000000000 +0100 | ||
| 196 | @@ -536,19 +536,19 @@ | ||
| 197 | } | ||
| 198 | g_strstrip( val ); | ||
| 199 | |||
| 200 | - if( g_utf8_collate( nm, LDIF_TAG_COMMONNAME ) == 0 ) { | ||
| 201 | + if( g_strcmp0( nm, LDIF_TAG_COMMONNAME ) == 0 ) { | ||
| 202 | rec->listCName = g_slist_append( rec->listCName, val ); | ||
| 203 | } | ||
| 204 | - else if( g_utf8_collate( nm, LDIF_TAG_FIRSTNAME ) == 0 ) { | ||
| 205 | + else if( g_strcmp0( nm, LDIF_TAG_FIRSTNAME ) == 0 ) { | ||
| 206 | rec->listFName = g_slist_append( rec->listFName, val ); | ||
| 207 | } | ||
| 208 | - else if( g_utf8_collate( nm, LDIF_TAG_LASTNAME ) == 0 ) { | ||
| 209 | + else if( g_strcmp0( nm, LDIF_TAG_LASTNAME ) == 0 ) { | ||
| 210 | rec->listLName = g_slist_append( rec->listLName, val ); | ||
| 211 | } | ||
| 212 | - else if( g_utf8_collate( nm, LDIF_TAG_NICKNAME ) == 0 ) { | ||
| 213 | + else if( g_strcmp0( nm, LDIF_TAG_NICKNAME ) == 0 ) { | ||
| 214 | rec->listNName = g_slist_append( rec->listNName, val ); | ||
| 215 | } | ||
| 216 | - else if( g_utf8_collate( nm, LDIF_TAG_EMAIL ) == 0 ) { | ||
| 217 | + else if( g_strcmp0( nm, LDIF_TAG_EMAIL ) == 0 ) { | ||
| 218 | rec->listAddress = g_slist_append( rec->listAddress, val ); | ||
| 219 | } | ||
| 220 | else { | ||
| 221 | @@ -759,27 +759,27 @@ | ||
| 222 | gchar *key = g_strdup( tag ); | ||
| 223 | |||
| 224 | rec = ldif_create_fieldrec( tag ); | ||
| 225 | - if( g_utf8_collate( tag, LDIF_TAG_DN ) == 0 ) { | ||
| 226 | + if( g_strcmp0( tag, LDIF_TAG_DN ) == 0 ) { | ||
| 227 | rec->reserved = rec->selected = TRUE; | ||
| 228 | rec->userName = g_strdup( "dn" ); | ||
| 229 | } | ||
| 230 | - else if( g_utf8_collate( tag, LDIF_TAG_COMMONNAME ) == 0 ) { | ||
| 231 | + else if( g_strcmp0( tag, LDIF_TAG_COMMONNAME ) == 0 ) { | ||
| 232 | rec->reserved = rec->selected = TRUE; | ||
| 233 | rec->userName = g_strdup( _( "Display Name" ) ); | ||
| 234 | } | ||
| 235 | - else if( g_utf8_collate( tag, LDIF_TAG_FIRSTNAME ) == 0 ) { | ||
| 236 | + else if( g_strcmp0( tag, LDIF_TAG_FIRSTNAME ) == 0 ) { | ||
| 237 | rec->reserved = rec->selected = TRUE; | ||
| 238 | rec->userName = g_strdup( _( "First Name" ) ); | ||
| 239 | } | ||
| 240 | - else if( g_utf8_collate( tag, LDIF_TAG_LASTNAME ) == 0 ) { | ||
| 241 | + else if( g_strcmp0( tag, LDIF_TAG_LASTNAME ) == 0 ) { | ||
| 242 | rec->reserved = rec->selected = TRUE; | ||
| 243 | rec->userName = g_strdup( _( "Last Name" ) ); | ||
| 244 | } | ||
| 245 | - else if( g_utf8_collate( tag, LDIF_TAG_NICKNAME ) == 0 ) { | ||
| 246 | + else if( g_strcmp0( tag, LDIF_TAG_NICKNAME ) == 0 ) { | ||
| 247 | rec->reserved = rec->selected = TRUE; | ||
| 248 | rec->userName = g_strdup( _( "Nick Name" ) ); | ||
| 249 | } | ||
| 250 | - else if( g_utf8_collate( tag, LDIF_TAG_EMAIL ) == 0 ) { | ||
| 251 | + else if( g_strcmp0( tag, LDIF_TAG_EMAIL ) == 0 ) { | ||
| 252 | rec->reserved = rec->selected = TRUE; | ||
| 253 | rec->userName = g_strdup( _( "Email Address" ) ); | ||
| 254 | } | ||
| 255 | @@ -894,7 +894,7 @@ | ||
| 256 | /* Add tag to list */ | ||
| 257 | listTags = g_slist_append( listTags, tagName ); | ||
| 258 | |||
| 259 | - if( g_utf8_collate( | ||
| 260 | + if( g_strcmp0( | ||
| 261 | tagName, LDIF_TAG_EMAIL ) == 0 ) | ||
| 262 | { | ||
| 263 | flagMail = TRUE; | ||
| 264 | diff -ur claws-mail-3.6.1.orig/src/plugins/bogofilter/bogofilter_gtk.c claws-mail-3.6.1/src/plugins/bogofilter/bogofilter_gtk.c | ||
| 265 | --- claws-mail-3.6.1.orig/src/plugins/bogofilter/bogofilter_gtk.c 2008-09-09 19:10:52.000000000 +0200 | ||
| 266 | +++ claws-mail-3.6.1/src/plugins/bogofilter/bogofilter_gtk.c 2008-11-14 14:27:12.000000000 +0100 | ||
| 267 | @@ -296,7 +296,7 @@ | ||
| 268 | config->whitelist_ab_folder); | ||
| 269 | else | ||
| 270 | /* backward compatibility (when translated "Any" was stored) */ | ||
| 271 | - if (g_utf8_collate(config->whitelist_ab_folder, _("Any")) == 0) | ||
| 272 | + if (g_strcmp0(config->whitelist_ab_folder, _("Any")) == 0) | ||
| 273 | gtk_entry_set_text(GTK_ENTRY(gtk_bin_get_child(GTK_BIN((whitelist_ab_folder_combo)))), | ||
| 274 | config->whitelist_ab_folder); | ||
| 275 | else | ||
| 276 | @@ -373,7 +373,7 @@ | ||
| 277 | config->whitelist_ab_folder = gtk_editable_get_chars( | ||
| 278 | GTK_EDITABLE(gtk_bin_get_child(GTK_BIN((page->whitelist_ab_folder_combo)))), 0, -1); | ||
| 279 | /* store UNtranslated "Any" */ | ||
| 280 | - if (g_utf8_collate(config->whitelist_ab_folder, _("Any")) == 0) { | ||
| 281 | + if (g_strcmp0(config->whitelist_ab_folder, _("Any")) == 0) { | ||
| 282 | g_free(config->whitelist_ab_folder); | ||
| 283 | config->whitelist_ab_folder = g_strdup("Any"); | ||
| 284 | } | ||
| 285 | diff -ur claws-mail-3.6.1.orig/src/plugins/dillo_viewer/dillo_prefs.c claws-mail-3.6.1/src/plugins/dillo_viewer/dillo_prefs.c | ||
| 286 | --- claws-mail-3.6.1.orig/src/plugins/dillo_viewer/dillo_prefs.c 2008-08-07 18:38:59.000000000 +0200 | ||
| 287 | +++ claws-mail-3.6.1/src/plugins/dillo_viewer/dillo_prefs.c 2008-11-14 14:27:12.000000000 +0100 | ||
| 288 | @@ -209,7 +209,7 @@ | ||
| 289 | _("Any")); | ||
| 290 | else | ||
| 291 | /* backward compatibility (when translated "Any" was stored) */ | ||
| 292 | - if (g_utf8_collate(dillo_prefs.whitelist_ab_folder, _("Any")) == 0) | ||
| 293 | + if (g_strcmp0(dillo_prefs.whitelist_ab_folder, _("Any")) == 0) | ||
| 294 | gtk_entry_set_text(GTK_ENTRY(gtk_bin_get_child(GTK_BIN((whitelist_ab_folder_combo)))), | ||
| 295 | dillo_prefs.whitelist_ab_folder); | ||
| 296 | else | ||
| 297 | @@ -272,7 +272,7 @@ | ||
| 298 | dillo_prefs.whitelist_ab_folder = gtk_editable_get_chars( | ||
| 299 | GTK_EDITABLE(gtk_bin_get_child(GTK_BIN((prefs_page->whitelist_ab_folder_combo)))), 0, -1); | ||
| 300 | /* store UNtranslated "Any" */ | ||
| 301 | - if (g_utf8_collate(dillo_prefs.whitelist_ab_folder, _("Any")) == 0) { | ||
| 302 | + if (g_strcmp0(dillo_prefs.whitelist_ab_folder, _("Any")) == 0) { | ||
| 303 | g_free(dillo_prefs.whitelist_ab_folder); | ||
| 304 | dillo_prefs.whitelist_ab_folder = g_strdup("Any"); | ||
| 305 | } | ||
| 306 | diff -ur claws-mail-3.6.1.orig/src/plugins/spamassassin/spamassassin_gtk.c claws-mail-3.6.1/src/plugins/spamassassin/spamassassin_gtk.c | ||
| 307 | --- claws-mail-3.6.1.orig/src/plugins/spamassassin/spamassassin_gtk.c 2008-09-09 19:10:52.000000000 +0200 | ||
| 308 | +++ claws-mail-3.6.1/src/plugins/spamassassin/spamassassin_gtk.c 2008-11-14 14:27:12.000000000 +0100 | ||
| 309 | @@ -480,7 +480,7 @@ | ||
| 310 | config->whitelist_ab_folder); | ||
| 311 | else | ||
| 312 | /* backward compatibility (when translated "Any" was stored) */ | ||
| 313 | - if (g_utf8_collate(config->whitelist_ab_folder, _("Any")) == 0) | ||
| 314 | + if (g_strcmp0(config->whitelist_ab_folder, _("Any")) == 0) | ||
| 315 | gtk_entry_set_text(GTK_ENTRY(gtk_bin_get_child(GTK_BIN((whitelist_ab_folder_combo)))), | ||
| 316 | config->whitelist_ab_folder); | ||
| 317 | else | ||
| 318 | @@ -603,7 +603,7 @@ | ||
| 319 | config->whitelist_ab_folder = gtk_editable_get_chars( | ||
| 320 | GTK_EDITABLE(gtk_bin_get_child(GTK_BIN((page->whitelist_ab_folder_combo)))), 0, -1); | ||
| 321 | /* store UNtranslated "Any" */ | ||
| 322 | - if (g_utf8_collate(config->whitelist_ab_folder, _("Any")) == 0) { | ||
| 323 | + if (g_strcmp0(config->whitelist_ab_folder, _("Any")) == 0) { | ||
| 324 | g_free(config->whitelist_ab_folder); | ||
| 325 | config->whitelist_ab_folder = g_strdup("Any"); | ||
| 326 | } | ||
| 327 | diff -ur claws-mail-3.6.1.orig/src/prefs_matcher.c claws-mail-3.6.1/src/prefs_matcher.c | ||
| 328 | --- claws-mail-3.6.1.orig/src/prefs_matcher.c 2008-10-08 20:23:51.000000000 +0200 | ||
| 329 | +++ claws-mail-3.6.1/src/prefs_matcher.c 2008-11-14 14:27:12.000000000 +0100 | ||
| 330 | @@ -1484,10 +1484,10 @@ | ||
| 331 | if (*expr == '\0') { | ||
| 332 | gchar *tmp; | ||
| 333 | |||
| 334 | - if (g_utf8_collate(header, Q_("Filtering Matcher Menu|All")) == 0) | ||
| 335 | + if (g_strcmp0(header, Q_("Filtering Matcher Menu|All")) == 0) | ||
| 336 | tmp = g_strdup(_("all addresses in all headers")); | ||
| 337 | else | ||
| 338 | - if (g_utf8_collate(header, _("Any")) == 0) | ||
| 339 | + if (g_strcmp0(header, _("Any")) == 0) | ||
| 340 | tmp = g_strdup(_("any address in any header")); | ||
| 341 | else | ||
| 342 | tmp = g_strdup_printf(_("the address(es) in header '%s'"), header); | ||
| 343 | @@ -1499,12 +1499,12 @@ | ||
| 344 | return NULL; | ||
| 345 | } | ||
| 346 | /* store UNtranslated "Any"/"All" in matcher expressions */ | ||
| 347 | - if (g_utf8_collate(header, Q_("Filtering Matcher Menu|All")) == 0) | ||
| 348 | + if (g_strcmp0(header, Q_("Filtering Matcher Menu|All")) == 0) | ||
| 349 | header = "All"; | ||
| 350 | else | ||
| 351 | - if (g_utf8_collate(header, _("Any")) == 0) | ||
| 352 | + if (g_strcmp0(header, _("Any")) == 0) | ||
| 353 | header = "Any"; | ||
| 354 | - if (g_utf8_collate(expr, _("Any")) == 0) | ||
| 355 | + if (g_strcmp0(expr, _("Any")) == 0) | ||
| 356 | expr = "Any"; | ||
| 357 | break; | ||
| 358 | } | ||
| 359 | diff -ur claws-mail-3.6.1.orig/src/prefs_toolbar.c claws-mail-3.6.1/src/prefs_toolbar.c | ||
| 360 | --- claws-mail-3.6.1.orig/src/prefs_toolbar.c 2008-09-09 19:10:50.000000000 +0200 | ||
| 361 | +++ claws-mail-3.6.1/src/prefs_toolbar.c 2008-11-14 14:27:12.000000000 +0100 | ||
| 362 | @@ -391,7 +391,7 @@ | ||
| 363 | gtk_tree_model_get(model_set, &iter, | ||
| 364 | SET_EVENT, &entry, | ||
| 365 | -1); | ||
| 366 | - if (g_utf8_collate(chosen_action, entry) == 0) | ||
| 367 | + if (g_strcmp0(chosen_action, entry) == 0) | ||
| 368 | result = TRUE; | ||
| 369 | g_free(entry); | ||
| 370 | } while (!result && gtk_tree_model_iter_next(model_set, &iter)); | ||
| 371 | @@ -551,7 +551,7 @@ | ||
| 372 | prefs_toolbar->item_func_combo)); | ||
| 373 | |||
| 374 | if (is_duplicate(prefs_toolbar, icon_event) | ||
| 375 | - && g_utf8_collate(icon_event, set_event) != 0){ | ||
| 376 | + && g_strcmp0(icon_event, set_event) != 0){ | ||
| 377 | alertpanel_error(ERROR_MSG); | ||
| 378 | g_free(icon_event); | ||
| 379 | g_free(set_event); | ||
| 380 | @@ -1179,7 +1179,7 @@ | ||
| 381 | gtk_button_set_image(GTK_BUTTON(prefs_toolbar->icon_button), | ||
| 382 | gtk_image_new_from_pixbuf(pix)); | ||
| 383 | |||
| 384 | - if (g_utf8_collate(toolbar_ret_descr_from_val(A_SEPARATOR), descr) == 0) { | ||
| 385 | + if (g_strcmp0(toolbar_ret_descr_from_val(A_SEPARATOR), descr) == 0) { | ||
| 386 | gtk_button_set_label(GTK_BUTTON(prefs_toolbar->icon_button), | ||
| 387 | _("None")); | ||
| 388 | g_free(prefs_toolbar->item_icon_file); | ||
| 389 | @@ -1196,7 +1196,7 @@ | ||
| 390 | gtk_entry_set_text(GTK_ENTRY(prefs_toolbar->item_text_entry), | ||
| 391 | icon_text); | ||
| 392 | |||
| 393 | - if (g_utf8_collate(toolbar_ret_descr_from_val(A_CLAWS_ACTIONS), descr) == 0) { | ||
| 394 | + if (g_strcmp0(toolbar_ret_descr_from_val(A_CLAWS_ACTIONS), descr) == 0) { | ||
| 395 | gtk_combo_box_set_active(GTK_COMBO_BOX( | ||
| 396 | prefs_toolbar->item_type_combo), ITEM_USER_ACTION); | ||
| 397 | |||
| 398 | @@ -1205,7 +1205,7 @@ | ||
| 399 | gchar *item_string; | ||
| 400 | get_action_name((gchar *)cur2->data, &item_string); | ||
| 401 | |||
| 402 | - if(g_utf8_collate(item_string, icon_text) == 0) { | ||
| 403 | + if(g_strcmp0(item_string, icon_text) == 0) { | ||
| 404 | gtk_combo_box_set_active( | ||
| 405 | GTK_COMBO_BOX(prefs_toolbar->item_action_combo), | ||
| 406 | item_num); | ||
| 407 | @@ -1231,7 +1231,7 @@ | ||
| 408 | for (cur = prefs_toolbar->combo_action_list, item_num = 0; cur != NULL; | ||
| 409 | cur = cur->next) { | ||
| 410 | gchar *item_str = (gchar*)cur->data; | ||
| 411 | - if (g_utf8_collate(item_str, descr) == 0) { | ||
| 412 | + if (g_strcmp0(item_str, descr) == 0) { | ||
| 413 | gtk_combo_box_set_active( | ||
| 414 | GTK_COMBO_BOX(prefs_toolbar->item_func_combo), | ||
| 415 | item_num); | ||
| 416 | diff -ur claws-mail-3.6.1.orig/src/procmime.c claws-mail-3.6.1/src/procmime.c | ||
| 417 | --- claws-mail-3.6.1.orig/src/procmime.c 2008-10-01 09:10:29.000000000 +0200 | ||
| 418 | +++ claws-mail-3.6.1/src/procmime.c 2008-11-14 14:27:12.000000000 +0100 | ||
| 419 | @@ -1020,14 +1020,6 @@ | ||
| 420 | return hash_result; | ||
| 421 | } | ||
| 422 | |||
| 423 | -static gint procmime_str_equal(gconstpointer gptr1, gconstpointer gptr2) | ||
| 424 | -{ | ||
| 425 | - const char *str1 = gptr1; | ||
| 426 | - const char *str2 = gptr2; | ||
| 427 | - | ||
| 428 | - return !g_utf8_collate(str1, str2); | ||
| 429 | -} | ||
| 430 | - | ||
| 431 | static GHashTable *procmime_get_mime_type_table(void) | ||
| 432 | { | ||
| 433 | GHashTable *table = NULL; | ||
| 434 | @@ -1040,7 +1032,7 @@ | ||
| 435 | if (!mime_type_list) return NULL; | ||
| 436 | } | ||
| 437 | |||
| 438 | - table = g_hash_table_new(procmime_str_hash, procmime_str_equal); | ||
| 439 | + table = g_hash_table_new(procmime_str_hash, g_str_equal); | ||
| 440 | |||
| 441 | for (cur = mime_type_list; cur != NULL; cur = cur->next) { | ||
| 442 | gint i; | ||
| 443 | diff -ur claws-mail-3.6.1.orig/src/summaryview.c claws-mail-3.6.1/src/summaryview.c | ||
| 444 | --- claws-mail-3.6.1.orig/src/summaryview.c 2008-10-09 20:17:53.000000000 +0200 | ||
| 445 | +++ claws-mail-3.6.1/src/summaryview.c 2008-11-14 14:27:12.000000000 +0100 | ||
| 446 | @@ -4240,7 +4240,7 @@ | ||
| 447 | g_strdup_printf("%s", | ||
| 448 | account->address); | ||
| 449 | |||
| 450 | - if (g_utf8_collate(from_name, msginfo->from) == 0) { | ||
| 451 | + if (g_strcmp0(from_name, msginfo->from) == 0) { | ||
| 452 | g_free(from_name); | ||
| 453 | found = TRUE; | ||
| 454 | break; | ||
| 455 | diff -ur claws-mail-3.6.1.orig/src/toolbar.c claws-mail-3.6.1/src/toolbar.c | ||
| 456 | --- claws-mail-3.6.1.orig/src/toolbar.c 2008-09-13 12:07:43.000000000 +0200 | ||
| 457 | +++ claws-mail-3.6.1/src/toolbar.c 2008-11-14 14:39:07.000000000 +0100 | ||
| 458 | @@ -236,7 +236,7 @@ | ||
| 459 | gint i; | ||
| 460 | |||
| 461 | for (i = 0; i < N_ACTION_VAL; i++) { | ||
| 462 | - if (g_utf8_collate(gettext(toolbar_text[i].descr), descr) == 0) | ||
| 463 | + if (g_strcmp0(gettext(toolbar_text[i].descr), descr) == 0) | ||
| 464 | return i; | ||
| 465 | } | ||
| 466 | |||
| 467 | @@ -255,7 +255,7 @@ | ||
| 468 | gint i; | ||
| 469 | |||
| 470 | for (i = 0; i < N_ACTION_VAL; i++) { | ||
| 471 | - if (g_utf8_collate(toolbar_text[i].index_str, text) == 0) | ||
| 472 | + if (g_strcmp0(toolbar_text[i].index_str, text) == 0) | ||
| 473 | return i; | ||
| 474 | } | ||
| 475 | |||
| 476 | @@ -346,11 +346,11 @@ | ||
| 477 | name = ((XMLAttr *)attr->data)->name; | ||
| 478 | value = ((XMLAttr *)attr->data)->value; | ||
| 479 | |||
| 480 | - if (g_utf8_collate(name, TOOLBAR_ICON_FILE) == 0) | ||
| 481 | + if (g_strcmp0(name, TOOLBAR_ICON_FILE) == 0) | ||
| 482 | item->file = g_strdup (value); | ||
| 483 | - else if (g_utf8_collate(name, TOOLBAR_ICON_TEXT) == 0) | ||
| 484 | + else if (g_strcmp0(name, TOOLBAR_ICON_TEXT) == 0) | ||
| 485 | item->text = g_strdup (gettext(value)); | ||
| 486 | - else if (g_utf8_collate(name, TOOLBAR_ICON_ACTION) == 0) | ||
| 487 | + else if (g_strcmp0(name, TOOLBAR_ICON_ACTION) == 0) | ||
| 488 | item->index = toolbar_ret_val_from_text(value); | ||
| 489 | if (item->index == -1 && !strcmp(value, "A_DELETE")) { | ||
| 490 | /* switch button */ | ||
| 491 | @@ -821,7 +821,7 @@ | ||
| 492 | |||
| 493 | action_p = strstr(action, ": "); | ||
| 494 | action_p[0] = 0x00; | ||
| 495 | - if (g_utf8_collate(act->name, action) == 0) { | ||
| 496 | + if (g_strcmp0(act->name, action) == 0) { | ||
| 497 | found = TRUE; | ||
| 498 | g_free(action); | ||
| 499 | break; | ||
| 500 | diff -ur claws-mail-3.6.1.orig/src/vcard.c claws-mail-3.6.1/src/vcard.c | ||
| 501 | --- claws-mail-3.6.1.orig/src/vcard.c 2008-08-06 21:38:43.000000000 +0200 | ||
| 502 | +++ claws-mail-3.6.1/src/vcard.c 2008-11-14 14:27:12.000000000 +0100 | ||
| 503 | @@ -348,7 +348,7 @@ | ||
| 504 | str = nodeRemarks->data; | ||
| 505 | if( nodeRemarks ) { | ||
| 506 | if( str ) { | ||
| 507 | - if( g_utf8_collate( str, "internet" ) != 0 ) { | ||
| 508 | + if( g_strcmp0( str, "internet" ) != 0 ) { | ||
| 509 | if( *str != '\0' ) | ||
| 510 | addritem_email_set_remarks( email, str ); | ||
| 511 | } | ||
| 512 | @@ -442,7 +442,7 @@ | ||
| 513 | /* g_print( "\ttype: %s\n", tagtype ); */ | ||
| 514 | /* g_print( "\tvalue: %s\n", tagvalue ); */ | ||
| 515 | |||
| 516 | - if( g_utf8_collate( tagtype, VCARD_TYPE_QP ) == 0 ) { | ||
| 517 | + if( g_strcmp0( tagtype, VCARD_TYPE_QP ) == 0 ) { | ||
| 518 | gchar *tmp; | ||
| 519 | /* Quoted-Printable: could span multiple lines */ | ||
| 520 | tagvalue = vcard_read_qp( cardFile, tagvalue ); | ||
| 521 | @@ -452,26 +452,26 @@ | ||
| 522 | /* g_print( "QUOTED-PRINTABLE !!! final\n>%s<\n", tagvalue ); */ | ||
| 523 | } | ||
| 524 | |||
| 525 | - if( g_utf8_collate( tagname, VCARD_TAG_START ) == 0 && | ||
| 526 | + if( g_strcmp0( tagname, VCARD_TAG_START ) == 0 && | ||
| 527 | g_ascii_strcasecmp( tagvalue, VCARD_NAME ) == 0 ) { | ||
| 528 | /* g_print( "start card\n" ); */ | ||
| 529 | vcard_free_lists( listName, listAddress, listRemarks, listID ); | ||
| 530 | listName = listAddress = listRemarks = listID = NULL; | ||
| 531 | } | ||
| 532 | - if( g_utf8_collate( tagname, VCARD_TAG_FULLNAME ) == 0 ) { | ||
| 533 | + if( g_strcmp0( tagname, VCARD_TAG_FULLNAME ) == 0 ) { | ||
| 534 | /* g_print( "- full name: %s\n", tagvalue ); */ | ||
| 535 | listName = g_slist_append( listName, g_strdup( tagvalue ) ); | ||
| 536 | } | ||
| 537 | - if( g_utf8_collate( tagname, VCARD_TAG_EMAIL ) == 0 ) { | ||
| 538 | + if( g_strcmp0( tagname, VCARD_TAG_EMAIL ) == 0 ) { | ||
| 539 | /* g_print( "- address: %s\n", tagvalue ); */ | ||
| 540 | listAddress = g_slist_append( listAddress, g_strdup( tagvalue ) ); | ||
| 541 | listRemarks = g_slist_append( listRemarks, g_strdup( tagtype ) ); | ||
| 542 | } | ||
| 543 | - if( g_utf8_collate( tagname, VCARD_TAG_UID ) == 0 ) { | ||
| 544 | + if( g_strcmp0( tagname, VCARD_TAG_UID ) == 0 ) { | ||
| 545 | /* g_print( "- id: %s\n", tagvalue ); */ | ||
| 546 | listID = g_slist_append( listID, g_strdup( tagvalue ) ); | ||
| 547 | } | ||
| 548 | - if( g_utf8_collate( tagname, VCARD_TAG_END ) == 0 && | ||
| 549 | + if( g_strcmp0( tagname, VCARD_TAG_END ) == 0 && | ||
| 550 | g_ascii_strcasecmp( tagvalue, VCARD_NAME ) == 0 ) { | ||
| 551 | /* vCard is complete */ | ||
| 552 | /* g_print( "end card\n--\n" ); */ | ||
| 553 | @@ -659,7 +659,7 @@ | ||
| 554 | tagtemp = NULL; | ||
| 555 | } | ||
| 556 | |||
| 557 | - if( g_utf8_collate( tagtype, VCARD_TYPE_QP ) == 0 ) { | ||
| 558 | + if( g_strcmp0( tagtype, VCARD_TYPE_QP ) == 0 ) { | ||
| 559 | gchar *tmp; | ||
| 560 | /* Quoted-Printable: could span multiple lines */ | ||
| 561 | tagvalue = vcard_read_qp( cardFile, tagvalue ); | ||
| 562 | @@ -667,11 +667,11 @@ | ||
| 563 | g_free(tagvalue); | ||
| 564 | tagvalue=tmp; | ||
| 565 | } | ||
| 566 | - if( g_utf8_collate( tagname, VCARD_TAG_START ) == 0 && | ||
| 567 | + if( g_strcmp0( tagname, VCARD_TAG_START ) == 0 && | ||
| 568 | g_ascii_strcasecmp( tagvalue, VCARD_NAME ) == 0 ) { | ||
| 569 | haveStart = TRUE; | ||
| 570 | } | ||
| 571 | - if( g_utf8_collate( tagname, VCARD_TAG_END ) == 0 && | ||
| 572 | + if( g_strcmp0( tagname, VCARD_TAG_END ) == 0 && | ||
| 573 | g_ascii_strcasecmp( tagvalue, VCARD_NAME ) == 0 ) { | ||
| 574 | /* vCard is complete */ | ||
| 575 | if( haveStart ) cardFile->retVal = MGU_SUCCESS; | ||
diff --git a/meta-oe/recipes-sato/claws-mail/claws-mail-3.6.1/desktop.patch b/meta-oe/recipes-sato/claws-mail/claws-mail-3.6.1/desktop.patch deleted file mode 100644 index c5ed7a9c7d..0000000000 --- a/meta-oe/recipes-sato/claws-mail/claws-mail-3.6.1/desktop.patch +++ /dev/null | |||
| @@ -1,19 +0,0 @@ | |||
| 1 | Index: claws-mail-2.9.1/claws-mail.desktop | ||
| 2 | =================================================================== | ||
| 3 | --- claws-mail-2.9.1.orig/claws-mail.desktop 2007-04-24 17:40:20.000000000 +0100 | ||
| 4 | +++ claws-mail-2.9.1/claws-mail.desktop 2007-04-25 07:08:36.000000000 +0100 | ||
| 5 | @@ -1,11 +1,11 @@ | ||
| 6 | [Desktop Entry] | ||
| 7 | Encoding=UTF-8 | ||
| 8 | -Name=Claws Mail | ||
| 9 | +Name=Mail | ||
| 10 | Exec=claws-mail | ||
| 11 | Icon=claws-mail | ||
| 12 | -Info="Claws Mail" | ||
| 13 | +Info=Email Application | ||
| 14 | Categories=GTK;Network;Email; | ||
| 15 | -Comment="Gtk+ based Mail Client" | ||
| 16 | +Comment=Email Application | ||
| 17 | Terminal=false | ||
| 18 | Type=Application | ||
| 19 | StartupNotify=true | ||
diff --git a/meta-oe/recipes-sato/claws-mail/claws-mail-3.6.1/duplicate-header.patch b/meta-oe/recipes-sato/claws-mail/claws-mail-3.6.1/duplicate-header.patch deleted file mode 100644 index 3c25ca1da2..0000000000 --- a/meta-oe/recipes-sato/claws-mail/claws-mail-3.6.1/duplicate-header.patch +++ /dev/null | |||
| @@ -1,10 +0,0 @@ | |||
| 1 | --- claws-mail-3.6.1/src/gtk/Makefile.am-orig 2008-10-10 00:17:55.000000000 -0700 | ||
| 2 | +++ claws-mail-3.6.1/src/gtk/Makefile.am 2010-03-28 16:08:40.000000000 -0700 | ||
| 3 | @@ -62,7 +62,6 @@ clawsgtkinclude_HEADERS = \ | ||
| 4 | menu.h \ | ||
| 5 | pluginwindow.h \ | ||
| 6 | prefswindow.h \ | ||
| 7 | - gtkvscrollbutton.h \ | ||
| 8 | progressdialog.h \ | ||
| 9 | quicksearch.h \ | ||
| 10 | sslcertwindow.h \ | ||
diff --git a/meta-oe/recipes-sato/claws-mail/claws-mail-3.6.1/glib-2.32.patch b/meta-oe/recipes-sato/claws-mail/claws-mail-3.6.1/glib-2.32.patch deleted file mode 100644 index c0faedb303..0000000000 --- a/meta-oe/recipes-sato/claws-mail/claws-mail-3.6.1/glib-2.32.patch +++ /dev/null | |||
| @@ -1,11 +0,0 @@ | |||
| 1 | --- claws-mail-3.6.1.orig/src/common/defs.h 2007-12-18 09:20:54.000000000 +0100 | ||
| 2 | +++ claws-mail-3.6.1/src/common/defs.h 2012-05-06 08:17:56.049692494 +0200 | ||
| 3 | @@ -24,8 +24,6 @@ | ||
| 4 | # include "config.h" | ||
| 5 | #endif | ||
| 6 | |||
| 7 | -#include <glibconfig.h> | ||
| 8 | - | ||
| 9 | #ifdef G_OS_WIN32 | ||
| 10 | # include <glib/gwin32.h> | ||
| 11 | #endif | ||
diff --git a/meta-oe/recipes-sato/claws-mail/claws-mail_3.6.1.bb b/meta-oe/recipes-sato/claws-mail/claws-mail_3.9.0.bb index 3c858d083e..318d6c97ed 100644 --- a/meta-oe/recipes-sato/claws-mail/claws-mail_3.6.1.bb +++ b/meta-oe/recipes-sato/claws-mail/claws-mail_3.9.0.bb | |||
| @@ -4,23 +4,14 @@ DEPENDS = "gtk+ libetpan openssl aspell" | |||
| 4 | LICENSE = "GPLv3" | 4 | LICENSE = "GPLv3" |
| 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=e059bde2972c1790af786f3e86bac22e" | 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=e059bde2972c1790af786f3e86bac22e" |
| 6 | 6 | ||
| 7 | PR = "r1" | ||
| 8 | 7 | ||
| 9 | inherit autotools pkgconfig gettext | 8 | inherit autotools pkgconfig gettext |
| 10 | 9 | ||
| 11 | # translation patch: http://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=1774 | 10 | # translation patch: http://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=1774 |
| 12 | SRC_URI = "\ | 11 | SRC_URI = "\ |
| 13 | ${SOURCEFORGE_MIRROR}/sylpheed-claws/claws-mail-${PV}.tar.bz2;name=archive \ | 12 | ${SOURCEFORGE_MIRROR}/sylpheed-claws/claws-mail-${PV}.tar.bz2;name=archive " |
| 14 | http://www.penguin.cz/~utx/ftp/claws-mail/claws-mail-${PV}-po-update.patch;name=patch \ | 13 | SRC_URI[archive.md5sum] = "4c5ac7b21f0ed17d0f6404124c2229a4" |
| 15 | file://desktop.patch \ | 14 | SRC_URI[archive.sha256sum] = "ed70975a5056b3ffc4fe6e977f0d9606febc1499763c090241b029a73ff24e65" |
| 16 | file://claws-mail-g_strcmp0.patch \ | ||
| 17 | file://duplicate-header.patch \ | ||
| 18 | file://glib-2.32.patch \ | ||
| 19 | " | ||
| 20 | SRC_URI[archive.md5sum] = "761b8ae2d574588460a0fb1ea4931ccb" | ||
| 21 | SRC_URI[archive.sha256sum] = "67337a4a1a5a5ce09f2a38422b7a6fc481e4747f74d4ddedd130d4fb06fc3907" | ||
| 22 | SRC_URI[patch.md5sum] = "e8ff3fabf1ed47f3b11a9cdc36b026bd" | ||
| 23 | SRC_URI[patch.sha256sum] = "767258dd7c966e14ed519affe4c0da93e8fff66ee5fe9158413c8d163af72db8" | ||
| 24 | 15 | ||
| 25 | do_configure_append() { | 16 | do_configure_append() { |
| 26 | cd po ; for PO in *.po ; do MO=`echo $PO | sed s/\\.po//`.gmo ; if ! test -f $MO ; then msgfmt $PO -o $MO ; fi ; done | 17 | cd po ; for PO in *.po ; do MO=`echo $PO | sed s/\\.po//`.gmo ; if ! test -f $MO ; then msgfmt $PO -o $MO ; fi ; done |
| @@ -59,4 +50,4 @@ do_install_append() { | |||
| 59 | sed -i 's/Icon=[^.]*$/&.png/' ${D}${datadir}/applications/claws-mail.desktop | 50 | sed -i 's/Icon=[^.]*$/&.png/' ${D}${datadir}/applications/claws-mail.desktop |
| 60 | } | 51 | } |
| 61 | 52 | ||
| 62 | RSUGGESTS_${PN} = "claws-plugin-gtkhtml2-viewer claws-plugin-mailmbox claws-plugin-rssyl" | 53 | RSUGGESTS_${PN} = "claws-plugin-gtkhtml2-viewer claws-plugin-mailmbox claws-plugin-rssyl" |
