From 2ac6bb54573800667d306dadde0c2a1d1e57c9e3 Mon Sep 17 00:00:00 2001 From: Mike Kestner Date: Wed, 10 May 2006 17:13:30 +0000 Subject: [PATCH] 2006-05-10 Mike Kestner * bootstrap-2.10 : strap for the new 2.9.0 API. * generator/SymbolTable.cs : add GLib.InitiallyUnowned mapping. * glib/InitiallyUnowned.cs : new floating class "stub". * glib/Makefile.am : build new class. * gdk/gdk-api-2.10.raw: parse from 2.9.0 * gtk/Gtk.metadata: cleanup conflicts in 2.10 API. * gtk/gtk-api-2.10.raw: parse from 2.9.0 * pango/pango-api-2.10.raw: parse from 1.11.99 * sources/Makefile.am : 2.10 parse setup and api-2.10 * sources/gtk_tree_model_signal_fix-2.10.patch : 2.10 patch. * sources/gtk-sharp-2.10-sources.xml : parse rules for 2.10 svn path=/trunk/gtk-sharp/; revision=60521 --- ChangeLog | 14 + atk/atk-api-2.10.raw | 11 +- bootstrap-2.10 | 14 + gdk/gdk-api-2.10.raw | 110 +- generator/SymbolTable.cs | 1 + glib/InitiallyUnowned.cs | 46 + glib/Makefile.am | 1 + gtk/Gtk.metadata | 10 + gtk/gtk-api-2.10.raw | 3157 +++++++++++++++++- pango/pango-api-2.10.raw | 29 +- sources/Makefile.am | 29 +- sources/gtk-sharp-2.10-sources.xml | 262 ++ sources/gtk_tree_model_signal_fix-2.10.patch | 58 + 13 files changed, 3661 insertions(+), 81 deletions(-) create mode 100755 bootstrap-2.10 create mode 100644 glib/InitiallyUnowned.cs create mode 100644 sources/gtk-sharp-2.10-sources.xml create mode 100644 sources/gtk_tree_model_signal_fix-2.10.patch diff --git a/ChangeLog b/ChangeLog index 6a12415f3..d0e911f8b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,17 @@ +2006-05-10 Mike Kestner + + * bootstrap-2.10 : strap for the new 2.9.0 API. + * generator/SymbolTable.cs : add GLib.InitiallyUnowned mapping. + * glib/InitiallyUnowned.cs : new floating class "stub". + * glib/Makefile.am : build new class. + * gdk/gdk-api-2.10.raw: parse from 2.9.0 + * gtk/Gtk.metadata: cleanup conflicts in 2.10 API. + * gtk/gtk-api-2.10.raw: parse from 2.9.0 + * pango/pango-api-2.10.raw: parse from 1.11.99 + * sources/Makefile.am : 2.10 parse setup and api-2.10 + * sources/gtk_tree_model_signal_fix-2.10.patch : 2.10 patch. + * sources/gtk-sharp-2.10-sources.xml : parse rules for 2.10 + 2006-05-08 Joe Shaw * glib/ValueArray.cs: Don't immediately free ValueArrays; queue diff --git a/atk/atk-api-2.10.raw b/atk/atk-api-2.10.raw index 7e4e40aaf..ca25910c5 100644 --- a/atk/atk-api-2.10.raw +++ b/atk/atk-api-2.10.raw @@ -1,12 +1,11 @@ - - - +--> @@ -2604,6 +2603,4 @@ - - - \ No newline at end of file + \ No newline at end of file diff --git a/bootstrap-2.10 b/bootstrap-2.10 new file mode 100755 index 000000000..19ac62804 --- /dev/null +++ b/bootstrap-2.10 @@ -0,0 +1,14 @@ +#!/bin/sh +# Run this to set configure.in up for an API version. + +GTK_SHARP_VERSION=2.9.0 +ASSEMBLY_VERSION=2.10.0.0 +POLICY_VERSIONS="2.4 2.6 2.8" +GTK_REQUIRED_VERSION=2.9.0 +GNOME_REQUIRED_VERSION=2.10.0 +VERSIONCSDEFINES="-define:GTK_SHARP_2_6 -define:GTK_SHARP_2_8 -define:GTK_SHARP_2_10" +VERSIONCFLAGS="-DGTK_SHARP_2_6 -DGTK_SHARP_2_8 -DGTK_SHARP_2_10" +GTK_API_TAG=2.10 +GNOME_API_TAG=2.10 + +. ./bootstrap-generic "$@" diff --git a/gdk/gdk-api-2.10.raw b/gdk/gdk-api-2.10.raw index e7e0e66f4..41fbbf205 100644 --- a/gdk/gdk-api-2.10.raw +++ b/gdk/gdk-api-2.10.raw @@ -1,12 +1,11 @@ - - - +--> @@ -319,8 +318,11 @@ + + + - + @@ -467,6 +469,12 @@ + + + + + + @@ -847,9 +855,15 @@ + + + + + + @@ -2000,6 +2014,16 @@ + + + + + + + + + + @@ -2031,18 +2055,29 @@ + + + + + + + + + + + @@ -2052,7 +2087,7 @@ - + @@ -2087,7 +2122,7 @@ - + @@ -2130,12 +2165,18 @@ + + + + + + @@ -2148,13 +2189,13 @@ - + - + @@ -2425,6 +2466,9 @@ + + + @@ -2443,6 +2487,22 @@ + + + + + + + + + + + + + + + + @@ -2490,6 +2550,9 @@ + + + @@ -2590,6 +2653,9 @@ + + + @@ -3054,6 +3120,7 @@ + @@ -3362,7 +3429,7 @@ - + @@ -3519,6 +3586,12 @@ + + + + + + @@ -3748,6 +3821,15 @@ + + + + + + + + + @@ -4691,9 +4773,7 @@ - - - + @@ -5374,6 +5454,4 @@ - - - \ No newline at end of file + \ No newline at end of file diff --git a/generator/SymbolTable.cs b/generator/SymbolTable.cs index 7d6097b3f..a7795e194 100644 --- a/generator/SymbolTable.cs +++ b/generator/SymbolTable.cs @@ -98,6 +98,7 @@ namespace GtkSharp.Generation { AddType (new SimpleGen ("GStrv", "string[]")); // manually wrapped types requiring more complex marshaling + AddType (new ManualGen ("GInitiallyUnowned", "GLib.InitiallyUnowned", "GLib.Object.GetObject ({0})")); AddType (new ManualGen ("GObject", "GLib.Object", "GLib.Object.GetObject ({0})")); AddType (new ManualGen ("GList", "GLib.List")); AddType (new ManualGen ("GSList", "GLib.SList")); diff --git a/glib/InitiallyUnowned.cs b/glib/InitiallyUnowned.cs new file mode 100644 index 000000000..784fa04ca --- /dev/null +++ b/glib/InitiallyUnowned.cs @@ -0,0 +1,46 @@ +// InitiallyUnowned.cs - GInitiallyUnowned class wrapper implementation +// +// Authors: Mike Kestner +// +// Copyright (c) 2004-2005 Novell, Inc. +// +// This program is free software; you can redistribute it and/or +// modify it under the terms of version 2 of the Lesser GNU General +// Public License as published by the Free Software Foundation. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public +// License along with this program; if not, write to the +// Free Software Foundation, Inc., 59 Temple Place - Suite 330, +// Boston, MA 02111-1307, USA. + +#if GTK_SHARP_2_10 + +namespace GLib { + + using System; + using System.Collections; + using System.ComponentModel; + using System.Runtime.InteropServices; + + public class InitiallyUnowned : Object { + + protected InitiallyUnowned (IntPtr raw) : base (raw) {} + + [Obsolete] + protected InitiallyUnowned (GType gtype) : base (gtype) {} + + public new static GLib.GType GType { + get { + return GType.Object; + } + } + + } +} + +#endif diff --git a/glib/Makefile.am b/glib/Makefile.am index 4c88102f4..d258b82bf 100644 --- a/glib/Makefile.am +++ b/glib/Makefile.am @@ -31,6 +31,7 @@ sources = \ GType.cs \ GTypeAttribute.cs \ Idle.cs \ + InitiallyUnowned.cs \ IWrapper.cs \ ListBase.cs \ List.cs \ diff --git a/gtk/Gtk.metadata b/gtk/Gtk.metadata index 1be029f5d..fcffc40f2 100644 --- a/gtk/Gtk.metadata +++ b/gtk/Gtk.metadata @@ -109,6 +109,9 @@ 1 1 1 + UInt32.MaxValue-0U + UInt32.MaxValue-1U + UInt32.MaxValue-2U 1 1 1 @@ -415,6 +418,10 @@ Destroyed 1 1 + GetIsActive + GetIsDefault + GetIsNew + GetIsVirtual GtkWidget 1 1 @@ -431,6 +438,9 @@ 1 1 1 + 1 + 1 + 1 private private GetHScrollbar diff --git a/gtk/gtk-api-2.10.raw b/gtk/gtk-api-2.10.raw index 23e74918e..73efd24c7 100644 --- a/gtk/gtk-api-2.10.raw +++ b/gtk/gtk-api-2.10.raw @@ -1,12 +1,11 @@ - - - +--> @@ -44,6 +43,13 @@ + + + + + + + @@ -71,6 +77,10 @@ + + + + @@ -155,6 +165,7 @@ + @@ -275,6 +286,17 @@ + + + + + + + + + + + @@ -303,6 +325,52 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -357,8 +425,52 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -415,6 +527,11 @@ + + + + + @@ -478,6 +595,11 @@ + + + + + @@ -540,6 +662,12 @@ + + + + + + @@ -609,6 +737,21 @@ + + + + + + + + + + + + + + + @@ -644,6 +787,13 @@ + + + + + + + @@ -702,6 +852,16 @@ + + + + + + + + + + @@ -792,6 +952,14 @@ + + + + + + + + @@ -837,6 +1005,23 @@ + + + + + + + + + + + + + + + + + @@ -844,6 +1029,29 @@ + + + + + + + + + + + + + + + + + + + + + + + @@ -852,9 +1060,48 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -986,6 +1233,14 @@ + + + + + + + + @@ -1675,6 +1930,272 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -2575,6 +3096,7 @@ + @@ -3062,6 +3584,174 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -3701,6 +4391,40 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -3740,6 +4464,15 @@ + + + + + + + + + @@ -3787,6 +4520,7 @@ + @@ -3814,6 +4548,7 @@ + @@ -4045,6 +4780,14 @@ + + + + + + + + @@ -4111,6 +4854,14 @@ + + + + + + + + @@ -4124,6 +4875,12 @@ + + + + + + @@ -4416,6 +5173,8 @@ + + @@ -4465,6 +5224,9 @@ + + + @@ -4553,6 +5315,12 @@ + + + + + + @@ -5075,6 +5843,7 @@ + @@ -5096,12 +5865,14 @@ + + @@ -5191,6 +5962,9 @@ + + + @@ -5274,6 +6048,12 @@ + + + + + + @@ -5567,11 +6347,15 @@ + + + + @@ -5599,6 +6383,12 @@ + + + + + + @@ -7164,6 +7954,7 @@ + @@ -7457,6 +8248,9 @@ + + + @@ -7796,6 +8590,53 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -8138,6 +8979,7 @@ + @@ -8400,6 +9242,10 @@ + + + + @@ -8521,12 +9367,15 @@ + + + @@ -8563,6 +9412,48 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -8581,6 +9472,9 @@ + + + @@ -8611,6 +9505,12 @@ + + + + + + @@ -8626,6 +9526,12 @@ + + + + + + @@ -8702,6 +9608,12 @@ + + + + + + @@ -8746,6 +9658,13 @@ + + + + + + + @@ -8781,14 +9700,28 @@ + + + + + + + + + + + + + + - + @@ -8927,7 +9860,7 @@ - + @@ -8986,6 +9919,145 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -9154,6 +10226,1060 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -9267,6 +11393,7 @@ + @@ -9292,6 +11419,12 @@ + + + + + + @@ -9504,6 +11637,8 @@ + + @@ -9517,12 +11652,18 @@ + + + + + + @@ -9545,6 +11686,12 @@ + + + + + + @@ -9558,6 +11705,12 @@ + + + + + + @@ -9621,6 +11774,262 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -9775,6 +12184,7 @@ + @@ -9862,6 +12272,9 @@ + + + @@ -9896,6 +12309,7 @@ + @@ -9977,6 +12391,9 @@ + + + @@ -10065,40 +12482,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -10298,6 +12681,138 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -10751,6 +13266,13 @@ + + + + + + + @@ -10921,8 +13443,12 @@ + + + + @@ -11115,6 +13641,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + @@ -11128,12 +13678,24 @@ + + + + + + + + + + + + @@ -11193,6 +13755,9 @@ + + + @@ -11203,6 +13768,12 @@ + + + + + + @@ -11347,6 +13918,36 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -11383,6 +13984,16 @@ + + + + + + + + + + @@ -11396,6 +14007,18 @@ + + + + + + + + + + + + @@ -12078,6 +14701,7 @@ + @@ -12243,6 +14867,8 @@ + + @@ -12722,6 +15348,13 @@ + + + + + + + @@ -13046,6 +15679,26 @@ + + + + + + + + + + + + + + + + + + + + @@ -13163,6 +15816,8 @@ + + @@ -13397,6 +16052,9 @@ + + + @@ -13432,9 +16090,15 @@ + + + + + + @@ -13663,6 +16327,12 @@ + + + + + + @@ -13671,6 +16341,14 @@ + + + + + + + + @@ -14492,6 +17170,12 @@ + + + + + + @@ -14800,9 +17484,6 @@ - - - @@ -14922,6 +17603,9 @@ + + + @@ -15044,6 +17728,14 @@ + + + + + + + + @@ -15057,6 +17749,9 @@ + + + @@ -15515,6 +18210,7 @@ + @@ -15627,6 +18323,9 @@ + + + @@ -15648,6 +18347,9 @@ + + + @@ -15850,6 +18552,12 @@ + + + + + + @@ -16053,6 +18761,24 @@ + + + + + + + + + + + + + + + + + + @@ -16202,6 +18928,15 @@ + + + + + + + + + @@ -16465,6 +19200,108 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -16522,6 +19359,122 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -16609,9 +19562,18 @@ + + + + + + + + + @@ -16662,7 +19624,7 @@ - + @@ -16680,6 +19642,14 @@ + + + + + + + + @@ -16706,6 +19676,9 @@ + + + @@ -16713,7 +19686,7 @@ - + @@ -16724,7 +19697,7 @@ - + @@ -18026,6 +20999,12 @@ + + + + + + @@ -18052,6 +21031,13 @@ + + + + + + + @@ -18744,6 +21730,29 @@ + + + + + + + + + + + + + + + + + + + + + + + @@ -19124,6 +22133,54 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -19286,6 +22343,9 @@ + + + @@ -19298,6 +22358,7 @@ + @@ -19314,6 +22375,4 @@ - - - \ No newline at end of file + \ No newline at end of file diff --git a/pango/pango-api-2.10.raw b/pango/pango-api-2.10.raw index f9cf85ff8..d336c9a43 100644 --- a/pango/pango-api-2.10.raw +++ b/pango/pango-api-2.10.raw @@ -1,12 +1,11 @@ - - - +--> @@ -546,6 +545,15 @@ + + + + + + + + + @@ -1645,6 +1653,9 @@ + + + @@ -1917,6 +1928,12 @@ + + + + + + @@ -2043,6 +2060,4 @@ - - - \ No newline at end of file + \ No newline at end of file diff --git a/sources/Makefile.am b/sources/Makefile.am index 068330996..8fb9e06b7 100644 --- a/sources/Makefile.am +++ b/sources/Makefile.am @@ -5,6 +5,7 @@ EXTRA_DIST = \ gtk-sharp-2.8-sources.xml \ gtkclipboard.patch \ gtk_tree_model_signal_fix.patch \ + gtk_tree_model_signal_fix-2.10.patch \ gtkhtml-font-style-enum.patch @@ -44,6 +45,18 @@ GTK_2_8_DOWNLOADS = \ http://ftp.gnome.org/pub/GNOME/platform/2.10/2.10.0/sources/libgnomeprintui-2.10.0.1.tar.bz2 \ http://ftp.gnome.org/pub/GNOME/desktop/2.10/2.10.0/sources/gnome-panel-2.10.0.tar.bz2 +GTK_2_10_DOWNLOADS = \ + ftp://ftp.gtk.org/pub/gtk/v2.9/pango-1.11.99.tar.bz2 \ + ftp://ftp.gtk.org/pub/gtk/v2.8/atk-1.10.3.tar.bz2 \ + ftp://ftp.gtk.org/pub/gtk/v2.9/gtk+-2.9.0.tar.bz2 \ + http://ftp.gnome.org/pub/GNOME/platform/2.15/2.15.1/sources/gnome-vfs-2.14.1.tar.bz2 \ + http://ftp.gnome.org/pub/GNOME/platform/2.15/2.15.1/sources/libgnome-2.14.1.tar.bz2 \ + http://ftp.gnome.org/pub/GNOME/platform/2.15/2.15.1/sources/libgnomecanvas-2.14.0.tar.bz2 \ + http://ftp.gnome.org/pub/GNOME/platform/2.15/2.15.1/sources/libgnomeui-2.14.1.tar.bz2 \ + http://ftp.gnome.org/pub/GNOME/desktop/2.15/2.15.1/sources/libgnomeprint-2.12.1.tar.bz2 \ + http://ftp.gnome.org/pub/GNOME/desktop/2.15/2.15.1/sources/libgnomeprintui-2.12.1.tar.bz2 \ + http://ftp.gnome.org/pub/GNOME/desktop/2.15/2.15.1/sources/gnome-panel-2.14.1.tar.bz2 + GNOME_DOWNLOADS = \ http://ftp.gnome.org/pub/GNOME/desktop/2.6/2.6.0/sources/libglade-2.3.6.tar.bz2 \ http://ftp.gnome.org/pub/GNOME/desktop/2.6/2.6.0/sources/libart_lgpl-2.3.16.tar.bz2 \ @@ -60,7 +73,7 @@ GTKHTML_SOURCEFILES = \ gtkhtml-3.0.10/src/gtkhtml-stream.c \ gtkhtml-3.0.10/src/gtkhtml-stream.h -api: api-2.4 api-2.6 api-2.8 +api: api-2.4 api-2.6 api-2.8 api-2.10 api-2.4: PATH=../parser:$$PATH $(RUNTIME) ../parser/gapi-parser.exe gtk-sharp-2.4-sources.xml @@ -71,7 +84,10 @@ api-2.6: api-2.8: PATH=../parser:$$PATH $(RUNTIME) ../parser/gapi-parser.exe gtk-sharp-2.8-sources.xml -get-source-code: get-2.4-sources get-2.6-sources get-2.8-sources get-gnome-sources get-gtkhtml-code +api-2.10: + PATH=../parser:$$PATH $(RUNTIME) ../parser/gapi-parser.exe gtk-sharp-2.10-sources.xml + +get-source-code: get-2.4-sources get-2.6-sources get-2.8-sources get-2.10-sources get-gnome-sources get-gtkhtml-code get-gtkhtml-code: wget http://ftp.gnome.org/pub/GNOME/sources/gtkhtml/3.0/gtkhtml-3.0.10.tar.bz2 --output-document=- | tar -xj $(GTKHTML_SOURCEFILES) @@ -100,6 +116,15 @@ get-2.8-sources: patch -p0 gtk+-2.8.9/gtk/gtktreemodel.c < gtk_tree_model_signal_fix.patch patch -p0 gtk+-2.8.9/gtk/gtkclipboard.h < gtkclipboard.patch +get-2.10-sources: + for i in $(GTK_2_10_DOWNLOADS); do \ + wget $$i --output-document=- | tar -xj ; \ + done; + ln -f -s gtkfilechooserprivate.h gtk+-2.9.0/gtk/gtkfilechooserpriv.h + patch -p0 gtk+-2.9.0/gtk/gtktreemodel.c < gtk_tree_model_signal_fix-2.10.patch + echo "typedef struct _GtkClipboard GtkClipboard;" >> gtk+-2.9.0/gtk/gtkclipboard.h + echo "typedef struct _GtkClipboardClass GtkClipboardClass;" >> gtk+-2.9.0/gtk/gtkclipboard.h + get-gnome-sources: for i in $(GNOME_DOWNLOADS); do \ wget $$i --output-document=- | tar -xj ; \ diff --git a/sources/gtk-sharp-2.10-sources.xml b/sources/gtk-sharp-2.10-sources.xml new file mode 100644 index 000000000..b7a69a3cf --- /dev/null +++ b/sources/gtk-sharp-2.10-sources.xml @@ -0,0 +1,262 @@ + + + + + atk-1.10.3/atk + + + + + + + + pangocairo.h + pangocairo-atsui.h + pangocairo-atsuifont.h + pangocairo-fc.h + pangocairo-win32.h + pangocairo-private.h + pangofc-decoder.c + pangofc-decoder.h + pangofc-font.c + pangofc-font.h + pangofc-fontmap.c + pangofc-fontmap.h + pangofc-private.h + pangox-fontcache.c + pangox-fontmap.c + pangox-private.h + pangox.h + pangox.c + pangoxft.h + pangoxft-font.c + pangoxft-font.h + pangoxft-fontmap.c + pangoxft-fontmap.h + pangoxft-private.h + pangoxft-render.c + pangoxft-render.h + pango-color-table.h + pango-impl-utils.h + pango-script-lang-table.h + pango-script-table.h + + + + + + + + + gdkalias.h + keyname-table.h + + + + + + + gdk-pixbuf-alias.h + xpm-color-table.h + + + + + + + + + + gtkalias.h + gtkbuiltincache.h + gtkdndcursors.h + gtkfilechooserdefault.c + gtkfilechooserdefault.h + gtkfilechooserembed.c + gtkfilechooserembed.h + gtkfilechooserentry.c + gtkfilechooserentry.h + gtkfilechooserutils.c + gtkfilechooserutils.h + gtkfilesystem.c + gtkfilesystem.h + gtkfilesystemmodel.c + gtkfilesystemmodel.h + gtkfilesystemunix.c + gtkfilesystemunix.h + gtkfilesystemwin32.c + gtkfilesystemwin32.h + gtkiconcache.c + gtkiconcache.h + gtkiconthemeparser.h + gtkpathbar.c + gtkpathbar.h + gtkrbtree.c + gtkrbtree.h + gtksequence.c + gtksequence.h + gtktextbtree.c + gtktextbtree.h + gtktextsegment.c + gtktextsegment.h + gtktexttypes.c + gtktexttypes.h + gtktextutil.c + gtktextutil.h + gtkthemes.c + gtkthemes.h + gtktreedatalist.c + gtktreedatalist.h + gtkwindow-decorate.c + gtkwindow-decorate.h + gtkxembed.h + xembed.h + + gtkclist.c + gtkclist.h + gtkctree.c + gtkctree.h + gtklist.c + gtklist.h + gtklistitem.c + gtklistitem.h + gtkoldeditable.c + gtkoldeditable.h + gtkpixmap.c + gtkpixmap.h + gtkpreview.c + gtkpreview.h + gtkprogress.c + gtkprogress.h + gtktext.c + gtktext.h + gtktipsquery.c + gtktipsquery.h + gtktree.c + gtktree.h + gtktreeitem.c + gtktreeitem.h + + + + + + + + + gnome-vfs-file-size.h + gnome-vfs-method.h + gnome-vfs-transform.h + + GNOME_VFS_Daemon-common.c + GNOME_VFS_Daemon.h + GNOME_VFS_Daemon-skels.c + GNOME_VFS_Daemon-stubs.c + gnome-vfs-job.c + gnome-vfs-job.h + + + + + + + + libgnome-2.14.1/libgnome + + + + + libgnomecanvas-2.14.0/libgnomecanvas + + + + + + + gnome-app-util.h + gnome-dialog.h + gnome-dialog-util.h + gnome-mdi.h + gnome-mdi-child.h + gnome-mdi-generic-child.h + gnome-mdi-session.h + gnome-messagebox.h + gnome-pixmap.h + gnome-propertybox.h + + + + + + + gnome-font-family.h + gnome-fontmap.h + gnome-print-encode.h + gnome-print-frgba.h + gnome-print-i18n.h + gnome-print-module.h + gnome-print-multipage.h + gnome-print-pdf.h + gnome-print-ps2.h + gnome-print-rbuf.h + gnome-print-rgbp.h + gp-path.h + gp-truetype-utils.h + gp-tt-t1.h + + + + + + + gnome-canvas-hacktext.h + gnome-print-copies.h + gnome-print-i18n.h + gnome-print-paper-preview.h + gnome-print-widget.h + gnome-printer-selector.h + + + + + + gnome-panel-2.14.1/libpanel-applet + + + + + + + gtkhtml-3.0.10/src + + + + + + + libglade-2.3.6/glade + + + + + + + libart_lgpl-2.3.16 + + + + + + + librsvg-2.6.4 + + + + + + + vte-0.11.10/src + + + + diff --git a/sources/gtk_tree_model_signal_fix-2.10.patch b/sources/gtk_tree_model_signal_fix-2.10.patch new file mode 100644 index 000000000..537d763fa --- /dev/null +++ b/sources/gtk_tree_model_signal_fix-2.10.patch @@ -0,0 +1,58 @@ +173,180c173,181 +< g_signal_newv (I_("row_inserted"), +< GTK_TYPE_TREE_MODEL, +< G_SIGNAL_RUN_FIRST, +< closure, +< NULL, NULL, +< _gtk_marshal_VOID__BOXED_BOXED, +< G_TYPE_NONE, 2, +< row_inserted_params); +--- +> g_signal_new ("row_inserted", +> GTK_TYPE_TREE_MODEL, +> G_SIGNAL_RUN_FIRST, +> G_STRUCT_OFFSET (GtkTreeModelIface, row_inserted), +> NULL, NULL, +> _gtk_marshal_VOID__BOXED_BOXED, +> G_TYPE_NONE, 2, +> GTK_TYPE_TREE_PATH, +> GTK_TYPE_TREE_ITER); +196,203c197,204 +< g_signal_newv (I_("row_deleted"), +< GTK_TYPE_TREE_MODEL, +< G_SIGNAL_RUN_FIRST, +< closure, +< NULL, NULL, +< _gtk_marshal_VOID__BOXED, +< G_TYPE_NONE, 1, +< row_deleted_params); +--- +> g_signal_new ("row_deleted", +> GTK_TYPE_TREE_MODEL, +> G_SIGNAL_RUN_FIRST, +> G_STRUCT_OFFSET (GtkTreeModelIface, row_deleted), +> NULL, NULL, +> _gtk_marshal_VOID__BOXED, +> G_TYPE_NONE, 1, +> GTK_TYPE_TREE_PATH); +208,215c209,219 +< g_signal_newv (I_("rows_reordered"), +< GTK_TYPE_TREE_MODEL, +< G_SIGNAL_RUN_FIRST, +< closure, +< NULL, NULL, +< _gtk_marshal_VOID__BOXED_BOXED_POINTER, +< G_TYPE_NONE, 3, +< rows_reordered_params); +--- +> g_signal_new ("rows_reordered", +> GTK_TYPE_TREE_MODEL, +> G_SIGNAL_RUN_FIRST, +> G_STRUCT_OFFSET (GtkTreeModelIface, rows_reordered), +> NULL, NULL, +> _gtk_marshal_VOID__BOXED_BOXED_POINTER, +> G_TYPE_NONE, 3, +> GTK_TYPE_TREE_PATH, +> GTK_TYPE_TREE_ITER, +> G_TYPE_POINTER); +>