summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author <philippe colliot>2016-01-21 15:00:27 +0100
committer <philippe colliot>2016-01-21 15:00:27 +0100
commitd361deff82d4c104bf41246ffa958ebd3f4feb35 (patch)
tree4e7f9f779c1b2412a69182d800a104fbb45540e1
parent3070b2ca91f7bfe624daf8f692e85d2e02cf6b56 (diff)
downloadpoi-service-d361deff82d4c104bf41246ffa958ebd3f4feb35.tar.gz
Update the README and a script (because of gtk issue)
-rw-r--r--src/navigation/README22
-rwxr-xr-xsrc/navigation/run3
2 files changed, 23 insertions, 2 deletions
diff --git a/src/navigation/README b/src/navigation/README
index f7ab9ed..fe208c2 100644
--- a/src/navigation/README
+++ b/src/navigation/README
@@ -1,4 +1,4 @@
-Release date of the file: 15-01-2016
+Release date of the file: 21-01-2016
Status: OK
Project:
@@ -69,8 +69,26 @@ the code of positioning
===============================
How To Build
===============================
+
+==========================================
+Known issues
+==========================================
+There's an issue with navit (R6135) against gtk.
+If the env variable NAVIT_GRAPHICS is not set, by default the graphics are gtk based.
+- for gtk, navit checks for freetype. Because of a missing symbolic link, it's necessary to do ln -s /usr/include/freetype2/ /usr/include/freetype
+- despite navit enables gtk_drawing, there's a pb during runtime (to be fixed)
+So, for the time being, export NAVIT_GRAPHICS='sdl' is set into the run script
+
+==========================================
+All-in-one script
+==========================================
+./rebuild_all.sh
+
+==========================================
+How-to step by step, with explanations
+==========================================
+
(you're supposed to have got additional code before)
-NB: potential issue may occur due to path change of freetype stuff. If necessary, add a link to /usr/include/freetype2/ into /usr/include
Create and enter the build folder:
mkdir ./build
diff --git a/src/navigation/run b/src/navigation/run
index 1f80483..9c53196 100755
--- a/src/navigation/run
+++ b/src/navigation/run
@@ -150,6 +150,9 @@ done
trap "terminate" EXIT INT
set -e
+echo "the graphic for navit is based on sdl"
+export NAVIT_GRAPHICS='sdl'
+
cd $BIN_DIR
if [ "$enhpos" = 1 ]