Package Details: libtgvoip 2.4.4-6

Git Clone URL: https://aur.archlinux.org/libtgvoip.git (read-only, click to copy)
Package Base: libtgvoip
Description: VoIP library for Telegram clients
Upstream URL: https://github.com/telegramdesktop/libtgvoip
Licenses: Unlicense
Submitter: ilya-fedin
Maintainer: prcups
Last Packager: prcups
Votes: 5
Popularity: 0.000000
First Submitted: 2019-12-05 04:40 (UTC)
Last Updated: 2022-10-05 12:31 (UTC)

Latest Comments

n0yd commented on 2025-11-21 19:44 (UTC)

Fails to build.

dreieck commented on 2025-09-30 22:01 (UTC)

Build fails for me with the following error messages:

In file included from TgVoip.cpp:1:
TgVoip.h:11:5: error: 'uint16_t' does not name a type
   11 |     uint16_t port = 0;
      |     ^~~~~~~~
TgVoip.h:8:1: note: 'uint16_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
    7 | #include <memory>
  +++ |+#include <cstdint>
    8 | 
TgVoip.h:31:5: error: 'uint16_t' does not name a type
   31 |     uint16_t port = 0;
      |     ^~~~~~~~
TgVoip.h:31:5: note: 'uint16_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
[...]
TgVoip.cpp:183:65: error: conversion from 'const int' to non-scalar type 'std::vector<unsigned char>' requested
  183 |         std::vector<uint8_t> encryptionKeyValue = encryptionKey.value;
      |                                                   ~~~~~~~~~~~~~~^~~~~
TgVoip.cpp: In member function 'virtual TgVoipTrafficStats TgVoipImpl::getTrafficStats()':
TgVoip.cpp:310:9: error: could not convert '{stats.tgvoip::VoIPController::TrafficStats::bytesSentWifi, stats.tgvoip::VoIPController::TrafficStats::bytesRecvdWifi, stats.tgvoip::VoIPController::TrafficStats::bytesSentMobile, stats.tgvoip::VoIPController::TrafficStats::bytesRecvdMobile}' from '<brace-enclosed initializer list>' to 'TgVoipTrafficStats'
  310 |         };
      |         ^
      |         |
      |         <brace-enclosed initializer list>
TgVoip.cpp: In member function 'virtual TgVoipPersistentState TgVoipImpl::getPersistentState()':
TgVoip.cpp:314:50: error: could not convert '{((TgVoipImpl*)this)->TgVoipImpl::controller_->tgvoip::VoIPController::GetPersistentState()}' from '<brace-enclosed initializer list>' to 'TgVoipPersistentState'
  314 |         return {controller_->GetPersistentState()};
      |                                                  ^
      |                                                  |
      |                                                  <brace-enclosed initializer list>

Regards!

Koli commented on 2025-09-30 10:01 (UTC)

Looks like this one cannot install anymore, missing cstdint headers. There's a pull request upstream, maybe we can use that as a patch?

diabolusss commented on 2022-07-22 07:27 (UTC) (edited on 2022-07-22 07:27 (UTC) by diabolusss)

Hello! Can't install package using aur after update:

(1/1) Parsing SRCINFO: libtgvoip
==> Making package: libtgvoip 2.4.4-6 (Fri Jul 22 10:19:48 2022)
==> Retrieving sources...
  -> Downloading 7563a96b8f8e86b7a5fd1ce783388adf29bf4cf9.zip...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 1625k    0 1625k    0     0   938k      0 --:--:--  0:00:01 --:--:-- 1780k
  -> Downloading 11bc9089ad136b713190e0e8f5b484cba9ad495c.patch...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   638  100   638    0     0   1702      0 --:--:-- --:--:-- --:--:--  1701
  -> Downloading 6e82b6e45664c1f80b9039256c99bebc76d34672.patch...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  6165  100  6165    0     0  15855      0 --:--:-- --:--:-- --:--:-- 15889
==> Validating source files with sha512sums...
    7563a96b8f8e86b7a5fd1ce783388adf29bf4cf9.zip ... Passed
    11bc9089ad136b713190e0e8f5b484cba9ad495c.patch ... FAILED
    6e82b6e45664c1f80b9039256c99bebc76d34672.patch ... FAILED
==> ERROR: One or more files did not pass the validity check!
 -> error downloading sources: libtgvoip 
     context: exit status 1 


==> Making package: libtgvoip 2.4.4-6 (Fri Jul 22 10:19:52 2022)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found 7563a96b8f8e86b7a5fd1ce783388adf29bf4cf9.zip
  -> Found 11bc9089ad136b713190e0e8f5b484cba9ad495c.patch
  -> Found 6e82b6e45664c1f80b9039256c99bebc76d34672.patch
==> Validating source files with sha512sums...
    7563a96b8f8e86b7a5fd1ce783388adf29bf4cf9.zip ... Passed
    11bc9089ad136b713190e0e8f5b484cba9ad495c.patch ... FAILED
    6e82b6e45664c1f80b9039256c99bebc76d34672.patch ... FAILED
==> ERROR: One or more files did not pass the validity check!
 -> error making: libtgvoip

fl.duriez commented on 2022-03-06 16:47 (UTC)

Please add aarch64 in arch list

ilya-fedin commented on 2020-10-09 10:58 (UTC)

@EndlessEden i don't think that this is a good idea, clang is set usually by using a custom CC variable, i.e. that means that I should force CC variable value and it is wouldn't be possible to specify other custom values, like ccache or distcc.

I think that arch users are educated enough to disable clang if it causes any problems. Not to say that clang could be only manually set.

EndlessEden commented on 2020-10-09 10:43 (UTC)

@rodsan, thats a clang specific build issued.

@ilya-fedin - Please update the pkgbuild to force gcc over clang, package will not build with clang.

ilya-fedin commented on 2020-09-02 19:02 (UTC)

Just wondering, why are you need this?

rodsan commented on 2020-09-02 18:48 (UTC) (edited on 2020-09-02 18:50 (UTC) by rodsan)

build fails with error OBJCXXLD libtgvoip.la

libtool: link: unable to infer tagged configuration

libtool: error: specify a tag with '--tag'

make[1]: *** [Makefile:3547: libtgvoip.la] Error 1

make[1]: Leaving directory '/home/zasz/.cache/yay/libtgvoip/src/libtgvoip-e422d2a80546a32ab7166a9b1058bacfc5daeefc'

make: *** [Makefile:2389: all] Error 2