From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: joakim@verona.se Newsgroups: gmane.emacs.devel Subject: Re: webkit integration in the xwidget branch Date: Sun, 10 Jul 2011 19:43:36 +0200 Message-ID: References: <32029464.post@talk.nabble.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1310319849 11338 80.91.229.12 (10 Jul 2011 17:44:09 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 10 Jul 2011 17:44:09 +0000 (UTC) Cc: Emacs-devel@gnu.org To: haawda Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jul 10 19:44:05 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Qfy32-0002RE-NO for ged-emacs-devel@m.gmane.org; Sun, 10 Jul 2011 19:44:05 +0200 Original-Received: from localhost ([::1]:36689 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qfy31-00024e-Df for ged-emacs-devel@m.gmane.org; Sun, 10 Jul 2011 13:44:03 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:53009) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qfy2g-00024D-7f for Emacs-devel@gnu.org; Sun, 10 Jul 2011 13:43:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qfy2e-00042B-I0 for Emacs-devel@gnu.org; Sun, 10 Jul 2011 13:43:42 -0400 Original-Received: from batman.blixtvik.net ([87.96.254.3]:50145) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qfy2d-000427-Vd for Emacs-devel@gnu.org; Sun, 10 Jul 2011 13:43:40 -0400 Original-Received: from localhost.localdomain (139-210-96-87.cust.blixtvik.se [87.96.210.139]) by batman.blixtvik.net (Postfix) with ESMTP id 46EFA7F95ED; Sun, 10 Jul 2011 19:43:36 +0200 (CEST) In-Reply-To: <32029464.post@talk.nabble.com> (haawda's message of "Sat, 9 Jul 2011 15:19:42 -0700 (PDT)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 87.96.254.3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:141918 Archived-At: The configure support for the xwidget branch is not begun yet. If you want to try it read README.xwidget. On fedora 15 this works for me: export CFLAGS="`pkg-config --cflags webkitgtk-3.0 ` -DHAVE_WEBKIT_OSR -g" export LDFLAGS=`pkg-config --libs webkitgtk-3.0 ` ./configure --with-x-toolkit=gtk3 make haawda writes: > I got a build problem with the emacs xwidget branch under Arch Linux x86_64 > with gcc4.6.1 and gtk 2.24.5. > > ick -I/usr/include/libxml2 -I/usr/include/dbus-1.0 > -I/usr/lib/dbus-1.0/include -DORBIT2=1 -pthread -I/usr/include/gconf/2 > -I/usr/include/orbit-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include > -I/usr/include/freetype2 -MMD -MF deps/xwidget.d > -Wimplicit-function-declaration -Wold-style-definition > -Wdeclaration-after-statement -march=x86-64 -mtune=generic -O2 -pipe > xwidget.c > xwidget.c: In function 'webkit_osr_redraw_child': > xwidget.c:284:3: warning: passing argument 1 of > 'gtk_offscreen_window_get_pixmap' from incompatible pointer type [enabled by > default] > /usr/include/gtk-2.0/gtk/gtkoffscreenwindow.h:55:12: note: expected 'struct > GtkOffscreenWindow *' but argument is of type 'struct GtkContainer *' > xwidget.c:321:2: error: invalid preprocessing directive #elseif > xwidget.c:322:12: error: redeclaration of 'cr' with no linkage > xwidget.c:280:12: note: previous declaration of 'cr' was here > xwidget.c:322:3: warning: ISO C90 forbids mixed declarations and code > [-Wdeclaration-after-statement] > xwidget.c:323:22: error: conflicting types for 'src_pixmap' > xwidget.c:283:14: note: previous declaration of 'src_pixmap' was here > xwidget.c:324:3: warning: implicit declaration of function > 'gtk_offscreen_window_get_surface' [-Wimplicit-function-declaration] > xwidget.c:324:14: warning: assignment makes pointer from integer without a > cast [enabled by default] > xwidget.c:349:3: warning: passing argument 2 of 'cairo_set_source_surface' > from incompatible pointer type [enabled by default] > /usr/include/cairo/cairo.h:561:1: note: expected 'struct cairo_surface_t *' > but argument is of type 'struct cairo_surface_t **' > xwidget.c: In function 'xwidget_osr_draw_callback': > xwidget.c:403:3: warning: passing argument 2 of 'gtk_widget_draw' from > incompatible pointer type [enabled by default] > /usr/include/gtk-2.0/gtk/gtkwidget.h:883:9: note: expected 'const struct > GdkRectangle *' but argument is of type 'struct cairo_t *' > xwidget.c: In function 'xwidget_osr_button_callback': > xwidget.c:417:32: warning: initialization from incompatible pointer type > [enabled by default] > xwidget.c:424:3: warning: passing argument 1 of 'gtk_main_do_event' from > incompatible pointer type [enabled by default] > /usr/include/gtk-2.0/gtk/gtkmain.h:143:10: note: expected 'union GdkEvent *' > but argument is of type 'struct GdkEventButton *' > xwidget.c: In function 'x_draw_xwidget_glyph_string': > xwidget.c:687:5: warning: passing argument 1 of 'gtk_widget_queue_draw' from > incompatible pointer type [enabled by default] > /usr/include/gtk-2.0/gtk/gtkwidget.h:864:9: note: expected 'struct GtkWidget > *' but argument is of type 'struct GtkContainer *' > xwidget.c: In function 'syms_of_xwidget': > xwidget.c:944:13: error: 'Sxwidget_webkit_goto_uri' undeclared (first use in > this function) > xwidget.c:944:13: note: each undeclared identifier is reported only once for > each function it appears in > xwidget.c:945:13: error: 'Sxwidget_webkit_execute_script' undeclared (first > use in this function) > xwidget.c:946:13: error: 'Sxwidget_webkit_get_title' undeclared (first use > in this function) > xwidget.c: In function 'xwidget_view_delete_all_in_window': > xwidget.c:1058:9: warning: passing argument 1 of 'gtk_widget_destroy' from > incompatible pointer type [enabled by default] > /usr/include/gtk-2.0/gtk/gtkwidget.h:837:9: note: expected 'struct GtkWidget > *' but argument is of type 'struct GtkContainer *' > make[2]: *** [xwidget.o] Error 1 > make[2]: Leaving directory > `/home/haawda/paketierung/maintained_by_me/emacs-xwidget/src/emacs-xwidget-build/src' > make[1]: *** [src] Error 2 > make[1]: Leaving directory > `/home/haawda/paketierung/maintained_by_me/emacs-xwidget/src/emacs-xwidget-build' > make: *** [bootstrap] Error 2 > ==> ERROR: A failure occurred in build(). > Aborting... -- Joakim Verona