[hunspell] 01/03: New upstream version 1.5.4

Rene Engelhard rene at moszumanska.debian.org
Sun Dec 4 11:04:20 UTC 2016


This is an automated email from the git hooks/post-receive script.

rene pushed a commit to branch experimental
in repository hunspell.

commit b0bd3381f7980cf2d3c8314dcce9a297d99fd7c1
Author: Rene Engelhard <rene at rene-engelhard.de>
Date:   Sun Dec 4 12:00:34 2016 +0100

    New upstream version 1.5.4
---
 ChangeLog                 |  4 ++++
 README                    | 54 +++++++++++++++++++----------------------------
 configure                 | 20 +++++++++---------
 configure.ac              |  4 ++--
 src/hunspell/affixmgr.cxx |  4 ++--
 src/hunspell/hashmgr.cxx  | 10 ++++-----
 src/win_api/Hunspell.rc   |  8 +++----
 src/win_api/config.h      |  4 ++--
 8 files changed, 51 insertions(+), 57 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index eaf8c61..88108a2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2016-11-30 Dimitrij Mijoski <dmjpp at hotm>:
+	* Version 1.5.4
+	* Fixes the command COMPOUNDSYLLABLE used in Hungarian dictionary.
+
 2016-11-28 Dimitrij Mijoski <dmjpp at hotm>:
 	* Version 1.5.3
 	* Removed a #include from hunspell.hxx that was creating trouble
diff --git a/README b/README
index ee393fa..0085ba5 100644
--- a/README
+++ b/README
@@ -30,13 +30,14 @@ Main features of Hunspell spell checker and morphological analyzer:
 
 - Free software (LGPL, GPL, MPL tri-license)
 
-Compiling on Unix/Linux
------------------------
+Compiling on Unix/Linux and others
+----------------------------------
 
-autoreconf; automake --add-missing # if needed
+autoreconf -vfi
 ./configure
 make
-make install
+make install	#if neccesary prefix with sudo
+ldconfig	#not needed on windows, on linux sudo may be needed
 
 For dictionary development, use the --with-warnings option of configure.
 
@@ -44,7 +45,7 @@ For interactive user interface of Hunspell executable, use the --with-ui option.
 
 The developer packages you need to compile Hunspell's interface:
 
-glibc-devel
+autoconf automake autopoint libtool g++
 
 optional developer packages:
 
@@ -54,49 +55,38 @@ readline (for fancy input line editing,
 locale and gettext (but you can also use the
   --with-included-gettext configure parameter)
 
-Hunspell distribution uses new Autoconf (2.59) and Automake (1.9).
-
 Compiling on Windows
 --------------------
 
-1. Compiling with Windows SDK
+1. Compiling with Visual Studio
+
+Download the free Visual Studio Community Edition of Microsoft, open the 
+file hunspell/src/win_api/Hunspell.sln. Select the appropirate build (Debug, 
+Release, Win32, x64) and press Build.
+
+2. Compiling with Mingw64 and MSYS2
+
+Download Msys2, update everything and install the following packages:
 
-Download the free Windows SDK of Microsoft, open a command prompt
-window and cd into hunspell/src/win_api. Use the following command
-to compile hunspell:
+pacman -S base-devel mingw-w64-x86_64-toolchain mingw-w64-x86_64-libtool
 
-vcbuild
+Open Mingw-w64 Win64 prompt and compile the same way as on Linux, see above.
 
-2. Compiling in Cygwin environment
+3. Compiling in Cygwin environment
 
 Download and install Cygwin environment for Windows with the following
 extra packages: 
 
 make
+automake
+autoconf
 gcc-g++ development package
-mingw development package (for cygwin.dll free native Windows compilation)
 ncurses, readline (for user interface)
 iconv (character conversion)
 
-2.1. Cygwin1.dll dependent compiling
-
-Open a Cygwin shell, cd into the hunspell root directory:
-
-./configure
-make
-make install
-
-For dictionary development, use the --with-warnings option of configure.
-
-For interactive user interface of Hunspell executable, use the --with-ui option.
-
-readline configure parameter: --with-readline (for fancy input line editing)
-
-1.2. Cygwin1.dll free compiling
-
-Open a Cygwin shell, cd into the hunspell/src/win_api and
+3.1. Cygwin1.dll dependent compiling
 
-make -f Makefile.cygwin
+Same as on Linux.
 
 Testing
 -------
diff --git a/configure b/configure
index dc7cf0b..11203ac 100755
--- a/configure
+++ b/configure
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for hunspell 1.5.3.
+# Generated by GNU Autoconf 2.69 for hunspell 1.5.4.
 #
 # Report bugs to <nemeth at numbertext.org>.
 #
@@ -590,8 +590,8 @@ MAKEFLAGS=
 # Identity of this package.
 PACKAGE_NAME='hunspell'
 PACKAGE_TARNAME='hunspell'
-PACKAGE_VERSION='1.5.3'
-PACKAGE_STRING='hunspell 1.5.3'
+PACKAGE_VERSION='1.5.4'
+PACKAGE_STRING='hunspell 1.5.4'
 PACKAGE_BUGREPORT='nemeth at numbertext.org'
 PACKAGE_URL=''
 
@@ -1404,7 +1404,7 @@ if test "$ac_init_help" = "long"; then
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures hunspell 1.5.3 to adapt to many kinds of systems.
+\`configure' configures hunspell 1.5.4 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1475,7 +1475,7 @@ fi
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of hunspell 1.5.3:";;
+     short | recursive ) echo "Configuration of hunspell 1.5.4:";;
    esac
   cat <<\_ACEOF
 
@@ -1604,7 +1604,7 @@ fi
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-hunspell configure 1.5.3
+hunspell configure 1.5.4
 generated by GNU Autoconf 2.69
 
 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -2377,7 +2377,7 @@ cat >config.log <<_ACEOF
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by hunspell $as_me 1.5.3, which was
+It was created by hunspell $as_me 1.5.4, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   $ $0 $@
@@ -3320,7 +3320,7 @@ fi
 # Define the identity of the package.
 
  PACKAGE=hunspell
- VERSION=1.5.3
+ VERSION=1.5.4
 
 
 cat >>confdefs.h <<_ACEOF
@@ -22926,7 +22926,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by hunspell $as_me 1.5.3, which was
+This file was extended by hunspell $as_me 1.5.4, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -22992,7 +22992,7 @@ _ACEOF
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\
-hunspell config.status 1.5.3
+hunspell config.status 1.5.4
 configured by $0, generated by GNU Autoconf 2.69,
   with options \\"\$ac_cs_config\\"
 
diff --git a/configure.ac b/configure.ac
index 62ee996..7c72234 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4,12 +4,12 @@
 m4_pattern_allow
 
 AC_PREREQ(2.59)
-AC_INIT([hunspell],[1.5.3],[nemeth at numbertext.org])
+AC_INIT([hunspell],[1.5.4],[nemeth at numbertext.org])
 
 AC_CANONICAL_HOST
 AC_SUBST(XFAILED)
 
-AM_INIT_AUTOMAKE(hunspell, 1.5.3)
+AM_INIT_AUTOMAKE(hunspell, 1.5.4)
 HUNSPELL_VERSION_MAJOR=`echo $VERSION | cut -d"." -f1`
 HUNSPELL_VERSION_MINOR=`echo $VERSION | cut -d"." -f2`
 AC_SUBST(HUNSPELL_VERSION_MAJOR)
diff --git a/src/hunspell/affixmgr.cxx b/src/hunspell/affixmgr.cxx
index cc9e69b..f288fcb 100644
--- a/src/hunspell/affixmgr.cxx
+++ b/src/hunspell/affixmgr.cxx
@@ -3690,11 +3690,11 @@ bool AffixMgr::parse_cpdsyllable(const std::string& line, FileMgr* af) {
     HUNSPELL_WARNING(stderr,
                      "error: line %d: missing compoundsyllable information\n",
                      af->getlinenum());
-    return 1;
+    return false;
   }
   if (np == 2)
     cpdvowels = "AEIOUaeiou";
-  return 0;
+  return true;
 }
 
 /* parse in the typical fault correcting table */
diff --git a/src/hunspell/hashmgr.cxx b/src/hunspell/hashmgr.cxx
index 0d5dbf5..1de1690 100644
--- a/src/hunspell/hashmgr.cxx
+++ b/src/hunspell/hashmgr.cxx
@@ -643,8 +643,8 @@ int HashMgr::decode_flags(unsigned short** result, const std::string& flags, Fil
       if (!*result)
         return -1;
       for (int i = 0; i < len; i++) {
-        (*result)[i] = (((unsigned short)flags[i * 2]) << 8) +
-                       (unsigned short)flags[i * 2 + 1];
+        (*result)[i] = ((unsigned short)((unsigned char)flags[i * 2]) << 8) +
+                       (unsigned char)flags[i * 2 + 1];
       }
       break;
     }
@@ -726,8 +726,8 @@ bool HashMgr::decode_flags(std::vector<unsigned short>& result, const std::strin
       len /= 2;
       result.reserve(result.size() + len);
       for (size_t i = 0; i < len; ++i) {
-        result.push_back((((unsigned short)flags[i * 2]) << 8) +
-                         (unsigned short)flags[i * 2 + 1]);
+        result.push_back(((unsigned short)((unsigned char)flags[i * 2]) << 8) +
+                         (unsigned char)flags[i * 2 + 1]);
       }
       break;
     }
@@ -783,7 +783,7 @@ unsigned short HashMgr::decode_flag(const char* f) const {
   int i;
   switch (flag_mode) {
     case FLAG_LONG:
-      s = ((unsigned short)f[0] << 8) + (unsigned short)f[1];
+      s = ((unsigned short)((unsigned char)f[0]) << 8) + (unsigned char)f[1];
       break;
     case FLAG_NUM:
       i = atoi(f);
diff --git a/src/win_api/Hunspell.rc b/src/win_api/Hunspell.rc
index b28b50f..c5592c1 100644
--- a/src/win_api/Hunspell.rc
+++ b/src/win_api/Hunspell.rc
@@ -2,8 +2,8 @@
 #include <windows.h>
 
 VS_VERSION_INFO VERSIONINFO
-FILEVERSION 1,5,3,0
-PRODUCTVERSION 1,5,3,0
+FILEVERSION 1,5,4,0
+PRODUCTVERSION 1,5,4,0
 FILEFLAGSMASK 0x17L
 FILEFLAGS 0
 FILEOS VOS_NT_WINDOWS32
@@ -21,12 +21,12 @@ BEGIN
             VALUE "Comments", "Hunspell (http://hunspell.github.io/) by L�szl� N�meth"
             VALUE "CompanyName", "http://hunspell.github.io/"
             VALUE "FileDescription", "libhunspell"
-            VALUE "FileVersion", "1.5.3"
+            VALUE "FileVersion", "1.5.4"
             VALUE "InternalName", "libhunspell"
             VALUE "LegalCopyright", "Copyright (c) 2007-2016"
             VALUE "OriginalFilename", "libhunspell.dll"
             VALUE "ProductName", "Hunspell Dynamic Link Library"
-            VALUE "ProductVersion", "1.5.3"
+            VALUE "ProductVersion", "1.5.4"
 		END
 	END
 END
diff --git a/src/win_api/config.h b/src/win_api/config.h
index 44a2266..ebe5450 100644
--- a/src/win_api/config.h
+++ b/src/win_api/config.h
@@ -201,5 +201,5 @@
 #define PACKAGE_TARNAME
 
 /* Define to the version of this package. */
-#define PACKAGE_VERSION "1.5.3"
-#define VERSION "1.5.3"
+#define PACKAGE_VERSION "1.5.4"
+#define VERSION "1.5.4"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-openoffice/hunspell.git



More information about the Pkg-openoffice-commits mailing list