[Mono-dev] gtk-sharp bootstrap vs. bootstrap-2.4

Steven T. Hatton hattons at globalsymmetry.com
Mon Aug 22 06:23:18 EDT 2005


On Monday 22 August 2005 02:28, Paul F. Johnson wrote:
> Hi,
>
> > I'm further confused by this information:
> > http://www.all-the-johnsons.co.uk/mono/mono-compiling.html
> > "The build process for gtk-sharp is different to the other modules in
> > mono. Instead of ./autogen.sh, there is the choice of ./bootstrap
> > and ./bootstrap-2.4. The only difference is if you're using the bleeding
> > edge version, you should use the 2.4 version."
>
> gtk-sharp comes in two flavours. One is designed for the stable mono,
> the other for those using the developer branch (and now a third for the
> clinically insane by the looks of it!). bootstrap is for stable,
> bootstrap-2.4 is for the developers version.
>
> At least, that's how I understand it.

After staring at the configure.in.in for a while, I came up with the idea of 
trying to look at what it's looking at, so I hacked up a bit of bash:


GNOME_LIST="libgnomecanvas-2.0 libgnomeui-2.0 gtk+-2.0 libgnomeprintui-2.2 
gmodule-2.0 libpanelapplet-2.0"
echo "gnome-sharp"
for p in $GNOME_LIST; do echo -n "$p=>"; pkg-config --modversion $p; done

echo "rsvg-sharp"
pkg-config --modversion librsvg-2.0

echo "vte-sharp"
pkg-config --modversion vte
##############################


That (and grep) lead me to look at the bootstrap files:

##############################
./bootstrap
#!/bin/sh
# Run this to set configure.in up for an API version.

GTK_SHARP_VERSION=2.5.90
ASSEMBLY_VERSION=2.6.0.0
GTK_REQUIRED_VERSION=2.6.0
GNOME_REQUIRED_VERSION=2.10.0
VERSIONCSDEFINES=-define:GTK_SHARP_2_6
VERSIONCFLAGS=-DGTK_SHARP_2_6
GTK_API_TAG=2.6
GNOME_API_TAG=2.10

. ./bootstrap-generic "$@"


##########################################
./bootstrap-2,4

#!/bin/sh
# Run this to set configure.in up for an API version.

GTK_SHARP_VERSION=2.3.90
ASSEMBLY_VERSION=2.4.0.0
GTK_REQUIRED_VERSION=2.4.0
GNOME_REQUIRED_VERSION=2.6.0
VERSIONCSDEFINES=
VERSIONCFLAGS=
GTK_API_TAG=2.4
GNOME_API_TAG=2.6

. ./bootstrap-generic "$@"

It would appear you were given some bad info at some point, or things have 
changed.
-- 
Regards,
Steven



More information about the Mono-devel-list mailing list