Bug#862163: lokalize: FTBFS with hunspell 1.6
Package: lokalize Version: 16.08.3-2 Severity: important Tags: patch Dear Maintainer, again a hunspell transition upcoming :) hunspell 1.6.x is already in experimental As said already in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=821802 back then for 1.4 I don't see where hunspell-2.0 is supposed to be any effect but I kept it in the following trivial patch again :): diff -Nru lokalize-16.08.3/debian/changelog lokalize-16.08.3/debian/changelog --- lokalize-16.08.3/debian/changelog 2017-02-10 15:51:19.0 + +++ lokalize-16.08.3/debian/changelog 2017-05-09 09:01:52.0 + @@ -1,3 +1,10 @@ +lokalize (4:16.08.3-2.1) unstable; urgency=medium + + * Non-maintainer upload. + * fix build with hunspell 1.6 + + -- Rene Engelhard Tue, 09 May 2017 11:01:52 +0200 + lokalize (4:16.08.3-2) unstable; urgency=medium * Add kinit runtime dependency. diff -Nru lokalize-16.08.3/debian/patches/hunspell-1.6.diff lokalize-16.08.3/debian/patches/hunspell-1.6.diff --- lokalize-16.08.3/debian/patches/hunspell-1.6.diff 1970-01-01 00:00:00.0 + +++ lokalize-16.08.3/debian/patches/hunspell-1.6.diff 2017-05-09 09:01:00.0 + @@ -0,0 +1,17 @@ +Description: fix build with hunspell-1.6 +Author: Rene Engelhard +Origin: vendor +Forwarded: no +Last-Update: 2017-05-09 + +--- lokalize-16.08.3.orig/cmake/FindHUNSPELL.cmake lokalize-16.08.3/cmake/FindHUNSPELL.cmake +@@ -14,7 +14,7 @@ ENDIF (HUNSPELL_INCLUDE_DIR AND HUNSPELL + + FIND_PATH(HUNSPELL_INCLUDE_DIR hunspell/hunspell.hxx ) + +-FIND_LIBRARY(HUNSPELL_LIBRARIES NAMES hunspell-2.0 hunspell-1.5 hunspell-1.4 hunspell-1.3 hunspell-1.2) ++FIND_LIBRARY(HUNSPELL_LIBRARIES NAMES hunspell-2.0 hunspell-1.6 hunspell-1.5 hunspell-1.4 hunspell-1.3 hunspell-1.2) + + # handle the QUIETLY and REQUIRED arguments and set HUNSPELL_FOUND to TRUE if + # all listed variables are TRUE diff -Nru lokalize-16.08.3/debian/patches/series lokalize-16.08.3/debian/patches/series --- lokalize-16.08.3/debian/patches/series 1970-01-01 00:00:00.0 + +++ lokalize-16.08.3/debian/patches/series 2017-05-09 09:00:11.0 + @@ -0,0 +1 @@ +hunspell-1.6.diff Maybe it would even be better if you fixed this once for all with this: +-FIND_LIBRARY(HUNSPELL_LIBRARIES NAMES hunspell-2.0 hunspell-1.5 hunspell-1.4 hunspell-1.3 hunspell-1.2) ++FIND_LIBRARY(HUNSPELL_LIBRARIES NAMES hunspell) which also works fine and would remove the need for a adaption here every time... Regards, Rene
Processed: reassign 862163 to src:localize, found 862163 in 4:16.08.3-2
Processing commands for cont...@bugs.debian.org: > reassign 862163 src:localize Bug #862163 [lokalize] lokalize: FTBFS with hunspell 1.6 Bug reassigned from package 'lokalize' to 'src:localize'. Warning: Unknown package 'src:localize' Warning: Unknown package 'src:localize' No longer marked as found in versions 16.08.3-2. Warning: Unknown package 'src:localize' Warning: Unknown package 'src:localize' Ignoring request to alter fixed versions of bug #862163 to the same values previously set Warning: Unknown package 'src:localize' > found 862163 4:16.08.3-2 Bug #862163 [src:localize] lokalize: FTBFS with hunspell 1.6 Warning: Unknown package 'src:localize' The source 'localize' and version '4:16.08.3-2' do not appear to match any binary packages Marked as found in versions localize/4:16.08.3-2. Warning: Unknown package 'src:localize' > thanks Stopping processing here. Please contact me if you need assistance. -- 862163: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=862163 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
Processed: reassign 862163 to src:lokalize, found 862163 in 4:16.08.3-2
Processing commands for cont...@bugs.debian.org: > reassign 862163 src:lokalize Bug #862163 [src:localize] lokalize: FTBFS with hunspell 1.6 Warning: Unknown package 'src:localize' Bug reassigned from package 'src:localize' to 'src:lokalize'. No longer marked as found in versions localize/4:16.08.3-2. Ignoring request to alter fixed versions of bug #862163 to the same values previously set > found 862163 4:16.08.3-2 Bug #862163 [src:lokalize] lokalize: FTBFS with hunspell 1.6 Marked as found in versions lokalize/4:16.08.3-2. > thanks Stopping processing here. Please contact me if you need assistance. -- 862163: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=862163 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
Processed: block 862189 with 862163
Processing commands for cont...@bugs.debian.org: > block 862189 with 862163 Bug #862189 [release.debian.org] transition: hunspell 862189 was not blocked by any bugs. 862189 was not blocking any bugs. Added blocking bug(s) of 862189: 862163 > thanks Stopping processing here. Please contact me if you need assistance. -- 862189: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=862189 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems