View Single Post
Posts: 1,067 | Thanked: 313 times | Joined on Sep 2009 @ USA
#38
Originally Posted by jd4200 View Post
Thanks sony123, a real nice find.

Anyway, here's a patch to take away the tedious work. Tested and works fine.

Automatic method:
Download this shell script, rename it to maps.sh
Download this patch, rename it to traffic.patch

Place them both in the same directory on the N9 and, as root, cd to where you copied them and run
Code:
sh ./maps.sh
Manual method:
*Download this patch, rename it to traffic.patch

*Install the patch program:
Code:
apt-get install patch
If it tells you it can't find the file, you don't have Nokia's SDK repository enabled, so either:
use the app. MeeCatalog to enable the SDK repository, or add the following to: /etc/apt/sources.list.d/sdk.list
Code:
deb http://harmattan-dev.nokia.com/ harmattan/sdk free non-free
After either, run apt-get update && apt-get install patch

*Make a backup of the original files.
Code:
 cp -r /usr/lib/drive-qml/ /home/user/
*Do a test run first with:
Code:
patch --dry-run -p0 -i traffic.patch
*Only if no errors are displayed then you can safely modify the files with:
Code:
patch -p0 -i traffic.patch
I Seem to get can't open patch, permission denied.


Any ideas?