Fix detection of hunspell-1.4 for spell-checking support (#1425305)
This commit is contained in:
parent
3cb1a9a151
commit
8eb41b5ac3
2 changed files with 19 additions and 1 deletions
12
scribus-1.4.6-hunspell14.patch
Normal file
12
scribus-1.4.6-hunspell14.patch
Normal file
|
|
@ -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
|
||||
|
||||
|
|
@ -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 <yselkowi@redhat.com> - 1.4.6-6
|
||||
- Fix detection of hunspell-1.4 for spell-checking support (#1425305)
|
||||
|
||||
* Mon Feb 06 2017 Kalev Lember <klember@redhat.com> - 1.4.6-5
|
||||
- Rebuilt for Boost 1.63
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue