Qtox: How to update qtox on Debian?

Created on 10 Aug 2017  路  8Comments  路  Source: qTox/qTox

Brief Description

OS: Debian 9 Testing
qTox version: v1.6.0-obs.

I have a simple question, how can I update my qtox client? I have the version v1.6.0-obs. but I want to use the last version, is it possible without compile? I don't have clear how to compile because I am not programmer. Thanks.

M-packaging

Most helpful comment

A PR creating an AppImage or Flatpak, probably over Travis, would be very welcome :)

All 8 comments

See: https://github.com/qTox/qTox/issues/4298 and https://github.com/qTox/qTox/issues/4174

Unless someone else compiles it for you or the project finds a package maintainer, then the only way is to compile yourself. Unless say you switch operating systems as packages for other OSes are current.

quantumpacket: Perhaps Appimage or Flatpak would help creating universal Linux releases, less maintainers and work.

A PR creating an AppImage or Flatpak, probably over Travis, would be very welcome :)

Clarin98

  1. Try learn how build deb packages.
    https://wiki.debian.org/BuildingTutorial
    https://wiki.debian.org/HowToPackageForDebian
  2. Or build like this ( example how build package with checkinstall )
    https://telelinux.blogspot.com/2017/05/compile-gtkdialog-on-debian-88.html

May encounter problems:

  1. Problem run qtox with libsqlcipher0 from "main" repository
    ( try install from other, I use from jessie-backports )
    https://github.com/qTox/qTox/issues/4054#issuecomment-270883481
  2. Problem run from qtox portable
  3. Debian have older depend-encies, so not all need work correct. ( if not have all inside )
  4. qtox must be compiled with older kernel witch exist on Debian, because may not work.
  5. Build problem
  6. new qtox probably is builded for new dependencies,
    so for build probably will work older versions.

I tried compile without success, try you.

_Edit._
And read also this
https://github.com/qTox/qTox/blob/master/INSTALL.md

Hand build - test ,

$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 9.1 (stretch)
Release:    9.1
Codename:   stretch
$  pwd 
/home/tele
$  mkdir NIC
$  cd /home/tele/Pobrane/Prog/qtox/qTox-1.11.0/
$  mkdir build
$  cd build
$  $ cmake -DCMAKE_INSTALL_PREFIX:PATH=/home/tele/NIC/ ..
...
-- Configuring done
-- Generating done
-- Build files have been written to: /home/tele/Pobrane/Prog/qtox/qTox-1.11.0/build
$  make
...
[ 85%] Linking CXX executable qtox
[100%] Built target qtox
$  make install
[  1%] Automatic moc for target test_toxpk
....
[ 81%] Built target qtox_automoc
[100%] Built target qtox
....
-- Installing: /home/tele/NIC/share/icons/hicolor/192x192/apps/qtox.png
-- Installing: /home/tele/NIC/share/icons/hicolor/256x256/apps/qtox.png
-- Installing: /home/tele/NIC/share/icons/hicolor/512x512/apps/qtox.png
-- Installing: /home/tele/NIC/share/icons/hicolor/scalable/apps/qtox.svg

But still Qtox need installed libsqlcipher0 3.2.0-1.1~bpo80+ ( jessie-backports )
because with other not working.

Output when not working:

$ /home/tele/NIC/bin/qtox
[16:18:09.296 UTC] persistence/settings.cpp:133 : Debug: "Loading settings from /home/tele/.config/tox/qtox.ini"
[16:18:09.327 UTC] widget/translator.cpp:51 : Debug: Loaded translation "pl"
[16:18:09.327 UTC] widget/translator.cpp:59 : Debug: System translation loaded "pl"
[16:18:09.327 UTC] ipc.cpp:61 : Debug: Our global IPC ID is  10105367236344577664
[16:18:09.351 UTC] main.cpp:234 : Debug: built on:  18:17:26 Sep 15 2017 ( 1505492053 )
[16:18:09.359 UTC] main.cpp:235 : Debug: commit:  build without git 

[16:18:09.359 UTC] nexus.cpp:90 : Debug: Starting up
[16:18:15.350 UTC] persistence/profile.cpp:110 : Debug: Loading tox save  "/home/tele/.config/tox/tele.tox"
[16:18:15.446 UTC] persistence/settings.cpp:325 : Debug: Loading personal settings from "/home/tele/.config/tox/tele.ini"
[16:18:15.461 UTC] persistence/settings.cpp:451 : Debug: "Saving global settings at /home/tele/.config/tox/qtox.ini"
[16:18:15.540 UTC] widget/translator.cpp:51 : Debug: Loaded translation "pl"
[16:18:15.540 UTC] widget/translator.cpp:59 : Debug: System translation loaded "pl"
[16:18:15.813 UTC] :0 : Warning: QObject::connect: invalid null parameter
[16:18:16.413 UTC] widget/translator.cpp:51 : Debug: Loaded translation "pl"
[16:18:16.413 UTC] widget/translator.cpp:59 : Debug: System translation loaded "pl"
[16:18:16.414 UTC] widget/translator.cpp:51 : Debug: Loaded translation "pl"
[16:18:16.415 UTC] widget/translator.cpp:59 : Debug: System translation loaded "pl"
[16:18:16.566 UTC] core/core.cpp:264 : Debug: Loading user profile
[16:18:16.566 UTC] core/core.cpp:130 : Warning: Core starting with IPv6 disabled. LAN discovery may not work properly.
[16:18:16.690 UTC] persistence/db/rawdatabase.cpp:572 : Warning: Failed to prepare statement "SELECT count(*) FROM sqlite_master" with error 26
[16:18:16.690 UTC] persistence/db/rawdatabase.cpp:181 : Warning: Database is unusable, check that the password is correct
[16:18:16.690 UTC] persistence/db/rawdatabase.cpp:116 : Debug: Couldn't create the backup of the database, won't upgrade
Violation of memory protection

Tested
qTox-1.11.0
toxcore: 0.1.9

Edited:
libsqlcipher0 3.2.0-2 ( stable )
with this version libsqlcipher qtox not working on Debian

I hope this more detailed guide,
help you build own, new Qtox 1.13.0
https://telelinux.blogspot.com/2017/11/how-get-new-qtox-for-debian.html

I followed the guide here: https://github.com/qTox/qTox/blob/master/INSTALL.md (Debian parts)

We have an AppImage targeting Debian 9 or later now.

Was this page helpful?
0 / 5 - 0 ratings