mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2025-01-12 07:35:34 +00:00
304427af77
* generator/gtkapi.xml : lots of fixes, plus GtkHTML! * parser/Gtk.metadata : add a bunch of renames. * parser/build.pl : Add the gtkhtml parse. * parser/README : module list to parse svn path=/trunk/gtk-sharp/; revision=5459
19 lines
467 B
Perl
Executable file
19 lines
467 B
Perl
Executable file
#!/usr/bin/perl -w
|
|
|
|
$file = "../generator/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",
|
|
"gtkhtml" => "Gtk:gtkhtml-2");
|
|
|
|
foreach $dir (keys %srcs) {
|
|
($ns, $lib) = split (/:/, $srcs{$dir});
|
|
system ("./gapi_pp.pl $dir | ./gapi2xml.pl $ns $file $lib");
|
|
}
|
|
|