GtkSharp/parser/build.pl
Rachel Hestilow 00e98b4c30 2002-07-01 Rachel Hestilow <hestilow@ximian.com>
* generator/gtkapi.xml:
	* parser/build.pl: Fix to use 3.0 (accidentally reverted in
	last commit).

	* generator/SymbolTable.cs (simple_types): Map gssize and gsize.
	* parser/Gdk.metadata: Tag PixbufLoader.Write's data parameter
	as array.

svn path=/trunk/gtk-sharp/; revision=5533
2002-07-02 03:35:07 +00:00

21 lines
665 B
Perl
Executable file

#!/usr/bin/perl -w
$file = "gtkapi.xml";
unlink ($file);
%srcs = ( "atk-1.0.2/atk" => "Atk:atk-1.0",
"pango-1.0.2/pango" => "Pango:pango-1.0",
"gtk+-2.0.3/gdk" => "Gdk:gdk-x11-2.0",
"gtk+-2.0.3/gdk-pixbuf" => "Gdk:gdk_pixbuf-2.0",
"gtk+-2.0.3/gtk" => "Gtk:gtk-x11-2.0",
"libgnome-2.0.1/libgnome" => "Gnome:libgnome-2.so.0",
"libgnomecanvas-2.0.1/libgnomecanvas" => "Gnome:libgnomecanvas-2.so.0",
"libgnomeui-2.0.1/libgnomeui" => "Gnome:libgnomeui-2.so.0",
"gtkhtml/src" => "Gtk:libgtkhtml-3.0.so.0");
foreach $dir (keys %srcs) {
($ns, $lib) = split (/:/, $srcs{$dir});
system ("./gapi_pp.pl $dir | ./gapi2xml.pl $ns $file $lib");
}