[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#821802: [lokalize/Applications/16.04] cmake: support hunspell 1.4 in cmake



Hi,

On Mon, Apr 25, 2016 at 12:42:48AM +0000, Nick Shaforostoff wrote:
> Git commit 7aa9dafeb457ca3bc48a61c5dfa2e69b0ecdad6c by Nick Shaforostoff.
> Committed on 25/04/2016 at 00:42.
> Pushed by shaforo into branch 'Applications/16.04'.
> 
> support hunspell 1.4 in cmake
> 
> CCMAIL: 821802@bugs.debian.org
> 
> M  +1    -1    cmake/FindHUNSPELL.cmake
> 
> http://commits.kde.org/lokalize/7aa9dafeb457ca3bc48a61c5dfa2e69b0ecdad6c
> 
> diff --git a/cmake/FindHUNSPELL.cmake b/cmake/FindHUNSPELL.cmake
> index 26942b5..eca3cc1 100644
> --- a/cmake/FindHUNSPELL.cmake
> +++ b/cmake/FindHUNSPELL.cmake
> @@ -14,7 +14,7 @@ ENDIF (HUNSPELL_INCLUDE_DIR AND HUNSPELL_LIBRARIES)
>  
>  FIND_PATH(HUNSPELL_INCLUDE_DIR hunspell/hunspell.hxx )
>  
> -FIND_LIBRARY(HUNSPELL_LIBRARIES NAMES hunspell-1.3 hunspell-1.2)
> +FIND_LIBRARY(HUNSPELL_LIBRARIES NAMES hunspell-2.0 hunspell-1.5 hunspell-1.4 hunspell-1.3 hunspell-1.2)
                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^

Where do you invent these? :)

(And as I said in the bug: why is it not using pkg-config (hunspell.pc) which
is version-agnostic and doesn't break if the SONAME is bumped without
API breakage?)

Regards,

Rene


Reply to: