Re: Balsa GTK+3 port



Sorry for late reply :)

I have compiled with --with-gnome=no and --without-gtkspell, but it is still linking against gtk2.

I workaround it the issue related to GtkCallbackMarshall with this patch:

diff --git a/src/ab-main.c b/src/ab-main.c
index ad372e3..ea0d364 100644
--- a/src/ab-main.c
+++ b/src/ab-main.c
@@ -19,6 +19,10 @@
  * 02111-1307, USA.
  */

+/* missing GtkCallbackMarshal */
+#undef GTK_DISABLE_DEPRECATED
+
+
 #if defined(HAVE_CONFIG_H) && HAVE_CONFIG_H
 # include "config.h"
 #endif                          /* HAVE_CONFIG_H */
diff --git a/src/main-window.c b/src/main-window.c
index d01489f..f1d5da7 100644
--- a/src/main-window.c
+++ b/src/main-window.c
@@ -27,6 +27,9 @@
  * more self-contained.  pb
  */

+/* missing GtkCallbackMarshal */
+#undef GTK_DISABLE_DEPRECATED
+
 #if defined(HAVE_CONFIG_H) && HAVE_CONFIG_H
 # include "config.h"
 #endif                          /* HAVE_CONFIG_H */
@@ -70,6 +73,7 @@
 #include "toolbar-factory.h"

 #if HAVE_GNOME
+
 #include <gnome.h> /* for gnome_triggers_do() */
 #endif

diff --git a/src/main.c b/src/main.c
index 76897c4..e07868c 100644
--- a/src/main.c
+++ b/src/main.c
@@ -18,6 +18,9 @@
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
  * 02111-1307, USA.
  */
+/* missing GtkCallbackMarshal */
+#undef GTK_DISABLE_DEPRECATED
+

 #if defined(HAVE_CONFIG_H) && HAVE_CONFIG_H
 # include "config.h"
diff --git a/src/toolbar-prefs.c b/src/toolbar-prefs.c
index db38b5b..e91a301 100644
--- a/src/toolbar-prefs.c
+++ b/src/toolbar-prefs.c
@@ -19,6 +19,10 @@
  * 02111-1307, USA.
  */

+/* missing GtkCallbackMarshal */
+#undef GTK_DISABLE_DEPRECATED
+
+
 #if defined(HAVE_CONFIG_H) && HAVE_CONFIG_H
 # include "config.h"
 #endif                          /* HAVE_CONFIG_H */


On 06/21/11 00:21, Peter Bloomfield wrote:
Hi Pancake!

On 06/20/2011 09:08:31 AM Mon, pancake wrote:
I just got the origin/gtk3 branch..

$ git config -l
core.repositoryformatversion=0
core.filemode=true
core.bare=false
core.logallrefupdates=true
remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
remote.origin.url=git://git.gnome.org/balsa
branch.master.remote=origin
branch.master.merge=refs/heads/master
branch.origin/gtk3.remote=origin
branch.origin/gtk3.merge=refs/heads/master


make clean ; sh autogen.sh --prefix=/usr --with-gnome=no

and the resulting binary:

$ ldd src/balsa | grep gtk
libgtkhtml-3.14.so.19 => /usr/lib/libgtkhtml-3.14.so.19 (0xb76d2000)
        libgtkspell.so.0 => /usr/lib/libgtkspell.so.0 (0xb767c000)
        libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0xb7220000)

so.. it's not using gtk3... i used with --with-gnome=no because it was not building because it was the deprecated GtkCallbackMarshal.. so i understand it takes the include files.. but linking is wrong?

GtkSpell is poison--pulls in the gtk2 libs--you'll need to configure --without it. Check the configure output--there should be a warning.

You may also need a later GtkHTML; I have /usr/lib/libgtkhtml-4.0.so from gtkhtml3-devel-4.0.1-1.fc15.i686. The one you have may also be linked against gtk2. We might need to check that in configure.

I'm puzzled by the GtkCallbackMarshal issue. I've seen that, but as I recall it, I was trying to build from master with recent gtk2 headers.

Anyway, write again when you've tried a few things!

Best,

Peter


_______________________________________________
balsa-list mailing list
balsa-list gnome org
http://mail.gnome.org/mailman/listinfo/balsa-list



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]