-
Notifications
You must be signed in to change notification settings - Fork 87
BuildingInstructions
Using Sailfish OS Application SDK for building
-
Grab source (replace user_name with your user name)
# Following path is an example path and used throughout the build instructions.
mkdir -p /home/<user_name>/workspace/sailfishos
cd /home/<user_name>/workspace/sailfishos
git clone https://github.com/sailfishos/sailfish-browser.git sailfish-browser
-
Start MerSDK build engine from SailfishOS SDK or VirtualBox Manager
-
Connect to build engine
ssh -p 2222 -i ~/SailfishOS/vmshare/ssh/private_keys/engine/mersdk mersdk@localhost
-
Add 'apps' repository that provides needed middleware libraries; qtmozembed-qt5, embedlite-components-qt5, and xulrunner-qt5
sb2 -t SailfishOS-armv7hl -m sdk-install -R ssu ar apps
sb2 -t SailfishOS-armv7hl -m sdk-install -R zypper ref
-
And then build
cd /home/mersdk/share/workspace/sailfishos/sailfish-browser
mb2 -t SailfishOS-armv7hl -s rpm/sailfish-browser.spec build
After building rpm packages for armv7hl are at /home/<user_name>/workspace/sailfishos/sailfish-browser/RPMS
.
-
Copy rpm packages to device
scp /home/<user_name>/workspace/sailfishos/sailfish-browser/RPMS/* nemo@<device-ip>:
-
SSH to device
ssh nemo@<device-ip>
-
Install your Sailfish Browser build (will install also dependencies)
pkcon install zypper
cd /home/nemo
zypper in sailfish-browser-*
Please familiarize yourself with Sailfish OS Application SDK. See also Sailfish OS Application SDK FAQ.