OsmAnd~: builds and nearly works, add AF.
This commit is contained in:
parent
bb710ab860
commit
6469a85d12
|
@ -1,3 +1,4 @@
|
||||||
|
AntiFeatures:Tracking
|
||||||
Categories:Navigation
|
Categories:Navigation
|
||||||
License:GPLv3
|
License:GPLv3
|
||||||
Web Site:http://osmand.net
|
Web Site:http://osmand.net
|
||||||
|
@ -97,28 +98,35 @@ Repo:https://github.com/mvdan/OsmAnd-submodules
|
||||||
# zip -d libs/OsmAndMapCreator.jar net/osmand/LogUtil.class && \
|
# zip -d libs/OsmAndMapCreator.jar net/osmand/LogUtil.class && \
|
||||||
# cp -r ../DataExtractionOSM/build/lib/ libs/
|
# cp -r ../DataExtractionOSM/build/lib/ libs/
|
||||||
# buildjni=yes
|
# buildjni=yes
|
||||||
Build:1.6.5,165
|
|
||||||
disable=WIP
|
Build:1.7.5,175
|
||||||
commit=1.6.5
|
disable=rendering fails for some reason, see maintainer notes.
|
||||||
|
commit=f4407c708f1bba2455c600855e65e879b2f45d3e
|
||||||
subdir=android/OsmAnd
|
subdir=android/OsmAnd
|
||||||
submodules=yes
|
submodules=yes
|
||||||
init=rm -f ../SherlockBar/build.xml build.xml
|
|
||||||
forcevercode=yes
|
forcevercode=yes
|
||||||
patch=analytics_165.diff
|
init=rm -f ../SherlockBar/build.xml build.xml
|
||||||
prebuild=sed -i 's/app_version">[^<]*/app_version">1.6.5/' res/values/no_translate.xml && \
|
prebuild=for dpi in mdpi hdpi xhdpi; do for icon in h_arrow mx_user_defined; do cp ../../resources/rendering_styles/style-icons/drawable-$dpi/$icon.png res/drawable-$dpi/$icon.png; done; done && \
|
||||||
echo -e 'NDK_TOOLCHAIN_VERSION := 4.8\nAPP_ABI := armeabi armeabi-v7a x86 mips\nOSMAND_SKIP_NEON_SUPPORT := false\nOSMAND_FORCE_NEON_SUPPORT := false\nAPP_OPTIM := release' >> jni/Application.mk
|
sed -i 's/app_version">[^<]*/app_version">1.7.5/' res/values/no_translate.xml
|
||||||
build=sed -i 's/EXTERNAL_DEPENDENCIES=(/EXTERNAL_DEPENDENCIES=(boost-android /' full-ndk-build.sh && \
|
build=./full-ndk-build.sh && \
|
||||||
./full-ndk-build.sh && \
|
|
||||||
ant jar native-libs -f ../../tools/OsmAndMapCreator/build.xml && \
|
ant jar native-libs -f ../../tools/OsmAndMapCreator/build.xml && \
|
||||||
ant build -f ../OsmAnd-java/build.xml
|
ant build -f ../OsmAnd-java/build.xml && \
|
||||||
|
mv ../OsmAnd-java/OsmAnd-core-* libs/
|
||||||
buildjni=no
|
buildjni=no
|
||||||
|
|
||||||
Maintainer Notes:
|
Maintainer Notes:
|
||||||
No UCMs apply because git never contains actual releases, only pre-releses.
|
No UCMs apply because git never contains actual releases, only pre-releses.
|
||||||
|
|
||||||
|
Rendering failure log:
|
||||||
|
E/net.osmand(25914): MapRenderRepositories Runtime memory exception
|
||||||
|
E/net.osmand(25914): java.lang.NullPointerException
|
||||||
|
E/net.osmand(25914): at net.osmand.render.RenderingRuleSearchRequest.<init>(RenderingRuleSearchRequest.java:24)
|
||||||
|
E/net.osmand(25914): at net.osmand.plus.render.MapRenderRepositories.loadMap(MapRenderRepositories.java:579)
|
||||||
|
E/net.osmand(25914): at net.osmand.plus.resources.AsyncLoadingThread.run(AsyncLoadingThread.java:126)
|
||||||
.
|
.
|
||||||
|
|
||||||
Auto Update Mode:None
|
Auto Update Mode:None
|
||||||
Update Check Mode:None
|
Update Check Mode:None
|
||||||
Current Version:1.6.5
|
Current Version:1.7.5
|
||||||
Current Version Code:165
|
Current Version Code:175
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue