OsmAnd and OsmAnd+

Forums Submissions Complete OsmAnd and OsmAnd+

This topic contains 37 replies, has 13 voices, and was last updated by  daithib8 4 months ago.

Viewing 15 posts - 1 through 15 (of 38 total)
  • Author
    Posts
  • #1649

    landroni
    Member

    Please update OsmAnd and OsmAnd+. Currently F-Droid ships OsmAnd 0.5.3 and OsmAnd+ 0.6.9, which are both outdated (and systematically crash on my system, SE Xperia X10). The most recent release 0.7.1 was this month.

    #1680

    tias
    Member

    I’ve tried the straightforward step of adding a new release to the recipe.

    The result is:
    HEAD is now at 4c41948… Version 0.7.1
    Scanner found 2 problems:
    …Found probable non-free blob build/net.osmand.plus/OsmAnd/lib/libGoogleAnalytics.jar
    …Found jni directory, but buildjni is not enabled
    Could not build app net.osmand.plus due to BuildException: “Can’t build due to 2 scanned problems”
    Build for app net.osmand.plus failed:
    “Can’t build due to 2 scanned problems”
    Finished.
    1 builds failed

    I am not sure how to resolve this…

    #1684

    pfalcon
    Member

    > I am not sure how to resolve this…

    > libGoogleAnalytics.jar

    Well, even though F-Droid does support “anti-feature” marking like forced ads, user tracking, or non-free dependency, the latest maintainer’s approach seem to be to skip such software, at least one with non-free dependency (which makes entire application not a Free software). I can’t blame him – F-Droid, to make a significance, should stick to rules. That’s also what I personally grew to do either while mass-adding apps to my staging repo – if I won’t be able to push it upstream, I don’t need it in my cozy sandbox either, there’re lot of other free software to deal with first. That’s the suggestion I can share with you either. If you really need that newer version, you can build it with ./build.py –force, but it’s not suitable for F-Droid mainline AFAIU.

    And long-term solution of that issue depends on setting up patch/fork policy: http://f-droid.org/forums/topic/patchingapp-versionsapp-variants-policy/

    > Found jni directory, but buildjni is not enabled

    This is easier, it seems that newer version of OsmAnd+ started to use native code, just add buildjni=yes to the build config line.

    #1850

    CiaranG
    Member

    Just to clarify something, the “non-free dependency” anti-feature means it depends on something non-free you ALREADY HAVE. An example would be an app that uses Google Maps, and therefore requires you to have a phone that has non-free Google Maps installed on it (as the average stock Android phone would). It can NEVER mean that the application *contains* a non-free dependency.

    A couple of other things:

    1. As pfalcon has rightly pointed out, the newer versions of osmand are not free software
    2. If you want to install it on your own phone, you can simply run ‘fdroid build –install -p net.osmand.plus’
    3. You could, in the build data, rm the offending jar file, and patch the code accordingly. However, unless you intend to repeat that work for each and every new release they do that involves code changes, that doesn’t make much sense.
    4. Because this is such a common problem*, there’s a plan to make a ‘fake’ libGoogleAnalytics that satisfies the compiler, so there is no patching or ongoing maintenance work required, but does absolutely nothing.

    *I have no idea why so many developers think it’s ok to say “here’s some Free Software”, and then silently sneak in a bit of proprietary software whose only purpose is to spy on you and report back to them AND Google HQ. Even Google forbid doing this UNLESS you tell the user you’re doing it – it’s part of the analytics SDK TOS – however, for 9 out of 10 of the “FOSS” apps that I’ve seen doing this, you would only know if you looked at the code, or monitored your network traffic. (On the positive side, imagine how much worse the situation is if you’re foolish enough to install closed-source binaries)

    #1859

    haary
    Member

    I raised this issue at the OsmAnd Group/Forum and they are already discussing alternatives for the proprietary file, see http://groups.google.com/group/osmand/browse_thread/thread/b208d21fd025cb8

    Hopefully this issue will soon be fixed.

    #1967

    papillon81
    Member

    According to the above forum topic, the issue should be fixed meanwhile. Maybe you can have another look at it?

    #2116

    Just looking through the Git commit log for Osmand, the removal of libGoogleAnalytics.jar occurred before the recent 0.7.3 release. Does it build OK, and if so, can the repo be updated?

    #2233

    haary
    Member

    libGoogleAnalytics.jar was removed on on Apr 16.
    What is the current status regarding updating OsmAnd?

    #2234

    haary
    Member

    LOL, they even made a FAQ of this: http://code.google.com/p/osmand/wiki/FAQ

    When will the version on FDroyd be updated?
    F-droid is responsible for their repositories (as is Ubuntu for the Ubuntu repos, Debian for Debian repos, …)
    So you should ask this question to the f-droid maintainers. Probably on their forums: http://f-droid.org/forums/

    #2722

    daithib8
    Moderator

    According to discussion in the irc channel we should be getting v0.8 soon.

    Why would anybody install OsmAnd when they can have OsmAnd+?

    #2803

    buggme
    Member

    That’s great news daithib8!
    Any idea of when that is going to happen? It would be great to compile it and push it to rhe repo these days that many people go on holiday.

    #2906

    landroni
    Member

    Version 0.8.1 is out on Jul 15.

    I am trying to update the metadata net.osmand.plus.txt but I’m not sure if I’m doing it right. Here’s what I propose:
    Build Version:0.8.1,62,v0.8.1,subdir=OsmAnd,encoding=utf-8,prebuild=mkdir raw

    I scoured the GIT log but couldn’t pinpoint one specific commit that marked the release of 0.8.1. The closest I came to was “Prepare to 0.8.1 release” ( https://github.com/osmandapp/Osmand/commit/384db62ac40dc885af41e645f52dbcd480f15fbe ) on Jul 12 and “Update routing helper for car navigation. ” ( https://github.com/osmandapp/Osmand/commit/ecccbe4f17deaf992d6a58f39d363f7ad1bf47ec ) on Jul 27, the latter changing the versionCode to “62″. Should I put a merge request for this?

    #2937

    daithib8
    Moderator

    There seems to be a problem with the PayPal link.Ive mailed the developer asking for a donation URL.

    Edit: We’re going to use a paypal url with the email address inside. Victor proposed http://osmand.net/#donate it’s still hard to see.

    #3199

    buggme
    Member

    Any updates regarding this app? Did you guys manage to get the bugs and problems fixed?
    Btw, how can I build it from source?

    Thanks in advance.

    #3200

    daithib8
    Moderator

    Have you got fdroidserver and fdroiddata or are you just using ant? The wiki only mentions eclipse, so you can follow those instructions if you use that.

    It is very difficult to find the right commits. The last tag was last year and since the version name is in strings.xml there is a lot of history to check through for a project that move so quickly, The “prepare to 0.8.1″ commit doesn’t change the numbers but I’m sure that would do. If there was a v0.8.1 tag , as landroni’s build version line would suggest, that would work but it doesn’t exist.

    I’m downloading it now to have a look but it’s about 150mb in size: without any maps.

    So I tried Build

    Version:0.8.1,62,cc2f1b1,buildjni=yes,subdir=OsmAnd,encoding=utf-8,prebuild=mkdir raw

    but there are buildjni errors.

    Says the wiki : “Import OsmAnd and DataExtractionOsm projects from trunk into eclipse (do not copy them to workspace). You will need also Osmand-kernel if you would like to work and compile the native code. See plugins directory, where can be some plugin projects you can contribute to.”

    • This reply was modified 9 months ago by Anonymous’s avatar daithib8.
Viewing 15 posts - 1 through 15 (of 38 total)

You must be logged in to reply to this topic.