Bug 194010 - [NEW PORT] net-im/qTox -- Tox client in C++ using Qt5
Summary: [NEW PORT] net-im/qTox -- Tox client in C++ using Qt5
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Max Brazhnikov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-29 05:15 UTC by Yuri Victorovich
Modified: 2014-10-19 15:08 UTC (History)
3 users (show)

See Also:


Attachments
patch adding port (1.94 KB, patch)
2014-09-29 05:15 UTC, Yuri Victorovich
no flags Details | Diff
poudriere log (89.81 KB, text/plain)
2014-09-29 05:21 UTC, Yuri Victorovich
no flags Details
updated patch (2.26 KB, patch)
2014-09-29 06:08 UTC, Yuri Victorovich
no flags Details | Diff
Updated patch (1.61 KB, patch)
2014-10-18 17:58 UTC, Yuri Victorovich
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yuri Victorovich freebsd_committer freebsd_triage 2014-09-29 05:15:56 UTC
Created attachment 147792 [details]
patch adding port
Comment 1 Yuri Victorovich freebsd_committer freebsd_triage 2014-09-29 05:21:01 UTC
Created attachment 147793 [details]
poudriere log
Comment 2 Yuri Victorovich freebsd_committer freebsd_triage 2014-09-29 05:35:33 UTC
This is the only Tox client that currently supports audio and video chat.
Comment 3 Thierry Thomas freebsd_committer freebsd_triage 2014-09-29 05:47:31 UTC
Please do not depend on the dynamic libtoxcore.so but on the static one, because it is not built when the option NACL is selected.
Comment 4 Yuri Victorovich freebsd_committer freebsd_triage 2014-09-29 06:08:39 UTC
Created attachment 147794 [details]
updated patch

Ok, I updated the patch.
Comment 5 Max Brazhnikov freebsd_committer freebsd_triage 2014-10-15 21:31:41 UTC
Seemingly it doesn't compile after recent tox update, could you please check it?

c++ -c -O2 -pipe -march=corei7 -fno-strict-aliasing -std=c++11 -Wall -W -pthread -D_THREAD_SAFE -fPIE -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/local/lib/qt5/mkspecs/freebsd-clang -I. -Ilibs/include -I/usr/local/include/qt5 -I/usr/local/include/qt5/QtWidgets -I/usr/local/include/qt5/QtXml -I/usr/local/include/qt5/QtNetwork -I/usr/local/include/qt5/QtGui -I/usr/local/include/qt5/QtCore -I. -I/usr/local/include -I. -I/usr/local/include/qt5 -I/usr/local/include -o camera.o widget/camera.cpp
--- core.o ---
core.cpp:185:5: error: no matching function for call to 'tox_callback_group_invite'
    tox_callback_group_invite(tox, onGroupInvite, this);
    ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/tox/tox.h:426:6: note: candidate function not viable: no known conversion from 'void (Tox *, int, const uint8_t *, void *)' to 'void (*)(Tox *, int32_t, const uint8_t *, uint16_t, void *)' for 2nd argument
void tox_callback_group_invite(Tox *tox, void (*function)(Tox *tox, int32_t, const uint8_t *, uint16_t, void *),
     ^
core.cpp:1090:12: error: no matching function for call to 'tox_join_groupchat'
    return tox_join_groupchat(tox, friendnumber, friend_group_public_key);
           ^~~~~~~~~~~~~~~~~~
/usr/local/include/tox/tox.h:491:5: note: candidate function not viable: requires 4 arguments, but 3 were provided
int tox_join_groupchat(Tox *tox, int32_t friendnumber, const uint8_t *data, uint16_t length);
    ^
2 errors generated.
*** [core.o] Error code 1
Comment 6 Nick Hovaker 2014-10-17 16:57:53 UTC
Works fine for me. I remember something about qTox requiring a certain GCC/Clang version in order for it to work. Might want to ask https://github.com/tux3 about it.
Comment 7 Yuri Victorovich freebsd_committer freebsd_triage 2014-10-18 17:58:54 UTC
Created attachment 148434 [details]
Updated patch

Yes, the latest toxcore update broke qTox. I updated the patch.
It builds on 10.1-BETA2 for me.
Comment 8 commit-hook freebsd_committer freebsd_triage 2014-10-19 15:07:20 UTC
A commit references this bug:

Author: makc
Date: Sun Oct 19 15:06:51 UTC 2014
New revision: 371182
URL: https://svnweb.freebsd.org/changeset/ports/371182

Log:
  Add new port net-im/qTox:

  Qt 5 based Tox client

  WWW: https://wiki.tox.im/QTox

  PR:		194010 (based on)
  Submitted by:	yuri@rawbw.com

Changes:
  head/net-im/Makefile
  head/net-im/qTox/
  head/net-im/qTox/Makefile
  head/net-im/qTox/distinfo
  head/net-im/qTox/files/
  head/net-im/qTox/files/patch-emoticonswidget.cpp
  head/net-im/qTox/files/patch-qtox.pro
  head/net-im/qTox/pkg-descr
Comment 9 Max Brazhnikov freebsd_committer freebsd_triage 2014-10-19 15:08:03 UTC
Committed with modifications, thanks!