[Bug 227571] net-im/telegram-desktop: update to 1.2.17

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Apr 17 03:32:51 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227571

            Bug ID: 227571
           Summary: net-im/telegram-desktop: update to 1.2.17
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs at FreeBSD.org
          Reporter: henry.hu.sh at gmail.com

Created attachment 192578
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=192578&action=edit
patch for the port

This patch updates telegram-desktop to 1.2.17.

Added an option for audio backend. Telegram itself uses OpenAL, but libtgvoip
(for voice calls) uses either ALSA or PulseAudio. If both of them are not
present, video calls do not work, but other functionalities are not affected.
The new option allows users to select whether they want to use ALSA or
PulseAudio, or neither of them.

This new version uses features from C++17. Both language features and library
features are used. Thus, I have not figured out a way to make it work on
FreeBSD 10.
* The clang in base is 3.4.1 which is too old and does not support C++17.
* The clang in port is 5.0 which is good, but it lacks C++17 library features,
like std::any.
* G++ supports C++17 language & library features, but other libraries like Qt
are not compiled with G++. If you mix them, it causes segfaults due to mixed
C++ runtime.
Thus, I marks it broken for <11. I'm looking for ways to solve this.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list