balsa-2.4.1: Depends on gnome-icon-theme.
authorStanislav Brabec <utx@penguin.cz>
Wed, 4 Nov 2009 22:05:08 +0000 (22:05 +0000)
committerutx@penguin.cz <utx@penguin.cz>
Wed, 4 Nov 2009 22:05:08 +0000 (22:05 +0000)
recipes/balsa/balsa-2.4.1/gnome-icon-theme.patch [new file with mode: 0644]
recipes/balsa/balsa_2.4.1.bb

diff --git a/recipes/balsa/balsa-2.4.1/gnome-icon-theme.patch b/recipes/balsa/balsa-2.4.1/gnome-icon-theme.patch
new file mode 100644 (file)
index 0000000..7e16171
--- /dev/null
@@ -0,0 +1,27 @@
+https://bugzilla.gnome.org/show_bug.cgi?id=596309
+Index: balsa-2.4.1/src/balsa-app.c
+===================================================================
+--- balsa-2.4.1.orig/src/balsa-app.c
++++ balsa-2.4.1/src/balsa-app.c
+@@ -436,6 +436,9 @@ balsa_app_init(void)
+     /* Message filing */
+     balsa_app.folder_mru=NULL;
+     balsa_app.fcc_mru=NULL;
++
++    g_object_set (gtk_settings_get_default (),
++                "gtk-fallback-icon-theme", "gnome", NULL);
+ }
+ void
+Index: balsa-2.4.1/configure.in
+===================================================================
+--- balsa-2.4.1.orig/configure.in
++++ balsa-2.4.1/configure.in
+@@ -329,6 +329,7 @@ glib-2.0 >= 2.16.0
+ gtk+-2.0 >= 2.14.0
+ gmime-2.4
+ gio-2.0
++gnome-icon-theme
+ $gnome_extras
+ ])
index c66ec5a..59b0b10 100644 (file)
@@ -2,9 +2,12 @@ DESCRIPTION = "Robust and configurable e-mail client for GNOME"
 HOMEPAGE = "http://pawsa.fedorapeople.org/balsa/"
 SECTION = "x11/network"
 LICENSE = "GPL"
-SRC_URI = "http://pawsa.fedorapeople.org/balsa/${P}.tar.bz2"
+SRC_URI = "http://pawsa.fedorapeople.org/balsa/${P}.tar.bz2 \
+          file://gnome-icon-theme.patch;patch=1"
+PR = "r1"
 
-DEPENDS = "glib-2.0 libgmime-2.4 gtk+ intltool-native libesmtp libxml-parser-perl-native"
+DEPENDS = "glib-2.0 libgmime-2.4 gnome-icon-theme gtk+ intltool-native libesmtp libxml-parser-perl-native"
+RDEPENDS_${PN} = "gnome-icon-theme"
 # FIXME: It is possible to build several variants of balsa: lite (SSL, gqlite/GPE, maybe HTML),
 # standard (GNOME, spell checking, HTML), full (Kerberos, LDAP, PGP, Rubrica, X-Face)