summaryrefslogtreecommitdiff
path: root/recipes/balsa/balsa-2.4.0
diff options
context:
space:
mode:
authorStanislav Brabec <utx@penguin.cz>2009-07-01 22:14:07 +0000
committerutx@penguin.cz <utx@penguin.cz>2009-07-01 22:14:07 +0000
commit11ac596fc326167f02186b8b50026c401896a137 (patch)
tree227b6ce7ca1116264e4010e66f50419f79c56af9 /recipes/balsa/balsa-2.4.0
parent486d524cfa02e2ba52219a76734f18967fbcf04a (diff)
balsa: Updated to version 2.4.0.
Diffstat (limited to 'recipes/balsa/balsa-2.4.0')
-rw-r--r--recipes/balsa/balsa-2.4.0/balsa-no-spell.patch53
-rw-r--r--recipes/balsa/balsa-2.4.0/balsa-touch.patch11
2 files changed, 64 insertions, 0 deletions
diff --git a/recipes/balsa/balsa-2.4.0/balsa-no-spell.patch b/recipes/balsa/balsa-2.4.0/balsa-no-spell.patch
new file mode 100644
index 0000000000..52780040a9
--- /dev/null
+++ b/recipes/balsa/balsa-2.4.0/balsa-no-spell.patch
@@ -0,0 +1,53 @@
+WARNING! This patch is buggy!
+It fixes compilation without gtkspell and breaks compilation with gtkspell.
+Index: balsa-2.4.0/src/Makefile.am
+===================================================================
+--- balsa-2.4.0.orig/src/Makefile.am
++++ balsa-2.4.0/src/Makefile.am
+@@ -87,13 +87,13 @@ balsa_print_source = print-gtk.c \
+ balsa-print-object-text.h
+
+ if BUILD_WITH_GTKSPELL
+-balsa_gtkspell_extra =
+-balsa_gtkspell_extra_dist = \
++balsa_gtkspell_extra_dist =
++balsa_gtkspell_extra = \
+ spell-check.c \
+ spell-check.h
+ else
+-balsa_gtkspell_extra_dist =
+-balsa_gtkspell_extra = \
++balsa_gtkspell_extra =
++balsa_gtkspell_extra_dist = \
+ spell-check.c \
+ spell-check.h
+ endif
+Index: balsa-2.4.0/src/sendmsg-window.c
+===================================================================
+--- balsa-2.4.0.orig/src/sendmsg-window.c
++++ balsa-2.4.0/src/sendmsg-window.c
+@@ -366,7 +366,7 @@ static const GtkActionEntry entries[] =
+ NULL, G_CALLBACK(insert_signature_cb)},
+ {"QuoteMessages", NULL, N_("_Quote Message(s)"), NULL,
+ NULL, G_CALLBACK(quote_messages_cb)},
+-#if !HAVE_GTKSPELL
++#if HAVE_GTKSPELL
+ {"CheckSpelling", GTK_STOCK_SPELL_CHECK, N_("C_heck Spelling"), NULL,
+ N_("Check the spelling of the message"),
+ G_CALLBACK(spell_check_cb)},
+@@ -6559,7 +6559,6 @@ spell_check_menu_cb(GtkToggleAction * ac
+ sw_spell_detach(bsmsg);
+ }
+
+-#else /* HAVE_GTKSPELL */
+ /* spell_check_cb
+ *
+ * Start the spell check
+@@ -6605,6 +6604,7 @@ spell_check_cb(GtkAction * action, Balsa
+ balsa_spell_check_start(sc, GTK_WINDOW(bsmsg->window));
+ }
+
++#else /* HAVE_GTKSPELL */
+ static void
+ sw_spell_check_response(BalsaSpellCheck * spell_check, gint response,
+ BalsaSendmsg * bsmsg)
diff --git a/recipes/balsa/balsa-2.4.0/balsa-touch.patch b/recipes/balsa/balsa-2.4.0/balsa-touch.patch
new file mode 100644
index 0000000000..16b0a68eeb
--- /dev/null
+++ b/recipes/balsa/balsa-2.4.0/balsa-touch.patch
@@ -0,0 +1,11 @@
+--- balsa-2.4.0/src/main-window.c
++++ balsa-2.4.0/src/main-window.c
+@@ -375,7 +375,7 @@
+ G_CALLBACK(mailbox_conf_add_mbox_cb)},
+ {"NewMaildir", GTK_STOCK_ADD, N_("New \"Maildir\" mailbox..."), NULL,
+ N_("Add a new Maildir style mailbox"),
+- G_CALLBACK(bw_mailbox_conf_add_maildir_cb)},
++ G_CALLBACK(mailbox_conf_add_maildir_cb)},
+ {"NewMH", GTK_STOCK_ADD, N_("New \"MH\" mailbox..."), NULL,
+ N_("Add a new MH style mailbox"), G_CALLBACK(mailbox_conf_add_mh_cb)},
+ #endif /* ENABLE_TOUCH_UI */