From accf3349f7e27a346faa5a8b5e013f9b5297fc9f Mon Sep 17 00:00:00 2001 From: David Black Date: Tue, 24 Dec 2013 22:35:45 +0000 Subject: [PATCH] still can't build pinyin ime --- metadata/com.android.inputmethod.pinyin.txt | 17 ++- .../build_1.patch | 109 ++++++++++++++++++ .../ndk-build_1.patch | 51 ++++++++ 3 files changed, 171 insertions(+), 6 deletions(-) create mode 100644 metadata/com.android.inputmethod.pinyin/build_1.patch create mode 100644 metadata/com.android.inputmethod.pinyin/ndk-build_1.patch diff --git a/metadata/com.android.inputmethod.pinyin.txt b/metadata/com.android.inputmethod.pinyin.txt index ccaa7e5655..14ea025890 100644 --- a/metadata/com.android.inputmethod.pinyin.txt +++ b/metadata/com.android.inputmethod.pinyin.txt @@ -1,21 +1,26 @@ Categories:System License:Apache2 -Web Site:https://github.com/CyanogenMod/ -Source Code:https://github.com/CyanogenMod/android_packages_inputmethods_PinyinIME/tree +Source Code:https://android.googlesource.com/platform/packages/inputmethods/PinyinIME Issue Tracker: Auto Name:谷歌拼音输入法 Summary:Input method for Pinyin Description: Pinyin IME from the AOSP. It is not only of use to Chinese writers but to English writers too because -it has a T9 style keyboard for writing in English +it has a T9 style keyboard for writing in English. . Repo Type:git -Repo:https://github.com/CyanogenMod/android_packages_inputmethods_PinyinIME.git +Repo:https://android.googlesource.com/platform/packages/inputmethods/PinyinIME -#ndk failure,probably needs AOSP -Build Version:1,1,!272bd,buildjni=yes,forceversion=yes,forcevercode=yes,target=android-15 +Build:4.2.1,1 + commit=android-4.4.2_r1 + disable=uses import android.os.SystemProperties + target=android-19 + patch=build_1.patch;ndk-build_1.patch + prebuild=mv lib/com/android/inputmethod/pinyin/* src/com/android/inputmethod/pinyin/ && \ + echo -e 'version.name=4.2.1\nversion.code=1' > ant.properties + buildjni=yes Auto Update Mode:None #In Market as com.google.android.inputmethod.pinyin diff --git a/metadata/com.android.inputmethod.pinyin/build_1.patch b/metadata/com.android.inputmethod.pinyin/build_1.patch new file mode 100644 index 0000000000..d268308aa3 --- /dev/null +++ b/metadata/com.android.inputmethod.pinyin/build_1.patch @@ -0,0 +1,109 @@ +diff --git a/build.xml b/build.xml +index 505e9a0..6c08dac 100644 +--- a/build.xml ++++ b/build.xml +@@ -1,10 +1,10 @@ + +- ++ + + +- ++ + + + + +- +- +- +- +- +- + + + +- +- ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ + +