in a GTK+ source tree unpacked from a tarball. In a git checkout you\r
first need to use some Unix-like environment or manual work to expand\r
the files needed, like config.h.win32.in into config.h.win32 and the\r
-.vcprojin files here into corresponding actual .vcproj files.\r
+.vcxprojin and .vcxproj.filtersin files here into corresponding actual\r
+.vcxproj and vcxproj.filters files.\r
\r
You will need the parts from below in the GTK+ stack: GDK-Pixbuf, Pango,\r
ATK and GLib. External dependencies are at least Cairo\r
zlib, libpng, and Cairo do contain support for compiling under VS10\r
using VS project files and/or makefiles at this time of writing, For the\r
GTK+ stack, VS10 project files are either available under\r
-$(srcroot)/build/vs10 in the case of GLib (stable/unstable), ATK**\r
-(2.x stable/unstable) and GDK-Pixbuf (unstable), and should be in the next\r
+$(srcroot)/build/vs10 in the case of GLib (stable/unstable), ATK\r
+(stable/unstable) and GDK-Pixbuf (unstable), and should be in the next\r
unstable version of Pango. There is no known official VS10 build\r
support for fontconfig (along with freetype and expat) and\r
gettext-runtime, so please use the binaries from: \r
-(for GDK-Pixbuf, if not using GDI+) jasper [jpeg-2000 library]\r
-(optional for GLib) PCRE (version 8.12 or later, use of CMake to\r
build PCRE is recommended-see build/win32/vs10/README.txt of GLib)\r
--GLib ***\r
+-GLib **\r
-Cairo (inclusive of Cairo-GObject)\r
--ATK-2.x** ***\r
--Pango***\r
--GDK-Pixbuf***\r
+-ATK**\r
+-Pango**\r
+-GDK-Pixbuf**\r
(note the last 3 dependencies are not interdependent, so the last 3\r
dependencies can be built in any order)\r
\r
are referred to by components in Cairo and Pango mainly.\r
Decide whether you need fontconfig support prior to building Cairo\r
and Pango.\r
- \r
-**Regarding ATK-2.x: prior to compiling ATK-2.x, please open atkprops\r
- in VS under "Properties Manager" view (it is under any one of the\r
- build configurations, right-click on atkprops and select "Properties").\r
- Navigate to "User Macros", and edit the following fields:\r
- AtkApiVersion -> 2.0\r
- AtkLibToolCompatibleDllSuffix -> -2.0-0\r
- AtkSeperateVS10DLLSuffix -> -2-vs10\r
- Sorry this change did not make it upstream prior to ATK-2.0.0 release-\r
- this will be in the subsequent releases of ATK-2.x and was committed\r
- upstream.\r
\r
-***:Put the sources of the packages marked with *** in <root>\<package-\r
+**:Put the sources of the packages marked with ** in <root>\<package-\r
source-tree>, and build with VS10 from there.\r
\r
--Tor Lillqvist <tml@iki.fi>\r
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>\r
</ClCompile>\r
<Link>\r
- <AdditionalDependencies>atk-2.0.lib;%(AdditionalDependencies)</AdditionalDependencies>\r
+ <AdditionalDependencies>atk-1.0.lib;%(AdditionalDependencies)</AdditionalDependencies>\r
<OutputFile>$(OutDir)$(GtkDllPrefix)$(ProjectName)$(GtkDllSuffix).dll</OutputFile>\r
<GenerateDebugInformation>true</GenerateDebugInformation>\r
<ModuleDefinitionFile>..\..\..\libgail-util\gailutil.def</ModuleDefinitionFile>\r
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>\r
</ClCompile>\r
<Link>\r
- <AdditionalDependencies>atk-2.0.lib;%(AdditionalDependencies)</AdditionalDependencies>\r
+ <AdditionalDependencies>atk-1.0.lib;%(AdditionalDependencies)</AdditionalDependencies>\r
<OutputFile>$(OutDir)$(GtkDllPrefix)$(ProjectName)$(GtkDllSuffix).dll</OutputFile>\r
<ModuleDefinitionFile>..\..\..\libgail-util\gailutil.def</ModuleDefinitionFile>\r
<GenerateDebugInformation>true</GenerateDebugInformation>\r
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>\r
</ClCompile>\r
<Link>\r
- <AdditionalDependencies>atk-2.0.lib;%(AdditionalDependencies)</AdditionalDependencies>\r
+ <AdditionalDependencies>atk-1.0.lib;%(AdditionalDependencies)</AdditionalDependencies>\r
<OutputFile>$(OutDir)$(GtkDllPrefix)$(ProjectName)$(GtkDllSuffix).dll</OutputFile>\r
<GenerateDebugInformation>true</GenerateDebugInformation>\r
<ModuleDefinitionFile>..\..\..\libgail-util\gailutil.def</ModuleDefinitionFile>\r
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>\r
</ClCompile>\r
<Link>\r
- <AdditionalDependencies>atk-2.0.lib;%(AdditionalDependencies)</AdditionalDependencies>\r
+ <AdditionalDependencies>atk-1.0.lib;%(AdditionalDependencies)</AdditionalDependencies>\r
<OutputFile>$(OutDir)$(GtkDllPrefix)$(ProjectName)$(GtkDllSuffix).dll</OutputFile>\r
<ModuleDefinitionFile>..\..\..\libgail-util\gailutil.def</ModuleDefinitionFile>\r
<GenerateDebugInformation>true</GenerateDebugInformation>\r
</PropertyGroup>
<ItemDefinitionGroup>
<ClCompile>
- <AdditionalIncludeDirectories>..\..\..;$(GlibEtcInstallRoot)\lib\glib-2.0\include;$(GlibEtcInstallRoot)\include\glib-2.0;$(GlibEtcInstallRoot)\include;$(GlibEtcInstallRoot)\include\cairo;$(GlibEtcInstallRoot)\include\atk-2.0;$(GlibEtcInstallRoot)\include\pango-1.0;$(GlibEtcInstallRoot)\include\gdk-pixbuf-2.0;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ <AdditionalIncludeDirectories>..\..\..;$(GlibEtcInstallRoot)\lib\glib-2.0\include;$(GlibEtcInstallRoot)\include\glib-2.0;$(GlibEtcInstallRoot)\include;$(GlibEtcInstallRoot)\include\cairo;$(GlibEtcInstallRoot)\include\atk-1.0;$(GlibEtcInstallRoot)\include\pango-1.0;$(GlibEtcInstallRoot)\include\gdk-pixbuf-2.0;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>HAVE_CONFIG_H;G_DISABLE_DEPRECATED;G_DISABLE_SINGLE_INCLUDES;ATK_DISABLE_SINGLE_INCLUDES;GDK_PIXBUF_DISABLE_SINGLE_INCLUDES;GTK_DISABLE_SINGLE_INCLUDES;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ForcedIncludeFiles>msvc_recommended_pragmas.h;%(ForcedIncludeFiles)</ForcedIncludeFiles>
</ClCompile>
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
</ClCompile>
<Link>
- <AdditionalDependencies>atk-2.0.lib;pangowin32-1.0.lib;imm32.lib;winspool.lib;comctl32.lib;%(AdditionalDependencies)</AdditionalDependencies>
+ <AdditionalDependencies>atk-1.0.lib;pangowin32-1.0.lib;imm32.lib;winspool.lib;comctl32.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>$(OutDir)$(GtkDllPrefix)$(ProjectName)-win32$(GtkDllSuffix).dll</OutputFile>
<ModuleDefinitionFile>$(IntDir)gtk.def</ModuleDefinitionFile>
<GenerateDebugInformation>true</GenerateDebugInformation>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
</ClCompile>
<Link>
- <AdditionalDependencies>atk-2.0.lib;pangowin32-1.0.lib;imm32.lib;winspool.lib;comctl32.lib;%(AdditionalDependencies)</AdditionalDependencies>
+ <AdditionalDependencies>atk-1.0.lib;pangowin32-1.0.lib;imm32.lib;winspool.lib;comctl32.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>$(OutDir)$(GtkDllPrefix)$(ProjectName)-win32$(GtkDllSuffix).dll</OutputFile>
<ModuleDefinitionFile>$(IntDir)gtk.def</ModuleDefinitionFile>
<GenerateDebugInformation>true</GenerateDebugInformation>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
</ClCompile>
<Link>
- <AdditionalDependencies>atk-2.0.lib;pangowin32-1.0.lib;imm32.lib;winspool.lib;comctl32.lib;%(AdditionalDependencies)</AdditionalDependencies>
+ <AdditionalDependencies>atk-1.0.lib;pangowin32-1.0.lib;imm32.lib;winspool.lib;comctl32.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>$(OutDir)$(GtkDllPrefix)$(ProjectName)-win32$(GtkDllSuffix).dll</OutputFile>
<ModuleDefinitionFile>$(IntDir)gtk.def</ModuleDefinitionFile>
<GenerateDebugInformation>true</GenerateDebugInformation>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
</ClCompile>
<Link>
- <AdditionalDependencies>atk-2.0.lib;pangowin32-1.0.lib;imm32.lib;winspool.lib;comctl32.lib;%(AdditionalDependencies)</AdditionalDependencies>
+ <AdditionalDependencies>atk-1.0.lib;pangowin32-1.0.lib;imm32.lib;winspool.lib;comctl32.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>$(OutDir)$(GtkDllPrefix)$(ProjectName)-win32$(GtkDllSuffix).dll</OutputFile>
<ModuleDefinitionFile>$(IntDir)gtk.def</ModuleDefinitionFile>
<GenerateDebugInformation>true</GenerateDebugInformation>
.vcprojin files here into corresponding actual .vcproj files.\r
\r
You will need the parts from below in the GTK+ stack: GDK-Pixbuf, Pango,\r
-ATK (2.x)** and GLib. External dependencies are at least Cairo\r
+ATK and GLib. External dependencies are at least Cairo\r
(with Cairo-GObject support, meaning Cairo 1.10.x or later), zlib, libpng,\r
gettext-runtime, fontconfig*, freetype*, expat*. See the \r
build/win32/vs9/README.txt file in glib for details where to unpack them.\r
zlib, libpng, and Cairo do contain support for compiling under VS9\r
using VS project files and/or makefiles at this time of writing, For the\r
GTK+ stack, VS9 project files are either available under\r
-$(srcroot)/build/vs9 in the case of GLib (stable/unstable), ATK**\r
-(2.x stable/unstable) and GDK-Pixbuf (unstable), and should be in the next\r
+$(srcroot)/build/vs9 in the case of GLib (stable/unstable), ATK\r
+(stable/unstable) and GDK-Pixbuf (unstable), and should be in the next\r
unstable version of Pango. There is no known official VS9 build\r
support for fontconfig (along with freetype and expat) and\r
gettext-runtime, so please use the binaries from: \r
-(for GDK-Pixbuf, if not using GDI+) jasper [jpeg-2000 library])\r
-(optional for GLib) PCRE (version 8.12 or later, use of CMake to\r
build PCRE is recommended-see build/win32/vs9/README.txt of GLib)\r
--GLib ***\r
+-GLib **\r
-Cairo (inclusive of Cairo-GObject)\r
--ATK-2.x** ***\r
--Pango***\r
--GDK-Pixbuf***\r
+-ATK**\r
+-Pango**\r
+-GDK-Pixbuf**\r
(note the last 3 dependencies are not interdependent, so the last 3\r
dependencies can be built in any order)\r
\r
Decide whether you need fontconfig support prior to building Cairo\r
and Pango.\r
\r
-**Regarding ATK-2.x: prior to compiling ATK-2.x, please open atkprops\r
- in VS under "Properties Manager" view (it is under any one of the\r
- build configurations, right-click on atkprops and select "Properties").\r
- Navigate to "User Macros", and edit the following fields:\r
- AtkApiVersion -> 2.0\r
- AtkLibToolCompatibleDllSuffix -> -2.0-0\r
- AtkSeperateVS9DLLSuffix -> -2-vs9\r
- Sorry this change did not make it upstream prior to ATK-2.0.0 release-\r
- this will be in the subsequent releases of ATK-2.x and was committed\r
- upstream.\r
-\r
-***:Put the sources of the packages marked with *** in <root>\<package-\r
+**:Put the sources of the packages marked with ** in <root>\<package-\r
source-tree>, and build with VS9 from there.\r
\r
--Tor Lillqvist <tml@iki.fi>\r
<Tool\r
Name="VCLinkerTool"\r
LinkIncremental="2"\r
- AdditionalDependencies="atk-2.0.lib"\r
+ AdditionalDependencies="atk-1.0.lib"\r
OutputFile="$(OutDir)\$(GtkDllPrefix)$(ProjectName)$(GtkDllSuffix).dll"\r
GenerateDebugInformation="true"\r
ModuleDefinitionFile="..\..\..\libgail-util\gailutil.def"\r
/>\r
<Tool\r
Name="VCLinkerTool"\r
- AdditionalDependencies="atk-2.0.lib"\r
+ AdditionalDependencies="atk-1.0.lib"\r
OutputFile="$(OutDir)\$(GtkDllPrefix)$(ProjectName)$(GtkDllSuffix).dll"\r
LinkIncremental="2"\r
ModuleDefinitionFile="..\..\..\libgail-util\gailutil.def"\r
<Tool\r
Name="VCLinkerTool"\r
LinkIncremental="1"\r
- AdditionalDependencies="atk-2.0.lib"\r
+ AdditionalDependencies="atk-1.0.lib"\r
OutputFile="$(OutDir)\$(GtkDllPrefix)$(ProjectName)$(GtkDllSuffix).dll"\r
GenerateDebugInformation="true"\r
ModuleDefinitionFile="..\..\..\libgail-util\gailutil.def"\r
/>\r
<Tool\r
Name="VCLinkerTool"\r
- AdditionalDependencies="atk-2.0.lib"\r
+ AdditionalDependencies="atk-1.0.lib"\r
OutputFile="$(OutDir)\$(GtkDllPrefix)$(ProjectName)$(GtkDllSuffix).dll"\r
LinkIncremental="2"\r
ModuleDefinitionFile="..\..\..\libgail-util\gailutil.def"\r
>\r
<Tool\r
Name="VCCLCompilerTool"\r
- AdditionalIncludeDirectories="..\..\..;$(GlibEtcInstallRoot)\lib\glib-2.0\include;$(GlibEtcInstallRoot)\include\glib-2.0;$(GlibEtcInstallRoot)\include;$(GlibEtcInstallRoot)\include\cairo;$(GlibEtcInstallRoot)\include\atk-2.0;$(GlibEtcInstallRoot)\include\pango-1.0;$(GlibEtcInstallRoot)\include\gdk-pixbuf-2.0"\r
+ AdditionalIncludeDirectories="..\..\..;$(GlibEtcInstallRoot)\lib\glib-2.0\include;$(GlibEtcInstallRoot)\include\glib-2.0;$(GlibEtcInstallRoot)\include;$(GlibEtcInstallRoot)\include\cairo;$(GlibEtcInstallRoot)\include\atk-1.0;$(GlibEtcInstallRoot)\include\pango-1.0;$(GlibEtcInstallRoot)\include\gdk-pixbuf-2.0"\r
PreprocessorDefinitions="HAVE_CONFIG_H;G_DISABLE_DEPRECATED;G_DISABLE_SINGLE_INCLUDES;ATK_DISABLE_SINGLE_INCLUDES;GDK_PIXBUF_DISABLE_SINGLE_INCLUDES;GTK_DISABLE_SINGLE_INCLUDES"\r
ForcedIncludeFiles="msvc_recommended_pragmas.h"\r
/>\r
/>\r
<Tool\r
Name="VCLinkerTool"\r
- AdditionalDependencies="atk-2.0.lib pangowin32-1.0.lib imm32.lib winspool.lib comctl32.lib"\r
+ AdditionalDependencies="atk-1.0.lib pangowin32-1.0.lib imm32.lib winspool.lib comctl32.lib"\r
OutputFile="$(OutDir)\$(GtkDllPrefix)$(ProjectName)-win32$(GtkDllSuffix).dll"\r
LinkIncremental="2"\r
ModuleDefinitionFile="$(IntDir)\gtk.def"\r
/>\r
<Tool\r
Name="VCLinkerTool"\r
- AdditionalDependencies="atk-2.0.lib pangowin32-1.0.lib imm32.lib winspool.lib comctl32.lib"\r
+ AdditionalDependencies="atk-1.0.lib pangowin32-1.0.lib imm32.lib winspool.lib comctl32.lib"\r
OutputFile="$(OutDir)\$(GtkDllPrefix)$(ProjectName)-win32$(GtkDllSuffix).dll"\r
LinkIncremental="2"\r
ModuleDefinitionFile="$(IntDir)\gtk.def"\r
/>\r
<Tool\r
Name="VCLinkerTool"\r
- AdditionalDependencies="atk-2.0.lib pangowin32-1.0.lib imm32.lib winspool.lib comctl32.lib"\r
+ AdditionalDependencies="atk-1.0.lib pangowin32-1.0.lib imm32.lib winspool.lib comctl32.lib"\r
OutputFile="$(OutDir)\$(GtkDllPrefix)$(ProjectName)-win32$(GtkDllSuffix).dll"\r
LinkIncremental="2"\r
ModuleDefinitionFile="$(IntDir)\gtk.def"\r
/>\r
<Tool\r
Name="VCLinkerTool"\r
- AdditionalDependencies="atk-2.0.lib pangowin32-1.0.lib imm32.lib winspool.lib comctl32.lib"\r
+ AdditionalDependencies="atk-1.0.lib pangowin32-1.0.lib imm32.lib winspool.lib comctl32.lib"\r
OutputFile="$(OutDir)\$(GtkDllPrefix)$(ProjectName)-win32$(GtkDllSuffix).dll"\r
LinkIncremental="2"\r
ModuleDefinitionFile="$(IntDir)\gtk.def"\r