Add libstemmer as a dependency

Will be used for tokenizing in the new ICU based FTS tokenizer
This commit is contained in:
Kovid Goyal 2021-06-20 12:38:04 +05:30
parent 6c3f1ebb5f
commit 8457379487
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
3 changed files with 11 additions and 2 deletions

View File

@ -43,7 +43,7 @@ def binary_includes():
get_dll_path,
('usb-1.0 mtp expat sqlite3 ffi z lzma openjp2 poppler dbus-1 iconv xml2 xslt jpeg png16'
' webp webpmux webpdemux exslt ncursesw readline chm hunspell-1.7 hyphen'
' icudata icui18n icuuc icuio gcrypt gpg-error'
' icudata icui18n icuuc icuio stemmer gcrypt gpg-error'
' gobject-2.0 glib-2.0 gthread-2.0 gmodule-2.0 gio-2.0 dbus-glib-1').split()
)) + [
get_dll_path('podofo', 3), get_dll_path('bz2', 2), j(PREFIX, 'lib', 'libunrar.so'),

View File

@ -510,7 +510,7 @@ class Freeze(object):
for x in (
'usb-1.0.0', 'mtp.9', 'chm.0', 'sqlite3.0', 'hunspell-1.7.0',
'icudata.67', 'icui18n.67', 'icuio.67', 'icuuc.67', 'hyphen.0',
'xslt.1', 'exslt.0', 'xml2.2', 'z.1', 'unrar', 'lzma.5',
'stemmer.0', 'xslt.1', 'exslt.0', 'xml2.2', 'z.1', 'unrar', 'lzma.5',
'crypto.1.1', 'ssl.1.1', 'iconv.2', # 'ltdl.7'
):
print('\nAdding', x)

View File

@ -187,6 +187,15 @@
},
{
"name": "libstemmer",
"unix": {
"filename": "libstemmer_c-2.1.0.tar.gz",
"hash": "sha256:8c148d3a27745981d29db4909681ec1bc922950b1ade45a01846edea2fb161e6",
"urls": ["https://snowballstem.org/dist/libstemmer_c-2.1.0.tar.gz"]
}
},
{
"name": "libjpeg",
"unix": {