GtkSharp/sources
Dan Winship abcecb147f * sources/gtk-sharp-2.4-sources.xml:
* sources/gtk-sharp-2.6-sources.xml: remove some gnome-vfs files:
	gnome-vfs-method and gnome-vfs-transform, because they're
	internal/part of the module API, and gnome-vfs-file-size.h,
	because it's generated and shouldn't be in the source tarball (and
	we don't parse it right anyway).

	* gnomevfs/gnome-vfs-api.raw: Regen

	* gnomevfs/gnomevfs-symbols.xml: add GnomeVFSFileOffset

	* gnomevfs/Gnomevfs.metadata: remove a whole bunch of callback
	types that are only used from methods and structs that we hide.

svn path=/trunk/gtk-sharp/; revision=47268
2005-07-13 15:08:08 +00:00
..
gda.patch 2004-11-13 Mike Kestner <mkestner@novell.com> 2004-11-13 05:25:21 +00:00
gnomedb.patch * sources/gnomedb.patch: Patch over a bug in gnome-db-editor.h 2005-02-23 20:22:19 +00:00
gtk-sharp-2.4-sources.xml * sources/gtk-sharp-2.4-sources.xml: 2005-07-13 15:08:08 +00:00
gtk-sharp-2.6-sources.xml * sources/gtk-sharp-2.4-sources.xml: 2005-07-13 15:08:08 +00:00
gtk_tree_model_signal_fix.patch merge to HEAD of jeroen and friends' work on the 2-4 branch. HEAD 2004-10-29 20:33:07 +00:00
gtkclipboard.patch 2005-04-21 Mike Kestner <mkestner@novell.com> 2005-04-21 17:10:54 +00:00
gtkhtml-font-style-enum.patch 2004-05-04 Mike Kestner <mkestner@ximian.com> 2004-05-04 04:53:28 +00:00
Makefile.am forgot a dist change 2005-05-06 17:15:37 +00:00
README * sources/README: update versions of the libs 2004-12-09 03:19:38 +00:00

The contents of this directory are (basically) the first step
in creating .NET bindings, to libraries based on GObject.

QUICK INSTRUCTIONS
------------------

    Edit the .metadata file(s), then do a:

        make get-source-code
        make api

   You only have to do a "make get-source-code" once!  After
    you have run "make get-source-code" once, do the following...


    Edit the .metadata file(s), then do a:

        make api


    Note, these instructions only generate XML files in the "api"
    directory.  To turn those XML files (in the "api" directory)
    into C# code; and then turn that C# code into a .DLL, you'll
    need to perform extra steps, which are NOT described in this
    document.

    (If you are going to create a new .NET binding, then you will need
    to do more than just this.)


WHO USES THE SOURCES DIRECTORY
------------------------------

    This directory is essentially the "starting point" in the creation
    of a .NET binding.  Most people can safely ignore it.  (If all
    you want to do is build Gtk#, then you can ignore what's in this
    directory.)

    This directory is not part of the normal "build process" for Gtk#.
    But is instead used by people wishing to update an existing .NET
    binding; or to create a new .NET binding (for a GObject based library).

    The result of running "make api" on this directory (once everything
    is set up) are the XML files that you find in the "api" directory.
    (Those XML files, that you find in the "api" directory,  are then used
    to generate the C# code.  And then that C# code is used to create
    the various .DLL files.)


WHAT'S REQUIRED
---------------

    Before you can do anything here, you need to get the source
    code to the various libraries (which you are generating .NET
    bindings for).  And then do a little configuring.  The current
    list of libraries that Gtk# supports is:

        pango-1.4.0
        atk-1.6.0
        gtk+-2.4.1
        libgnome-2.6.0
        libgnomecanvas-2.6.0
        libgnomeui-2.6.0
        libgnomeprint-2.6.0
        libgnomeprintui-2.6.0
        gtkhtml-3.0.10 files: gtkhtml.[ch], gtkhtml-types.h,
                 gtkhtml-enums.h, gtkhtml-stream.[ch]
        libglade-2.3.6
        libart_lgpl-2.3.16
        libgda-1.0.0
        libgnomedb-1.0.0
        librsvg-2.6.4
		gnome-vfs-2.6.0
		gnome-panel-2.6.0

    (If you create a new binding, that is part of Gtk#, be sure to add it
    to this list.  Also, you'll need to add an entry in "gtk-sharp.sources".
    And you should add it to the "makefile" so that it is part of the
    "get-source-code" rule.)

    (There are two ways to get this source code.  As you will see in the
    next section.)


SETTING THINGS UP
-----------------

    To set things up, you need to get the source code to the libraries listed
    above.  There are two (alternate) methods of doing this.

        Method 1)
            Download it.  Unpack the source code (if necessary).  Then do the extra
            cofiguration stuff listed above.

        Method 2)
            Run:
                make get-source-code


    (Method 2 is probably the easiest way to do it for most people.  It automatically
    goes and downloads everything you need.  And configures everything for you.)


EDITING .METADATA FILES
-----------------------

    Part of updating a .NET binding involves editing a .metadata file.  
    (Assuming you already have the required source code, to the
    libraries...) once you update a binding, you then run:

        make api

    ...to create the new updated XML file(s) that will be placed in the "api"
    directory.