According to tank.manager via mc-tool
from telepathy-mission-control
:
mc-tool add tank/matrix <connection-local-name> string:account=<matrix-username> string:user=<local-username> string:password=<matrix-password> string:server=<matrix.org or another> string:device=<device-name>
Check summary:
mc-tool summary
Enable account:
mc-tool enable <account name>
According to telepathy freedesktop org debugging manuals:
stop GUI clients (KDE gui, for example):
killall -i ktp-text-ui ktp-contactlist
stop MC (component implementing both the Account Manager and Channel Dispatcher):
killall -i mission-control
stop tank (matrix connection operator):
killall -i telepathy-tank
start tank with logs output to tank.log
:
/usr/lib/telepathy/telepathy-tank 2>&1 | tee tank.log
start MC with logs output to mc.log
:
G_MESSAGES_DEBUG=all MC_DEBUG=all /usr/lib/telepathy/mission-control-5 2>&1 | tee mc.log
Create some temporary build directory:
mkdir /path/to/telepathy-tank-test-package
Download aur git pkgbuild script there:
cd /path/to/telepathy-tank-test-package
curl -L https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=telepathy-tank-git -o PKGBUILD
Edit PKGBUILD
to support your cloned git repo not github source:
sed -i 's/source=/#source=/g' PKGBUILD
sed -i 's/md5sums=/#md5sums=/g' PKGBUILD
Edit PKGBUILD
to support cloned git repo path at pkgver()
and build()
part:
sed -i 's/cd \$_gitname/cd \$_TANKGITPATH/g' PKGBUILD
sed -i 's/cmake ..\/\$_gitname/cmake \$_TANKGITPATH/g' PKGBUILD
Run makepkg
specifying you local git path:
_TANKGITPATH=/path/to/code/telepathy-tank makepkg
Install local package (specify exact new package name, not telepathy-tank-git-r*.pkg.tar.xz
:
# pacman -U telepathy-tank-git-r*.pkg.tar.xz