diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000000000000000000000000000000000000..df674eb40110d2bc66c9e63cf9688d954b54f2ca --- /dev/null +++ b/debian/changelog @@ -0,0 +1,102 @@ +hfst-ospell (0.5.0-2) unstable; urgency=medium + + * Added patch to fix FTBS with ICU 63.1 (Closes: #913505). + + -- Kartik Mistry <kartik@debian.org> Fri, 16 Nov 2018 20:35:57 +0530 + +hfst-ospell (0.5.0-1) unstable; urgency=low + + [ Tino Didriksen ] + * Update to latest upstream. + * debian/control: + + Binary update: libhfstospell9 -> libhfstospell10. + + Updated Standards-Version to 4.2.1 + + Updated dh to 11. + + Updated Vcs-* fields. + * Updated debian/copyrighti. + * Added hardening support. + + [ Kartik Mistry ] + * debian/control: + + Updated section for libhfstospell10 + * Updated debian/watch file. + + -- Kartik Mistry <kartik@debian.org> Mon, 15 Oct 2018 17:17:58 +0530 + +hfst-ospell (0.4.5~r343-2.1) unstable; urgency=medium + + [ Timo Jyrinki ] + * NMU to fix warnings as agreed with maintainers + * Add Multi-Arch: same for hfst-ospell-dev and libhfstospell9 + * Remove libhfstospell9.postinst to fix maintscript-calls-ldconfig + + -- Timo Jyrinki <timo@debian.org> Wed, 23 Aug 2017 08:30:39 +0300 + +hfst-ospell (0.4.5~r343-2) unstable; urgency=medium + + [ Helmut Grohne ] + * debian/rules: + + Honour DEB_BUILD_OPTIONS=nocheck (closes: #869825). + + -- Kartik Mistry <kartik@debian.org> Mon, 31 Jul 2017 11:27:14 +0530 + +hfst-ospell (0.4.5~r343-1) unstable; urgency=medium + + [ Tino Didriksen ] + * Update to latest upstream release. + * Refresh copyright listing in AUTHORS, and check debian/copyright + (Closes: #859032) + + [ Kartik Mistry ] + * debian/control: + + Updated Standards-Version to 4.0.0 + + -- Kartik Mistry <kartik@debian.org> Wed, 28 Jun 2017 18:37:50 +0530 + +hfst-ospell (0.4.3~r338-1) unstable; urgency=medium + + [ Tino Didriksen ] + * Update to latest upstream release. + * Decoupled from HFST and now assumes zhfst files are little-endian. + * debian/patches/hfst-ospell_02_xfail.diff: + + Runs and passes tests again (closes: #824119) + + -- Kartik Mistry <kartik@debian.org> Thu, 23 Mar 2017 18:39:27 +0530 + +hfst-ospell (0.4.0~r4643-4) unstable; urgency=medium + + [ Tino Didriksen ] + * debian/rules: + + Skipped breaking tests. + * debian/control: + + Fixed Vcs-* URL. + + -- Kartik Mistry <kartik@debian.org> Tue, 12 Apr 2016 14:45:15 +0530 + +hfst-ospell (0.4.0~r4643-3) unstable; urgency=low + + [ Kartik Mistry ] + * Upload to unstable. + + [ Tino Didriksen ] + * debian/rules: + + Removed parallel build option to re-enable tests. + + -- Kartik Mistry <kartik@debian.org> Fri, 26 Feb 2016 21:07:01 +0530 + +hfst-ospell (0.4.0~r4643-2) experimental; urgency=low + + [ Tino Didriksen ] + * Disable broken tests (closes: #815157) + + [ Kartik Mistry ] + * Update Standards-Version to 3.9.7 + + -- Kartik Mistry <kartik@debian.org> Wed, 24 Feb 2016 22:20:53 +0530 + +hfst-ospell (0.4.0~r4643-1) experimental; urgency=low + + [ Tino Didriksen ] + * Initial release (closes: #813488) + + -- Kartik Mistry <kartik@debian.org> Tue, 02 Feb 2016 19:14:36 +0530 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000000000000000000000000000000000000..9d607966b721abde8931ddd052181fae905db503 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +11 \ No newline at end of file diff --git a/debian/control b/debian/control new file mode 100644 index 0000000000000000000000000000000000000000..69bd0dc329d1dc1e6873179dc3e234305a1a80ef --- /dev/null +++ b/debian/control @@ -0,0 +1,52 @@ +Source: hfst-ospell +Section: science +Priority: optional +Maintainer: Debian Science Team <debian-science-maintainers@lists.alioth.debian.org> +Uploaders: Tino Didriksen <tino@didriksen.cc>, + Kartik Mistry <kartik@debian.org> +Build-Depends: autoconf, + automake, + debhelper (>= 11), + libarchive-dev, + libicu-dev, + libtool, + pkg-config, + zip +Standards-Version: 4.2.1 +Homepage: https://github.com/hfst/hfst-ospell +Vcs-Git: https://salsa.debian.org/science-team/hfst-ospell.git +Vcs-Browser: https://salsa.debian.org/science-team/hfst-ospell + +Package: hfst-ospell +Architecture: any +Depends: libhfstospell10 (= ${binary:Version}), + ${misc:Depends}, + ${shlibs:Depends} +Description: Spell checker library and tool based on HFST + Minimal HFST optimized lookup format based spell checker library and + a demonstrational implementation of command line based spell checker. + +Package: libhfstospell10 +Architecture: any +Multi-Arch: same +Section: libs +Depends: ${misc:Depends}, ${shlibs:Depends} +Provides: libhfstospell +Conflicts: libhfstospell +Replaces: libhfstospell +Description: HFST spell checker runtime libraries + Minimal HFST optimized lookup format based spell checker library and + a demonstrational implementation of command line based spell checker. + . + This package provides runtime libraries for hfst-ospell. + +Package: hfst-ospell-dev +Architecture: any +Multi-Arch: same +Section: devel +Depends: hfst-ospell (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends} +Description: HFST spell checker development files + Minimal HFST optimized lookup format based spell checker library and + a demonstrational implementation of command line based spell checker. + . + This package provides development headers and libraries for hfst-ospell. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000000000000000000000000000000000000..a4ddc01ffc6054f3f9cba10ea45d0dd0d9bee099 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,33 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Source: https://github.com/hfst/hfst-ospell + +Files: * +Copyright: 2009-2017, Department of Modern Languages, University of Helsinki + See AUTHORS for more copyrights. +License: Apache-2.0 + +License: Apache-2.0 + On Debian systems, the complete text of the Apache License version 2.0 + can be found in "/usr/share/common-licenses/Apache-2.0". + +Files: m4/* +Copyright: 2008 Guido U. Draheim <guidod@gmx.de> + 2011 Maarten Bosmans <mkbosmans@gmail.com> +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, either version 3 of the License, or + (at your option) any later version. + . + This program 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". diff --git a/debian/docs b/debian/docs new file mode 100644 index 0000000000000000000000000000000000000000..6f83607c14aa1cd7cb72686f7cda5ddd090b09ae --- /dev/null +++ b/debian/docs @@ -0,0 +1,3 @@ +AUTHORS +NEWS +README diff --git a/debian/hfst-ospell-dev.install b/debian/hfst-ospell-dev.install new file mode 100644 index 0000000000000000000000000000000000000000..ce6156f23983560f783d0251580a3ae4845deedc --- /dev/null +++ b/debian/hfst-ospell-dev.install @@ -0,0 +1,3 @@ +debian/tmp/usr/include/* +debian/tmp/usr/lib/*/*.so +debian/tmp/usr/lib/*/pkgconfig diff --git a/debian/hfst-ospell.install b/debian/hfst-ospell.install new file mode 100644 index 0000000000000000000000000000000000000000..a83314184cac05df48ab37f73af85b93d2965387 --- /dev/null +++ b/debian/hfst-ospell.install @@ -0,0 +1,2 @@ +debian/tmp/usr/bin +debian/tmp/usr/share diff --git a/debian/libhfstospell10.install b/debian/libhfstospell10.install new file mode 100644 index 0000000000000000000000000000000000000000..95038746e6850f4f61f47eddc9190deecab2a48f --- /dev/null +++ b/debian/libhfstospell10.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/*/*.so.* diff --git a/debian/patches/hfst-ospell_ICU_63.1.patch b/debian/patches/hfst-ospell_ICU_63.1.patch new file mode 100644 index 0000000000000000000000000000000000000000..31b7818f441bb6b480c51a82e93f1eae465e8322 --- /dev/null +++ b/debian/patches/hfst-ospell_ICU_63.1.patch @@ -0,0 +1,21 @@ +From a949408067fa783b0cfc942baf55cc69b743adc5 Mon Sep 17 00:00:00 2001 +From: Tino Didriksen <mail@tinodidriksen.com> +Date: Thu, 20 Sep 2018 09:54:23 +0000 +Subject: [PATCH] ICU is namespaced in newer versions (fixes #42) + +--- + office.cc | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/office.cc b/office.cc +index ecb63c8..822e55a 100644 +--- a/office.cc ++++ b/office.cc +@@ -49,6 +49,7 @@ + #include <unicode/uloc.h> + #include <unicode/uchar.h> + #include <unicode/unistr.h> ++using namespace icu; + + #include "ZHfstOspeller.h" + diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000000000000000000000000000000000000..753d0d2582703a18f8f8cb29b1484e315b965a7b --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +hfst-ospell_ICU_63.1.patch diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000000000000000000000000000000000000..e53a13f7cc09f3dcc8e07c99621db5fff783e1e5 --- /dev/null +++ b/debian/rules @@ -0,0 +1,25 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +#export DH_VERBOSE=1 +export DH_OPTIONS +export LC_ALL=C.UTF-8 + +export DEB_BUILD_MAINT_OPTIONS = hardening=+all +DPKG_EXPORT_BUILDFLAGS = 1 +include /usr/share/dpkg/buildflags.mk + +%: + dh $@ --fail-missing --with autoreconf + +override_dh_auto_configure: + dh_auto_configure -- --disable-static --enable-zhfst --without-libxmlpp --without-tinyxml2 + +override_dh_auto_install: + dh_auto_install + find $(CURDIR) -type f -name '*.la' -exec rm -f '{}' \; + +ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),) +override_dh_auto_test: + make -j1 check +endif diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000000000000000000000000000000000000..163aaf8d82b6c54f23c45f32895dbdfdcc27b047 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000000000000000000000000000000000000..3c8857b24e470d03129bee6dcd6cd45e5f8646d7 --- /dev/null +++ b/debian/watch @@ -0,0 +1,4 @@ +version=4 +opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%hfst-ospell-$1.tar.gz%" \ + https://github.com/hfst/hfst-ospell/tags \ + (?:.*?/)?v?(\d[\d.]*)\.tar\.gz debian uupdate