Difference between revisions of "Sailfish OS"

From Navit's Wiki
Jump to: navigation, search
(Jolla)
 
Line 64: Line 64:
 
[https://github.com/zintor/navit-jolla-layout/blob/master/screenshots/output640.gif]
 
[https://github.com/zintor/navit-jolla-layout/blob/master/screenshots/output640.gif]
  
Somme screenshots with pre-shipped OSD:<br />
+
Some screenshots with pre-shipped OSD:<br />
 
[[File:Navit-sailfish-output320.gif]]
 
[[File:Navit-sailfish-output320.gif]]
 
[[File:Jolla_map_withoutGPS_20161014.jpg|200px]]
 
[[File:Jolla_map_withoutGPS_20161014.jpg|200px]]

Latest revision as of 22:51, 11 July 2017

Status: The app is tested and running on Sailfish OS on Jolla 1.
This port is still in development stage and needs further testing.

The most up to date Sailfish OS package is provided in an external repository. But you can also compile latest version easily with the Sailfish SDK.

Installing ready compiled Navit from openrepos[edit]

https://openrepos.net/content/metalstrolch/navit
You will find it also in the Warehouse application

Compiling latest version from github[edit]

The procedure is tested on Ubuntu 16.04 LTS

SailfishOSSDK-Beta-1611-Qt5[edit]

I assume, that Sailfish SDK is installed. Virtual machines 'Sailfish SDK' and 'MerSDK' are running.

Step 1 - Compiling in Sailfish SDK[edit]

Clone the sources from Github to your home directory

cd ~
git clone https://github.com/navit-gps/navit.git

Connect to mer sdk

ssh mersdk@localhost -p 2222 -i ~/SailfishOS/vmshare/ssh/private_keys/engine/mersdk

Now, we are logged in the Sailfish SDK.
Install dependencies
arm7hl is for installing at your Jolla

sb2 -t SailfishOS-armv7hl -m sdk-install -R zypper in cmake glib2-devel gettext-devel qt5-qtmultimedia-gsttools qt5-qtmultimedia-plugin-mediaservice-gstaudiodecoder qt5-qtmultimedia-plugin-mediaservice-gstcamerabin qt5-qtmultimedia-plugin-mediaservice-gstmediaplayer qt5-qtmultimedia-plugin-resourcepolicy-resourceqt qt5-qtmultimedia-plugin-audio-alsa qt5-qtmultimedia-plugin-playlistformats-m3u qt5-qtmultimedia-plugin-audio-pulseaudio qt5-qtmultimedia-plugin-mediaservice-gstmediacapture

i486 is for running in SDK

sb2 -t SailfishOS-i486 -m sdk-install -R zypper in cmake glib2-devel gettext-devel qt5-qtmultimedia-gsttools qt5-qtmultimedia-plugin-mediaservice-gstaudiodecoder qt5-qtmultimedia-plugin-mediaservice-gstcamerabin qt5-qtmultimedia-plugin-mediaservice-gstmediaplayer qt5-qtmultimedia-plugin-resourcepolicy-resourceqt qt5-qtmultimedia-plugin-audio-alsa qt5-qtmultimedia-plugin-playlistformats-m3u qt5-qtmultimedia-plugin-audio-pulseaudio qt5-qtmultimedia-plugin-mediaservice-gstmediacapture

create directory 'rpmbuild' /home/src1/

mkdir /home/src1/rpmbuild

go to the directory '/home/src1/navit/contrib/sailfish/' and start the building process with

./build_on_sailfish_sdk.sh

Step 2 - Copy the rpm[edit]

Back to Ubuntu, copy the rpm to SailfishOS Emulator

scp -P 2223 -i ~/SailfishOS/vmshare/ssh/private_keys/SailfishOS_Emulator/root /home/'username'/rpmbuild/RPMS/i586/harbour-navit-'builtversion'.i586.rpm root@localhost:

Step 3 - Log into SailfishOS Emulator[edit]

ssh -p 2223 -i ~/SailfishOS/vmshare/ssh/private_keys/SailfishOS_Emulator/root root@localhost

Step 4 - Install Navit in SailfishOS Emulator[edit]

rpm -i harbour-navit-'builtversion'.i586.rpm

Running on Jolla 2.0.1.11[edit]

Step 1 - Copy the rpm[edit]

scp rpmbuild/RPMS/i586/harbour-navit-'builtversion'.armv7hl.rpm nemo@'IP of your device':

Step 2 - Install required LIBS[edit]

pkcon install gettext

Step 3 - Install as root[edit]

devel-su rpm -i navit-'builtversion'-metalstrolch.armv7hl.rpm

Screenshots and pictures[edit]

Jolla[edit]

Some screenshots with a SailfishOS-like OSD:
[1] [2] [3] [4]

Some screenshots with pre-shipped OSD:
Navit-sailfish-output320.gif Jolla map withoutGPS 20161014.jpg Jolla map2 withoutGPS 20161014.jpg Jolla Routing 20161005.png Jolla Navit Ressourcen.png

Jolla Harbour Validator[edit]

These is the result of the Jolla Harbour Validator tool:

Package name[edit]

PASSED

RPM file name[edit]

PASSED

QML files[edit]

PASSED

Desktop file[edit]

WARNING [/usr/share/applications/harbour-navit.desktop] X-Nemo-Application-Type should be silica-qt5 (not a Silica app?)
PASSED

Paths[edit]

INFO [/usr/share/icons/hicolor/[0-9x]{5,9}/apps/harbour-navit.png] All needed icons found!
ERROR [/usr/share/man/man1/maptool.1.gz] Installation not allowed in this location
ERROR [/usr/share/man/man1/harbour-navit.1.gz] Installation not allowed in this location
FAILED

Libraries[edit]

WARNING [/usr/bin/harbour-navit] file is not stripped!
PASSED

Icon[edit]

PASSED

Symbols[edit]

PASSED

Permissions[edit]

PASSED

Scripts[edit]

PASSED

Provides[edit]

PASSED

Obsoletes[edit]

PASSED

Requires[edit]

PASSED

Sandboxing[edit]

PASSED

RPATH[edit]

INFO [/usr/bin/harbour-navit] rpath in binary is empty!
OK [rpath in binary seems to be ok: 'empty']
PASSED

Architecture[edit]

PASSED

Vendor check[edit]

OK [No vendor set!]
PASSED