Web lists-archives.com

Trying to compile GTK+ broadway under Native Client SDK




Hello GTK+ developers!

First, I love your toolkit and have been doing so since the early days,
but just subscribed to this list.

Second, I develop Python/GTK Sugar Activities and am active in that
community.

I've recently patched our sugar-toolkit-gtk3 library to work outside our
desktop environment and would like to extend this to work with Broadwayd
under Native Client.

I've found that there's some work already for GTK2, but it involves an
embedded X11 SDL server which we can do without using the Broadway backend.

So I'm trying to compile GTK+ v3.14 (this version because it matches my
OS) and am getting the following error:

(I'm using the following configure parameters: --disable-shm
--enable-explicit-deps --disable-cups   --enable-gtk-doc-html=no
--disable-wayland-backend --disable-x11-backend
--enable-broadway-backend --with-included-immodules=broadway --disable-icu)

Finally, any advice on how to move forward once this is compiled to
reach a point where I can do `from gi.repository import Gtk` - I'd be
very happy as I am quite a beginner at this level of the stack. Thanks
in advance!

######################################################################
Building gtk+
######################################################################
chdir /home/icarito/Proyectos/webports/out/build/gtk+/build_x86-64_glibc
make -j2
make[1]: Entering directory
'/home/icarito/Proyectos/webports/src/out/build/gtk+/build_x86-64_glibc'
make  all-recursive
make[2]: Entering directory
'/home/icarito/Proyectos/webports/src/out/build/gtk+/build_x86-64_glibc'
Making all in po
make[3]: Entering directory
'/home/icarito/Proyectos/webports/src/out/build/gtk+/build_x86-64_glibc/po'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory
'/home/icarito/Proyectos/webports/src/out/build/gtk+/build_x86-64_glibc/po'
Making all in po-properties
make[3]: Entering directory
'/home/icarito/Proyectos/webports/src/out/build/gtk+/build_x86-64_glibc/po-properties'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory
'/home/icarito/Proyectos/webports/src/out/build/gtk+/build_x86-64_glibc/po-properties'
Making all in util
make[3]: Entering directory
'/home/icarito/Proyectos/webports/src/out/build/gtk+/build_x86-64_glibc/util'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory
'/home/icarito/Proyectos/webports/src/out/build/gtk+/build_x86-64_glibc/util'
Making all in gdk
make[3]: Entering directory
'/home/icarito/Proyectos/webports/src/out/build/gtk+/build_x86-64_glibc/gdk'
config.status: executing gdk/gdkconfig.h commands
config.status: gdk/gdkconfig.h is unchanged
echo timestamp > stamp-gc-h
  GEN      gdkconfig.h
make  all-recursive
make[4]: Entering directory
'/home/icarito/Proyectos/webports/src/out/build/gtk+/build_x86-64_glibc/gdk'
Making all in broadway
make[5]: Entering directory
'/home/icarito/Proyectos/webports/src/out/build/gtk+/build_x86-64_glibc/gdk/broadway'
make  all-am
make[6]: Entering directory
'/home/icarito/Proyectos/webports/src/out/build/gtk+/build_x86-64_glibc/gdk/broadway'
  CC       gdkcursor-broadway.lo
  CC       gdkdevice-broadway.lo
  CC       gdkdevicemanager-broadway.lo
  CC       gdkdisplay-broadway.lo
  CC       gdkdnd-broadway.lo
  CC       gdkeventsource.lo
  CC       gdkglobals-broadway.lo
  CC       gdkkeys-broadway.lo
  CC       gdkproperty-broadway.lo
  CC       gdkscreen-broadway.lo
  CC       gdkselection-broadway.lo
  CC       gdktestutils-broadway.lo
  CC       gdkvisual-broadway.lo
  CC       gdkwindow-broadway.lo
  CC       gdkbroadway-server.lo
/home/icarito/Proyectos/webports/out/build/gtk+/gtk+-3.14.15/gdk/broadway/gdkwindow-broadway.c:
In function ‘create_moveresize_window’:
/home/icarito/Proyectos/webports/out/build/gtk+/gtk+-3.14.15/gdk/broadway/gdkwindow-broadway.c:1284:
warning: ‘gdk_pointer_grab’ is deprecated (declared at
/home/icarito/Proyectos/webports/out/build/gtk+/gtk+-3.14.15/gdk/gdkmain.h:86)
  CC       broadwayd.o
  CC       broadway-server.o
  CC       broadway-buffer.o
  CCLD     libgdk-broadway.la
  CCLD     broadwayd.nexe
make[6]: Leaving directory
'/home/icarito/Proyectos/webports/src/out/build/gtk+/build_x86-64_glibc/gdk/broadway'
make[5]: Leaving directory
'/home/icarito/Proyectos/webports/src/out/build/gtk+/build_x86-64_glibc/gdk/broadway'
Making all in .
make[5]: Entering directory
'/home/icarito/Proyectos/webports/src/out/build/gtk+/build_x86-64_glibc/gdk'
  CC       libgdk_3_la-gdkcolor.lo
  CC       libgdk_3_la-gdk.lo
/home/icarito/Proyectos/webports/out/build/gtk+/gtk+-3.14.15/gdk/deprecated/gdkcolor.c:
In function ‘gdk_color_get_type’:
/home/icarito/Proyectos/webports/out/build/gtk+/gtk+-3.14.15/gdk/deprecated/gdkcolor.c:132:
warning: ‘gdk_color_copy’ is deprecated (declared at
/home/icarito/Proyectos/webports/out/build/gtk+/gtk+-3.14.15/gdk/deprecated/gdkcolor.c:62)
/home/icarito/Proyectos/webports/out/build/gtk+/gtk+-3.14.15/gdk/deprecated/gdkcolor.c:132:
warning: ‘gdk_color_free’ is deprecated (declared at
/home/icarito/Proyectos/webports/out/build/gtk+/gtk+-3.14.15/gdk/deprecated/gdkcolor.c:82)
  CC       libgdk_3_la-gdkapplaunchcontext.lo
  CC       libgdk_3_la-gdkcairo.lo
  CC       libgdk_3_la-gdkcursor.lo
  CC       libgdk_3_la-gdkdeprecated.lo
  CC       libgdk_3_la-gdkdevice.lo
  CC       libgdk_3_la-gdkdevicemanager.lo
  CC       libgdk_3_la-gdkdisplay.lo
/home/icarito/Proyectos/webports/out/build/gtk+/gtk+-3.14.15/gdk/gdkdevice.c:
In function ‘gdk_device_class_init’:
/home/icarito/Proyectos/webports/out/build/gtk+/gtk+-3.14.15/gdk/gdkdevice.c:159:
error: ‘GDK_TYPE_DEVICE_TYPE’ undeclared (first use in this function)
/home/icarito/Proyectos/webports/out/build/gtk+/gtk+-3.14.15/gdk/gdkdevice.c:159:
error: (Each undeclared identifier is reported only once
/home/icarito/Proyectos/webports/out/build/gtk+/gtk+-3.14.15/gdk/gdkdevice.c:159:
error: for each function it appears in.)
Makefile:1063: recipe for target 'libgdk_3_la-gdkdevice.lo' failed
make[5]: *** [libgdk_3_la-gdkdevice.lo] Error 1
make[5]: *** Se espera a que terminen otras tareas....
make[5]: Leaving directory
'/home/icarito/Proyectos/webports/src/out/build/gtk+/build_x86-64_glibc/gdk'
Makefile:1355: recipe for target 'all-recursive' failed
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory
'/home/icarito/Proyectos/webports/src/out/build/gtk+/build_x86-64_glibc/gdk'
Makefile:886: recipe for target 'all' failed
make[3]: *** [all] Error 2
make[3]: Leaving directory
'/home/icarito/Proyectos/webports/src/out/build/gtk+/build_x86-64_glibc/gdk'
Makefile:711: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
'/home/icarito/Proyectos/webports/src/out/build/gtk+/build_x86-64_glibc'
Makefile:609: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory
'/home/icarito/Proyectos/webports/src/out/build/gtk+/build_x86-64_glibc'

_______________________________________________
gtk-devel-list mailing list
gtk-devel-list@xxxxxxxxx
https://mail.gnome.org/mailman/listinfo/gtk-devel-list