[prev in list] [next in list] [prev in thread] [next in thread] 

List:       abiword-dev
Subject:    Re: MSVC patch for garble plugin
From:       "Marc \"Foddex\" Oude Kotte" <marc () solcon ! nl>
Date:       2009-09-05 11:51:18
Message-ID: 1252151478.16716.5.camel () dsl-213-233-247-049 ! solcon ! nl
[Download RAW message or body]

And now WITH attachment...

On Sat, 2009-09-05 at 13:50 +0200, Marc "Foddex" Oude Kotte wrote:
> For uwog,
> 
> The patch for making the garble plugin work in win32/msvc.
> 
> Cheers,
> Marc
> 

["msvc-garble.diff" (msvc-garble.diff)]

Index: AbiWord.sln
===================================================================
--- AbiWord.sln	(revision 28121)
+++ AbiWord.sln	(working copy)
@@ -1,5 +1,5 @@
 Microsoft Visual Studio Solution File, Format Version 10.00
-# Visual C++ Express 2008
+# Visual Studio 2008
 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "PluginOpendocument", \
"PluginOpendocument\PluginOpendocument.vcproj", \
"{7C3DDE44-64DB-4C22-BD32-4F5779F5E6BE}"  ProjectSection(ProjectDependencies) = \
postProject  {922DC0DF-455F-4FB8-969F-960D66500BAD} = \
{922DC0DF-455F-4FB8-969F-960D66500BAD} @@ -169,6 +169,11 @@
 		{922DC0DF-455F-4FB8-969F-960D66500BAD} = {922DC0DF-455F-4FB8-969F-960D66500BAD}
 	EndProjectSection
 EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "PluginGarble", \
"PluginGarble\PluginGarble.vcproj", "{C507CBC4-356B-42D7-BF2B-44E29933A6BB}" \
+	ProjectSection(ProjectDependencies) = postProject \
+		{922DC0DF-455F-4FB8-969F-960D66500BAD} = {922DC0DF-455F-4FB8-969F-960D66500BAD} \
+	EndProjectSection +EndProject
 Global
 	GlobalSection(SolutionConfigurationPlatforms) = preSolution
 		Debug Memory Optimized|Win32 = Debug Memory Optimized|Win32
@@ -526,6 +531,18 @@
 		{39F12DAA-37FD-46E7-B939-F31599104332}.Release Speed Optimized|Win32.Build.0 = \
Release|Win32  {39F12DAA-37FD-46E7-B939-F31599104332}.Release|Win32.ActiveCfg = \
Release|Win32  {39F12DAA-37FD-46E7-B939-F31599104332}.Release|Win32.Build.0 = \
Release|Win32 +		{C507CBC4-356B-42D7-BF2B-44E29933A6BB}.Debug Memory \
Optimized|Win32.ActiveCfg = Debug|Win32 \
+		{C507CBC4-356B-42D7-BF2B-44E29933A6BB}.Debug Memory Optimized|Win32.Build.0 = \
Debug|Win32 +		{C507CBC4-356B-42D7-BF2B-44E29933A6BB}.Debug Speed \
Optimized|Win32.ActiveCfg = Debug|Win32 \
+		{C507CBC4-356B-42D7-BF2B-44E29933A6BB}.Debug Speed Optimized|Win32.Build.0 = \
Debug|Win32 +		{C507CBC4-356B-42D7-BF2B-44E29933A6BB}.Debug|Win32.ActiveCfg = \
Debug|Win32 +		{C507CBC4-356B-42D7-BF2B-44E29933A6BB}.Debug|Win32.Build.0 = \
Debug|Win32 +		{C507CBC4-356B-42D7-BF2B-44E29933A6BB}.Release Memory \
Optimized|Win32.ActiveCfg = Release|Win32 \
+		{C507CBC4-356B-42D7-BF2B-44E29933A6BB}.Release Memory Optimized|Win32.Build.0 = \
Release|Win32 +		{C507CBC4-356B-42D7-BF2B-44E29933A6BB}.Release Speed \
Optimized|Win32.ActiveCfg = Release|Win32 \
+		{C507CBC4-356B-42D7-BF2B-44E29933A6BB}.Release Speed Optimized|Win32.Build.0 = \
Release|Win32 +		{C507CBC4-356B-42D7-BF2B-44E29933A6BB}.Release|Win32.ActiveCfg = \
Release|Win32 +		{C507CBC4-356B-42D7-BF2B-44E29933A6BB}.Release|Win32.Build.0 = \
Release|Win32  EndGlobalSection
 	GlobalSection(SolutionProperties) = preSolution
 		HideSolutionNode = FALSE

Property changes on: PluginGarble
___________________________________________________________________
Added: svn:ignore
   + Debug
*.xml
*.abw
*.user


Index: PluginGarble/PluginGarble.vcproj
===================================================================
--- PluginGarble/PluginGarble.vcproj	(revision 0)
+++ PluginGarble/PluginGarble.vcproj	(revision 0)
@@ -0,0 +1,189 @@
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+	ProjectType="Visual C++"
+	Version="9,00"
+	Name="PluginGarble"
+	ProjectGUID="{C507CBC4-356B-42D7-BF2B-44E29933A6BB}"
+	RootNamespace="PluginGarble"
+	Keyword="Win32Proj"
+	TargetFrameworkVersion="196613"
+	>
+	<Platforms>
+		<Platform
+			Name="Win32"
+		/>
+	</Platforms>
+	<ToolFiles>
+	</ToolFiles>
+	<Configurations>
+		<Configuration
+			Name="Debug|Win32"
+			OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+			IntermediateDirectory="$(ConfigurationName)"
+			ConfigurationType="2"
+			CharacterSet="2"
+			>
+			<Tool
+				Name="VCPreBuildEventTool"
+			/>
+			<Tool
+				Name="VCCustomBuildTool"
+			/>
+			<Tool
+				Name="VCXMLDataGeneratorTool"
+			/>
+			<Tool
+				Name="VCWebServiceProxyGeneratorTool"
+			/>
+			<Tool
+				Name="VCMIDLTool"
+			/>
+			<Tool
+				Name="VCCLCompilerTool"
+				Optimization="0"
+				AdditionalIncludeDirectories="..\..\;..\..\src\af\ev\win;..\..\src\af\ev\xp;..\.. \
\src\af\util\win;..\..\src\af\util\xp;..\..\src\af\gr\win;..\..\src\af\gr\xp;..\..\src \
\af\xap\win;..\..\src\af\xap\xp;..\..\src\plugins;..\..\src\text\fmt\xp;..\..\src\text \
\ptbl\xp;..\..\src\wp\ap\win;..\..\src\wp\ap\xp;..\..\src\wp\impexp\xp;..\Prefix\inclu \
de;..\Prefix\include\fribidi;..\Prefix\include\libxml2;&quot;..\Prefix\include\libgsf- \
1&quot;;..\Prefix\include\wv;&quot;..\Prefix\lib\glib-2.0\include&quot;;&quot;..\Prefix\include\glib-2.0&quot;;..\Prefix\include\enchant"
 +				PreprocessorDefinitions="_CRT_SECURE_NO_WARNINGS=1;ENABLE_PRINT=1;ENABLE_SPELL=1 \
;WITH_ENCHANT;TOOLKIT_WIN=1;WIN32=1;PACKAGE=\&quot;abiword\&quot;;PACKAGE_VERSION=\&qu \
ot;2.7.7\&quot;;ABI_BUILD_VERSION=\&quot;2.7.7\&quot;;ABIWORD_SERIES=\&quot;2.7\&quot; \
;ABIWORD_DATADIR=\&quot;\&quot;;ZLIB_DLL=1;G_HAVE_ISO_VARARGS=1;DISABLE_BUILTIN_PLUGIN \
S=1;DEBUG=1;SUPPORTS_UT_IDLE=1;SOUP24=1;_WIN32_WINNT=0x0501;ABI_DLL=1;BOOST_ALL_NO_LIB \
=1;ABICOLLAB_HANDLER_TCP=1;ABICOLLAB_HANDLER_SERVICE=1;GMV_STATIC=1;YY_NO_UNISTD_H=1" \
+				MinimalRebuild="true" +				BasicRuntimeChecks="3"
+				RuntimeLibrary="3"
+				UsePrecompiledHeader="0"
+				WarningLevel="3"
+				DebugInformationFormat="4"
+				DisableSpecificWarnings="4251;4290;4355;4996"
+			/>
+			<Tool
+				Name="VCManagedResourceCompilerTool"
+			/>
+			<Tool
+				Name="VCResourceCompilerTool"
+			/>
+			<Tool
+				Name="VCPreLinkEventTool"
+			/>
+			<Tool
+				Name="VCLinkerTool"
+				AdditionalDependencies="libglib-2.0.lib libgobject-2.0.lib libgsf-1.lib \
libxml2.lib libpng12.lib" +				OutputFile="$(OutDir)\plugins\$(ProjectName).dll"
+				LinkIncremental="2"
+				AdditionalLibraryDirectories="..\Prefix\lib"
+				GenerateDebugInformation="true"
+				SubSystem="0"
+				TargetMachine="1"
+			/>
+			<Tool
+				Name="VCALinkTool"
+			/>
+			<Tool
+				Name="VCManifestTool"
+			/>
+			<Tool
+				Name="VCXDCMakeTool"
+			/>
+			<Tool
+				Name="VCBscMakeTool"
+			/>
+			<Tool
+				Name="VCFxCopTool"
+			/>
+			<Tool
+				Name="VCAppVerifierTool"
+			/>
+			<Tool
+				Name="VCPostBuildEventTool"
+			/>
+		</Configuration>
+		<Configuration
+			Name="Release|Win32"
+			OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+			IntermediateDirectory="$(ConfigurationName)"
+			ConfigurationType="2"
+			CharacterSet="2"
+			WholeProgramOptimization="1"
+			>
+			<Tool
+				Name="VCPreBuildEventTool"
+			/>
+			<Tool
+				Name="VCCustomBuildTool"
+			/>
+			<Tool
+				Name="VCXMLDataGeneratorTool"
+			/>
+			<Tool
+				Name="VCWebServiceProxyGeneratorTool"
+			/>
+			<Tool
+				Name="VCMIDLTool"
+			/>
+			<Tool
+				Name="VCCLCompilerTool"
+				Optimization="2"
+				EnableIntrinsicFunctions="true"
+				AdditionalIncludeDirectories="..\..\;..\..\src\af\ev\win;..\..\src\af\ev\xp;..\.. \
\src\af\util\win;..\..\src\af\util\xp;..\..\src\af\gr\win;..\..\src\af\gr\xp;..\..\src \
\af\xap\win;..\..\src\af\xap\xp;..\..\src\plugins;..\..\src\text\fmt\xp;..\..\src\text \
\ptbl\xp;..\..\src\wp\ap\win;..\..\src\wp\ap\xp;..\..\src\wp\impexp\xp;..\Prefix\inclu \
de;..\Prefix\include\fribidi;..\Prefix\include\libxml2;&quot;..\Prefix\include\libgsf- \
1&quot;;..\Prefix\include\wv;&quot;..\Prefix\lib\glib-2.0\include&quot;;&quot;..\Prefix\include\glib-2.0&quot;;..\Prefix\include\enchant"
 +				PreprocessorDefinitions="_CRT_SECURE_NO_WARNINGS=1;ENABLE_PRINT=1;ENABLE_SPELL=1 \
;WITH_ENCHANT;TOOLKIT_WIN=1;WIN32=1;PACKAGE=\&quot;abiword\&quot;;PACKAGE_VERSION=\&qu \
ot;2.7.7\&quot;;ABI_BUILD_VERSION=\&quot;2.7.7\&quot;;ABIWORD_SERIES=\&quot;2.7\&quot; \
;ABIWORD_DATADIR=\&quot;\&quot;;ZLIB_DLL=1;G_HAVE_ISO_VARARGS=1;DISABLE_BUILTIN_PLUGIN \
S=1;NDEBUG=1;SUPPORTS_UT_IDLE=1;SOUP24=1;_WIN32_WINNT=0x0501;ABI_DLL=1;BOOST_ALL_NO_LI \
B=1;ABICOLLAB_HANDLER_TCP=1;ABICOLLAB_HANDLER_SERVICE=1;GMV_STATIC=1;YY_NO_UNISTD_H=1"
 +				RuntimeLibrary="2"
+				EnableFunctionLevelLinking="true"
+				UsePrecompiledHeader="0"
+				WarningLevel="3"
+				DebugInformationFormat="3"
+				DisableSpecificWarnings="4251;4290;4355;4996"
+			/>
+			<Tool
+				Name="VCManagedResourceCompilerTool"
+			/>
+			<Tool
+				Name="VCResourceCompilerTool"
+			/>
+			<Tool
+				Name="VCPreLinkEventTool"
+			/>
+			<Tool
+				Name="VCLinkerTool"
+				AdditionalDependencies="libglib-2.0.lib libgobject-2.0.lib libgsf-1.lib \
libxml2.dll.a libpng12.dll.a" +				OutputFile="$(OutDir)\plugins\$(ProjectName).dll"
+				LinkIncremental="1"
+				AdditionalLibraryDirectories="..\Prefix\lib"
+				GenerateDebugInformation="true"
+				SubSystem="0"
+				OptimizeReferences="2"
+				EnableCOMDATFolding="2"
+				TargetMachine="1"
+			/>
+			<Tool
+				Name="VCALinkTool"
+			/>
+			<Tool
+				Name="VCManifestTool"
+			/>
+			<Tool
+				Name="VCXDCMakeTool"
+			/>
+			<Tool
+				Name="VCBscMakeTool"
+			/>
+			<Tool
+				Name="VCFxCopTool"
+			/>
+			<Tool
+				Name="VCAppVerifierTool"
+			/>
+			<Tool
+				Name="VCPostBuildEventTool"
+			/>
+		</Configuration>
+	</Configurations>
+	<References>
+	</References>
+	<Files>
+		<File
+			RelativePath="..\..\plugins\garble\xp\abiword-garble.cpp"
+			>
+		</File>
+		<File
+			RelativePath="..\..\plugins\garble\xp\abiword-garble.h"
+			>
+		</File>
+	</Files>
+	<Globals>
+	</Globals>
+</VisualStudioProject>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic