From 8d47c190886678cb2a92a4a5f033bc53be42befa Mon Sep 17 00:00:00 2001 From: Kitty Barnett Date: Fri, 24 Jun 2011 03:16:23 +0200 Subject: [PATCH] - added : autobuild package for hunspell --HG-- branch : Misc-Spellcheck --- autobuild.xml | 24 ++++++++++++++++++++++++ indra/cmake/Copy3rdPartyLibs.cmake | 2 ++ indra/cmake/ViewerMiscLibs.cmake | 1 + indra/llui/llhunspell.cpp | 1 + indra/newview/CMakeLists.txt | 3 +++ indra/newview/viewer_manifest.py | 3 +++ 6 files changed, 34 insertions(+) diff --git a/autobuild.xml b/autobuild.xml index 5af5c31d29..e5690cb2a7 100644 --- a/autobuild.xml +++ b/autobuild.xml @@ -999,6 +999,30 @@ + libhunspell + + license + libhunspell + license_file + LICENSES/hunspell.txt + name + libhunspell + platforms + + windows + + archive + + hash + 9c83f881a9007b9f485b72a5fd5dafd7 + url + http://viewer.catznip.com/downloads/libhunspell-1.3.1-windows-20110624.tar.bz2 + + name + windows + + + libpng license diff --git a/indra/cmake/Copy3rdPartyLibs.cmake b/indra/cmake/Copy3rdPartyLibs.cmake index d9efc8f40d..adc5eb21a9 100644 --- a/indra/cmake/Copy3rdPartyLibs.cmake +++ b/indra/cmake/Copy3rdPartyLibs.cmake @@ -41,6 +41,7 @@ if(WINDOWS) libeay32.dll libcollada14dom22-d.dll glod.dll + libhunspell.dll ) set(release_src_dir "${ARCH_PREBUILT_DIRS_RELEASE}") @@ -53,6 +54,7 @@ if(WINDOWS) libeay32.dll libcollada14dom22.dll glod.dll + libhunspell.dll ) if(USE_GOOGLE_PERFTOOLS) diff --git a/indra/cmake/ViewerMiscLibs.cmake b/indra/cmake/ViewerMiscLibs.cmake index df013b1665..f907181929 100644 --- a/indra/cmake/ViewerMiscLibs.cmake +++ b/indra/cmake/ViewerMiscLibs.cmake @@ -2,6 +2,7 @@ include(Prebuilt) if (NOT STANDALONE) + use_prebuilt_binary(libhunspell) use_prebuilt_binary(libuuid) use_prebuilt_binary(slvoice) use_prebuilt_binary(fontconfig) diff --git a/indra/llui/llhunspell.cpp b/indra/llui/llhunspell.cpp index 4c4c3c34e2..a8199d9c5c 100644 --- a/indra/llui/llhunspell.cpp +++ b/indra/llui/llhunspell.cpp @@ -23,6 +23,7 @@ #if LL_WINDOWS #include + #pragma comment(lib, "libhunspell.lib") #else #include #endif diff --git a/indra/newview/CMakeLists.txt b/indra/newview/CMakeLists.txt index 877299bf5e..fa9c548d10 100644 --- a/indra/newview/CMakeLists.txt +++ b/indra/newview/CMakeLists.txt @@ -1522,6 +1522,9 @@ if (WINDOWS) ${SHARED_LIB_STAGING_DIR}/RelWithDebInfo/msvcp100.dll ${SHARED_LIB_STAGING_DIR}/Debug/msvcr100d.dll ${SHARED_LIB_STAGING_DIR}/Debug/msvcp100d.dll + ${SHARED_LIB_STAGING_DIR}/Release/libhunspell.dll + ${SHARED_LIB_STAGING_DIR}/RelWithDebInfo/libhunspell.dll + ${SHARED_LIB_STAGING_DIR}/Debug/libhunspell.dll ${SHARED_LIB_STAGING_DIR}/${CMAKE_CFG_INTDIR}/SLVoice.exe ${SHARED_LIB_STAGING_DIR}/${CMAKE_CFG_INTDIR}/vivoxsdk.dll ${SHARED_LIB_STAGING_DIR}/${CMAKE_CFG_INTDIR}/ortp.dll diff --git a/indra/newview/viewer_manifest.py b/indra/newview/viewer_manifest.py index 8aa94616d6..de5a125999 100644 --- a/indra/newview/viewer_manifest.py +++ b/indra/newview/viewer_manifest.py @@ -329,6 +329,9 @@ class WindowsManifest(ViewerManifest): self.path("ssleay32.dll") self.path("libeay32.dll") + # Hunspell + self.path("libhunspell.dll") + # For google-perftools tcmalloc allocator. try: if self.args['configuration'].lower() == 'debug':