Hello community, here is the log from the commit of package link-grammar for openSUSE:Factory checked in at 2018-02-19 13:00:50 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/link-grammar (Old) and /work/SRC/openSUSE:Factory/.link-grammar.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "link-grammar" Mon Feb 19 13:00:50 2018 rev:44 rq:576848 version:5.4.3 Changes: -------- --- /work/SRC/openSUSE:Factory/link-grammar/link-grammar.changes 2017-08-18 14:59:12.446048404 +0200 +++ /work/SRC/openSUSE:Factory/.link-grammar.new/link-grammar.changes 2018-02-19 13:00:53.170253961 +0100 @@ -1,0 +2,313 @@ +Wed Feb 14 19:46:01 UTC 2018 - jeng...@inai.de + +- Improve grammar of summaries, and compact description + for subpackages. +- Fix broken find -delete calls. +- Implement shared library packaging policy. + +------------------------------------------------------------------- +Wed Jan 17 03:21:07 UTC 2018 - luc1...@linuxmail.org + +- Update to version 5.4.3: + + Fixes: + - Man page installation (actually broken from 5.3.0). + - Printing inf loop for very narrow screen widths. + - Square area and cubic volume measurements (English dict). + - Assorted exclamations and responses (English dict). + - Unit tokenization to remove ambiguity. + + Add: + - "thither" to the English dictionary. + - Missing affix file, needed for the 'any' language. +- Remove obsolete %clean section since RPM does this work itself + nowadays. +- Change the python bindings Group tag to + Development/Libraries/Python instead of */*/C and C++. +- Change License tag to LGPL-2.1 instead of BSD-3-Clause following + upstream change in version 5.0.0. +- Update package description making it shorter and more assertive. +- Remove perl bindings package since it's use is not encouraged by + upstream. +- Point fdupes to the /usr directory instead of the build root, + which is a practice that must be avoided. + +------------------------------------------------------------------- +Fri Nov 10 07:39:41 UTC 2017 - fezh...@suse.com + +- Update to version 5.4.2: + + Fix man page build (broken in 5.4.1) +- Changes from version 5.4.1: + + Fix man page installation (broken in 5.3.8). + + Add affix-class MPUNC for splitting at intra-word punctuation. + + Fix crash when there is no PP info. + + Fix a stack buffer overflow. + + Eliminate hard-wired linkage diagram size limitations. + + Fix an unintended clipping of the linkage-limit option to + 250000. +- Changes from version 5.4.0: + + Empty out the post-processing tables for the any, ady, amy + languages + + Remove left_print_string() from the API. + + Recover pp_lexer.l from ancient version 2.2! + + Fix unusual crash in post-processing for the "any" language. + + Remove three deprecated post-processing functions from API. + + Major reorganization of code base into more modular + directories. + + Revive the sqlite3 dictionary into operational form. + + Add double-quotes to splittable punctuation for the "any" + language. + + Add API functions to get linkage word positions in the + sentence. + + Fix printing of diagrams containing Chinese or other wide + glyphs. + + Fix `make distclean` when ant not installed. +- Changes from version 5.3.16: + + Fix python3 unit tests. + + Restore tty state after ctrl-C, ctrl-Z of the app. + + Check for <stdatomic.h> before use (in Java bindings). + + Fix handling of punctuation in the "any" language. +- Changes from version 5.3.15: + + Fix Windows compilation; the new wcwidth files were omitted. + + Fix "amy" language for 3-way random morphology splits. + + Remove the "EMPTY_WORD" device; it is no longer needed. + + Enable morphology display in the java bindings, by default. + + Improve random sampling in the "ady" language. + + Improve performance by 10% to 15% for all languages. + + Fix broken multi-threading support in the Java bindings. + + Fix the `make uninstall` targets. +- Changes from version 5.3.14: + + Fix printing widths for Unicode-9 CJK ideographs and emoji's. + + Fix broken randomization in the "any" language. + + Add UTF-8 support to the random morpheme splitter (amy). + + Create an "ady" language for two-part morphology splits. + + Improved error notification facility (experimental). +- Changes from version 5.3.13: + + Fix fatal errors w/ zlib-dev and python dependencies. +- Changes from version 5.3.12: + + Fix bug in 'any' language (opencog/relex/issues/248). + + Preliminary support for common typos in English. + + Enable both python2 & python3 bindings by default. + + Fix locale_t use for the newly introduced Cygwin 2.6.0. + + Include in the distribution the missing make-check.py (for + Windows). + + Minisat configuration improvements + fix a problem on Gentoo. + + When using the bundled minisat, link it statically, don't + install it. +- Changes from version 5.3.11: + + Re-enable postscript header printing! + + Cleanup python API (in a non-backwards-compat fashion). + + Fix certain adverbial uses of "only". + + Fix some interjective openers to questions. + + Fix serious error with subject-verb inversion to past + participle. + + Remove most calls to exit() from the library. + + Update the SAT solver code to use MiniSAT 2.2. + + Use the system minisat2 library if available, instead of the + bundled one. +- Changes from version 5.3.10: + + Implement `make installcheck`. + + Pull #371: Simplification of API when handling disconnected + words. + + Fix SAT parser crashes. + + Expand default list of Java JDK search paths. + + Fix python bindings: after timeout, no further parsing is + performed. + + Fix various adverbial, conjunctive uses of "as", "so". + + Extended list of exclamations. + + Remove CC link, add VC link, for clauses to coordinating + conjunctions. + + Fixes for the verb "dare", "someone or other", etc. + + Fix OSX build break, concerning undefined locale_t. + + Pull #385: Fix ancient bug that made dictionary debugging + difficult. +- Changes from version 5.3.9: + + Pull req #354: Major changes to support Cygwin. + + Pull req #356: SAT parser bug fix. + + General python binding cleanup. + + Fatal error: Unable to open default dictionary. +- Changes from version 5.3.8: + + Disambiguate "Bob" the given name from "bob" the verb. + + Pull req #300: Crash while parsing certain Russian sentences. + + Pull req #301: MSVC compiler error, and warnings. + + Pull req #304: Python failure when no parses are possible. + + Pull req #309: Add MSVC14 support, remove MSVC9, MSVC12. + + Pull req #317: Make Java build reproducible. + + Remove (obsolete) binreloc support. + + Enable both python2.7 and python3.4 bindings to be built. + + Improved Cygwin and MinGW support (as well as improved MSVC + support). + + Dictionaries now specify the appropriate locale. +- Changes from version 5.3.7: + + Fix another MacOS build break, regarding library exports. +- Changes from version 5.3.6: + + Add missing `parses-quotes-en.txt` file that python tests need. + + Fix build break related to lg_fgetc when libeditline is + missing. +- Changes from version 5.3.5: + + Modified (hacked) Kazakh dictionary. + + MacOS bug fix: fgetc behaves oddly in OSX, see bug #293. +- Changes from version 5.3.4: + + Fix broken handling of apostrophe (issue #281). + + Revamp the README file; describe transitivity. + + Revised Turkish dictionary from Tatiana Batura, et al. + + Prototype Kazakh dictionary from Tatiana Batura, et al. + + Parse priority tweaks for the OpenCog chatbot. + + Fix Windows printing problem affecting some utf8 codepoints + (issue #285). +- Changes from version 5.3.3: + + Improve support for quoted phrases. + + Fixes for assorted zero-infinitive speech acts. + + Add 37 paraphrasing verbs. + + Add Greek mythological names. + + A few dozen more common computing terms added to dictionary. + + Misc coordination and question fixes. + + Misc abbreviations. + + Vietnamese dictionaries! + + Major overhaul of subject-verb inversion. + + Performance improvements on long sentences. (pull #247) + + Change default setting of 'islands_ok' back to false + (bug #140). + + Fix for build break on Mac OSX el_capitan w/clang (bug #255). + + Disable perl bindings by default; use Lingua::LinkParser +- Changes from version 5.3.2: + + Performance improvements, esp. for long sentences. + + Use std=c11 (the 2011 C standard) by default. + + Partial Irish English support. + + A few dozen common computing terms added to dictionary. + + Fix for build break on Mac OSX. +- Changes from version 5.3.1: + + Fix build break with SAT solver. +- Changes from version 5.3.0: + + Major redesign of the python bindings. + + Major redesign of sentence tokenization (the "wordgraph" + design) + + Verb 'steal' is optionally transitive. + + Fixes for misc MSVC warnings. + + Hebrew dictionary expansion. + + Enhanced diagram printing, giving more space for link names. + + Minor work on phonetic agreement for 'a' vs. 'an'. + + Add ability to histogram the costs of different parses. + + Improve support for splitting sentences. + + Change default setting of 'islands_ok' to true. + + Improve performance on long sentences. + + Fix rare crash due to memory corruption on long sentences. + + Random morphology generation can be enabled at runtime. + + Remove obsolete, unmaintained MacOSX build file. + + Extensive updates to man page. + + Fix crash on long sentences (issue #137). + + Fix a memory leak in language bindings (issue #138). ++++ 116 more lines (skipped) ++++ between /work/SRC/openSUSE:Factory/link-grammar/link-grammar.changes ++++ and /work/SRC/openSUSE:Factory/.link-grammar.new/link-grammar.changes Old: ---- link-grammar-5.0.8.tar.gz New: ---- link-grammar-5.4.3.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ link-grammar.spec ++++++ --- /var/tmp/diff_new_pack.CoumQD/_old 2018-02-19 13:00:54.650200588 +0100 +++ /var/tmp/diff_new_pack.CoumQD/_new 2018-02-19 13:00:54.662200154 +0100 @@ -1,7 +1,7 @@ # # spec file for package link-grammar # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,96 +17,126 @@ Name: link-grammar -Version: 5.0.8 +Version: 5.4.3 Release: 0 -Summary: An English grammar checker -License: BSD-3-Clause +Summary: Syntactic parser and grammar checker +License: LGPL-2.1 Group: Productivity/Text/Spell Url: http://www.abisource.com/projects/link-grammar/ -Source: http://www.abisource.com/downloads/link-grammar/5.0.8/%{name}-%{version}.tar.gz +Source: http://www.abisource.com/downloads/link-grammar/5.4.3/%{name}-%{version}.tar.gz +BuildRequires: autoconf-archive +BuildRequires: automake +BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: glibc-devel BuildRequires: hunspell-devel BuildRequires: libedit-devel BuildRequires: pkg-config +BuildRequires: python-devel +BuildRequires: python3-devel +Obsoletes: perl-clinkgrammar < 5.4.3 BuildRoot: %{_tmppath}/%{name}-%{version}-build +%define lname liblink-grammar5 %description -The Link Grammar Parser is a syntactic parser of English, based on link -grammar, an original theory of English syntax. Given a sentence, the -system assigns to it a syntactic structure, which consists of a set of -labeled links connecting pairs of words. The parser also produces a -"constituent" (Penn tree-bank style phrase tree) representation of a -sentence (showing noun phrases, verb phrases, etc.). +The Link Grammar Parser is a syntactic parser of English, Russian, Arabic +and Persian (and other languages as well), based on Link Grammar, an +original theory of syntax and morphology. Given a sentence, the system +assigns to it a syntactic structure, which consists of a set of labelled +links connecting pairs of words. + +This package contains Link Grammar's utility, its shared library and +some data files. + +%package -n python2-clinkgrammar +Summary: Python 2 bindings for link-grammar, a grammar checker +Group: Development/Libraries/Python + +%description -n python2-clinkgrammar +The Link Grammar Parser is a syntactic parser of a number of +languages, based on Link Grammar, an original theory of syntax and +morphology. + +This package contains bindings for development with Link Grammar using +Python 2. + +%package -n python3-clinkgrammar +Summary: Python 3 bindings for link-grammar, a grammar checker +Group: Development/Libraries/Python + +%description -n python3-clinkgrammar +The Link Grammar Parser is a syntactic parser of a number of +languages, based on Link Grammar, an original theory of syntax and +morphology. -%package -n perl-clinkgrammar -Summary: An English grammar checker (Perl bindings) -Group: Development/Libraries/C and C++ +This package contains bindings for development with Link Grammar using +Python 3. + +%package -n %{lname} +Summary: An English grammar checker +Group: System/Libraries -%description -n perl-clinkgrammar -The Link Grammar Parser is a syntactic parser of English, based on link -grammar, an original theory of English syntax. Given a sentence, the -system assigns to it a syntactic structure, which consists of a set of -labeled links connecting pairs of words. The parser also produces a -"constituent" (Penn tree-bank style phrase tree) representation of a -sentence (showing noun phrases, verb phrases, etc.). +%description -n %{lname} +The Link Grammar Parser is a syntactic parser of a number of +languages, based on Link Grammar, an original theory of syntax and +morphology. %package devel -Summary: An English grammar checker (Development files) +Summary: Development files for link-grammar, an English grammar checker Group: Development/Libraries/C and C++ -Requires: %{name} = %{version} -Requires: perl-clinkgrammar = %{version} +Requires: %{lname} = %{version} %description devel -The Link Grammar Parser is a syntactic parser of English, based on link -grammar, an original theory of English syntax. Given a sentence, the -system assigns to it a syntactic structure, which consists of a set of -labeled links connecting pairs of words. The parser also produces a -"constituent" (Penn tree-bank style phrase tree) representation of a -sentence (showing noun phrases, verb phrases, etc.). +The Link Grammar Parser is a syntactic parser of a number of +languages, based on Link Grammar, an original theory of syntax and +morphology. -This package contains the development files. +This package contains the development files for development with +Link Grammar. %prep %setup -q -# Install perl bindings to vendorlib, not sitelib -sed -i "s:sitearchexp:vendorarchexp:g" configure* %build # --enable-sat-solver and --enable-corpus-stats are still at the prototype stage -%configure --disable-static +%configure \ + --disable-static make %{?_smp_mflags} %install %make_install -find %{buildroot} -type f -name '*.la' -delete -print - -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig +find %{buildroot} -type f "(" -name "*.a" -o -name "*.la" ")" -delete -print +find %{buildroot} ! -type d -size 0 -delete +%fdupes %{buildroot}%{_prefix} -%clean -rm -rf %{buildroot} +%post -n %{lname} -p /sbin/ldconfig +%postun -n %{lname} -p /sbin/ldconfig %files %defattr(-, root, root) -%doc AUTHORS ChangeLog LICENSE MAINTAINERS README TODO +%doc ChangeLog LICENSE %{_bindir}/* -%{_libdir}/*.so.* %{_datadir}/link-grammar -%{_mandir}/man1/* +%{_mandir}/man1/link-parser.1%{?ext_man} + +%files -n python2-clinkgrammar +%defattr(-,root,root) +%{python_sitelib}/linkgrammar -%files -n perl-clinkgrammar +%files -n python3-clinkgrammar %defattr(-,root,root) -%{perl_vendorlib}/*/clinkgrammar.pm -%{perl_vendorlib}/*/clinkgrammar.so.* +%{python3_sitelib}/linkgrammar.pth +%{python3_sitelib}/linkgrammar + +%files -n %{lname} +%{_libdir}/*.so.* %files devel %defattr(-, root, root) +%doc AUTHORS MAINTAINERS NEWS README.md %dir %{_includedir}/link-grammar %{_includedir}/link-grammar/*.h %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc -%{perl_vendorlib}/*/clinkgrammar.so %changelog ++++++ link-grammar-5.0.8.tar.gz -> link-grammar-5.4.3.tar.gz ++++++ ++++ 470253 lines of diff (skipped)