From 45ca4bd0b2eb0ce90ec9e9c44fac4915b0e4bd70 Mon Sep 17 00:00:00 2001 From: Chun-wei Fan Date: Mon, 4 Aug 2014 15:07:39 +0800 Subject: [PATCH] MSVC Builds: Build gtk-encode-symbolic-svg This utility would likely be useful for Windows builds of GTK+, given the reasons Alex cited for coming up with this utility[1], and MSVC build support for librsvg is not available at this time (possible, but not implemented yet). [1]: https://bugzilla.gnome.org/show_bug.cgi?id=730450 --- build/win32/vs10/Makefile.am | 2 + build/win32/vs10/gtk+.sln | 18 ++ .../vs10/gtk-encode-symbolic-svg.vcxproj | 177 ++++++++++++++++++ .../gtk-encode-symbolic-svg.vcxproj.filters | 20 ++ build/win32/vs10/gtk-install.props | 2 +- build/win32/vs10/install.vcxproj | 4 + build/win32/vs11/Makefile.am | 2 + build/win32/vs12/Makefile.am | 2 + build/win32/vs9/Makefile.am | 1 + build/win32/vs9/gtk+.sln | 22 +++ .../win32/vs9/gtk-encode-symbolic-svg.vcproj | 176 +++++++++++++++++ 11 files changed, 425 insertions(+), 1 deletion(-) create mode 100644 build/win32/vs10/gtk-encode-symbolic-svg.vcxproj create mode 100644 build/win32/vs10/gtk-encode-symbolic-svg.vcxproj.filters create mode 100644 build/win32/vs9/gtk-encode-symbolic-svg.vcproj diff --git a/build/win32/vs10/Makefile.am b/build/win32/vs10/Makefile.am index 96b8db34be..ba9b0aab9c 100644 --- a/build/win32/vs10/Makefile.am +++ b/build/win32/vs10/Makefile.am @@ -14,6 +14,8 @@ EXTRA_DIST += \ gtk.vcxprojin \ gtk.vcxproj.filters \ gtk.vcxproj.filtersin \ + gtk-encode-symbolic-svg.vcxproj \ + gtk-encode-symbolic-svg.vcxproj.filters \ gtk3-demo.vcxproj \ gtk3-demo.vcxproj.filters \ gtk3-demo-application.vcxproj \ diff --git a/build/win32/vs10/gtk+.sln b/build/win32/vs10/gtk+.sln index f4c7b402a5..a067c67fd1 100644 --- a/build/win32/vs10/gtk+.sln +++ b/build/win32/vs10/gtk+.sln @@ -18,6 +18,8 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "gtk3-demo", "gtk3-demo.vcxp EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "gtk3-demo-application", "gtk3-demo-application.vcxproj", "{3281202A-CD26-4C67-B892-EB34BDBC612F}" EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "gtk-encode-symbolic-svg", "gtk-encode-symbolic-svg.vcxproj", "{3281202A-CD26-4C67-B892-EB34BDBC6131}" +EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "gailutil", "gailutil.vcxproj", "{29E3E814-1BA3-4AD7-A3A7-3669CB80A942}" EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "install", "install.vcxproj", "{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073FB}" @@ -202,6 +204,22 @@ Global {3281202A-CD26-4C67-B892-EB34BDBC612F}.Release_Broadway|Win32.Build.0 = Release|Win32 {3281202A-CD26-4C67-B892-EB34BDBC612F}.Release_Broadway|x64.ActiveCfg = Release|x64 {3281202A-CD26-4C67-B892-EB34BDBC612F}.Release_Broadway|x64.Build.0 = Release|x64 + {3281202A-CD26-4C67-B892-EB34BDBC6131}.Debug|Win32.ActiveCfg = Debug|Win32 + {3281202A-CD26-4C67-B892-EB34BDBC6131}.Debug|Win32.Build.0 = Debug|Win32 + {3281202A-CD26-4C67-B892-EB34BDBC6131}.Debug|x64.ActiveCfg = Debug|x64 + {3281202A-CD26-4C67-B892-EB34BDBC6131}.Debug|x64.Build.0 = Debug|x64 + {3281202A-CD26-4C67-B892-EB34BDBC6131}.Release|Win32.ActiveCfg = Release|Win32 + {3281202A-CD26-4C67-B892-EB34BDBC6131}.Release|Win32.Build.0 = Release|Win32 + {3281202A-CD26-4C67-B892-EB34BDBC6131}.Release|x64.ActiveCfg = Release|x64 + {3281202A-CD26-4C67-B892-EB34BDBC6131}.Release|x64.Build.0 = Release|x64 + {3281202A-CD26-4C67-B892-EB34BDBC6131}.Debug_Broadway|Win32.ActiveCfg = Debug|Win32 + {3281202A-CD26-4C67-B892-EB34BDBC6131}.Debug_Broadway|Win32.Build.0 = Debug|Win32 + {3281202A-CD26-4C67-B892-EB34BDBC6131}.Debug_Broadway|x64.ActiveCfg = Debug|x64 + {3281202A-CD26-4C67-B892-EB34BDBC6131}.Debug_Broadway|x64.Build.0 = Debug|x64 + {3281202A-CD26-4C67-B892-EB34BDBC6131}.Release_Broadway|Win32.ActiveCfg = Release|Win32 + {3281202A-CD26-4C67-B892-EB34BDBC6131}.Release_Broadway|Win32.Build.0 = Release|Win32 + {3281202A-CD26-4C67-B892-EB34BDBC6131}.Release_Broadway|x64.ActiveCfg = Release|x64 + {3281202A-CD26-4C67-B892-EB34BDBC6131}.Release_Broadway|x64.Build.0 = Release|x64 EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/build/win32/vs10/gtk-encode-symbolic-svg.vcxproj b/build/win32/vs10/gtk-encode-symbolic-svg.vcxproj new file mode 100644 index 0000000000..e72f0d7303 --- /dev/null +++ b/build/win32/vs10/gtk-encode-symbolic-svg.vcxproj @@ -0,0 +1,177 @@ + + + + + Debug + Win32 + + + Debug + x64 + + + Release + Win32 + + + Release + x64 + + + + {3281202A-CD26-4C67-B892-EB34BDBC6131} + gtkencodesymbolicsvg + Win32Proj + + + + Application + MultiByte + true + v100 + + + Application + MultiByte + v100 + + + Application + MultiByte + true + v100 + + + Application + MultiByte + v100 + + + + + + + + + + + + + + + + + + + + + + + true + false + true + false + + + + Disabled + ..\..\..\gdk;%(AdditionalIncludeDirectories) + _DEBUG;%(PreprocessorDefinitions) + true + EnableFastChecks + MultiThreadedDebugDLL + + + Level3 + EditAndContinue + + + %(AdditionalDependencies) + true + Console + MachineX86 + + + + + MaxSpeed + ..\..\..\gdk;%(AdditionalIncludeDirectories) + true + %(PreprocessorDefinitions) + MultiThreadedDLL + true + + + Level3 + ProgramDatabase + + + %(AdditionalDependencies) + true + Console + true + true + MachineX86 + + + + + X64 + + + Disabled + ..\..\..\gdk;%(AdditionalIncludeDirectories) + _DEBUG;%(PreprocessorDefinitions) + true + EnableFastChecks + MultiThreadedDebugDLL + + + Level3 + ProgramDatabase + + + %(AdditionalDependencies) + true + Console + MachineX64 + + + + + X64 + + + MaxSpeed + ..\..\..\gdk;%(AdditionalIncludeDirectories) + true + %(PreprocessorDefinitions) + MultiThreadedDLL + true + + + Level3 + ProgramDatabase + + + %(AdditionalDependencies) + true + Console + true + true + MachineX64 + + + + + + + + {fc5aadb5-95cd-4bf0-ba8b-0c16fe7073f7} + false + + + + + + diff --git a/build/win32/vs10/gtk-encode-symbolic-svg.vcxproj.filters b/build/win32/vs10/gtk-encode-symbolic-svg.vcxproj.filters new file mode 100644 index 0000000000..22a3155d84 --- /dev/null +++ b/build/win32/vs10/gtk-encode-symbolic-svg.vcxproj.filters @@ -0,0 +1,20 @@ + + + + + {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 + + diff --git a/build/win32/vs10/gtk-install.props b/build/win32/vs10/gtk-install.props index e79298749b..ff43c1c5b6 100644 --- a/build/win32/vs10/gtk-install.props +++ b/build/win32/vs10/gtk-install.props @@ -6,7 +6,7 @@ $(SolutionDir)$(Configuration)\$(Platform)\bin $(BinDir)\$(GtkDllPrefix)gdk(GtkDllSuffix).dll;$(BinDir)\$(GtkDllPrefix)gtk(GtkDllSuffix).dll;$(BinDir)\$(GtkDllPrefix)gailutil(GtkDllSuffix).dll - $(BinDir)\gtk3-demo.exe;$(BinDir)\gtk3-demo-application.exe + $(BinDir)\gtk3-demo.exe;$(BinDir)\gtk3-demo-application.exe;$(BinDir)\gtk-encode-symbolic-svg.exe $(BinDir)\broadwayd.exe mkdir $(CopyDir)\bin diff --git a/build/win32/vs10/install.vcxproj b/build/win32/vs10/install.vcxproj index 7eaa30d2f2..bebb1d4347 100644 --- a/build/win32/vs10/install.vcxproj +++ b/build/win32/vs10/install.vcxproj @@ -207,6 +207,10 @@ {3281202a-cd26-4c67-b892-eb34bdbc6130} false + + {3281202a-cd26-4c67-b892-eb34bdbc6131} + false + diff --git a/build/win32/vs11/Makefile.am b/build/win32/vs11/Makefile.am index 48d7bf54bd..a594aaa511 100644 --- a/build/win32/vs11/Makefile.am +++ b/build/win32/vs11/Makefile.am @@ -10,6 +10,8 @@ EXTRA_DIST += \ gdk.vcxproj.filters \ gtk.vcxproj \ gtk.vcxproj.filters \ + gtk-encode-symbolic-svg.vcxproj \ + gtk-encode-symbolic-svg.vcxproj.filters \ gtk3-demo.vcxproj \ gtk3-demo.vcxproj.filters \ gtk3-demo-application.vcxproj \ diff --git a/build/win32/vs12/Makefile.am b/build/win32/vs12/Makefile.am index ec7f812c1e..d533acf9b3 100644 --- a/build/win32/vs12/Makefile.am +++ b/build/win32/vs12/Makefile.am @@ -10,6 +10,8 @@ EXTRA_DIST += \ gdk.vcxproj.filters \ gtk.vcxproj \ gtk.vcxproj.filters \ + gtk-encode-symbolic-svg.vcxproj \ + gtk-encode-symbolic-svg.vcxproj.filters \ gtk3-demo.vcxproj \ gtk3-demo.vcxproj.filters \ gtk3-demo-application.vcxproj \ diff --git a/build/win32/vs9/Makefile.am b/build/win32/vs9/Makefile.am index 8583084e40..f5d6f21f4e 100644 --- a/build/win32/vs9/Makefile.am +++ b/build/win32/vs9/Makefile.am @@ -9,6 +9,7 @@ EXTRA_DIST += \ gdk.vcprojin \ gtk.vcproj \ gtk.vcprojin \ + gtk-encode-symbolic-svg.vcproj \ gtk3-demo.vcproj \ gtk3-demo-application.vcproj \ gtk-inspector.vcproj \ diff --git a/build/win32/vs9/gtk+.sln b/build/win32/vs9/gtk+.sln index 228d3ac2cb..84bbc70dd8 100644 --- a/build/win32/vs9/gtk+.sln +++ b/build/win32/vs9/gtk+.sln @@ -46,6 +46,11 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "gtk3-demo-application", "gt {FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F5} = {FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F5} EndProjectSection EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "gtk-encode-symbolic-svg", "gtk-encode-symbolic-svg.vcproj", "{3281202A-CD26-4C67-B892-EB34BDBC6131}" + ProjectSection(ProjectDependencies) = postProject + {FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F7} = {FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F7} + EndProjectSection +EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "gailutil", "gailutil.vcproj", "{29E3E814-1BA3-4AD7-A3A7-3669CB80A942}" ProjectSection(ProjectDependencies) = postProject {FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F7} = {FC5AADB5-95CD-4BF0-BA8B-0C16FE7073F7} @@ -60,6 +65,7 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "install", "install.vcproj", {29E3E814-1BA3-4AD7-A3A7-3669CB80A942} = {29E3E814-1BA3-4AD7-A3A7-3669CB80A942} {3281202A-CD26-4C67-B892-EB34BDBC612F} = {3281202A-CD26-4C67-B892-EB34BDBC612F} {3281202A-CD26-4C67-B892-EB34BDBC6130} = {3281202A-CD26-4C67-B892-EB34BDBC6130} + {3281202A-CD26-4C67-B892-EB34BDBC6131} = {3281202A-CD26-4C67-B892-EB34BDBC6131} EndProjectSection EndProject Global @@ -234,6 +240,22 @@ Global {3281202A-CD26-4C67-B892-EB34BDBC612F}.Release_Broadway|Win32.Build.0 = Release|Win32 {3281202A-CD26-4C67-B892-EB34BDBC612F}.Release_Broadway|x64.ActiveCfg = Release|x64 {3281202A-CD26-4C67-B892-EB34BDBC612F}.Release_Broadway|x64.Build.0 = Release|x64 + {3281202A-CD26-4C67-B892-EB34BDBC6131}.Debug|Win32.ActiveCfg = Debug|Win32 + {3281202A-CD26-4C67-B892-EB34BDBC6131}.Debug|Win32.Build.0 = Debug|Win32 + {3281202A-CD26-4C67-B892-EB34BDBC6131}.Debug|x64.ActiveCfg = Debug|x64 + {3281202A-CD26-4C67-B892-EB34BDBC6131}.Debug|x64.Build.0 = Debug|x64 + {3281202A-CD26-4C67-B892-EB34BDBC6131}.Release|Win32.ActiveCfg = Release|Win32 + {3281202A-CD26-4C67-B892-EB34BDBC6131}.Release|Win32.Build.0 = Release|Win32 + {3281202A-CD26-4C67-B892-EB34BDBC6131}.Release|x64.ActiveCfg = Release|x64 + {3281202A-CD26-4C67-B892-EB34BDBC6131}.Release|x64.Build.0 = Release|x64 + {3281202A-CD26-4C67-B892-EB34BDBC6131}.Debug_Broadway|Win32.ActiveCfg = Debug|Win32 + {3281202A-CD26-4C67-B892-EB34BDBC6131}.Debug_Broadway|Win32.Build.0 = Debug|Win32 + {3281202A-CD26-4C67-B892-EB34BDBC6131}.Debug_Broadway|x64.ActiveCfg = Debug|x64 + {3281202A-CD26-4C67-B892-EB34BDBC6131}.Debug_Broadway|x64.Build.0 = Debug|x64 + {3281202A-CD26-4C67-B892-EB34BDBC6131}.Release_Broadway|Win32.ActiveCfg = Release|Win32 + {3281202A-CD26-4C67-B892-EB34BDBC6131}.Release_Broadway|Win32.Build.0 = Release|Win32 + {3281202A-CD26-4C67-B892-EB34BDBC6131}.Release_Broadway|x64.ActiveCfg = Release|x64 + {3281202A-CD26-4C67-B892-EB34BDBC6131}.Release_Broadway|x64.Build.0 = Release|x64 EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/build/win32/vs9/gtk-encode-symbolic-svg.vcproj b/build/win32/vs9/gtk-encode-symbolic-svg.vcproj new file mode 100644 index 0000000000..21853d8c25 --- /dev/null +++ b/build/win32/vs9/gtk-encode-symbolic-svg.vcproj @@ -0,0 +1,176 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +