From c2c655fdc5859d1853402b1aa0d83543a6728bb0 Mon Sep 17 00:00:00 2001 From: Kartik Mistry <kartik@debian.org> Date: Fri, 16 Nov 2018 20:35:57 +0530 Subject: [PATCH] Import Debian changes 0.5.0-2 hfst-ospell (0.5.0-2) unstable; urgency=medium * Added patch to fix FTBS with ICU 63.1 (Closes: #913505). 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. 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 hfst-ospell (0.4.5~r343-2) unstable; urgency=medium [ Helmut Grohne ] * debian/rules: + Honour DEB_BUILD_OPTIONS=nocheck (closes: #869825). 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 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) hfst-ospell (0.4.0~r4643-4) unstable; urgency=medium [ Tino Didriksen ] * debian/rules: + Skipped breaking tests. * debian/control: + Fixed Vcs-* URL. 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. 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 hfst-ospell (0.4.0~r4643-1) experimental; urgency=low [ Tino Didriksen ] * Initial release (closes: #813488) --- debian/changelog | 102 ++++++++++++++++++++++ debian/compat | 1 + debian/control | 52 +++++++++++ debian/copyright | 33 +++++++ debian/docs | 3 + debian/hfst-ospell-dev.install | 3 + debian/hfst-ospell.install | 2 + debian/libhfstospell10.install | 1 + debian/patches/hfst-ospell_ICU_63.1.patch | 21 +++++ debian/patches/series | 1 + debian/rules | 25 ++++++ debian/source/format | 1 + debian/watch | 4 + 13 files changed, 249 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/docs create mode 100644 debian/hfst-ospell-dev.install create mode 100644 debian/hfst-ospell.install create mode 100644 debian/libhfstospell10.install create mode 100644 debian/patches/hfst-ospell_ICU_63.1.patch create mode 100644 debian/patches/series create mode 100755 debian/rules create mode 100644 debian/source/format create mode 100644 debian/watch diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..df674eb --- /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 0000000..9d60796 --- /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 0000000..69bd0dc --- /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 0000000..a4ddc01 --- /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 0000000..6f83607 --- /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 0000000..ce6156f --- /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 0000000..a833141 --- /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 0000000..9503874 --- /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 0000000..31b7818 --- /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 0000000..753d0d2 --- /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 0000000..e53a13f --- /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 0000000..163aaf8 --- /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 0000000..3c8857b --- /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 -- GitLab