fix language pack recipes to not use hardcoded paths

This commit is contained in:
David Black 2013-06-02 13:46:49 +01:00
parent 94a1adec15
commit 88f40b01bb
16 changed files with 27 additions and 167 deletions

View file

@ -28,11 +28,12 @@ Status: BETA.
Repo Type:git
Repo:https://github.com/pi3ch/ssh_anysoftkeyboard
Build Version:0.4.20120611-beta,4,626f9fc2c,patch=xml.patch;rules.patch,\
Build Version:0.4.20120611-beta,4,626f9fc2c,patch=xml.patch,\
srclibs=AnySoftKeyboard-API@b21d8907;AnySoftKeyboardTools@73e9a09496,prebuild=\
echo "android.library.reference.1=$$AnySoftKeyboard-API$$" >> project.properties && \
mkdir -p res/raw/ dict/ && rm -rf assets/ gen/ && mv res/xml/ssh_dict.xml dict/words.xml && \
ant dict -f custom_rules.xml && rm res/values/attrs.xml
mkdir -p res/raw/ dict/ && rm -rf assets/ gen/ res/values/attrs.xml && \
mv res/xml/ssh_dict.xml dict/words.xml,build=\
java -jar $$AnySoftKeyboardTools$$/makedict/makedict.jar
Auto Update Mode:None
Update Check Mode:RepoManifest

View file

@ -1,18 +0,0 @@
diff --git a/custom_rules.xml b/custom_rules.xml
new file mode 100644
index 0000000..575a987
--- /dev/null
+++ b/custom_rules.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project name="custom_rules" >
+ <target name="dict" >
+
+ <java
+ failonerror="true"
+ fork="true"
+ jar="../extlib/AnySoftKeyboardTools/makedict/makedict.jar" >
+ </java>
+ </target>
+
+</project>

View file

@ -20,12 +20,12 @@ the desired layout from AnySoftKeyboard's Settings->Keyboards menu.
Repo Type:svn
Repo:http://softkeyboard.googlecode.com/svn/trunk/LanguagePacks/Catalan
Build Version:20110220,3,1560,patch=xml.patch;rules.patch,\
Build Version:20110220,3,1560,patch=xml.patch,\
update=force,init=rm -rf bin/ gen/,extlibs=LanguagePacks/ca.xml.gz,\
srclibs=AnySoftKeyboard-API@b21d8907;AnySoftKeyboardTools@73e9a09496,prebuild=\
sed -i 's@\(android.library.reference.1=\).*@\1$$AnySoftKeyboard-API$$@' project.properties && \
mkdir -p dict/ res/raw/ && gunzip -c libs/ca.xml.gz > dict/words.xml && rm -rf assets/ libs/,\
build=ant dict -f rules.xml
build=java -jar $$AnySoftKeyboardTools$$/makedict/makedict.jar
Auto Update Mode:None
Update Check Mode:None

View file

@ -1,18 +0,0 @@
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>

View file

@ -19,12 +19,12 @@ the desired layout from AnySoftKeyboard's Settings->Keyboards menu.
Repo Type:svn
Repo:http://softkeyboard.googlecode.com/svn/trunk/LanguagePacks/Danish
Build Version:20100614,2,1081,patch=xml.patch;rules.patch,\
Build Version:20100614,2,1081,patch=xml.patch,\
update=force,init=rm -rf bin/ gen/,extlibs=LanguagePacks/da.xml.gz,\
srclibs=AnySoftKeyboard-API@b21d8907;AnySoftKeyboardTools@73e9a09496,prebuild=\
sed -i 's@\(android.library.reference.1=\).*@\1$$AnySoftKeyboard-API$$@' project.properties && \
mkdir -p dict/ res/raw/ && gunzip -c libs/da.xml.gz > dict/words.xml && rm -rf assets/ libs/,\
build=ant dict -f rules.xml
build=java -jar $$AnySoftKeyboardTools$$/makedict/makedict.jar
Auto Update Mode:None
Update Check Mode:None

View file

@ -1,18 +0,0 @@
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>

View file

@ -19,12 +19,12 @@ the desired layout from AnySoftKeyboard's Settings->Keyboards menu.
Repo Type:svn
Repo:http://softkeyboard.googlecode.com/svn/trunk/LanguagePacks/Esperanto
Build Version:20100613,2,1082,patch=xml.patch;rules.patch,\
Build Version:20100613,2,1082,patch=xml.patch,\
update=force,init=rm -rf bin/ gen/,extlibs=LanguagePacks/eo.xml.gz,\
srclibs=AnySoftKeyboard-API@b21d8907;AnySoftKeyboardTools@73e9a09496,prebuild=\
sed -i 's@\(android.library.reference.1=\).*@\1$$AnySoftKeyboard-API$$@' project.properties && \
sed -i 's@\(reference.1=\).*@\1$$AnySoftKeyboard-API$$@' project.properties && \
mkdir -p dict/ res/raw/ && gunzip -c libs/eo.xml.gz > dict/words.xml && rm -rf assets/ libs/,\
build=ant dict -f rules.xml
build=java -jar $$AnySoftKeyboardTools$$/makedict/makedict.jar
Auto Update Mode:None
Update Check Mode:None

View file

@ -1,18 +0,0 @@
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>

View file

@ -23,13 +23,13 @@ the desired layout from AnySoftKeyboard's Settings->Keyboards menu.
Repo Type:svn
Repo:http://softkeyboard.googlecode.com/svn/trunk/LanguagePacks/FrenchXLarge
Build Version:20111029,1,2019,patch=rules.patch,init=rm -rf bin/ gen/,update=force,\
Build Version:20111029,1,2019,init=rm -rf bin/ gen/,update=force,\
srclibs=AnySoftKeyboard-API@b21d8907;AnySoftKeyboardTools@73e9a09496,prebuild=\
sed -i 's@\(android.library.reference.1=\).*@\1$$AnySoftKeyboard-API$$@' project.properties && \
sed -i 's@\(reference.1=\).*@\1$$AnySoftKeyboard-API$$@' project.properties && \
mkdir -p dict/ && rm -f release/* res/raw/* && \
sed -i 's/fr_main/words/g' res/values/values.xml && \
wget http://softkeyboard.googlecode.com/svn/trunk/DictionaryTools/xml/fr_xlarge.xml \
-O dict/words.xml,build=ant dict -f rules.xml
-O dict/words.xml,build=java -jar $$AnySoftKeyboardTools$$/makedict/makedict.jar
Auto Update Mode:None
Update Check Mode:None

View file

@ -1,18 +0,0 @@
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>

View file

@ -28,22 +28,23 @@ Repo Type:git
Repo:https://github.com/Stichoza/AnySoftKeyboardLanguagePackGeorgian
Build Version:2.0.204,4,!One of the srclibs fails on android update project (at e8b7071461),\
init=rm -rf bin/ gen/,patch=packageid.patch;xml.patch;rules.patch,\
init=rm -rf bin/ gen/,patch=packageid.patch;xml.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
-O dict/words.xml,\
build=java -jar $$AnySoftKeyboardTools$$/makedict/makedict.jar
Build Version:2.1.4,5,eb2334531,\
init=rm -rf bin/ gen/,patch=packageid.patch;xml.patch;rules.patch,\
init=rm -rf bin/ gen/,patch=packageid.patch;xml.patch,\
srclibs=AnySoftKeyboard-API@b21d8907;AnySoftKeyboardTools@73e9a09496,\
extlibs=LanguagePacks/ka.xml.gz,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/* && \
gunzip -c libs/ka.xml.gz > dict/words.xml && rm libs/*.gz,\
build=ant dict -f rules.xml
build=java -jar $$AnySoftKeyboardTools$$/makedict/makedict.jar
Auto Update Mode:None
#check com.anysoftkeyboard.languagepack.georgian_full

View file

@ -1,18 +0,0 @@
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>

View file

@ -20,12 +20,12 @@ the desired layout from AnySoftKeyboard's Settings->Keyboards menu.
Repo Type:svn
Repo:http://softkeyboard.googlecode.com/svn/trunk/LanguagePacks/Greek
Build Version:20110717,3,1815,patch=xml.patch;rules.patch,\
Build Version:20110717,3,1815,patch=xml.patch,\
update=force,init=rm -rf bin/ gen/,extlibs=LanguagePacks/gr.xml,\
srclibs=AnySoftKeyboard-API@b21d8907;AnySoftKeyboardTools@73e9a09496,prebuild=\
sed -i 's@\(android.library.reference.1=\).*@\1$$AnySoftKeyboard-API$$@' project.properties && \
mkdir -p dict/ res/raw/ && rm -rf assets/ && mv libs/gr.xml dict/words.xml,\
build=ant dict -f rules.xml
build=java -jar $$AnySoftKeyboardTools$$/makedict/makedict.jar
Auto Update Mode:None
Update Check Mode:None

View file

@ -1,18 +0,0 @@
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>

View file

@ -24,12 +24,14 @@ Repo Type:git
Repo:https://github.com/pi3ch/persian_anysoftkeyboard
#Uses old format, therefore we won't use ASK-API
Build Version:20120613-persian-numbers,4,5c341f2e73,patch=xml.patch;rules.patch,\
srclibs=AnySoftKeyboardTools@73e9a09496,prebuild=\
Build Version:20120613-persian-numbers,4,5c341f2e73,patch=xml.patch,\
srclibs=AnySoftKeyboardTools@73e9a09496,build=\
mkdir -p res/raw/ dict/ && rm -rf assets/ gen/ && \
cp res/xml/pi.xml dict/words.xml && ant dict -f rules.xml && \
cp res/xml/pi.xml dict/words.xml && \
java -jar $$AnySoftKeyboardTools$$/makedict/makedict.jar && \
mv res/raw/words_1.dict words_2.dict && \
cp res/xml/fa.xml dict/words.xml && ant dict -f rules.xml && \
cp res/xml/fa.xml dict/words.xml && \
java -jar $$AnySoftKeyboardTools$$/makedict/makedict.jar && \
rm dict/words.xml && mv words_2.dict res/raw/
Auto Update Mode:None

View file

@ -1,18 +0,0 @@
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>