From 783964319901c5eaf7cff3b9cc787bad7e28d82e Mon Sep 17 00:00:00 2001 From: Boris Kraut Date: Mon, 17 Apr 2017 20:50:39 +0200 Subject: [PATCH] Don't update OsmAnd~ to 2.6.2 (262): couldnt expand zip file --- metadata/net.osmand.plus.txt | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/metadata/net.osmand.plus.txt b/metadata/net.osmand.plus.txt index 7626030956..225f44de6a 100644 --- a/metadata/net.osmand.plus.txt +++ b/metadata/net.osmand.plus.txt @@ -258,10 +258,24 @@ Build:2.5.4,254 sed -i -e '/javaMaxHeapSize/s/4g/1536m/g' build.gradle ndk=r11c +Build:2.6.2,262 + disable=Could not expand ZIP '/home/krt/.gradle/caches/modules-2/files-2.1/net.osmand/OsmAndCore_android/0.1-SNAPSHOT/4ad0897d6012942f68e083c9cecf33f23cda8a27/OsmAndCore_android-0.1-SNAPSHOT.jar'. + commit=61245246f5968cc401b44f26a23b3bfbc533a8b6 + subdir=android/OsmAnd + submodules=yes + gradle=full,legacy,fat + prebuild=sed -i -e '/qt.*Compile/d' -e '/com.google.firebase/d' build.gradle ../plugins/Osmand-ParkingPlugin/build.gradle ../plugins/Osmand-SRTMPlugin/build.gradle ../plugins/Osmand-Skimaps/build.gradle ../plugins/Osmand-Nautical/build.gradle && \ + sed -i -e "s/System.getenv(\"APK_VERSION\")/\"$$VERSION$$\"/g" build.gradle && \ + sed -i -e "s/System.getenv(\"APK_NUMBER_VERSION\")/\"$$VERCODE$$\"/g" build.gradle && \ + sed -i -e "s/System.getenv(\"APP_FEATURES\")/\"+play_market +gps_status -parking_plugin -blackberry -amazon -route_nav\"/g" build.gradle && \ + sed -i -e "s/System.getenv(\"APP_NAME\")/\"OsmAnd~\"/g" build.gradle && \ + sed -i -e "s/System.getenv(\"TARGET_APP_NAME\")/\"OsmAnd~\"/g" build.gradle && \ + sed -i -e '/com.android.vending.BILLING/d' AndroidManifest.xml && \ + sed -i -e '/javaMaxHeapSize/s/4g/1536m/g' build.gradle + ndk=r11c + Maintainer Notes: Update CV only after sucessfully built and tested. -With 2.5.2 I get some sorts of unreproducable build errors. It looks like upstream did -some force-pushing as well.. maybe we have to wait for 2.5 to become more stable.. . Auto Update Mode:None