r17505 by jghali - msvc project update : add hunspell plugin build files
scribus-commit
scribus-commit at lists.scribus.net
Fri May 11 21:42:24 UTC 2012
Author: jghali
Date: Fri May 11 21:42:23 2012
New Revision: 17505
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=17505
Log:
msvc project update : add hunspell plugin build files
Added:
trunk/Scribus/win32/vc9/hunspellcheck/
trunk/Scribus/win32/vc9/hunspellcheck/hunspellcheck.vcproj
trunk/Scribus/win32/vc9/hunspellcheck/hunspellcheckdll.cpp
Modified:
trunk/Scribus/BUILDING_win32_msvc.txt
trunk/Scribus/win32/vc9/Scribus-build.vsprops
trunk/Scribus/win32/vc9/Scribus.sln
Modified: trunk/Scribus/BUILDING_win32_msvc.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=17505&path=/trunk/Scribus/BUILDING_win32_msvc.txt
==============================================================================
--- trunk/Scribus/BUILDING_win32_msvc.txt (original)
+++ trunk/Scribus/BUILDING_win32_msvc.txt Fri May 11 21:42:23 2012
@@ -15,10 +15,11 @@
- Cairo sources from cairographics.org (version >= 1.11.4)
- Pixman sources from cairographics.org (version >= 0.24.4)
- 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.0) from podofo.sourceforge.net
- Poppler sources (version >= 0.17.1) from poppler.freedesktop.org
@@ -145,60 +146,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
@@ -244,6 +191,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: trunk/Scribus/win32/vc9/Scribus-build.vsprops
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=17505&path=/trunk/Scribus/win32/vc9/Scribus-build.vsprops
==============================================================================
--- trunk/Scribus/win32/vc9/Scribus-build.vsprops (original)
+++ trunk/Scribus/win32/vc9/Scribus-build.vsprops Fri May 11 21:42:23 2012
@@ -6,7 +6,7 @@
>
<UserMacro
Name="QT4_DIR"
- Value="F:\Libraries-vc9\qt-4.7.3"
+ Value="F:\Libraries-vc9\qt-4.8.1"
/>
<UserMacro
Name="BOOST_DIR"
@@ -14,7 +14,7 @@
/>
<UserMacro
Name="CAIRO_DIR"
- Value="F:\Libraries-vc9\cairo-1.11.4"
+ Value="F:\Libraries-vc9\cairo-1.12.2"
/>
<UserMacro
Name="CAIRO_DEBUG_LIB"
@@ -26,7 +26,7 @@
/>
<UserMacro
Name="FREETYPE_DIR"
- Value="F:\Libraries-vc9\freetype-2.4.6"
+ Value="F:\Libraries-vc9\freetype-2.4.9"
/>
<UserMacro
Name="FREETYPE_DEBUG_LIB"
@@ -37,12 +37,24 @@
Value="freetype.lib"
/>
<UserMacro
+ Name="HUNSPELL_DIR"
+ Value="F:\Libraries-vc9\hunspell-1.3.2"
+ />
+ <UserMacro
+ Name="HUNSPELL_DEBUG_LIB"
+ Value="libhunspell_staticD.lib"
+ />
+ <UserMacro
+ Name="HUNSPELL_RELEASE_LIB"
+ Value="libhunspell_static.lib"
+ />
+ <UserMacro
Name="ICONV_DIR"
Value="F:\Libraries-vc9\iconv-1.9.2"
/>
<UserMacro
Name="LCMS_DIR"
- Value="F:\Libraries-vc9\lcms2-2.2"
+ Value="F:\Libraries-vc9\lcms2-2.3"
/>
<UserMacro
Name="LCMS_DEBUG_LIB"
Modified: trunk/Scribus/win32/vc9/Scribus.sln
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=17505&path=/trunk/Scribus/win32/vc9/Scribus.sln
==============================================================================
--- trunk/Scribus/win32/vc9/Scribus.sln (original)
+++ trunk/Scribus/win32/vc9/Scribus.sln Fri May 11 21:42:23 2012
@@ -256,6 +256,11 @@
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "pdfimport", "pdfimport\pdfimport.vcproj", "{F58AF6DE-330F-48F5-97BB-ED2F30401712}"
+ 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
@@ -482,6 +487,10 @@
{F58AF6DE-330F-48F5-97BB-ED2F30401712}.Debug-cairo|Win32.Build.0 = Debug-cairo|Win32
{F58AF6DE-330F-48F5-97BB-ED2F30401712}.Release-cairo|Win32.ActiveCfg = Release-cairo|Win32
{F58AF6DE-330F-48F5-97BB-ED2F30401712}.Release-cairo|Win32.Build.0 = Release-cairo|Win32
+ {C5268DFD-7CC5-4829-A354-82446B4E07AF}.Debug-cairo|Win32.ActiveCfg = Debug-cairo|Win32
+ {C5268DFD-7CC5-4829-A354-82446B4E07AF}.Debug-cairo|Win32.Build.0 = Debug-cairo|Win32
+ {C5268DFD-7CC5-4829-A354-82446B4E07AF}.Release-cairo|Win32.ActiveCfg = Release-cairo|Win32
+ {C5268DFD-7CC5-4829-A354-82446B4E07AF}.Release-cairo|Win32.Build.0 = Release-cairo|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
More information about the scribus-commit
mailing list