# senencepiece for Debian

The record of sentencepiece package specific information.

## trixie or later

Removed already applied upsteam's patches which was introduced 0.1.97-3.

## bookworm

The upstream of sentencepiece 0.1.97 was initially released around June 6, 2022,
but it was pre-release version.
The official release version was shipped at Aug 7, 2022.

Accidentally, pre-release version was packaged as 0.1.97-1.
Thus, some commits were not included into 0.1.97-1.

To fix up this issue, commits since 5e5adf2f851a1514ccc435aae11ee830c438321b 
were applied as the following patch files.

See https://github.com/google/sentencepiece/issues/794 about detail.

0001-update-python-wrapper.patch
0002-remove-debug-symbols-from-wheel-package.patch
0003-allow-tab-character-to-be-used-in-user_defined_symbo.patch
0004-add-test-to-use-tab-as-user-defined-symbols.patch
0005-Uses-C-17-by-default.patch
0006-Uses-std-atomic-to-define-global-variable.patch
0007-Fix-a-typo.patch
0008-Uses-absl-string_view-as-much-as-possible.patch
0009-Fixed-build-break.patch
0010-Added-ImmutableSentencePiece-class.patch
0011-add-verbose-option.patch
0012-Supports-ImmutableSentencePieceText-from-python-modu.patch
0013-Adds-more-unittests.patch
0014-Adds-SWIGPYTHON-flag.patch
0015-remove-unused-ifdef-SWIG-macro.patch
0016-Fixed-test-failure.patch
0017-Uses-property-in-immutable-proto.patch
0018-automatically-detect-the-number-of-CPUs-in-batch-pro.patch
0019-support-slice-in-pieces-nbests-objects.patch
0020-Updated-the-document.patch
0021-Fixed-errors-in-example-notebook.patch
0022-Fix-dead-links.patch
0023-added-ShutdownLibrary-function-to-uninitialize-globa.patch
0024-Fixed-the-issue-of-concatinating-paths-for-pkg-confi.patch

 -- kenhys <kenhys@fabre.debian.net>, Sat, 17 Jun 2023 23:16:19 +0900
