Skip to content
Commits on Source (2)
...@@ -34,6 +34,7 @@ fpm -f -t deb -s dir -n zero-pinyin-service -v "$VERSION" \ ...@@ -34,6 +34,7 @@ fpm -f -t deb -s dir -n zero-pinyin-service -v "$VERSION" \
-d libsqlite3-0 \ -d libsqlite3-0 \
-d libuuid1 \ -d libuuid1 \
-d libpyzy-1.0-0v5 \ -d libpyzy-1.0-0v5 \
--after-install deb-scripts/after-install.sh \
--description "provide pinyin input engine for zero-el pinyin" \ --description "provide pinyin input engine for zero-el pinyin" \
--vendor sylecn \ --vendor sylecn \
--maintainer "Yuanle Song <sylecn@gmail.com>" \ --maintainer "Yuanle Song <sylecn@gmail.com>" \
......
#!/bin/sh
pkill -f /usr/bin/zero-pinyin-service || true
# -*- mode: conf -*- # -*- mode: conf -*-
project('zero-pinyin-service', ['c', 'cpp'], project('zero-pinyin-service', ['c', 'cpp'],
version: '0.9.0', version: '0.9.2',
license: 'GPL', license: 'GPL',
default_options: [ default_options: [
'warning_level=2', 'warning_level=2',
......
...@@ -366,7 +366,8 @@ to_pyzy_flag(const guint fuzzy_flag) ...@@ -366,7 +366,8 @@ to_pyzy_flag(const guint fuzzy_flag)
if (fuzzy_flag & FUZZY_FLAG_L_N) { if (fuzzy_flag & FUZZY_FLAG_L_N) {
result = result | PINYIN_FUZZY_L_N | PINYIN_FUZZY_N_L; result = result | PINYIN_FUZZY_L_N | PINYIN_FUZZY_N_L;
} }
return result; /* always enable incomplete pinyin support */
return result | PINYIN_INCOMPLETE_PINYIN;
} }
void void
......