gtk: Move GLib, Pango and Cairo code to separate systems.
authorMatt Birkholz <puck@birchwood-abbey.net>
Sun, 25 May 2014 16:47:18 +0000 (09:47 -0700)
committerMatt Birkholz <puck@birchwood-abbey.net>
Sun, 25 May 2014 16:47:18 +0000 (09:47 -0700)
commitf5681ab4214586ce513ef1597c865f9696752408
tree164c2e9d1e8bb7f798c07a6ed892ae0ad0471200
parent3fbf7072c33845674f8c7fc8665a6315f33a9d06
gtk: Move GLib, Pango and Cairo code to separate systems.

This separation allows the GIO interface (and Pango and Cairo) to work
without a DISPLAY.  The new (glib) package calls g_main_loop_run with
Scheme attached as a GSource.  Thus gtk-thread is now glib-thread, and
stop-gtk-thread is now stop-glib-thread.

The Cairo system depends on Pango and thus GLib only because Cairo
seems useless without Pango.  Thus there is no need for a Pango-Cairo
system.

The Gtk system just calls gtk_init_check, not gtk_main.  This appears
sufficient to get DISPLAY attached to the already running GMainLoop.
Gtk-thread-running? is now gtk-initialized?.
100 files changed:
src/cairo/Makefile.in [new file with mode: 0644]
src/cairo/README [new file with mode: 0644]
src/cairo/cairo-check.scm [new file with mode: 0644]
src/cairo/cairo-optiondb.scm [new file with mode: 0644]
src/cairo/cairo.cdecl [moved from src/gtk/Includes/cairo.cdecl with 82% similarity]
src/cairo/cairo.pkg [new file with mode: 0644]
src/cairo/cairo.scm [moved from src/gtk/cairo.scm with 69% similarity]
src/cairo/cairo.texinfo [new file with mode: 0644]
src/cairo/check-doc.scm [new file with mode: 0644]
src/cairo/check.scm [new file with mode: 0644]
src/cairo/compile.scm [new file with mode: 0644]
src/cairo/configure.ac [new file with mode: 0644]
src/cairo/make.scm [new file with mode: 0644]
src/glib/Includes/gio/gcancellable.cdecl [moved from src/gtk/Includes/gio/gcancellable.cdecl with 100% similarity]
src/glib/Includes/gio/gfile.cdecl [moved from src/gtk/Includes/gio/gfile.cdecl with 100% similarity]
src/glib/Includes/gio/gfileenumerator.cdecl [moved from src/gtk/Includes/gio/gfileenumerator.cdecl with 100% similarity]
src/glib/Includes/gio/gfileinfo.cdecl [moved from src/gtk/Includes/gio/gfileinfo.cdecl with 100% similarity]
src/glib/Includes/gio/ginputstream.cdecl [moved from src/gtk/Includes/gio/ginputstream.cdecl with 100% similarity]
src/glib/Includes/gio/gio.cdecl [moved from src/gtk/Includes/gio/gio.cdecl with 100% similarity]
src/glib/Includes/gio/gioenums.cdecl [moved from src/gtk/Includes/gio/gioenums.cdecl with 100% similarity]
src/glib/Includes/gio/giotypes.cdecl [moved from src/gtk/Includes/gio/giotypes.cdecl with 100% similarity]
src/glib/Includes/gio/gmountoperation.cdecl [moved from src/gtk/Includes/gio/gmountoperation.cdecl with 100% similarity]
src/glib/Includes/gio/goutputstream.cdecl [moved from src/gtk/Includes/gio/goutputstream.cdecl with 100% similarity]
src/glib/Includes/glib-object.cdecl [new file with mode: 0644]
src/glib/Includes/glib.cdecl [new file with mode: 0644]
src/glib/Includes/glib/gerror.cdecl [moved from src/gtk/Includes/glib/gerror.cdecl with 100% similarity]
src/glib/Includes/glib/glist.cdecl [moved from src/gtk/Includes/glib/glist.cdecl with 100% similarity]
src/glib/Includes/glib/gquark.cdecl [moved from src/gtk/Includes/glib/gquark.cdecl with 100% similarity]
src/glib/Includes/glib/gtypes.cdecl [moved from src/gtk/Includes/glib/gtypes.cdecl with 100% similarity]
src/glib/Includes/glib/gvariant.cdecl [moved from src/gtk/Includes/glib/gvariant.cdecl with 100% similarity]
src/glib/Includes/gobject/gboxed.cdecl [moved from src/gtk/Includes/gobject/gboxed.cdecl with 100% similarity]
src/glib/Includes/gobject/genums.cdecl [moved from src/gtk/Includes/gobject/genums.cdecl with 100% similarity]
src/glib/Includes/gobject/gobject.cdecl [moved from src/gtk/Includes/gobject/gobject.cdecl with 100% similarity]
src/glib/Includes/gobject/gparam.cdecl [moved from src/gtk/Includes/gobject/gparam.cdecl with 100% similarity]
src/glib/Includes/gobject/gparamspecs.cdecl [moved from src/gtk/Includes/gobject/gparamspecs.cdecl with 100% similarity]
src/glib/Includes/gobject/gsignal.cdecl [moved from src/gtk/Includes/gobject/gsignal.cdecl with 100% similarity]
src/glib/Includes/gobject/gtype.cdecl [moved from src/gtk/Includes/gobject/gtype.cdecl with 100% similarity]
src/glib/Includes/gobject/gvalue.cdecl [moved from src/gtk/Includes/gobject/gvalue.cdecl with 100% similarity]
src/glib/Includes/gobject/gvaluetypes.cdecl [moved from src/gtk/Includes/gobject/gvaluetypes.cdecl with 100% similarity]
src/glib/Makefile.in [new file with mode: 0644]
src/glib/README [new file with mode: 0644]
src/glib/check-doc.scm [new file with mode: 0644]
src/glib/check.scm [new file with mode: 0644]
src/glib/compile.scm [new file with mode: 0644]
src/glib/configure.ac [new file with mode: 0644]
src/glib/gio.scm [moved from src/gtk/gio.scm with 99% similarity]
src/glib/glib-check.scm [new file with mode: 0644]
src/glib/glib-main.scm [new file with mode: 0644]
src/glib/glib-optiondb.scm [new file with mode: 0644]
src/glib/glib-shim.h [new file with mode: 0644]
src/glib/glib-tests.scm [new file with mode: 0644]
src/glib/glib-thread.scm [moved from src/gtk/thread.scm with 62% similarity]
src/glib/glib.cdecl [new file with mode: 0644]
src/glib/glib.pkg [new file with mode: 0644]
src/glib/glib.scm [new file with mode: 0644]
src/glib/glib.texinfo [new file with mode: 0644]
src/glib/glibio.c [new file with mode: 0644]
src/glib/gobject.scm [moved from src/gtk/gobject.scm with 74% similarity]
src/glib/make.scm [new file with mode: 0644]
src/glib/test-copy-1.txt [new file with mode: 0644]
src/gtk/Includes/gdkcairo.cdecl
src/gtk/Includes/gdktypes.cdecl
src/gtk/Includes/glib-object.cdecl
src/gtk/Includes/glib.cdecl
src/gtk/Includes/pangocairo.cdecl [deleted file]
src/gtk/Makefile.in
src/gtk/check.scm
src/gtk/compile.scm
src/gtk/fix-layout.scm
src/gtk/gdk.scm [new file with mode: 0644]
src/gtk/gtk-check.scm
src/gtk/gtk-ev.scm
src/gtk/gtk-graphics.scm
src/gtk/gtk-tests.scm
src/gtk/gtk.cdecl
src/gtk/gtk.pkg
src/gtk/gtk.texinfo
src/gtk/gtkio.c
src/gtk/main.scm
src/gtk/make.scm
src/pango/Includes/glib.cdecl [new file with mode: 0644]
src/pango/Includes/pango-attributes.cdecl [new file with mode: 0644]
src/pango/Includes/pango-context.cdecl [moved from src/gtk/Includes/pango-context.cdecl with 100% similarity]
src/pango/Includes/pango-font.cdecl [moved from src/gtk/Includes/pango-font.cdecl with 100% similarity]
src/pango/Includes/pango-layout.cdecl [moved from src/gtk/Includes/pango-layout.cdecl with 100% similarity]
src/pango/Includes/pango-types.cdecl [moved from src/gtk/Includes/pango-types.cdecl with 100% similarity]
src/pango/Includes/pango.cdecl [moved from src/gtk/Includes/pango.cdecl with 90% similarity]
src/pango/Makefile.in [new file with mode: 0644]
src/pango/README [new file with mode: 0644]
src/pango/check-doc.scm [new file with mode: 0644]
src/pango/check.scm [new file with mode: 0644]
src/pango/compile.scm [new file with mode: 0644]
src/pango/configure.ac [new file with mode: 0644]
src/pango/make.scm [new file with mode: 0644]
src/pango/pango-check.scm [new file with mode: 0644]
src/pango/pango-optiondb.scm [new file with mode: 0644]
src/pango/pango.cdecl [new file with mode: 0644]
src/pango/pango.pkg [new file with mode: 0644]
src/pango/pango.scm [moved from src/gtk/pango.scm with 80% similarity]
src/pango/pango.texinfo [new file with mode: 0644]