From d6c13e0f89be3aacadc9d52efe1a82ccaee361c3 Mon Sep 17 00:00:00 2001 From: Berke Viktor Date: Sun, 30 Sep 2012 21:41:34 +0200 Subject: [PATCH] Add ATK solution and release scripts --- win32/deps/atk/build/win32/vc11/atk.props | 173 ++++++++++++++ win32/deps/atk/build/win32/vc11/atk.sln | 36 +++ win32/deps/atk/build/win32/vc11/atk.vcxproj | 212 ++++++++++++++++++ .../atk/build/win32/vc11/atk.vcxproj.filters | 111 +++++++++ .../deps/atk/build/win32/vc11/install.vcxproj | 136 +++++++++++ win32/deps/atk/release-x64.bat | 21 ++ win32/deps/atk/release-x86.bat | 21 ++ 7 files changed, 710 insertions(+) create mode 100644 win32/deps/atk/build/win32/vc11/atk.props create mode 100644 win32/deps/atk/build/win32/vc11/atk.sln create mode 100644 win32/deps/atk/build/win32/vc11/atk.vcxproj create mode 100644 win32/deps/atk/build/win32/vc11/atk.vcxproj.filters create mode 100644 win32/deps/atk/build/win32/vc11/install.vcxproj create mode 100644 win32/deps/atk/release-x64.bat create mode 100644 win32/deps/atk/release-x86.bat diff --git a/win32/deps/atk/build/win32/vc11/atk.props b/win32/deps/atk/build/win32/vc11/atk.props new file mode 100644 index 00000000..0dcaf0a0 --- /dev/null +++ b/win32/deps/atk/build/win32/vc11/atk.props @@ -0,0 +1,173 @@ + + + + 1.0 + \"/dummy\" + ..\..\..\..\build\$(Platform) + ..\..\..\..\atk-2.5.91-rel + +mkdir $(CopyDir)\bin + +copy $(SolutionDir)$(Configuration)\$(Platform)\bin\*.dll $(CopyDir)\bin + + +mkdir $(CopyDir)\include\atk-$(AtkApiVersion)\atk + +copy ..\..\..\atk\atk.h $(CopyDir)\include\atk-$(AtkApiVersion)\atk + +copy ..\..\..\atk\atkaction.h $(CopyDir)\include\atk-$(AtkApiVersion)\atk + +copy ..\..\..\atk\atkcomponent.h $(CopyDir)\include\atk-$(AtkApiVersion)\atk + +copy ..\..\..\atk\atkdocument.h $(CopyDir)\include\atk-$(AtkApiVersion)\atk + +copy ..\..\..\atk\atkeditabletext.h $(CopyDir)\include\atk-$(AtkApiVersion)\atk + +copy ..\..\..\atk\atkgobjectaccessible.h $(CopyDir)\include\atk-$(AtkApiVersion)\atk + +copy ..\..\..\atk\atkhyperlink.h $(CopyDir)\include\atk-$(AtkApiVersion)\atk + +copy ..\..\..\atk\atkhyperlinkimpl.h $(CopyDir)\include\atk-$(AtkApiVersion)\atk + +copy ..\..\..\atk\atkhypertext.h $(CopyDir)\include\atk-$(AtkApiVersion)\atk + +copy ..\..\..\atk\atknoopobject.h $(CopyDir)\include\atk-$(AtkApiVersion)\atk + +copy ..\..\..\atk\atknoopobjectfactory.h $(CopyDir)\include\atk-$(AtkApiVersion)\atk + +copy ..\..\..\atk\atkobject.h $(CopyDir)\include\atk-$(AtkApiVersion)\atk + +copy ..\..\..\atk\atkobjectfactory.h $(CopyDir)\include\atk-$(AtkApiVersion)\atk + +copy ..\..\..\atk\atkplug.h $(CopyDir)\include\atk-$(AtkApiVersion)\atk + +copy ..\..\..\atk\atkimage.h $(CopyDir)\include\atk-$(AtkApiVersion)\atk + +copy ..\..\..\atk\atkregistry.h $(CopyDir)\include\atk-$(AtkApiVersion)\atk + +copy ..\..\..\atk\atkrelation.h $(CopyDir)\include\atk-$(AtkApiVersion)\atk + +copy ..\..\..\atk\atkrelationtype.h $(CopyDir)\include\atk-$(AtkApiVersion)\atk + +copy ..\..\..\atk\atkrelationset.h $(CopyDir)\include\atk-$(AtkApiVersion)\atk + +copy ..\..\..\atk\atkselection.h $(CopyDir)\include\atk-$(AtkApiVersion)\atk + +copy ..\..\..\atk\atksocket.h $(CopyDir)\include\atk-$(AtkApiVersion)\atk + +copy ..\..\..\atk\atkstate.h $(CopyDir)\include\atk-$(AtkApiVersion)\atk + +copy ..\..\..\atk\atkstateset.h $(CopyDir)\include\atk-$(AtkApiVersion)\atk + +copy ..\..\..\atk\atkstreamablecontent.h $(CopyDir)\include\atk-$(AtkApiVersion)\atk + +copy ..\..\..\atk\atktable.h $(CopyDir)\include\atk-$(AtkApiVersion)\atk + +copy ..\..\..\atk\atktext.h $(CopyDir)\include\atk-$(AtkApiVersion)\atk + +copy ..\..\..\atk\atkutil.h $(CopyDir)\include\atk-$(AtkApiVersion)\atk + +copy ..\..\..\atk\atkmisc.h $(CopyDir)\include\atk-$(AtkApiVersion)\atk + +copy ..\..\..\atk\atkvalue.h $(CopyDir)\include\atk-$(AtkApiVersion)\atk + +copy ..\..\..\atk\atkwindow.h $(CopyDir)\include\atk-$(AtkApiVersion)\atk + +copy ..\..\..\atk\atk-enum-types.h $(CopyDir)\include\atk-$(AtkApiVersion)\atk + + +mkdir $(CopyDir)\lib + +copy $(SolutionDir)$(Configuration)\$(Platform)\bin\*-$(AtkApiVersion).lib $(CopyDir)\lib + + + echo EXPORTS >"..\..\..\atk\atk.def" && cl /EP ..\..\..\atk\atk.symbols >>"..\..\..\atk\atk.def" + ATK_COMPILATION;DLL_EXPORT;ATK_LOCALEDIR="$(AtkDummyPrefix)/share/locale" + lib + -1.0-0 + + -1.0 + $(AtkSeparateVS10DllPrefix) + $(AtkSeparateVS10DllSuffix) + + + <_ProjectFileVersion>10.0.30319.1 + <_PropertySheetDisplayName>atkprops + $(SolutionDir)$(Configuration)\$(PlatformName)\bin\ + $(SolutionDir)$(Configuration)\$(PlatformName)\obj\$(ProjectName)\ + + + + ..\..\..;..\..\..\atk;$(AtkEtcInstallRoot)\include;$(AtkEtcInstallRoot)\include\glib-2.0;$(AtkEtcInstallRoot)\lib\glib-2.0\include\;%(AdditionalIncludeDirectories) + HAVE_CONFIG_H;G_DISABLE_SINGLE_INCLUDES;%(PreprocessorDefinitions) + msvc_recommended_pragmas.h;%(ForcedIncludeFiles) + + + glib-2.0.lib;gobject-2.0.lib;gmodule-2.0.lib;libintl.lib;%(AdditionalDependencies) + $(AtkEtcInstallRoot)\lib;%(AdditionalLibraryDirectories) + + + +if exist ..\..\..\config.h goto DONE_CONFIG_H + +copy ..\..\..\config.h.win32 ..\..\..\config.h + +:DONE_CONFIG_H + +if exist ..\..\..\atk\atkmarshal.h goto GEN_MARS_C + +$(AtkEtcInstallRoot)\bin\glib-genmarshal --prefix=atk_marshal ..\..\..\atk\atkmarshal.list --header >..\..\..\atk\atkmarshal.h + +:GEN_MARS_C + +if exist ..\..\..\atk\atkmarshal.c goto END + +$(AtkEtcInstallRoot)\bin\glib-genmarshal --prefix=atk_marshal ..\..\..\atk\atkmarshal.list --body >..\..\..\atk\atkmarshal.c + +:END + + + + + + + $(AtkApiVersion) + + + $(AtkDummyPrefix) + + + $(AtkEtcInstallRoot) + + + $(CopyDir) + + + $(AtkDoInstall) + + + $(GenerateAtkDef) + + + $(AtkDefines) + + + $(AtkLibtoolCompatibleDllPrefix) + + + $(AtkLibtoolCompatibleDllSuffix) + + + $(AtkSeparateVS10DllPrefix) + + + $(AtkSeparateVS10DllSuffix) + + + $(AtkDllPrefix) + + + $(AtkDllSuffix) + + + \ No newline at end of file diff --git a/win32/deps/atk/build/win32/vc11/atk.sln b/win32/deps/atk/build/win32/vc11/atk.sln new file mode 100644 index 00000000..776c90f4 --- /dev/null +++ b/win32/deps/atk/build/win32/vc11/atk.sln @@ -0,0 +1,36 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Express 2012 for Windows Desktop +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "atk", "atk.vcxproj", "{86EACD59-F69F-4AAD-854B-AA03D5447360}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "install", "install.vcxproj", "{00702787-1566-484D-991F-3E7E459BB909}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Debug|x64 = Debug|x64 + Release|Win32 = Release|Win32 + Release|x64 = Release|x64 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {86EACD59-F69F-4AAD-854B-AA03D5447360}.Debug|Win32.ActiveCfg = Debug|Win32 + {86EACD59-F69F-4AAD-854B-AA03D5447360}.Debug|Win32.Build.0 = Debug|Win32 + {86EACD59-F69F-4AAD-854B-AA03D5447360}.Debug|x64.ActiveCfg = Debug|x64 + {86EACD59-F69F-4AAD-854B-AA03D5447360}.Debug|x64.Build.0 = Debug|x64 + {86EACD59-F69F-4AAD-854B-AA03D5447360}.Release|Win32.ActiveCfg = Release|Win32 + {86EACD59-F69F-4AAD-854B-AA03D5447360}.Release|Win32.Build.0 = Release|Win32 + {86EACD59-F69F-4AAD-854B-AA03D5447360}.Release|x64.ActiveCfg = Release|x64 + {86EACD59-F69F-4AAD-854B-AA03D5447360}.Release|x64.Build.0 = Release|x64 + {00702787-1566-484D-991F-3E7E459BB909}.Debug|Win32.ActiveCfg = Debug|Win32 + {00702787-1566-484D-991F-3E7E459BB909}.Debug|Win32.Build.0 = Debug|Win32 + {00702787-1566-484D-991F-3E7E459BB909}.Debug|x64.ActiveCfg = Debug|x64 + {00702787-1566-484D-991F-3E7E459BB909}.Debug|x64.Build.0 = Debug|x64 + {00702787-1566-484D-991F-3E7E459BB909}.Release|Win32.ActiveCfg = Release|Win32 + {00702787-1566-484D-991F-3E7E459BB909}.Release|Win32.Build.0 = Release|Win32 + {00702787-1566-484D-991F-3E7E459BB909}.Release|x64.ActiveCfg = Release|x64 + {00702787-1566-484D-991F-3E7E459BB909}.Release|x64.Build.0 = Release|x64 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/win32/deps/atk/build/win32/vc11/atk.vcxproj b/win32/deps/atk/build/win32/vc11/atk.vcxproj new file mode 100644 index 00000000..48ba781a --- /dev/null +++ b/win32/deps/atk/build/win32/vc11/atk.vcxproj @@ -0,0 +1,212 @@ + + + + + Debug + Win32 + + + Debug + x64 + + + Release + Win32 + + + Release + x64 + + + + {86EACD59-F69F-4AAD-854B-AA03D5447360} + atk + Win32Proj + + + + DynamicLibrary + Unicode + true + v110 + + + DynamicLibrary + Unicode + v110 + + + DynamicLibrary + MultiByte + v110 + + + DynamicLibrary + MultiByte + v110 + + + + + + + + + + + + + + + + + + + + + + + true + false + true + true + + + + Disabled + _DEBUG;$(AtkDefines);%(PreprocessorDefinitions) + true + EnableFastChecks + MultiThreadedDebugDLL + + + Level3 + EditAndContinue + + + $(GenerateAtkDef) + + + $(OutDir)$(AtkDllPrefix)$(ProjectName)$(AtkDllSuffix).dll + %(IgnoreSpecificDefaultLibraries) + ..\..\..\atk\atk.def + true + Windows + $(OutDir)$(ProjectName)-$(AtkApiVersion).lib + MachineX86 + + + + + MaxSpeed + true + $(AtkDefines);%(PreprocessorDefinitions) + MultiThreadedDLL + true + + + Level3 + ProgramDatabase + + + $(GenerateAtkDef) + + + $(OutDir)$(AtkDllPrefix)$(ProjectName)$(AtkDllSuffix).dll + %(IgnoreSpecificDefaultLibraries) + ..\..\..\atk\atk.def + true + Windows + true + true + $(OutDir)$(ProjectName)-$(AtkApiVersion).lib + MachineX86 + + + + + Disabled + _DEBUG;$(AtkDefines);%(PreprocessorDefinitions) + true + EnableFastChecks + MultiThreadedDebugDLL + + + Level3 + ProgramDatabase + + + $(GenerateAtkDef) + + + %(AdditionalDependencies) + $(OutDir)$(AtkDllPrefix)$(ProjectName)$(AtkDllSuffix).dll + ..\..\..\atk\atk.def + true + Windows + $(TargetDir)$(ProjectName)-$(AtkApiVersion).lib + MachineX64 + + + + + $(AtkDefines);%(PreprocessorDefinitions) + MultiThreadedDLL + + + Level3 + ProgramDatabase + + + $(GenerateAtkDef) + + + %(AdditionalDependencies) + $(OutDir)$(AtkDllPrefix)$(ProjectName)$(AtkDllSuffix).dll + ..\..\..\atk\atk.def + true + Windows + true + true + $(TargetDir)$(ProjectName)-$(AtkApiVersion).lib + MachineX64 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/win32/deps/atk/build/win32/vc11/atk.vcxproj.filters b/win32/deps/atk/build/win32/vc11/atk.vcxproj.filters new file mode 100644 index 00000000..c12be8a5 --- /dev/null +++ b/win32/deps/atk/build/win32/vc11/atk.vcxproj.filters @@ -0,0 +1,111 @@ + + + + + {4FC737F1-C7A5-4376-A066-2A32D752A2FF} + cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx + + + {93995380-89BD-4b04-88EB-625FBE52EBFB} + h;hpp;hxx;hm;inl;inc;xsd + + + {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} + rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav + + + + + Sources + + + Sources + + + Sources + + + Sources + + + Sources + + + Sources + + + Sources + + + Sources + + + Sources + + + Sources + + + Sources + + + Sources + + + Sources + + + Sources + + + Sources + + + Sources + + + Sources + + + Sources + + + Sources + + + Sources + + + Sources + + + Sources + + + Sources + + + Sources + + + Sources + + + Sources + + + Sources + + + Sources + + + Sources + + + + + Resource Files + + + \ No newline at end of file diff --git a/win32/deps/atk/build/win32/vc11/install.vcxproj b/win32/deps/atk/build/win32/vc11/install.vcxproj new file mode 100644 index 00000000..d3fe0ccc --- /dev/null +++ b/win32/deps/atk/build/win32/vc11/install.vcxproj @@ -0,0 +1,136 @@ + + + + + Debug + Win32 + + + Debug + x64 + + + Release + Win32 + + + Release + x64 + + + + {00702787-1566-484D-991F-3E7E459BB909} + install + + + + Utility + MultiByte + true + v110 + + + Application + + + Utility + MultiByte + true + v110 + + + Application + + + Application + + + Application + + + Utility + MultiByte + v110 + + + Utility + MultiByte + v110 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_ProjectFileVersion>10.0.30319.1 + $(AtkEtcInstallRoot)\ + $(AtkEtcInstallRoot)\ + $(Configuration)\ + $(Configuration)\ + + $(AtkEtcInstallRoot)\ + $(Configuration)\ + $(AtkEtcInstallRoot)\ + + + + + $(AtkDoInstall) + + + + + $(AtkDoInstall) + + + $(AtkDoInstall) + + + + + $(AtkDoInstall) + + + + + $(AtkDoInstall) + + + + + {86eacd59-f69f-4aad-854b-aa03d5447360} + false + + + + + + \ No newline at end of file diff --git a/win32/deps/atk/release-x64.bat b/win32/deps/atk/release-x64.bat new file mode 100644 index 00000000..799963c2 --- /dev/null +++ b/win32/deps/atk/release-x64.bat @@ -0,0 +1,21 @@ +:: run this from a command prompt +@echo off + +SET PACKAGE_NAME=atk-2.5.91 + +set ATK_SRC=%cd% +set ATK_DEST=%cd%-rel +echo.Press return when ready to install! +pause + +copy COPYING %ATK_DEST%\LICENSE.ATK + +cd %ATK_DEST% +set PATH=%PATH%;%ProgramFiles%\7-zip +del ..\%PACKAGE_NAME%-x64.7z +7z a ..\%PACKAGE_NAME%-x64.7z * +cd %ATK_SRC% +rmdir /q /s %ATK_DEST% + +echo.Finished! +pause diff --git a/win32/deps/atk/release-x86.bat b/win32/deps/atk/release-x86.bat new file mode 100644 index 00000000..6a913637 --- /dev/null +++ b/win32/deps/atk/release-x86.bat @@ -0,0 +1,21 @@ +:: run this from a command prompt +@echo off + +SET PACKAGE_NAME=atk-2.5.91 + +set ATK_SRC=%cd% +set ATK_DEST=%cd%-rel +echo.Press return when ready to install! +pause + +copy COPYING %ATK_DEST%\LICENSE.ATK + +cd %ATK_DEST% +set PATH=%PATH%;%ProgramFiles%\7-zip +del ..\%PACKAGE_NAME%-x86.7z +7z a ..\%PACKAGE_NAME%-x86.7z * +cd %ATK_SRC% +rmdir /q /s %ATK_DEST% + +echo.Finished! +pause