mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2025-01-10 20:45:35 +00:00
5d67982de9
* makefile : remove gdk.imaging from the build * gdk.imaging/* : kill * generated/BoxedGen.cs : XmlNode namespace handling. Use GenBase. * generated/CallbackGen.cs : XmlNode namespace handling. * generated/Ctor.cs : construct with libname not ns. * generated/EnumGen.cs : XmlNode namespace handling. * generated/GenBase.cs : XmlNode namespace handling. Make AppendCustom an instance method so it can use the private fields instead of params. * generated/InterfaceGen.cs : XmlNode namespace handling. * generated/Method.cs : construct with libname not ns. * generated/ObjectGen.cs : XmlNode namespace handling. * generated/Parser.cs : Use new XmlNode namespace ctors. * generated/Signal.cs : Lose the namespace field. * generated/StructBase.cs : derive from ClassBase * generated/StructGen.cs : XmlNode namespace handling. Use GenBase. * generated/SymbolTable.cs : nuke GetDllName method. * generator/gtkapi.xml : Add library name to namespace node. * parser/build.pl : refactor for library name param * parser/gapi2xml.pl : add libname param handling * sample/Makefile.in : build linux on make install, but don't install. svn path=/trunk/gtk-sharp/; revision=5400
18 lines
434 B
Perl
Executable file
18 lines
434 B
Perl
Executable file
#!/usr/bin/perl -w
|
|
|
|
$file = "../generator/gtkapi.xml";
|
|
|
|
unlink ($file);
|
|
|
|
%srcs = ( "atk-1.0.0/atk" => "Atk:atk-1.0",
|
|
"pango-1.0.0/pango" => "Pango:pango-1.0",
|
|
"gtk+-2.0.0/gdk" => "Gdk:gdk-x11-2.0",
|
|
"gtk+-2.0.0/gdk-pixbuf" => "Gdk:gdk_pixbuf-2.0",
|
|
"gtk+-2.0.0/gtk" => "Gtk:gtk-x11-2.0");
|
|
|
|
foreach $dir (keys %srcs) {
|
|
($ns, $lib) = split (/:/, $srcs{$dir});
|
|
system ("./gapi_pp.pl $dir | ./gapi2xml.pl $ns $file $lib");
|
|
}
|
|
|