[hfst] 02/02: Imported Debian patch 3.9.0~r4595-1
Tino Didriksen
tinodidriksen-guest at moszumanska.debian.org
Thu Dec 31 20:58:08 UTC 2015
This is an automated email from the git hooks/post-receive script.
tinodidriksen-guest pushed a commit to branch master
in repository hfst.
commit 28fc748659847aef7133d7a7325f2cd69b425af6
Merge: 3ab7aa6 af73df5
Author: Tino Didriksen <mail at tinodidriksen.com>
Date: Thu Dec 31 16:51:49 2015 +0200
Imported Debian patch 3.9.0~r4595-1
ChangeLog | 1128 ++
ChangeLog.old | 1044 ++
Doxyfile | 2 +-
Makefile.am | 2 +-
NEWS | 24 +
README | 13 +-
back-ends/foma/CHANGELOG | 15 +
back-ends/foma/COPYING | 14 +-
back-ends/foma/README | 16 +-
back-ends/foma/apply.c | 105 +-
back-ends/foma/coaccessible.c | 58 +-
back-ends/foma/constructions.c | 810 +-
back-ends/foma/define.c | 235 +-
back-ends/foma/determinize.c | 29 +-
back-ends/foma/dynarray.c | 113 +-
back-ends/foma/flags.c | 97 +-
back-ends/foma/foma.c | 76 +-
back-ends/foma/foma.h | 39 +-
back-ends/foma/fomalib.h | 116 +-
back-ends/foma/fomalibconf.h | 29 +-
back-ends/foma/iface.c | 226 +-
back-ends/foma/io.c | 637 +-
back-ends/foma/lex.cmatrix.c | 81 +-
back-ends/foma/lex.interface.c | 14165 ++++++++++---------
back-ends/foma/lex.lexc.c | 199 +-
back-ends/foma/lex.yy.c | 2984 ++--
back-ends/foma/lexc.l | 33 +-
back-ends/foma/lexcread.c | 281 +-
back-ends/foma/mem.c | 6 +-
back-ends/foma/minimize.c | 75 +-
back-ends/foma/regex.c | 2375 ++--
back-ends/foma/regex.h | 160 +-
back-ends/foma/regex.l | 260 +-
back-ends/foma/regex.y | 41 +-
back-ends/foma/reverse.c | 6 +-
back-ends/foma/rewrite.c | 6 +-
back-ends/foma/sigma.c | 21 +-
back-ends/foma/spelling.c | 6 +-
back-ends/foma/stringhash.c | 52 +-
back-ends/foma/structures.c | 198 +-
back-ends/foma/topsort.c | 16 +-
back-ends/foma/trie.c | 84 +-
back-ends/foma/utf8.c | 59 +-
check_installation/check-ospell.sh | 93 +
check_installation/check-python.sh | 43 +
check_installation/check-swig.sh | 30 -
.../{copy-swig-tests.sh => copy-python-tests.sh} | 6 +-
check_installation/copy-tool-tests.sh | 9 +-
check_installation/dist-README | 17 +-
check_installation/make-dist.sh | 12 +-
.../morphology_tests/english-analyze.output | 53 +-
...h-analyze.output => english-analyze.output.old} | 0
.../morphology_tests/finnish-analyze.output | 19 +-
check_installation/ospell_tests/ospell_input.txt | 1 +
check_installation/ospell_tests/test.zhfst | Bin 0 -> 21182410 bytes
configure.ac | 29 +-
debian/changelog | 6 +
debian/control | 12 +-
debian/copyright | 23 +-
...libhfst41-dev.install => libhfst42-dev.install} | 0
debian/{libhfst41.install => libhfst42.install} | 0
debian/{libhfst41.postinst => libhfst42.postinst} | 0
debian/rules | 6 +-
hfst.m4 | 3 +-
libhfst/src/HfstExceptionDefs.cc | 2 +
libhfst/src/HfstExceptionDefs.h | 1 +
libhfst/src/HfstFlagDiacritics.h | 2 +-
libhfst/src/HfstInputStream.cc | 5 +-
libhfst/src/HfstOutputStream.cc | 5 +-
libhfst/src/HfstPrintDot.cc | 421 +
libhfst/src/HfstPrintDot.h | 8 +
libhfst/src/HfstPrintPCKimmo.cc | 139 +
libhfst/src/HfstPrintPCKimmo.h | 6 +
libhfst/src/HfstRules.cc | 5 +-
{tools => libhfst}/src/HfstStrings2FstTokenizer.cc | 0
{tools => libhfst}/src/HfstStrings2FstTokenizer.h | 0
libhfst/src/HfstTransducer.cc | 259 +-
libhfst/src/HfstTransducer.h | 57 +-
libhfst/src/HfstXeroxRules.cc | 493 +-
libhfst/src/HfstXeroxRules.h | 77 +-
libhfst/src/HfstXeroxRulesTest.cc | 108 +-
libhfst/src/Makefile.am | 8 +-
.../src/implementations/ConvertFomaTransducer.cc | 4 +-
.../ConvertTropicalWeightTransducer.cc | 12 +-
libhfst/src/implementations/HfstTransition.h | 7 +
libhfst/src/implementations/HfstTransitionGraph.h | 168 +-
.../HfstTropicalTransducerTransitionData.h | 6 +
libhfst/src/implementations/SfstTransducer.cc | 14 +-
.../implementations/TropicalWeightTransducer.cc | 134 +-
.../src/implementations/TropicalWeightTransducer.h | 8 +
.../src/implementations/optimized-lookup/pmatch.cc | 43 +-
.../src/implementations/optimized-lookup/pmatch.h | 3 +
.../implementations/optimized-lookup/transducer.cc | 60 +-
.../implementations/optimized-lookup/transducer.h | 29 +-
libhfst/src/parsers/LexcCompiler.cc | 542 +-
libhfst/src/parsers/LexcCompiler.h | 30 +-
libhfst/src/parsers/Makefile.am | 20 +-
{tools => libhfst}/src/parsers/XfstCompiler.cc | 1604 ++-
{tools => libhfst}/src/parsers/XfstCompiler.h | 189 +-
libhfst/src/parsers/XreCompiler.cc | 141 +-
libhfst/src/parsers/XreCompiler.h | 26 +-
libhfst/src/parsers/lexc-parser.yy | 5 +-
libhfst/src/parsers/lexc-utils.cc | 114 +-
libhfst/src/parsers/lexc-utils.h | 29 +-
libhfst/src/parsers/pmatch_parse.yy | 212 +-
libhfst/src/parsers/pmatch_utils.cc | 18 +
libhfst/src/parsers/pmatch_utils.h | 7 +
{tools => libhfst}/src/parsers/xfst-lexer.ll | 8 +-
{tools => libhfst}/src/parsers/xfst-parser.yy | 850 +-
{tools => libhfst}/src/parsers/xfst-utils.cc | 47 +-
{tools => libhfst}/src/parsers/xfst-utils.h | 6 +-
.../src/parsers/xfst_help_message.cc | 87 +-
{tools => libhfst}/src/parsers/xfst_help_message.h | 0
libhfst/src/parsers/xre_lex.ll | 17 -
libhfst/src/parsers/xre_parse.yy | 91 +-
libhfst/src/parsers/xre_utils.cc | 88 +-
libhfst/src/parsers/xre_utils.h | 2 +-
man/hfst-affix-guessify.1 | 2 +-
man/hfst-apertium-proc.1 | 6 +-
man/hfst-calculate.1 | 2 +-
man/hfst-compare.1 | 5 +-
man/hfst-compose-intersect.1 | 12 +-
man/hfst-compose.1 | 16 +-
man/hfst-concatenate.1 | 5 +-
man/hfst-conjunct.1 | 5 +-
man/hfst-determinize.1 | 2 +-
man/hfst-disjunct.1 | 5 +-
man/hfst-edit-metadata.1 | 2 +-
man/hfst-expand-equivalences.1 | 2 +-
man/hfst-format.1 | 2 +-
man/hfst-fst2fst.1 | 9 +-
man/hfst-fst2strings.1 | 7 +-
man/hfst-fst2txt.1 | 2 +-
man/hfst-grep.1 | 2 +-
man/hfst-guess.1 | 2 +-
man/hfst-guessify.1 | 2 +-
man/hfst-head.1 | 2 +-
man/hfst-info.1 | 2 +-
man/hfst-invert.1 | 2 +-
man/hfst-lexc-wrapper.1 | 2 +-
man/hfst-lexc.1 | 8 +-
man/hfst-lookup.1 | 22 +-
man/hfst-minimize.1 | 2 +-
man/hfst-multiply.1 | 2 +-
man/hfst-name.1 | 2 +-
man/hfst-optimized-lookup.1 | 26 +-
man/hfst-pair-test.1 | 28 +-
man/hfst-pmatch.1 | 5 +-
man/hfst-pmatch2fst.1 | 4 +-
man/hfst-proc2.1 | 24 +-
man/hfst-project.1 | 2 +-
man/hfst-prune-alphabet.1 | 2 +-
man/hfst-push-weights.1 | 2 +-
man/hfst-regexp2fst.1 | 8 +-
man/hfst-remove-epsilons.1 | 2 +-
man/hfst-repeat.1 | 2 +-
man/hfst-reverse.1 | 2 +-
man/hfst-reweight-tagger.1 | 2 +-
man/hfst-reweight.1 | 20 +-
man/hfst-shuffle.1 | 5 +-
man/hfst-split.1 | 2 +-
man/hfst-strings2fst.1 | 2 +-
man/hfst-substitute.1 | 7 +-
man/hfst-subtract.1 | 5 +-
man/hfst-summarize.1 | 7 +-
man/hfst-tag.1 | 2 +-
man/hfst-tail.1 | 2 +-
man/hfst-train-tagger.1 | 2 +-
man/hfst-traverse.1 | 2 +-
man/hfst-twolc.1 | 4 +-
man/hfst-txt2fst.1 | 7 +-
man/hfst-xfst.1 | 15 +-
{swig => old_python}/Makefile.am | 0
{swig => old_python}/README | 41 +-
{swig => old_python}/doc/Doxyfile | 2 +-
{swig => old_python}/doc/libhfst.py | 0
{swig => old_python}/hfstBot.py | 0
{swig => old_python}/hfst_swig_extensions.h | 0
{swig => old_python}/libhfst.i | 79 +-
{swig => old_python}/omor_query.py | 0
{swig => old_python}/setup.py | 2 +-
{swig => old_python}/test/Makefile.am | 0
{swig => old_python}/test/test.sh | 0
{swig => old_python}/test/test_constructors.py | 0
{swig => old_python}/test/test_examples.py | 0
{swig => old_python}/test/test_extensions.py | 0
{swig => old_python}/test/test_flag_diacritics.py | 0
.../test/test_hfst_basic_transducer.py | 0
{swig => old_python}/test/test_lexc.lexc | 0
{swig => old_python}/test/test_lexc.py | 0
{swig => old_python}/test/test_lexc_fail.lexc | 0
{swig => old_python}/test/test_rules.py | 0
{swig => old_python}/test/test_std_streams.py | 0
{swig => old_python}/test/test_std_streams.sh | 0
{swig => old_python}/test/test_streams.py | 0
{swig => old_python}/test/test_tokenizer.py | 0
.../test/test_transducer_functions.py | 0
{swig => old_python}/test/test_xre_compiler.py | 0
python/Makefile.am | 3 +
python/README | 59 +
{swig => python}/doc/Doxyfile | 16 +-
{swig => python}/doc/libhfst.py | 2167 +--
python/libhfst.i | 1740 +++
{swig => python}/setup.py | 4 +-
python/test/Makefile.am | 1 +
python/test/README | 11 +
python/test/examples.py | 378 +
python/test/foobar.hfst | Bin 0 -> 768 bytes
python/test/test.lexc | 9 +
python/test/test_fail.xfst | 2 +
python/test/test_hfst.py | 458 +
python/test/test_pass.xfst | 3 +
python/test/testfile.att | 6 +
scripts/Makefile.am | 6 +-
scripts/README | 52 +
scripts/README_eight_tools_mac.txt | 30 +
..._eight_tools.txt => README_eight_tools_win.txt} | 0
scripts/README_xfst_mac.txt | 9 +
scripts/{README_xfst.txt => README_xfst_win.txt} | 0
scripts/copy-for-windows.sh | 69 +-
scripts/generate-cc-files.sh | 22 +-
scripts/make-hfst-lexc.bat | 9 +-
scripts/make-hfst-proc.bat | 9 +-
scripts/make-hfst-tool.bat | 9 +-
scripts/make-hfst-xfst.bat | 14 +-
scripts/make-htwolcpre1.bat | 9 +-
scripts/make-htwolcpre2.bat | 9 +-
scripts/make-htwolcpre3.bat | 9 +-
scripts/make-python-bindings.bat | 13 +-
scripts/package-static-binaries.sh | 2 +-
scripts/test-hfst-tools.bat | 4 -
scripts/test-libhfst.bat | 2 -
scripts/test-openfstwin.bat | 2 -
test/tools/Makefile.am | 21 +-
test/tools/cat_cat.strings | 1 +
test/tools/cat_weight_ambig.txt | 7 +
test/tools/cat_weight_ambig_W1_xerox.strings | 4 +
test/tools/cat_weight_ambig_W_out.strings | 1 +
test/tools/cat_weight_ambig_W_xerox.strings | 6 +
test/tools/cat_weight_ambig_out.strings | 1 +
test/tools/cat_weight_ambig_xerox.strings | 6 +
test/tools/cats_and_dogs.xre | 2 +-
test/tools/lexc-compiler-functionality.sh | 6 +-
test/tools/mismatching-input-streams.sh | 81 +
test/tools/negative_epsilon_cycles.txt | 8 +
test/tools/no_negative_epsilon_cycles.txt | 8 +
test/tools/pmatch-functionality.sh | 8 +-
test/tools/proc-caps-out1.strings | 8 +-
test/tools/proc-caps-out3.strings | 2 +-
test/tools/proc-cat-NUL.strings | Bin 0 -> 32 bytes
test/tools/proc-functionality.sh | 61 +
test/tools/regexp2fst-functionality.sh | 23 +
test/tools/substitute-functionality.sh | 10 +
test/tools/substituted_transducer.txt | 6 +
test/tools/substituting_transducer.txt | 4 +
test/tools/txt2fst-functionality.sh | 9 +
tools/src/Makefile.am | 10 +-
tools/src/hfst-commandline.cc | 46 +
tools/src/hfst-commandline.h | 12 +
tools/src/hfst-compare.cc | 7 +-
tools/src/hfst-compose-intersect.cc | 59 +-
tools/src/hfst-compose.cc | 109 +-
tools/src/hfst-concatenate.cc | 72 +-
tools/src/hfst-conjunct.cc | 75 +-
tools/src/hfst-disjunct.cc | 63 +-
tools/src/hfst-fst2txt.cc | 324 +-
tools/src/hfst-lexc-compiler.cc | 10 +-
tools/src/hfst-lookup.cc | 64 +-
tools/src/hfst-optimized-lookup.cc | 394 +-
tools/src/hfst-optimized-lookup.h | 4 +-
tools/src/hfst-pmatch.cc | 28 +-
tools/src/hfst-pmatch2fst.cc | 2 +-
tools/src/hfst-proc/applicators.cc | 30 +-
tools/src/hfst-proc/buffer.h | 4 +-
tools/src/hfst-proc/formatter.cc | 191 +-
tools/src/hfst-proc/formatter.h | 18 +-
tools/src/hfst-proc/lookup-path.h | 13 +-
tools/src/hfst-proc/tokenizer.cc | 23 +-
tools/src/hfst-proc2.cc | 25 +-
tools/src/hfst-program-options.cc | 1 +
tools/src/hfst-program-options.h | 15 +-
tools/src/hfst-regexp2fst.cc | 69 +-
tools/src/hfst-remove-epsilons.cc | 3 +
tools/src/hfst-shuffle.cc | 92 +-
tools/src/hfst-string-conversions.cc | 40 +-
tools/src/hfst-string-conversions.h | 21 +-
tools/src/hfst-substitute.cc | 61 +-
tools/src/hfst-subtract.cc | 68 +-
tools/src/hfst-txt2fst.cc | 53 +-
tools/src/inc/getopt-cases-binary.h | 3 +
tools/src/inc/globals-binary.h | 2 +-
tools/src/parsers/Makefile.am | 23 +-
tools/src/parsers/hfst-xfst.cc | 33 +-
tools/src/parsers/test/Makefile.am | 14 +-
tools/src/parsers/test/contains_with_weight.output | 6 +
tools/src/parsers/test/contains_with_weight.xfst | 10 +
tools/src/parsers/test/flag_with_unknown.output | 4 +
tools/src/parsers/test/flag_with_unknown.xfst | 19 +
tools/src/parsers/test/merge_weighted.att | 8 +
tools/src/parsers/test/merge_weighted.xfst | 3 +
tools/src/parsers/test/priority_union_1.att | 28 +
tools/src/parsers/test/priority_union_1.xfst | 2 +
tools/src/parsers/test/priority_union_2.att | 4 +
tools/src/parsers/test/priority_union_2.xfst | 2 +
tools/src/parsers/test/priority_union_3.att | 6 +
tools/src/parsers/test/priority_union_3.xfst | 2 +
tools/src/parsers/test/priority_union_4.att | 5 +
tools/src/parsers/test/priority_union_4.xfst | 2 +
tools/src/parsers/test/replace_markup_1.att | 8 +
tools/src/parsers/test/replace_markup_1.xfst | 2 +
tools/src/parsers/test/replace_markup_2.att | 6 +
tools/src/parsers/test/replace_markup_2.xfst | 2 +
tools/src/parsers/test/replace_markup_3.att | 15 +
tools/src/parsers/test/replace_markup_3.xfst | 2 +
tools/src/parsers/test/replace_markup_4.att | 9 +
tools/src/parsers/test/replace_markup_4.xfst | 2 +
tools/src/parsers/test/replace_markup_5.att | 109 +
tools/src/parsers/test/replace_markup_5.xfst | 2 +
tools/src/parsers/test/replace_markup_6.att | 213 +
tools/src/parsers/test/replace_markup_6.xfst | 2 +
tools/src/parsers/test/replace_markup_7.att | 200 +
tools/src/parsers/test/replace_markup_7.xfst | 2 +
tools/src/parsers/test/replace_test_flags_1.att | 17 +
tools/src/parsers/test/replace_test_flags_1.xfst | 2 +
tools/src/parsers/test/replace_test_flags_2.att | 18 +
tools/src/parsers/test/replace_test_flags_2.xfst | 2 +
tools/src/parsers/test/test.sh | 258 +-
.../parsers/test/weighted_parallel_rules_12.output | 1 +
.../parsers/test/weighted_parallel_rules_12.xfst | 7 +
.../parsers/test/weighted_parallel_rules_13.output | 5 +
.../parsers/test/weighted_parallel_rules_13.xfst | 7 +
331 files changed, 25837 insertions(+), 15619 deletions(-)
diff --cc debian/changelog
index 60ac7f0,0000000..237af82
mode 100644,000000..100644
--- a/debian/changelog
+++ b/debian/changelog
@@@ -1,19 -1,0 +1,25 @@@
++hfst (3.9.0~r4595-1) unstable; urgency=low
++
++ * Update to latest upstream release.
++
++ -- Tino Didriksen <mail at tinodidriksen.com> Thu, 31 Dec 2015 16:51:49 +0200
++
+hfst (3.8.3~r4409-1) unstable; urgency=low
+
+ * Update to latest upstream release.
+
+ -- Tino Didriksen <mail at tinodidriksen.com> Mon, 03 Aug 2015 06:53:49 +0000
+
+hfst (3.8.2~r4145-1) unstable; urgency=low
+
+ [ Tino Didriksen ]
+ * Initial release (Closes: #781759).
+ * Add Python and Python3 modules.
+ * Fix some Lintian errors.
+ * Disable static libraries.
+
+ [ Kartik Mistry ]
+ * Added hardening support.
+ * Added patch description.
+
+ -- Kartik Mistry <kartik at debian.org> Wed, 22 Jul 2015 17:46:52 -0500
diff --cc debian/control
index 4d1080c,0000000..bf3a65b
mode 100644,000000..100644
--- a/debian/control
+++ b/debian/control
@@@ -1,93 -1,0 +1,93 @@@
+Source: hfst
+Section: science
+Priority: optional
+Maintainer: Debian Science Team <debian-science-maintainers at lists.alioth.debian.org>
+Uploaders: Tino Didriksen <mail at tinodidriksen.com>,
+ Kartik Mistry <kartik at debian.org>
+Build-Depends: autoconf,
+ automake,
+ autotools-dev,
+ bison,
+ debhelper (>= 9.0),
+ dh-autoreconf,
+ dpkg-dev (>= 1.16.1~),
+ flex,
+ libicu-dev,
+ libreadline-dev,
+ libtool,
+ python,
+ python-dev,
+ python3,
+ python3-dev,
+ swig,
+ zlib1g-dev
+Standards-Version: 3.9.6
+Homepage: http://www.ling.helsinki.fi/kieliteknologia/tutkimus/hfst/
+Vcs-Git: git://anonscm.debian.org/debian-science/packages/hfst.git
+Vcs-Browser: https://anonscm.debian.org/cgit/debian-science/packages/hfst.git
+
+Package: hfst
+Architecture: any
- Depends: libhfst41 (= ${binary:Version}),
++Depends: libhfst42 (= ${binary:Version}),
+ python,
+ ${misc:Depends},
+ ${shlibs:Depends}
+Description: Helsinki Finite-State Transducer Technology
+ The Helsinki Finite-State Transducer software is intended for the
+ implementation of morphological analysers and other tools which are
+ based on weighted and unweighted finite-state transducer technology.
+
- Package: libhfst41
++Package: libhfst42
+Architecture: any
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Provides: libhfst
+Conflicts: libhfst, libhfst3
+Replaces: libhfst, libhfst3
+Description: Helsinki Finite-State Transducer Technology Libraries
+ The Helsinki Finite-State Transducer software is intended for the
+ implementation of morphological analysers and other tools which are
+ based on weighted and unweighted finite-state transducer technology.
+ .
+ This package provides runtime libraries for HFST.
+
- Package: libhfst41-dev
++Package: libhfst42-dev
+Architecture: any
+Section: libdevel
- Depends: libhfst41 (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends}
++Depends: libhfst42 (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends}
+Provides: libhfst-dev
+Conflicts: libhfst-dev, libhfst3-dev
+Replaces: libhfst-dev, libhfst3-dev
+Description: Helsinki Finite-State Transducer Technology Development files
+ The Helsinki Finite-State Transducer software is intended for the
+ implementation of morphological analysers and other tools which are
+ based on weighted and unweighted finite-state transducer technology.
+ .
+ This package provides development headers and libraries for HFST
+
+Package: python-libhfst
+Architecture: any
+Section: python
- Depends: libhfst41 (= ${binary:Version}),
++Depends: libhfst42 (= ${binary:Version}),
+ python,
+ ${misc:Depends},
+ ${shlibs:Depends}
+Description: Helsinki Finite-State Transducer Technology (Python2 module)
+ The Helsinki Finite-State Transducer software is intended for the
+ implementation of morphological analysers and other tools which are
+ based on weighted and unweighted finite-state transducer technology.
+ .
+ This package provides Python2 module for libhfst.
+
+Package: python3-libhfst
+Architecture: any
+Section: python
- Depends: libhfst41 (= ${binary:Version}),
++Depends: libhfst42 (= ${binary:Version}),
+ python3,
+ ${misc:Depends},
+ ${shlibs:Depends}
+Description: Helsinki Finite-State Transducer Technology (Python3 module)
+ The Helsinki Finite-State Transducer software is intended for the
+ implementation of morphological analysers and other tools which are
+ based on weighted and unweighted finite-state transducer technology.
+ .
+ This package provides Python3 module for libhfst.
diff --cc debian/copyright
index 76eca5f,0000000..18fe6d2
mode 100644,000000..100644
--- a/debian/copyright
+++ b/debian/copyright
@@@ -1,105 -1,0 +1,90 @@@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Source: http://www.ling.helsinki.fi/kieliteknologia/tutkimus/hfst/
+
+Files: *
+Copyright: 2009-2014, Department of Modern Languages, University of Helsinki
+ See AUTHORS for more copyrights.
+License: GPL-3
+
+Files: back-ends/sfst/*
+Copyright: 2012 Helmut Schmid <schmid at cis.uni-muenchen.de>
+Comment: https://code.google.com/p/cistern/
+License: GPL-3
+
+License: GPL-3
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, version 3 of the license..
+ .
+ This package is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
+
+Files: tools/src/hfst-proc/buffer.h
+Copyright: 2005 Universitat d'Alacant / Universidad de Alicante
+License: GPL-2+
+
+Files: test/tools/fsmbook-tests/xfst-scripts/Lingala.xfst.script
+Copyright: 2003 Lauri Karttunen
+License: GPL-2+
+
+License: GPL-2+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 2 of the License, or
+ (at your option) any later version.
+ .
+ This package is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
+
+Files: back-ends/dlfcn/dlfcn.*
+Copyright: 2007 Ramiro Polla
+License: LGPL-2.1+
+
+License: LGPL-2.1+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Lesser General Public License as published by
+ the Free Software Foundation, either version 2.1 of the License, or
+ (at your option) any later version.
+ .
+ This package is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU Lesser General Public License for more details.
+ .
+ You should have received a copy of the GNU Lesser General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+ .
+ On Debian systems, the complete text of the GNU Lesser General
+ Public License version 2 can be found in "/usr/share/common-licenses/LGPL-2.1".
+
+Files: back-ends/foma/*
- Copyright: 2008-2013 Mans Hulden
- License: GPL-2
- Comment: The code is not built or linked, due to incompatible license.
-
- License: GPL-2
- This program is free software: you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation, version 2 of the License.
- .
- This package is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
- .
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
- .
- On Debian systems, the complete text of the GNU General
- Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
++Copyright: 2008-2015 Mans Hulden
++License: Apache-2.0
++Comment: The source files still say GPL-2.0, but author and
++ https://code.google.com/p/foma/ explicitly states "License change to Apache 2.0"
+
+Files: back-ends/openfst/*
+ back-ends/openfstwin/*
+ tools/src/hfst-optimized-lookup*
+Copyright: 2005-2010 Google, Inc.
+License: Apache-2.0
+
+License: Apache-2.0
+ On Debian systems, the complete text of the Apache 2.0 license
+ can be found in "/usr/share/common-licenses/Apache-2.0".
diff --cc debian/libhfst42-dev.install
index f8f2354,0000000..f8f2354
mode 100644,000000..100644
--- a/debian/libhfst42-dev.install
+++ b/debian/libhfst42-dev.install
diff --cc debian/libhfst42.install
index 9503874,0000000..9503874
mode 100644,000000..100644
--- a/debian/libhfst42.install
+++ b/debian/libhfst42.install
diff --cc debian/libhfst42.postinst
index 7df96b6,0000000..7df96b6
mode 100644,000000..100644
--- a/debian/libhfst42.postinst
+++ b/debian/libhfst42.postinst
diff --cc debian/rules
index b31852d,0000000..aea2604
mode 100755,000000..100755
--- a/debian/rules
+++ b/debian/rules
@@@ -1,32 -1,0 +1,32 @@@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+#export DH_VERBOSE=1
+
+NUMJOBS = 1
+ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+ NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+endif
+
+# This has to be exported to make some magic below work.
+export DH_OPTIONS
+
+%:
+ dh $@ --parallel --with autoreconf
+
+override_dh_auto_configure:
- dh_auto_configure -- --disable-static --without-foma --with-unicode-handler=ICU --enable-all-tools
++ dh_auto_configure -- --disable-static --with-unicode-handler=ICU --enable-all-tools
+
+override_dh_auto_build:
+ ./scripts/generate-cc-files.sh
+ $(MAKE) -j$(NUMJOBS) || $(MAKE) -j$(NUMJOBS) || $(MAKE)
- cd $(CURDIR)/swig && python setup.py build_ext && python3 setup.py build_ext && strip --strip-unneeded build/*/*.so
++ cd $(CURDIR)/python && python3 setup.py build_ext && strip --strip-unneeded build/*/*.so
+
+override_dh_auto_test:
+ # Skip, as it breaks in various unpredictable ways
+
+override_dh_auto_install:
+ dh_auto_install
- cd $(CURDIR)/swig && python setup.py install --no-compile --prefix /usr --install-layout deb --root $(CURDIR)/debian/tmp && python3 setup.py install --no-compile --prefix /usr --install-layout deb --root $(CURDIR)/debian/tmp
++ cd $(CURDIR)/python && python3 setup.py install --no-compile --prefix /usr --install-layout deb --root $(CURDIR)/debian/tmp
+ find $(CURDIR) -type f -name '*.pyc' -exec rm -f '{}' \;
+ find $(CURDIR) -type f -name '*.pyo' -exec rm -f '{}' \;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/hfst.git
More information about the debian-science-commits
mailing list