From 14e24ebbf990ed4f83692320f7f762f462882258 Mon Sep 17 00:00:00 2001 From: Rodrigo Moya Date: Sun, 1 Sep 2002 10:28:11 +0000 Subject: [PATCH] 2002-08-31 Rodrigo Moya * api/gda-api.xml: new file for the libgda API. * gda/*: added libgda bindings. * sources/README: updated requirements. svn path=/trunk/gtk-sharp/; revision=7167 --- ChangeLog | 8 + api/Makefile.in | 3 +- api/gda-api.xml | 2259 +++++++++++++++++++++++++++++++++++++ configure.in | 9 + gda/Makefile.in | 20 + makefile | 2 +- sources/README | 2 +- sources/gtk-sharp.sources | 1 + 8 files changed, 2301 insertions(+), 3 deletions(-) create mode 100644 api/gda-api.xml create mode 100755 gda/Makefile.in diff --git a/ChangeLog b/ChangeLog index 3842cbd76..727e3afcc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2002-08-31 Rodrigo Moya + + * api/gda-api.xml: new file for the libgda API. + + * gda/*: added libgda bindings. + + * sources/README: updated requirements. + 2002-08-31 Rachel Hestilow Proper GList, GSList support. Read-only for now. diff --git a/api/Makefile.in b/api/Makefile.in index f00e86037..f833e90fc 100644 --- a/api/Makefile.in +++ b/api/Makefile.in @@ -7,7 +7,8 @@ APIS = \ gtk-symbols.xml \ glade-api.xml \ art-api.xml \ - gnome-api.xml + gnome-api.xml \ + gda-api.xml RUNTIME=mono diff --git a/api/gda-api.xml b/api/gda-api.xml new file mode 100644 index 000000000..b4a3b4bc9 --- /dev/null +++ b/api/gda-api.xml @@ -0,0 +1,2259 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/configure.in b/configure.in index b8f124ffd..1a73edf81 100644 --- a/configure.in +++ b/configure.in @@ -74,11 +74,19 @@ if test "x$enable_glade" = "xyes"; then BASE_DEPENDENCIES_LIBS="$BASE_DEPENDENCIES_LIBS $GLADE_DEPENDENCIES_LIBS" fi +LIBGDA_REQUIRED_VERSION=0.8.193 +PKG_CHECK_MODULES(LIBGDA_DEPENDENCIES, libgda >= $LIBGDA_REQUIRED_VERSION, enable_gda=yes, enable_gda=no) +if test "x$enable_gda" = "xyes"; then + BASE_DEPENDENCIES_CFLAGS="$BASE_DEPENDENCIES_CFLAGS $LIBGDA_DEPENDENCIES_CFLAGS" + BASE_DEPENDENCIES_LIBS="$BASE_DEPENDENCIES_LIBS $LIBGDA_DEPENDENCIES_LIBS" +fi + AC_SUBST(BASE_DEPENDENCIES_CFLAGS) AC_SUBST(BASE_DEPENDENCIES_LIBS) AM_CONDITIONAL(ENABLE_GNOME, test "x$enable_gnome" = "xyes") AM_CONDITIONAL(ENABLE_GLADE, test "x$enable_glade" = "xyes") +AM_CONDITIONAL(ENABLE_GDA, test "x$enable_gda" = "xyes") AC_SUBST(CFLAGS) @@ -95,6 +103,7 @@ gdk/Makefile gtk/Makefile glade/Makefile gnome/Makefile +gda/Makefile sample/Makefile ]) diff --git a/gda/Makefile.in b/gda/Makefile.in new file mode 100755 index 000000000..9755ead5a --- /dev/null +++ b/gda/Makefile.in @@ -0,0 +1,20 @@ +MCS=mcs +DESTDIR= + +@ENABLE_GDA_TRUE@ all: linux +@ENABLE_GDA_FALSE@ all: + +windows: + $(CSC) /unsafe /target:library /r:../glib/glib-sharp.dll /out:gda-sharp.dll /recurse:*.cs + +linux: gda-sharp.dll + +gda-sharp.dll: generated/*.cs + $(MCS) --unsafe --target library -L ../glib -r glib-sharp.dll -o gda-sharp.dll --recurse '*.cs' + +clean: + rm -f *.dll + rm -rf generated + +install: all +@ENABLE_GDA_TRUE@ cp gda-sharp.dll $(DESTDIR)@prefix@/lib diff --git a/makefile b/makefile index 07da96635..d4f29836e 100644 --- a/makefile +++ b/makefile @@ -1,6 +1,6 @@ NATIVE_DIRS = glue parser -DIRS=generator api glib pango atk gdk gtk glade art gnome sample +DIRS=generator api glib pango atk gdk gtk glade art gnome gda sample ROOT=/cygdrive/$(subst \,/,$(subst :\,/,$(SYSTEMROOT))) CSC=$(ROOT)/microsoft.net/framework/v1.0.3705/csc.exe MCS=mcs diff --git a/sources/README b/sources/README index 403d96980..46eee61fe 100644 --- a/sources/README +++ b/sources/README @@ -16,4 +16,4 @@ gtkhtml: cvs branch gnome-2-port files gtkhtml.[ch], gtkhtml-types.h, gtkhtml-enums.h, gtkhtml-stream.[ch] libglade-2.0.0 libart_lgpl-2.3.10 - +libgda-0.8.193 diff --git a/sources/gtk-sharp.sources b/sources/gtk-sharp.sources index a51b02a60..25bd55e7f 100644 --- a/sources/gtk-sharp.sources +++ b/sources/gtk-sharp.sources @@ -9,3 +9,4 @@ libgnomeui-2.0.1/libgnomeui Gnome gnomeui-2 gtkhtml/src Gtk gtkhtml-3.0 libglade-2.0.0/glade Glade glade-2.0 libart_lgpl-2.3.10 Art art_lgpl +libgda-0.8.193/libgda Gda gda-2