From 68f59e8f6bc2afcca20adc642ade0f4be40c529d Mon Sep 17 00:00:00 2001 From: David Black <david8black@gmail.com> Date: Tue, 19 Mar 2013 23:36:04 +0000 Subject: [PATCH] new app com.anysoftkeyboard.languagepack.georgian.fdroid and org.adblockplus.android 1.1 --- ...tkeyboard.languagepack.georgian.fdroid.txt | 41 +++++++++++++++++++ .../packageid.patch | 33 +++++++++++++++ .../rules.patch | 18 ++++++++ .../xml.patch | 20 +++++++++ metadata/org.adblockplus.android.txt | 7 ++++ 5 files changed, 119 insertions(+) create mode 100644 metadata/com.anysoftkeyboard.languagepack.georgian.fdroid.txt create mode 100644 metadata/com.anysoftkeyboard.languagepack.georgian.fdroid/packageid.patch create mode 100644 metadata/com.anysoftkeyboard.languagepack.georgian.fdroid/rules.patch create mode 100644 metadata/com.anysoftkeyboard.languagepack.georgian.fdroid/xml.patch diff --git a/metadata/com.anysoftkeyboard.languagepack.georgian.fdroid.txt b/metadata/com.anysoftkeyboard.languagepack.georgian.fdroid.txt new file mode 100644 index 0000000000..68f9ea1a99 --- /dev/null +++ b/metadata/com.anysoftkeyboard.languagepack.georgian.fdroid.txt @@ -0,0 +1,41 @@ +Category:Office +License:Apache2 +Web Site:https://github.com/Stichoza +Source Code:https://github.com/Stichoza/AnySoftKeyboardLanguagePackGeorgian +Issue Tracker:https://github.com/Stichoza/AnySoftKeyboardLanguagePackGeorgian/issues + +Name:AnySoftKeyboard: Georgian +Summary:Language pack for AnySoft keyboard +Description: +N.B You may need to install Georgian fonts. This process would require root. + +Install [[com.menny.android.anysoftkeyboard]] first, then select +the desired layout from AnySoftKeyboard's Settings->Keyboards menu. +See the Google Play description of +com.anysoftkeyboard.languagepack.georgian_full for more tips. + +This package is a hybrid, using keyboards from the source code page +and dictionaries from the texts of the literature portal +lib.ge (editor an co-owner Giorgi Kekelidze) and published with his +permission. If you visit the issue tracker be sure to mention +that this package uses a different dictionary. +. + +Repo Type:git +Repo:https://github.com/Stichoza/AnySoftKeyboardLanguagePackGeorgian + +Build Version:2.0.204,4,e8b7071461,\ +init=rm -rf bin/ gen/,patch=packageid.patch;xml.patch;rules.patch,\ +srclibs=AnySoftKeyboard-API@b21d8907;AnySoftKeyboardTools@73e9a09496,prebuild=\ +echo 'android.library.reference.1=$$AnySoftKeyboard-API$$' >> project.properties && \ +echo "android.jar=$$SDK$$/platforms/android-17/android.jar" > ant.properties && \ +mkdir -p dict/ res/raw/ && rm -f assets/* && \ +wget http://softkeyboard.googlecode.com/svn/trunk/DictionaryTools/xml/ka.xml \ +-O dict/words.xml && ant dict -f rules.xml + +Auto Update Mode:None +#check com.anysoftkeyboard.languagepack.georgian_full +Update Check Mode:None +Current Version:2.0.204 +Current Version Code:4 + diff --git a/metadata/com.anysoftkeyboard.languagepack.georgian.fdroid/packageid.patch b/metadata/com.anysoftkeyboard.languagepack.georgian.fdroid/packageid.patch new file mode 100644 index 0000000000..5ac163f581 --- /dev/null +++ b/metadata/com.anysoftkeyboard.languagepack.georgian.fdroid/packageid.patch @@ -0,0 +1,33 @@ +diff --git a/build.xml b/build.xml +index e08a103..ea65315 100644 +--- a/build.xml ++++ b/build.xml +@@ -88,5 +88,28 @@ + --> + <!-- version-tag: 1 --> + <import file="${sdk.dir}/tools/ant/build.xml" /> ++ <target name="-package-resources" depends="-crunch"> ++ <do-only-if-not-library elseText="Library project: do not package resources..." > ++ <exec executable="${aapt}" failonerror="true"> ++ <arg value="package" /> ++ <arg value="-f" /> ++ <arg value="-M" /> ++ <arg path="AndroidManifest.xml" /> ++ <arg value="-F" /> ++ <arg path="${out.absolute.dir}/${resource.package.file.name}" /> ++ <arg value="-I" /> ++ <arg path="${android.jar}" /> ++ <arg value="-S" /> ++ <arg path="${resource.absolute.dir}" /> ++ <arg value="-S" /> ++ <arg path="${android.library.reference.1}/res" /> ++ <arg value="--extra-packages" /> ++ <arg value="com.anysoftkeyboard.api" /> ++ <arg value="--auto-add-overlay" /> ++ <arg value="--rename-manifest-package" /> ++ <arg value="com.anysoftkeyboard.languagepack.georgian.fdroid" /> ++ </exec> ++ </do-only-if-not-library> ++ </target> + + </project> diff --git a/metadata/com.anysoftkeyboard.languagepack.georgian.fdroid/rules.patch b/metadata/com.anysoftkeyboard.languagepack.georgian.fdroid/rules.patch new file mode 100644 index 0000000000..6133d66675 --- /dev/null +++ b/metadata/com.anysoftkeyboard.languagepack.georgian.fdroid/rules.patch @@ -0,0 +1,18 @@ +diff --git a/rules.xml b/rules.xml +new file mode 100644 +index 0000000..575a987 +--- /dev/null ++++ b/rules.xml +@@ -0,0 +1,12 @@ ++<?xml version="1.0" encoding="UTF-8"?> ++<project name="rules" > ++ <target name="dict" > ++ ++ <java ++ failonerror="true" ++ fork="true" ++ jar="../extlib/AnySoftKeyboardTools/makedict/makedict.jar" > ++ </java> ++ </target> ++ ++</project> diff --git a/metadata/com.anysoftkeyboard.languagepack.georgian.fdroid/xml.patch b/metadata/com.anysoftkeyboard.languagepack.georgian.fdroid/xml.patch new file mode 100644 index 0000000000..e1227a2de1 --- /dev/null +++ b/metadata/com.anysoftkeyboard.languagepack.georgian.fdroid/xml.patch @@ -0,0 +1,20 @@ +diff --git a/res/xml/dictionaries.xml b/res/xml/dictionaries.xml +index 75dd37c..5ab764c 100644 +--- a/res/xml/dictionaries.xml ++++ b/res/xml/dictionaries.xml +@@ -8,11 +8,10 @@ + dictionaryAssertName := the binary data holder + description := some text you would like to add. + --> +- <!-- <Dictionary ++ <Dictionary + id="14edcfd0-d72b-11e0-9572-0800200c9a66" + locale="ge" + nameResId="@string/dictionary" +- type="binary" +- dictionaryAssertName="binary.mp3" ++ dictionaryResourceId="@array/words_dict_array" + description=""/> --> +-</Dictionaries> +\ No newline at end of file ++</Dictionaries> diff --git a/metadata/org.adblockplus.android.txt b/metadata/org.adblockplus.android.txt index a63c323850..1aba393bd3 100644 --- a/metadata/org.adblockplus.android.txt +++ b/metadata/org.adblockplus.android.txt @@ -27,6 +27,13 @@ git clone https://android.googlesource.com/platform/external/iptables,prebuild=\ echo "source.dir=src;$$RootTools$$/src" >> ant.properties && cd iptables && \ git apply ../iptables.patch && sed -i 's@ndk-build@$$NDK$$/ndk-build@g' Makefile && \ make fixextensions build && mv libs/armeabi/iptables ../assets/install/,buildjni=yes +Build Version:1.1,238,1.1,srclibs=RootTools@211,\ +update=.;submodules/actionbarsherlock/library;submodules/android-switch-backport,\ +init=rm -rf iptables/ libs/* obj/ build.xml && \ +git clone https://android.googlesource.com/platform/external/iptables,prebuild=\ +echo "source.dir=src;$$RootTools$$/src" >> ant.properties && cd iptables && \ +git apply ../iptables.patch && sed -i 's@ndk-build@$$NDK$$/ndk-build@g' Makefile && \ +make fixextensions build && mv libs/armeabi/iptables ../assets/install/,buildjni=yes Auto Update Mode:None Update Check Mode:None