Get a sneak peek at whats next for Permanent Hazards on our April 7th Office Hours!
These forums are specific to the Waze mobile app. Post here if you experienced a problem while using the app, have a question about the app functionality or a feature such as navigation or search.
Post by pvaladares
p37td8 wrote:No one is trying to build the source for android ? Waze developers don`t read this forum?
Well, the latest version v.3.2.2.2 is not available for download...
Maybe it is possible to retrieve the source code from the APK file?
pvaladares
Map Editor - Level 5
Map Editor - Level 5
Posts: 957
Has thanked: 74 times
Been thanked: 159 times
Send a message

Post by pvaladares
OK, then is there any documentation in the community about how the software is supposed to work?
Routines (input/output), format of strings saved in CSV GPS files, ... ?
If not, we could start a new page in Wiki/Forum about this subject.
pvaladares
Map Editor - Level 5
Map Editor - Level 5
Posts: 957
Has thanked: 74 times
Been thanked: 159 times
Send a message

Post by robin1979
As you as you own the copyright to the code, you can change licenses as much as you want. So there's really no problem here.
robin1979
Posts: 3032
Has thanked: 1 time
Been thanked: 22 times
Send a message
MapSquadEurope
Area Manager - Europe

Post by robin1979
Shr3k wrote:Please don't shout and be constructive. It looks like you have some kind of unofficial information that the Waze team relicensed code from all previous developers of RoadMap.
It seems you have unofficial information Waze did not relicense code.

I'm closing this thread - feel free to open a new thread when there's solid proof, instead of hanging the guys before trial.
robin1979
Posts: 3032
Has thanked: 1 time
Been thanked: 22 times
Send a message
MapSquadEurope
Area Manager - Europe

Post by shr3k
Interesting, this developer https://twitter.com/damagedspline of http://code.google.com/p/waze-qt says that 3.5 libwaze.so contains same strings as GPL'ed version 2.4.
shr3k
Posts: 21
Been thanked: 1 time
Send a message
Sony XPeria Z1 Compact in Mazda6 Wagon 2.2 CD Revolution

Post by shr3k
This quick comparsion makes me ROFL and very doubtful about GNU GPL violation of RoadMap:
strings papaya_2.4.0.26.libwaze.so | sort > papaya.txt
strings cocus_3.5.0.105.libwaze.so | sort > cocus.txt

Funniest parts are:

Code: Select all

/workspace/branches/papaya_2.4.0.1/src/android/java/jni/../../..//android/roadmap_androidmenu.c
/workspace/branches/papaya_2.4.0.1/src/android/java/jni/../../..//android/roadmap_androidspeechtt.c
/workspace/branches/papaya_2.4.0.1/src/android/java/jni/../../..//android/roadmap_camera.c
/workspace/branches/papaya_2.4.0.1/src/android/java/jni/../../..//android/roadmap_canvas_ogl.c
/workspace/branches/papaya_2.4.0.1/src/android/java/jni/../../..//android/roadmap_device.c
/workspace/branches/papaya_2.4.0.1/src/android/java/jni/../../..//android/roadmap_dialog.c
/workspace/branches/papaya_2.4.0.1/src/android/java/jni/../../..//android/roadmap_libpng.c
/workspace/branches/papaya_2.4.0.1/src/android/java/jni/../../..//android/roadmap_main.c
/workspace/branches/papaya_2.4.0.1/src/android/java/jni/../../..//android/roadmap_path.c
/workspace/branches/papaya_2.4.0.1/src/android/java/jni/../../..//android/roadmap_sound.c
/workspace/branches/papaya_2.4.0.1/src/android/java/jni/../../..//android/roadmap_thread.c
VS

Code: Select all

/Users/aga/workspace/cocus/src/android/java/jni/../../..//android/androidmenu.c
/Users/aga/workspace/cocus/src/android/java/jni/../../..//android/androidspeechtt.c
/Users/aga/workspace/cocus/src/android/java/jni/../../..//android/camera.c
/Users/aga/workspace/cocus/src/android/java/jni/../../..//android/canvas_ogl.c
/Users/aga/workspace/cocus/src/android/java/jni/../../..//android/device.c
/Users/aga/workspace/cocus/src/android/java/jni/../../..//android/main.c
/Users/aga/workspace/cocus/src/android/java/jni/../../..//android/sound.c
/Users/aga/workspace/cocus/src/android/java/jni/../../..//android/thread.c
etc.

Some parts of code are moved to subdirectories. It looks like new 3.* version was rather big update than complete rewrite from scratch. Anything beginning with roadmap was renamed to same to almost same directory structure and functions are renamed in same manner:

Code: Select all

roadmap_canvas_copy_image
roadmap_canvas_create_pen
roadmap_canvas_draw_formated_string_angle
roadmap_canvas_draw_formated_string_size
roadmap_canvas_draw_image
roadmap_canvas_draw_image_angle
roadmap_canvas_draw_image_formated_text
roadmap_canvas_draw_image_middle_stretch
roadmap_canvas_draw_image_scaled
roadmap_canvas_draw_image_scaled_angle
roadmap_canvas_draw_image_stretch
roadmap_canvas_draw_image_text
roadmap_canvas_draw_multiple_circles
roadmap_canvas_draw_multiple_lines
roadmap_canvas_draw_multiple_lines_int
roadmap_canvas_draw_multiple_lines_slow
roadmap_canvas_draw_multiple_lines_smooth
roadmap_canvas_draw_multiple_points
roadmap_canvas_draw_multiple_polygons
roadmap_canvas_draw_multiple_tex_lines
roadmap_canvas_draw_string
roadmap_canvas_draw_string_angle
roadmap_canvas_draw_string_size
VS

Code: Select all

canvas_copy_image
canvas_create_pen
canvas_draw_formated_string_angle
canvas_draw_formated_string_angle
canvas_draw_formated_string_size
canvas_draw_image
canvas_draw_image_angle
canvas_draw_image_formated_text
canvas_draw_image_middle_stretch
canvas_draw_image_scaled
canvas_draw_image_scaled_angle
canvas_draw_image_stretch
canvas_draw_image_text
canvas_draw_image_to_fbo
canvas_draw_multiple_circles
canvas_draw_multiple_lines
canvas_draw_multiple_lines
canvas_draw_multiple_points
canvas_draw_multiple_polygons
canvas_draw_multiple_tex_lines
canvas_draw_multiple_tex_lines
canvas_draw_string
canvas_draw_string_angle
canvas_draw_string_size
Maybe it would be better to come clean, than have problems with GNU GPL or FSF.
shr3k
Posts: 21
Been thanked: 1 time
Send a message
Sony XPeria Z1 Compact in Mazda6 Wagon 2.2 CD Revolution

Post by shr3k
bgodette wrote:What problems? Again there's no prohibition against relicensing *your own code*. You can also purchase/transfer copyright and relicense.
Waze client is based on Israeli fork of RoadMap routing application (http://sourceforge.net/projects/roadmap/) originally developed by Pascal Martin as GNU GPL (derived works can only be distributed under the same license terms). See http://en.wikipedia.org/wiki/GNU_Genera ... e#Copyleft
shr3k
Posts: 21
Been thanked: 1 time
Send a message
Sony XPeria Z1 Compact in Mazda6 Wagon 2.2 CD Revolution

Post by shr3k
bgodette wrote:
OldGnome wrote:
bgodette wrote:You really are being dense...
Are the public insults really necessary?
Are the public insinuations that there's code theft after it's been explained many times really necessary?
This is straw man. I didn't know that someone wrote about a code theft. :?

I took the trouble, unlike you, to find similar or identical function calls, similar directory structure used in time of compiling in dynamically linked shared object library of Waze GPL and closed-source clients and expressed a doubt. That's all. If you have better information based on your own research, just share them.
shr3k
Posts: 21
Been thanked: 1 time
Send a message
Sony XPeria Z1 Compact in Mazda6 Wagon 2.2 CD Revolution

Post by shr3k
bgodette wrote:e.g. insinuating code theft. You continue to ignore the fact that relicensing is allowed to willfully perpetuate this insinuation.
This is argumentum ad hominem. Again I remind you if you have better information just present it. It's more constructive than continue writing something I never wrote and even never meant.

Regards relicensing, it seems you you totally forgot the "infectiousness" of GPL. If you want a use a GPL code in closed source project, you must ask and relicense every piece of code, every patch, from every developer who worked on it before. As every version, branch or a fork is GPL again and again until someone comes and rewrites it from beginning. And if the source code isn't stable hosted on a CVS system for long time, it is quite difficult to detect appropriate parts of the submitted patches from different developers as these changes are quite atomic. Actually it is often better to start with a complete rewrite from scratch if you have learnt and have knowhow.
shr3k
Posts: 21
Been thanked: 1 time
Send a message
Sony XPeria Z1 Compact in Mazda6 Wagon 2.2 CD Revolution

Post by shr3k
Please don't shout and be constructive. It looks like you have some kind of unofficial information that the Waze team relicensed code from all previous developers of RoadMap.
shr3k
Posts: 21
Been thanked: 1 time
Send a message
Sony XPeria Z1 Compact in Mazda6 Wagon 2.2 CD Revolution