r17489 by jghali - msvc project update: add hunspell plugin

scribus-commit scribus-commit at lists.scribus.net
Wed May 2 22:13:43 UTC 2012


Author: jghali
Date: Wed May  2 22:13:43 2012
New Revision: 17489

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=17489
Log:
msvc project update: add hunspell plugin

Added:
    branches/Version14x/Scribus/win32/vc9/hunspellcheck/
    branches/Version14x/Scribus/win32/vc9/hunspellcheck/hunspellcheck.vcproj
    branches/Version14x/Scribus/win32/vc9/hunspellcheck/hunspellcheckdll.cpp
Modified:
    branches/Version14x/Scribus/BUILDING_win32_msvc.txt
    branches/Version14x/Scribus/win32/vc9/Scribus-1.4.x.sln
    branches/Version14x/Scribus/win32/vc9/Scribus-build.vsprops
    branches/Version14x/Scribus/win32/vc9/scribus-exe/scribuspch.h

Modified: branches/Version14x/Scribus/BUILDING_win32_msvc.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=17489&path=/branches/Version14x/Scribus/BUILDING_win32_msvc.txt
==============================================================================
--- branches/Version14x/Scribus/BUILDING_win32_msvc.txt (original)
+++ branches/Version14x/Scribus/BUILDING_win32_msvc.txt Wed May  2 22:13:43 2012
@@ -15,10 +15,11 @@
 	- Cairo sources from cairographics.org (version >= 1.8.0)
 	- Pixman sources from cairographics.org (version >= 0.12.0)
 	- Boost from www.boost.org (version >= 1.35.0)
-	- Libxml2 win32 binaries from the Libxml project
+	- Freetype sources from freetype.org (version >= 2.4.0)
+	- Libhunspell sources from http://hunspell.sourceforge.net/ (version >= 1.3.2)
 	- Libjpeg win32 libs and binaries from the GnuWin32 project
 	- Libtiff win32 libs and binaries from the GnuWin32 project
-	- Freetype sources from freetype.org (version >= 2.4.0)
+	- Libxml2 win32 binaries from the Libxml project
 	- LittleCMS sources from www.littlecms.com (version >= 2.1)
 	- PoDoFo sources (version >= 0.8.x) from podofo.sourceforge.net
 	- A Python 2.7 Windows binary build.
@@ -140,60 +141,6 @@
 directory and build Debug and Release configurations.
 
 ----
-Libjpeg :
-
-While Qt also bundles libjpeg, it's not linked to the main DLL but rather a plugin.
-As such, we need to link to it directly.
-
-Get jpeg libraries from GnuWin32 project on Sourceforge :
-
-http://sourceforge.net/projects/gnuwin32/files/jpeg/6b-3/jpeg-6b-3-lib.zip/download
-
-Unpack in C:\Developer. After unpacking you directory layout must be as following :
-
-C:\Developer
-	|- libjpeg-6b-3
-		|- include
-		|- lib
-		|- manifest
-
-----
-LittleCMS :
-
-Get lcms sources (>= 2.1). Although it is possible to build Scribus with lcms 1,
-you can only do so without modifying lcms sources with lcms >= 2.1.
-We will only describe here instructions related to lcms >= 2.1.
-
-Build using VC project in Projects\VC2008 dir. Modify projects if necessary so
-as to make them use the multithreaded dll runtim libraries.
-Build the static libraries in debug and release configurations.
-
-After building you must have a lcms2_static.lib and lcms2_staticd.lib in 
-your lcms source directory. If this is not the case modify projects as necessary.
-
-----
-Libtiff
-
-While Qt also bundles libtiff, it's not linked to the main DLL but rather a plugin.
-As such, we need to link to it directly.
-
-Download libtiff libraries, binaries and dependency packages from GnuWin32 project 
-on sourceforge :
-
-http://sourceforge.net/projects/gnuwin32/files/tiff/3.8.2/
-
-Unpack them in C:\Developer. After unpacking you directory layout must be as following :
-
-C:\Developer
-	|- libtiff-3.8.2
-	    |- bin
-		|- contrib
-		|- include
-		|- lib
-		|- man
-		|- manifest
-
-----
 Freetype:
 
 Unpack freetype
@@ -239,6 +186,74 @@
 - freetypeD.lib
 
 ----
+Libhunspell :
+
+You will probably find easier to directly download packages with Visual 
+Studio 2008 solutions ready to build. You can find required file at 
+following address :
+
+https://sourceforge.net/projects/scribus/files/scribus-libs/win32-msvc2008/
+
+Download the scribus-hunspell-*.zip archive. Unpack it.
+
+Open the visual studio solution located in hunspell-whatever/src/win-api directory and build 
+Debug and Release configurations of Libhunspell project.
+
+----
+Libjpeg :
+
+While Qt also bundles libjpeg, it's not linked to the main DLL but rather a plugin.
+As such, we need to link to it directly.
+
+Get jpeg libraries from GnuWin32 project on Sourceforge :
+
+http://sourceforge.net/projects/gnuwin32/files/jpeg/6b-3/jpeg-6b-3-lib.zip/download
+
+Unpack in C:\Developer. After unpacking you directory layout must be as following :
+
+C:\Developer
+	|- libjpeg-6b-3
+		|- include
+		|- lib
+		|- manifest
+
+----
+LittleCMS :
+
+Get lcms sources (>= 2.1). Although it is possible to build Scribus with lcms 1,
+you can only do so without modifying lcms sources with lcms >= 2.1.
+We will only describe here instructions related to lcms >= 2.1.
+
+Build using VC project in Projects\VC2008 dir. Modify projects if necessary so
+as to make them use the multithreaded dll runtim libraries.
+Build the static libraries in debug and release configurations.
+
+After building you must have a lcms2_static.lib and lcms2_staticd.lib in 
+your lcms source directory. If this is not the case modify projects as necessary.
+
+----
+Libtiff
+
+While Qt also bundles libtiff, it's not linked to the main DLL but rather a plugin.
+As such, we need to link to it directly.
+
+Download libtiff libraries, binaries and dependency packages from GnuWin32 project 
+on sourceforge :
+
+http://sourceforge.net/projects/gnuwin32/files/tiff/3.8.2/
+
+Unpack them in C:\Developer. After unpacking you directory layout must be as following :
+
+C:\Developer
+	|- libtiff-3.8.2
+	    |- bin
+		|- contrib
+		|- include
+		|- lib
+		|- man
+		|- manifest
+
+----
 Libxml2 / iconv :
 
 Download libxml2 and icon win32 binaries from following address :

Modified: branches/Version14x/Scribus/win32/vc9/Scribus-1.4.x.sln
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=17489&path=/branches/Version14x/Scribus/win32/vc9/Scribus-1.4.x.sln
==============================================================================
--- branches/Version14x/Scribus/win32/vc9/Scribus-1.4.x.sln (original)
+++ branches/Version14x/Scribus/win32/vc9/Scribus-1.4.x.sln Wed May  2 22:13:43 2012
@@ -184,6 +184,11 @@
 	EndProjectSection
 EndProject
 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "pctimport", "pctimport\pctimport.vcproj", "{BDF68684-5B3B-4D64-BEC5-3C333A929370}"
+	ProjectSection(ProjectDependencies) = postProject
+		{B17FCD80-7978-4544-93C4-2FE1AC6FE9F3} = {B17FCD80-7978-4544-93C4-2FE1AC6FE9F3}
+	EndProjectSection
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "hunspellcheck", "hunspellcheck\hunspellcheck.vcproj", "{C5268DFD-7CC5-4829-A354-82446B4E07AF}"
 	ProjectSection(ProjectDependencies) = postProject
 		{B17FCD80-7978-4544-93C4-2FE1AC6FE9F3} = {B17FCD80-7978-4544-93C4-2FE1AC6FE9F3}
 	EndProjectSection
@@ -508,6 +513,10 @@
 		{BDF68684-5B3B-4D64-BEC5-3C333A929370}.Release-arthur|Win32.Build.0 = Release-arthur|Win32
 		{BDF68684-5B3B-4D64-BEC5-3C333A929370}.Release-cairo|Win32.ActiveCfg = Release-cairo|Win32
 		{BDF68684-5B3B-4D64-BEC5-3C333A929370}.Release-cairo|Win32.Build.0 = Release-cairo|Win32
+		{C5268DFD-7CC5-4829-A354-82446B4E07AF}.Debug-arthur|Win32.ActiveCfg = Debug-arthur|Win32
+		{C5268DFD-7CC5-4829-A354-82446B4E07AF}.Debug-cairo|Win32.ActiveCfg = Debug-cairo|Win32
+		{C5268DFD-7CC5-4829-A354-82446B4E07AF}.Release-arthur|Win32.ActiveCfg = Release-arthur|Win32
+		{C5268DFD-7CC5-4829-A354-82446B4E07AF}.Release-cairo|Win32.ActiveCfg = Release-cairo|Win32
 	EndGlobalSection
 	GlobalSection(SolutionProperties) = preSolution
 		HideSolutionNode = FALSE

Modified: branches/Version14x/Scribus/win32/vc9/Scribus-build.vsprops
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=17489&path=/branches/Version14x/Scribus/win32/vc9/Scribus-build.vsprops
==============================================================================
--- branches/Version14x/Scribus/win32/vc9/Scribus-build.vsprops (original)
+++ branches/Version14x/Scribus/win32/vc9/Scribus-build.vsprops Wed May  2 22:13:43 2012
@@ -19,6 +19,10 @@
 	<UserMacro
 		Name="FREETYPE_DIR"
 		Value="F:\Libraries-vc9\freetype-2.4.6"
+	/>
+	<UserMacro
+		Name="HUNSPELL_DIR"
+		Value="F:\Libraries-vc9\hunspell-1.3.2"
 	/>
 	<UserMacro
 		Name="ICONV_DIR"

Modified: branches/Version14x/Scribus/win32/vc9/scribus-exe/scribuspch.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=17489&path=/branches/Version14x/Scribus/win32/vc9/scribus-exe/scribuspch.h
==============================================================================
--- branches/Version14x/Scribus/win32/vc9/scribus-exe/scribuspch.h (original)
+++ branches/Version14x/Scribus/win32/vc9/scribus-exe/scribuspch.h Wed May  2 22:13:43 2012
@@ -91,4 +91,9 @@
 
 #include <stdlib.h>
 
+#include "pageitem.h"
+#include "scribus.h"
+#include "scribusdoc.h"
+#include "scribusview.h"
+
 #endif




More information about the scribus-commit mailing list