Skip to content

gpodder/gpodder-sailfish

Repository files navigation

gPodder 4 for Sailfish OS

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.

Getting Started with Development

As of July 2019 an effort was made to make the project 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.

Development on Device/ in Emulator

There is the possibility to directly clone the repository to the device/ emulator and work there:

  1. 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
  2. Install the needed packages: pkcon install git pyotherside-qml-plugin-python3-qt5
  3. Clone this repo: git clone --recursive https://github.com/gpodder/gpodder-sailfish.git
  4. Set up development symlinks:
    cd gpodder-sailfish
    bash dev_symlinks.sh
    
  5. Launch main qml file: /usr/lib/qt5/bin/qmlscene qml/harbour-org.gpodder.sailfish.qml

Building RPM Package

The RPM package can be build in the SailfishOS Build Engine VM

  1. Start the Sailfish OS Build Engine VM
  2. Connect to it via SSH: ssh -p 2222 -i ~/SailfishOS/vmshare/ssh/private_keys/engine/mersdk mersdk@localhost
  3. Move to your source code directory. You can usually access your home directory via the ~/share/ directory from inside the build engine
  4. In case you created development symlinks (see above): remove them using bash dev_symlinks --unlink
  5. Build the package using mb2 -t SailfishOS-armv7hl build (change target architecture to your needs)
  6. The built package can be found in the RPMS directory.