This repository contains the platform-specific customizations and packaging for running gPodder 4 on Sailfish OS. Python 3.3.3 and PyOtherSide is already included in the device repositories starting with Sailfish OS 1.0.3.8.
As of July 2019 an effort was made to make the product play nice in the SDK. You can now open the project in the SailfishOS SDK and build/deploy directly from there. The method listed below for developing probably still work too. To use the build method listed below you will need to revert to the old RPM spec file.
There is the possibility to directly clone the repository to the device/ emulator and work there:
- Connect via SSH to your SailfishOS device
e.g. connect to emulator:
ssh -p 2223 -i ~/SailfishOS/vmshare/ssh/private_keys/SailfishOS_Emulator/nemo nemo@localhost
- Install the needed packages:
pkcon install git pyotherside-qml-plugin-python3-qt5
- Clone this repo:
git clone --recursive https://github.com/gpodder/gpodder-sailfish.git
- Set up development symlinks:
cd gpodder-sailfish bash dev_symlinks.sh
- Launch main qml file:
/usr/lib/qt5/bin/qmlscene qml/harbour-org.gpodder.sailfish.qml
The RPM package can be build in the SailfishOS Build Engine VM
- Start the Sailfish OS Build Engine VM
- Connect to it via SSH:
ssh -p 2222 -i ~/SailfishOS/vmshare/ssh/private_keys/engine/mersdk mersdk@localhost
- Move to your source code directory. You can usually access your home directory via the
~/share/
directory from inside the build engine - In case you created development symlinks (see above): remove them using
bash dev_symlinks --unlink
- Build the package using
mb2 -t SailfishOS-armv7hl build
(change target architecture to your needs) - The built package can be found in the
RPMS
directory.