diff --git a/scribus-1.4.6-hunspell14.patch b/scribus-1.4.6-hunspell14.patch new file mode 100644 index 0000000..81c6440 --- /dev/null +++ b/scribus-1.4.6-hunspell14.patch @@ -0,0 +1,12 @@ +--- a/cmake/modules/FindHUNSPELL.cmake ++++ b/cmake/modules/FindHUNSPELL.cmake +@@ -9,7 +9,7 @@ + #Based on examples at http://www.vtk.org/Wiki/CMake:How_To_Find_Libraries + + FIND_PATH(HUNSPELL_INCLUDE_DIR hunspell/hunspell.hxx ) +-FIND_LIBRARY(HUNSPELL_LIBRARIES NAMES hunspell-1.3 hunspell-1.2 PATHS /opt/local/lib /usr/local/lib /usr/lib ) ++FIND_LIBRARY(HUNSPELL_LIBRARIES NAMES hunspell-1.4 hunspell-1.3 hunspell-1.2 PATHS /opt/local/lib /usr/local/lib /usr/lib ) + + INCLUDE(FindPackageHandleStandardArgs) + # handle the QUIETLY and REQUIRED arguments and set HUNSPELL_FOUND to TRUE + diff --git a/scribus.spec b/scribus.spec index c5db037..5f40ea4 100644 --- a/scribus.spec +++ b/scribus.spec @@ -1,6 +1,6 @@ Name: scribus Version: 1.4.6 -Release: 5%{?dist} +Release: 6%{?dist} Summary: DeskTop Publishing application written in Qt Group: Applications/Productivity # swatches bring in the fun licenses @@ -16,6 +16,8 @@ Patch1: %{name}-1.4.4-qreal_double.patch Patch2: %{name}-1.4.2-nonfree.patch # Fix necessary LPPL attribution Patch3: %{name}-1.4.5-lppl-fixes.patch +# Fix detection of hunspell-1.4 +Patch4: %{name}-1.4.6-hunspell14.patch BuildRequires: cmake BuildRequires: cups-devel @@ -66,6 +68,7 @@ import/export and creation of color separations. %patch1 -p1 -b .double %patch2 -p1 -b .nonfree %patch3 -p1 +%patch4 -p1 # recode man page to UTF-8 pushd scribus/manpages @@ -187,6 +190,9 @@ update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || : %changelog +* Fri Apr 07 2017 Yaakov Selkowitz - 1.4.6-6 +- Fix detection of hunspell-1.4 for spell-checking support (#1425305) + * Mon Feb 06 2017 Kalev Lember - 1.4.6-5 - Rebuilt for Boost 1.63