diff --git a/build/win32/vs10/Makefile.am b/build/win32/vs10/Makefile.am index 44b2883d1b..0a0120ba6f 100644 --- a/build/win32/vs10/Makefile.am +++ b/build/win32/vs10/Makefile.am @@ -37,6 +37,7 @@ EXTRA_DIST += \ gtk-version-paths.props \ gtkprebuild-broadway.props \ gtkprebuild.props \ - gtk-copy-gdk-broadway.props + gtk-copy-gdk-broadway.props \ + gtk-gen-sources.props -include $(top_srcdir)/git.mk diff --git a/build/win32/vs10/README.txt b/build/win32/vs10/README.txt index 64c62ddd98..e00b0833a4 100644 --- a/build/win32/vs10/README.txt +++ b/build/win32/vs10/README.txt @@ -20,6 +20,11 @@ ATK and GLib. External dependencies are at least Cairo gettext-runtime, fontconfig*, freetype*, expat*. See the build/win32/vs10/README.txt file in glib for details where to unpack them. +You will also need a Python 2.x/3.x interpretor installed on your system, +which can be obtained from the official installers available from +http://www.python.org. Please note that the Python interpretor (python.exe) +needs to be in your path before attempting the build of GTK+. + It is recommended that one builds the dependencies with VS10 as far as possible, especially those from and using the GTK+ stack (i.e. GLib, Cairo, ATK, Pango, GDK-Pixbuf), so that crashes caused by mixing calls diff --git a/build/win32/vs10/gtk-gen-sources.props b/build/win32/vs10/gtk-gen-sources.props new file mode 100644 index 0000000000..a2cdd1eb62 --- /dev/null +++ b/build/win32/vs10/gtk-gen-sources.props @@ -0,0 +1,20 @@ + + + + + + + +cd ..\..\..\gtk + +python $(GlibEtcInstallRoot)\bin\gdbus-codegen --interface-prefix org.Gtk. --c-namespace _Gtk --generate-c-code gtkdbusgenerated ./gtkdbusinterfaces.xml + +cd $(SolutionDir) + + + + + $(GenerateGtkDbusBuiltSources) + + + \ No newline at end of file diff --git a/build/win32/vs10/gtk-version-paths.props b/build/win32/vs10/gtk-version-paths.props index fe2829f05e..62c244a285 100644 --- a/build/win32/vs10/gtk-version-paths.props +++ b/build/win32/vs10/gtk-version-paths.props @@ -2,9 +2,9 @@ 10 - ..\..\..\..\vs$(VSVer)\$(Platform) + $(SolutionDir)\..\..\..\..\vs$(VSVer)\$(Platform) ..\..\..\vs$(VSVer)\$(Platform) - $(GlibEtcInstallRoot) + ..\..\..\..\vs$(VSVer)\$(Platform) 3.0 lib -$(ApiVersion)-0 diff --git a/build/win32/vs10/gtk.vcxproj.filtersin b/build/win32/vs10/gtk.vcxproj.filtersin index b5b1c9879e..f6be8055fc 100644 --- a/build/win32/vs10/gtk.vcxproj.filtersin +++ b/build/win32/vs10/gtk.vcxproj.filtersin @@ -17,6 +17,9 @@ Resource Files + + Resource Files + #include "libgtk.vs10.sourcefiles.filters" Source Files diff --git a/build/win32/vs10/gtk.vcxprojin b/build/win32/vs10/gtk.vcxprojin index 08057d9174..80a94b3c53 100644 --- a/build/win32/vs10/gtk.vcxprojin +++ b/build/win32/vs10/gtk.vcxprojin @@ -51,19 +51,19 @@ - + - + - + - + @@ -158,6 +158,22 @@ MachineX64 + + + Generating GTK+ DBus Sources... + $(GenerateGtkDbusBuiltSources) + ..\..\..\gtk\gtkdbusgenerated.c;..\..\..\gtk\gtkdbusgenerated.h%(Outputs) + Generating GTK+ DBus Sources... + $(GenerateGtkDbusBuiltSources) + ..\..\..\gtk\gtkdbusgenerated.c;..\..\..\gtk\gtkdbusgenerated.h%(Outputs) + Generating GTK+ DBus Sources... + $(GenerateGtkDbusBuiltSources) + ..\..\..\gtk\gtkdbusgenerated.c;..\..\..\gtk\gtkdbusgenerated.h%(Outputs) + Generating GTK+ DBus Sources... + $(GenerateGtkDbusBuiltSources) + ..\..\..\gtk\gtkdbusgenerated.c;..\..\..\gtk\gtkdbusgenerated.h%(Outputs) + + diff --git a/build/win32/vs9/Makefile.am b/build/win32/vs9/Makefile.am index f56ec64236..116847a333 100644 --- a/build/win32/vs9/Makefile.am +++ b/build/win32/vs9/Makefile.am @@ -25,6 +25,7 @@ EXTRA_DIST += \ gtk-version-paths.vsprops \ gtkprebuild.vsprops \ gtkprebuild-broadway.vsprops \ - gtk-copy-gdk-broadway.vsprops + gtk-copy-gdk-broadway.vsprops \ + gtk-gen-sources.vsprops -include $(top_srcdir)/git.mk diff --git a/build/win32/vs9/README.txt b/build/win32/vs9/README.txt index 7f0c6ba355..0cf37f4bbc 100644 --- a/build/win32/vs9/README.txt +++ b/build/win32/vs9/README.txt @@ -19,6 +19,11 @@ ATK and GLib. External dependencies are at least Cairo gettext-runtime, fontconfig*, freetype*, expat*. See the build/win32/vs9/README.txt file in glib for details where to unpack them. +You will also need a Python 2.x/3.x interpretor installed on your system, +which can be obtained from the official installers available from +http://www.python.org. Please note that the Python interpretor (python.exe) +needs to be in your path before attempting the build of GTK+. + It is recommended that one builds the dependencies with VS9 as far as possible, especially those from and using the GTK+ stack (i.e. GLib, Cairo, ATK, Pango, GDK-Pixbuf), so that crashes caused by mixing calls diff --git a/build/win32/vs9/gtk-gen-sources.vsprops b/build/win32/vs9/gtk-gen-sources.vsprops new file mode 100644 index 0000000000..c6f87c5d3f --- /dev/null +++ b/build/win32/vs9/gtk-gen-sources.vsprops @@ -0,0 +1,16 @@ + + + + \ No newline at end of file diff --git a/build/win32/vs9/gtk-version-paths.vsprops b/build/win32/vs9/gtk-version-paths.vsprops index 7a97b1895a..5fbda28efd 100644 --- a/build/win32/vs9/gtk-version-paths.vsprops +++ b/build/win32/vs9/gtk-version-paths.vsprops @@ -10,7 +10,7 @@ /> @@ -53,7 +53,7 @@ @@ -117,7 +117,7 @@ + + + + + + + + + + + + + +