Skip to content
Alexandr Akulich edited this page Apr 11, 2017 · 28 revisions

Builds

OBS

https://build.merproject.org/project/show/home:Kaffeine:morse https://build.merproject.org/project/show/home:Kaffeine:morse_wip

How to install on Sailfish OS device

#!/bin/sh if [ "$1" == "wip" ]; then REPO=morse_wip else REPO=morse fi PACKAGES="telegram-qt-qt5 telegram-qt-qt5-declarative sailfish-settings-accounts-extensions-telegram telepathy-morse"

REPO_URL=http://repo.merproject.org/obs/home:/Kaffeine:/$REPO/${REPO}_repo echo The repo url is $REPO_URL echo Add repo... ssu ar $REPO $REPO_URL echo Enable repo... ssu er $REPO echo Refresh pkcon cache for the repo pkcon repo-set-data $REPO refresh-now true > /dev/null echo Install packages... pkcon install $PACKAGES echo Disable repo... ssu dr $REPO

echo "Installed packages:" for PACKAGE in ${PACKAGES}; do echo -n " " rpm -q $PACKAGE done

ONLINE_ACCOUNTS=mc-tool summary|grep morse|grep -v offline|cut -d ' ' -f 1 if [ -z "$ONLINE_ACCOUNTS" ]; then echo "There is no active account. Done." else echo $ONLINE_ACCOUNTS for ACCOUNT in ${ONLINE_ACCOUNTS}; do echo "Disconnecting account" $ACCOUNT mc-tool request $ACCOUNT offline done sleep 1 # should be enough to sync and go offline fi

MORSE_PID=pidof telepathy-morse

if [ "$MORSE_PID" == "" ]; then echo telepathy-morse is not running else echo killall telepathy-morse killall telepathy-morse fi

Clone this wiki locally