Please refer to the official tutorial and wiki for more information on how to build packages.
- Launch Sailfish OS Build Engine from VirtualBox
- Connect with ssh (ex.
ssh -p 2222 -i ~/SailfishOS/vmshare/ssh/private_keys/engine/mersdk mersdk@localhost
) - Change directory into the repo (ex.
cd share/jolla-kbd-flick-jp .
)./home/mersdk/share
is a shared directory on the Sailfish OS Build Engine which provides access to the host file system - Build the package with
mb2 build
- Your Sailfish OS device with developer mode enabled
- Launch a Terminal
- Refresh package information
devel-su pkcon refresh
- Install packages which are required for building
devel-su pkcon install rpm-build make qt5-qmake
- Clone the repo (ex.
git clone https://github.com/sfos-ja/jolla-kbd-flick-jp.git
) - Change directory into the repo (ex.
cd jolla-kbd-flick-jp
) - Build the package with
./createrpm.sh
Then rpm package will be deployed in RPMS
directory.
If you want to install the keyboard on Sailfish OS devices, You can easily transfer the package with scp (ex. scp RPMS/jolla-kbd-flick-jp-1.0.0-1.noarch.rpm [email protected]:~/Downloads/
). NOTE: to use this command, you need to enable the developer mode on your Sailfish OS phone and connect your phone with a USB cable to your computer and select Developer Mode as the connection mode.