Home » Uncategorized » gtk3, Webkit, gitg

gtk3, Webkit, gitg

gtk3 don’t need atk-bridge, ATM.
vi gtk/a11y/gtkaccessibility.c

#ifdef GDK_WINDOWING_X11
//atk_bridge_adaptor_cleanup ();
#endif

#ifdef GDK_WINDOWING_X11
//atk_bridge_adaptor_init (NULL, NULL);
#endi

webkit
forbid, namespace error
add #include [WebCore/FloatPoint.h]

gitg
vi configure.ac

PKG_CHECK_MODULES(LIBGITG_GTK, [
gtk+-3.0 >= $GTK_REQUIRED_VERSION
webkit2gtk-3.0 >= $WEBKITGTK_REQUIRED_VERSION
– gee-1.0
+ gee-0.8
json-glib-1.0
])

vi plugins/history/gitg-history.vala
– d_selected = new Gee.HashSet(Ggit.OId.hash, (EqualFunc)Ggit.OId.equal);
+ d_selected = new Gee.HashSet((Gee.HashDataFunc)Ggit.OId.hash, (Gee.EqualDataFunc)Ggit.OId.equal);

vi plugins/history/Makefile
INCLUDES = \
-I$(top_srcdir) \
-I$(srcdir) \
$(GITG_PLUGIN_CFLAGS) \
$(WARN_CFLAGS) \
-DDATADIR=\””$(datadir)”\” \
– -DLIBDIR=\””$(libdir)”\”
+ -DLIBDIR=\””$(libdir)”\” \
+ -I/usr/include/webkitgtk-3.0

– –pkg webkitgtk-3.0
+ –pkg webkit2gtk-3.0

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s