From a4331a40ed7d419cbf3e6d042dddff952b57d177 Mon Sep 17 00:00:00 2001 From: Christian Hoff Date: Thu, 23 Jul 2009 17:18:03 +0000 Subject: [PATCH] 2009-07-23 Christian Hoff * configure.in.in, Makefile.include: Bump up GAPI version to 3.0. * bootstrap-2.14: Renamed to bootstrap-for-the-insane, added message of doom. [Fixes #521449] svn path=/trunk/gtk-sharp/; revision=138572 --- ChangeLog | 6 +++ Makefile.include | 2 +- bootstrap-2.14 | 14 ------- bootstrap-for-the-insane | 48 +++++++++++++++++++++++ configure.in.in | 8 ++-- generator/Makefile.am | 6 +-- generator/gapi2-codegen.in | 2 - parser/Makefile.am | 16 ++++---- parser/{gapi-2.0.pc.in => gapi-3.0.pc.in} | 0 parser/gapi2-fixup.in | 2 - parser/gapi2-parser.in | 3 -- 11 files changed, 70 insertions(+), 37 deletions(-) delete mode 100755 bootstrap-2.14 create mode 100755 bootstrap-for-the-insane delete mode 100755 generator/gapi2-codegen.in rename parser/{gapi-2.0.pc.in => gapi-3.0.pc.in} (100%) delete mode 100755 parser/gapi2-fixup.in delete mode 100755 parser/gapi2-parser.in diff --git a/ChangeLog b/ChangeLog index 993c7716e..9d1926daf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2009-07-23 Christian Hoff + + * configure.in.in, Makefile.include: Bump up GAPI version to 3.0. + * bootstrap-2.14: Renamed to bootstrap-for-the-insane, added message + of doom. [Fixes #521449] + 2009-07-21 Christian Hoff * glib/GInterfaceAdapter.cs: Fix a leak related to GCHandles not being freed. diff --git a/Makefile.include b/Makefile.include index 32481d024..ba44693d9 100644 --- a/Makefile.include +++ b/Makefile.include @@ -8,7 +8,7 @@ ASSEMBLY = $(ASSEMBLY_NAME).dll TARGET = $(pkg:=-sharp.dll) $(pkg:=-sharp.dll.config) $(POLICY_ASSEMBLIES) noinst_DATA = $(TARGET) TARGET_API = $(pkg:=-api.xml) -gapidir = $(datadir)/gapi-2.0 +gapidir = $(datadir)/gapi-3.0 gapi_DATA = $(TARGET_API) CLEANFILES = $(ASSEMBLY) $(ASSEMBLY).mdb $(POLICY_ASSEMBLIES) generated-stamp generated/*.cs $(API) glue/generated.c $(SNK) AssemblyInfo.cs $(POLICY_CONFIGS) DISTCLEANFILES = $(ASSEMBLY).config diff --git a/bootstrap-2.14 b/bootstrap-2.14 deleted file mode 100755 index e8f58b22e..000000000 --- a/bootstrap-2.14 +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/sh -# Run this to set configure.in up for an API version. - -GTK_SHARP_VERSION=2.13.90 -ASSEMBLY_VERSION=2.14.0.0 -POLICY_VERSIONS="2.4 2.6 2.8 2.10 2.12" -GTK_REQUIRED_VERSION=2.14.3 -GLIB_REQUIRED_VERSION=2.18.1 -MONO_REQUIRED_VERSION=2.2 -VERSIONCSDEFINES="-define:GTK_SHARP_2_6 -define:GTK_SHARP_2_8 -define:GTK_SHARP_2_10 -define:GTK_SHARP_2_12 -define:GTK_SHARP_2_14" -VERSIONCFLAGS="-DGTK_SHARP_2_6 -DGTK_SHARP_2_8 -DGTK_SHARP_2_10 -DGTK_SHARP_2_12 -DGTK_SHARP_2_14" -GTK_API_TAG=2.14 - -. ./bootstrap-generic "$@" diff --git a/bootstrap-for-the-insane b/bootstrap-for-the-insane new file mode 100755 index 000000000..7a2623cbb --- /dev/null +++ b/bootstrap-for-the-insane @@ -0,0 +1,48 @@ +#!/bin/sh +# Run this to set configure.in up for an API version. + +GTK_SHARP_VERSION=2.13.90 +ASSEMBLY_VERSION=2.14.0.0 +POLICY_VERSIONS="2.4 2.6 2.8 2.10 2.12" +GTK_REQUIRED_VERSION=2.14.3 +GLIB_REQUIRED_VERSION=2.18.1 +MONO_REQUIRED_VERSION=2.2 +VERSIONCSDEFINES="-define:GTK_SHARP_2_6 -define:GTK_SHARP_2_8 -define:GTK_SHARP_2_10 -define:GTK_SHARP_2_12 -define:GTK_SHARP_2_14" +VERSIONCFLAGS="-DGTK_SHARP_2_6 -DGTK_SHARP_2_8 -DGTK_SHARP_2_10 -DGTK_SHARP_2_12 -DGTK_SHARP_2_14" +GTK_API_TAG=2.14 + +. ./bootstrap-generic "$@" + +echo "" +echo " uuuuuuu" +echo " uu\$\$\$\$\$\$\$\$\$\$\$uu" +echo " uu\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$uu" +echo " u\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$u" +echo " u\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$u" +echo " u\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$u" +echo " u\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$u" +echo " u\$\$\$\$\$\$\" \"\$\$\$\" \"\$\$\$\$\$\$u" +echo " \"\$\$\$\$\" u\$u \$\$\$\$\"" +echo " \$\$\$u u\$u u\$\$\$" +echo " \$\$\$u u\$\$\$u u\$\$\$" +echo " \"\$\$\$\$uu\$\$\$ \$\$\$uu\$\$\$\$\"" +echo " \"\$\$\$\$\$\$\$\" \"\$\$\$\$\$\$\$\"" +echo " u\$\$\$\$\$\$\$u\$\$\$\$\$\$\$u" +echo " u\$\"\$\"\$\"\$\"\$\"\$\"\$u" +echo " uuu \$\$u\$ \$ \$ \$ \$u\$\$ uuu" +echo " u\$\$\$\$ \$\$\$\$\$u\$u\$u\$\$\$ u\$\$\$\$" +echo " \$\$\$\$\$uu \"\$\$\$\$\$\$\$\$\$\" uu\$\$\$\$\$\$ " +echo " u\$\$\$\$\$\$\$\$\$\$\$uu \"\"\"\"\" uuuu\$\$\$\$\$\$\$\$\$\$" +echo " \$\$\$\$\"\"\"\$\$\$\$\$\$\$\$\$\$uuu uu\$\$\$\$\$\$\$\$\$\"\"\"\$\$\$\"" +echo " \"\"\" \"\"\$\$\$\$\$\$\$\$\$\$\$uu \"\"\$\"\"\"" +echo " uuuu \"\"\$\$\$\$\$\$\$\$\$\$uuu\"" +echo " u\$\$\$uuu\$\$\$\$\$\$\$\$\$uu \"\"\$\$\$\$\$\$\$\$\$\$\$uuu\$\$\$" +echo " \$\$\$\$\$\$\$\$\$\$\"\"\"\" \"\"\$\$\$\$\$\$\$\$\$\$\$\"" +echo " \"\$\$\$\$\$\" \"\"\$\$\$\$\"\"" +echo " \$\$\$\" \$\$\$\$\"" +echo "" +echo "*** WARNING *** ***WARNING ***" +echo "This bootstrap is UNSUPPORTED and may be UNSTABLE" +echo "with NO SCHEDULED RELEASE DATE!" +echo "Unless you're completly insane, you should use the Gtk# 2.12 branch" +echo "(do not blame Novell if it busts your machine)" diff --git a/configure.in.in b/configure.in.in index f1c7c4667..8eb3f57b5 100644 --- a/configure.in.in +++ b/configure.in.in @@ -225,11 +225,11 @@ gtk-sharp-2.0-lib.wxs gtk-sharp-2.0-dev.wxs sources/Makefile parser/Makefile -parser/gapi-2.0.pc -parser/gapi2-fixup -parser/gapi2-parser +parser/gapi-3.0.pc +parser/gapi3-fixup +parser/gapi3-parser generator/Makefile -generator/gapi2-codegen +generator/gapi3-codegen glib/Makefile glib/glib-sharp-2.0.pc glib/glib-sharp.dll.config diff --git a/generator/Makefile.am b/generator/Makefile.am index c8c30646d..9cd2a0d7a 100644 --- a/generator/Makefile.am +++ b/generator/Makefile.am @@ -1,8 +1,8 @@ -assemblydir = $(prefix)/lib/gtk-sharp-2.0 +assemblydir = $(prefix)/lib/gapi-3.0 assembly_DATA = gapi_codegen.exe -bin_SCRIPTS = gapi2-codegen +bin_SCRIPTS = gapi3-codegen CLEANFILES = gapi_codegen.exe -DISTCLEANFILES = gapi2-codegen +DISTCLEANFILES = gapi3-codegen references = diff --git a/generator/gapi2-codegen.in b/generator/gapi2-codegen.in deleted file mode 100755 index b7a2621f6..000000000 --- a/generator/gapi2-codegen.in +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -@RUNTIME@ @prefix@/lib/gtk-sharp-2.0/gapi_codegen.exe "$@" diff --git a/parser/Makefile.am b/parser/Makefile.am index ce47bc76d..cc3bcca74 100644 --- a/parser/Makefile.am +++ b/parser/Makefile.am @@ -1,11 +1,11 @@ -assemblydir = $(prefix)/lib/gtk-sharp-2.0 +assemblydir = $(prefix)/lib/gapi-3.0 pkgconfigdir = $(libdir)/pkgconfig assembly_DATA = gapi-fixup.exe gapi-parser.exe -pkgconfig_DATA = gapi-2.0.pc -bin_SCRIPTS = gapi2-fixup gapi2-parser +pkgconfig_DATA = gapi-3.0.pc +bin_SCRIPTS = gapi3-fixup gapi3-parser assembly_SCRIPTS = gapi_pp.pl gapi2xml.pl CLEANFILES = gapi-fixup.exe gapi-parser.exe -DISTCLEANFILES = gapi2-fixup gapi2-parser gapi-2.0.pc +DISTCLEANFILES = gapi3-fixup gapi3-parser gapi-3.0.pc sources = \ gapi-fixup.cs \ @@ -13,14 +13,14 @@ sources = \ EXTRA_DIST = \ $(sources) \ - gapi2-parser.in \ + gapi3-parser.in \ gapi_pp.pl \ gapi2xml.pl \ - gapi-2.0.pc.in + gapi-3.0.pc.in -gapi-fixup.exe: $(srcdir)/gapi-fixup.cs +gapi3-fixup.exe: $(srcdir)/gapi-fixup.cs $(CSC) /out:gapi-fixup.exe $(srcdir)/gapi-fixup.cs -gapi-parser.exe: $(srcdir)/gapi-parser.cs +gapi3-parser.exe: $(srcdir)/gapi-parser.cs $(CSC) /out:gapi-parser.exe $(srcdir)/gapi-parser.cs diff --git a/parser/gapi-2.0.pc.in b/parser/gapi-3.0.pc.in similarity index 100% rename from parser/gapi-2.0.pc.in rename to parser/gapi-3.0.pc.in diff --git a/parser/gapi2-fixup.in b/parser/gapi2-fixup.in deleted file mode 100755 index 906ddf611..000000000 --- a/parser/gapi2-fixup.in +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -@RUNTIME@ @prefix@/lib/gtk-sharp-2.0/gapi-fixup.exe "$@" diff --git a/parser/gapi2-parser.in b/parser/gapi2-parser.in deleted file mode 100755 index 25e54ca38..000000000 --- a/parser/gapi2-parser.in +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -export PATH=@prefix@/lib/gtk-sharp-2.0:$PATH -@RUNTIME@ @prefix@/lib/gtk-sharp-2.0/gapi-parser.exe "$@"