From 4a984d7fa9c4196e15ca96bb21b22afbf296de7b Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: May 08 2016 15:37:56 +0000 Subject: Rebuild for hunspell-1.4 --- diff --git a/OmegaT-06-use-external-hunspell.patch b/OmegaT-06-use-external-hunspell.patch index 2c0f935..a0cef8d 100644 --- a/OmegaT-06-use-external-hunspell.patch +++ b/OmegaT-06-use-external-hunspell.patch @@ -33,7 +33,7 @@ diff -Naur OmegaT-2.2.3_Beta-orig/src/org/omegat/util/OConsts.java OmegaT-2.2.3_ public static final String SPELLCHECKER_LIBRARY_NAME = "hunspell"; + /** the path of the spell checking library */ -+ public static final String SPELLCHECKER_LIBRARY_PATH = "/usr/lib/libhunspell-1.3.so.0"; ++ public static final String SPELLCHECKER_LIBRARY_PATH = "/usr/lib/libhunspell-1.4.so.0"; + + /** directory of system dictionaries */ + public static final String SPELLCHECKER_SYSTEM_DICTIONARY_DIRECTORY = "/usr/share/myspell/"; // NOI18N diff --git a/OmegaT-06-use-system-hunspell.patch b/OmegaT-06-use-system-hunspell.patch index 0eaf105..bf83c20 100644 --- a/OmegaT-06-use-system-hunspell.patch +++ b/OmegaT-06-use-system-hunspell.patch @@ -24,7 +24,7 @@ index 2e851d3..a876ba5 100644 - libraryPath = StaticUtils.installDir() + File.separator + OConsts.NATIVE_LIBRARY_DIR - + File.separator + mapLibraryName(baseHunspellLib); - } -+ libraryPath = "/usr/lib/libhunspell-1.3.so.0"; ++ libraryPath = "/usr/lib/libhunspell-1.4.so.0"; hunspell = (Hunspell) Native.loadLibrary(libraryPath, Hunspell.class); Log.log("Hunspell loaded successfully from " + libraryPath); diff --git a/OmegaT.spec b/OmegaT.spec index 9e8981d..beeb481 100644 --- a/OmegaT.spec +++ b/OmegaT.spec @@ -16,7 +16,7 @@ Summary: Computer Aid Translation tool Version: 2.6.3 #%global versionr 2.6.1_01_Beta %global versionr 2.6.3_11 -Release: 4%{?dist} +Release: 5%{?dist} #Release: 0.12.Beta%{?dist} Source0: http://downloads.sourceforge.net/omegat/%{name}_%{versionr}_Source.zip Source2: OmegaT-lib-mnemonics-build.xml @@ -30,7 +30,7 @@ BuildRequires: htmlparser, vldocking >= 2.1.4 BuildRequires: jna BuildRequires: ws-jaxme BuildRequires: swing-layout -BuildRequires: hunspell <= 1.4.0 +BuildRequires: hunspell <= 1.5.0 BuildRequires: svnkit >= 1.7.5 BuildRequires: jsch @@ -44,7 +44,7 @@ BuildRequires: gnudiff Requires: java, javapackages-tools Requires: vldocking >= 2.1.4 Requires: htmlparser -Requires: hunspell <= 1.4.0 +Requires: hunspell <= 1.5.0 Requires: jna Requires: swing-layout Requires: ws-jaxme @@ -232,6 +232,9 @@ dos2unix -k -f release/*.txt %changelog +* Sun May 08 2016 Caolán McNamara - 2.6.3-5 +- Rebuild for hunspell-1.4 + * Wed Feb 03 2016 Fedora Release Engineering - 2.6.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild