Merge branch 'feature/org.mozc.android.inputmethod.japanese' into 'master'

Mozc: Include postal codes in dictionary

See merge request fdroid/fdroiddata!4696
This commit is contained in:
Pierre Rudloff 2019-04-07 13:54:25 +00:00
commit be0b5ec540

View file

@ -1,3 +1,5 @@
AntiFeatures:
- NonFreeAssets
Categories:
- Writing
License: BSD-3-Clause
@ -41,10 +43,51 @@ Builds:
- python build_mozc.py build -c Release android/android.gyp:apk
ndk: r16b
MaintainerNotes: We get guava from Maven Central because building it from source would
- versionName: 2.23.2815.103-arm
versionCode: 6028153
commit: afb03ddfe72dde4cf2409863a3bfea160f7a66d8
subdir: src/android/
submodules: true
sudo:
- apt-get update || apt-get update
- apt-get install -y clang ninja-build
output: bin/*.apk
rm:
- src/third_party/breakpad/src/processor/testdata/
- src/third_party/guava/*.jar
extlibs:
- android/android-support-v13.jar
prebuild:
- touch ../third_party/guava/guava-testlib-18.0.jar
- sed -i -e '/proguard.config/d' project.properties
- sed -i -e 's/@ANDROID_VERSION_CODE@/$$VERCODE$$/' AndroidManifest_template.xml
scandelete:
- src/third_party/
build:
- pushd ../data/dictionary_oss/
- wget https://www.post.japanpost.jp/zipcode/dl/jigyosyo/zip/jigyosyo.zip
- unzip jigyosyo.zip
- wget https://www.post.japanpost.jp/zipcode/dl/oogaki/zip/ken_all.zip
- unzip ken_all.zip
- PYTHONPATH="${PYTHONPATH}:../../" python ../../dictionary/gen_zip_code_seed.py
--zip_code=KEN_ALL.CSV --jigyosyo=JIGYOSYO.CSV >> dictionary09.txt
- popd
- pushd ..
- wget https://repo1.maven.org/maven2/com/google/guava/guava/18.0/guava-18.0.jar
-O third_party/guava/guava-18.0.jar
- echo 'cce0823396aa693798f8882e64213b1772032b09 third_party/guava/guava-18.0.jar'
| shasum -c -
- python build_mozc.py gyp --target_platform=Android
- python build_mozc.py build -c Release android/android.gyp:apk
ndk: r16b
MaintainerNotes: |-
We get guava from Maven Central because building it from source would
require Java 7.
As explained [https://github.com/google/mozc/blob/afb03ddfe72dde4cf2409863a3bfea160f7a66d8/src/data/dictionary_oss/README.txt#L20 here], we use files provided by the Japanese postal services to enrich the dictionary. These files are not published under a FOSS license, but redistribution is allowed.
AutoUpdateMode: None
UpdateCheckMode: None
CurrentVersion: 2.23.2815.103-arm
CurrentVersionCode: 6028152
CurrentVersionCode: 6028153