summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
Diffstat (limited to 'net-im')
-rw-r--r--net-im/linux-discord/Makefile4
-rw-r--r--net-im/linux-discord/distinfo6
-rwxr-xr-x[-rw-r--r--]net-im/linux-discord/files/linux-discord.in13
-rw-r--r--net-im/linux-discord/pkg-message13
-rw-r--r--net-im/matterhorn/Makefile2
-rw-r--r--net-im/tdlib-purple/Makefile2
-rw-r--r--net-im/tdlib/Makefile15
-rw-r--r--net-im/tdlib/files/patch-CMakeLists.txt92
-rw-r--r--net-im/tdlib/files/patch-CMake_GetGitRevisionDescription.cmake2
-rw-r--r--net-im/tdlib/files/patch-sqlite_CMakeLists.txt11
-rw-r--r--net-im/tdlib/files/patch-tdactor_CMakeLists.txt11
-rw-r--r--net-im/tdlib/files/patch-tddb_CMakeLists.txt11
-rw-r--r--net-im/tdlib/files/patch-tde2e_CMakeLists.txt17
-rw-r--r--net-im/tdlib/files/patch-tdnet_CMakeLists.txt11
-rw-r--r--net-im/tdlib/files/patch-tdtl_CMakeLists.txt9
-rw-r--r--net-im/tdlib/files/patch-tdutils_CMakeLists.txt19
-rw-r--r--net-im/tdlib/files/patch-test_CMakeLists.txt11
-rw-r--r--net-im/tdlib/pkg-plist929
-rw-r--r--net-im/telegram-desktop/Makefile3
19 files changed, 1127 insertions, 54 deletions
diff --git a/net-im/linux-discord/Makefile b/net-im/linux-discord/Makefile
index 3831fcc4c39a..5e36fe0a146b 100644
--- a/net-im/linux-discord/Makefile
+++ b/net-im/linux-discord/Makefile
@@ -1,6 +1,6 @@
PORTNAME= discord
-DISTVERSION= 0.0.89
-PORTREVISION= 2
+DISTVERSION= 0.0.94
+PORTREVISION= 0
PORTEPOCH= 1
CATEGORIES= net-im
MASTER_SITES= https://dl.discordapp.net/apps/linux/${DISTVERSION}/
diff --git a/net-im/linux-discord/distinfo b/net-im/linux-discord/distinfo
index a1f22b65dca2..ff71749b9319 100644
--- a/net-im/linux-discord/distinfo
+++ b/net-im/linux-discord/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1744703712
-SHA256 (discord-0.0.89.tar.gz) = ef833648024b4bcbb7ee6d9b128fd86e5abcdb611b59665fa4b7f97a6bd3bac1
-SIZE (discord-0.0.89.tar.gz) = 102421846
+TIMESTAMP = 1747126989
+SHA256 (discord-0.0.94.tar.gz) = d37e677db132bddb0dc5987a7e45e1d89858ec45d0b705274b8b142abef83114
+SIZE (discord-0.0.94.tar.gz) = 105410218
diff --git a/net-im/linux-discord/files/linux-discord.in b/net-im/linux-discord/files/linux-discord.in
index e4c462613861..6c8253790678 100644..100755
--- a/net-im/linux-discord/files/linux-discord.in
+++ b/net-im/linux-discord/files/linux-discord.in
@@ -1,9 +1,22 @@
#!%%LINUXBASE%%/bin/bash
+DISCORD_CONF="$HOME/.config/discord/settings.json"
+
+# disable automatic update
+if [ ! -f "$DISCORD_CONF" ]; then
+ echo '{"SKIP_HOST_UPDATE": true}' > "$DISCORD_CONF"
+else
+ /usr/bin/grep -q 'SKIP_HOST_UPDATE' "$DISCORD_CONF" || \
+ mv -f "$DISCORD_CONF" "${DISCORD_CONF}.bak"
+ awk '{print $0; if (R==0 && $0 ~ /\{/) {print " \"SKIP_HOST_UPDATE\": true,"; R=1;}}' \
+ "${DISCORD_CONF}.bak" > "$DISCORD_CONF"
+fi
+
# workaround Chromium bug https://bugs.chromium.org/p/chromium/issues/detail?id=918234
if [ "$DBUS_SESSION_BUS_ADDRESS" = "" ]; then
export DBUS_SESSION_BUS_ADDRESS="autolaunch:"
fi
+
export ELECTRON_IS_DEV=0
export LIBGL_DRI3_DISABLE=1
export NODE_ENV=production
diff --git a/net-im/linux-discord/pkg-message b/net-im/linux-discord/pkg-message
deleted file mode 100644
index a79373b6b2eb..000000000000
--- a/net-im/linux-discord/pkg-message
+++ /dev/null
@@ -1,13 +0,0 @@
-[
-{
- type: install
- message: <<EOM
-After the first start of the application, it is recommended to add the
-following line to the file ~/.config/discord/settings.json (after the first
-opening curly brace) to avoid automatic check for updates.
-
- "SKIP_HOST_UPDATE": true,
-
-EOM
-}
-]
diff --git a/net-im/matterhorn/Makefile b/net-im/matterhorn/Makefile
index 4568e8f9dfe8..fd7fd0ef6781 100644
--- a/net-im/matterhorn/Makefile
+++ b/net-im/matterhorn/Makefile
@@ -9,6 +9,8 @@ WWW= https://github.com/matterhorn-chat/matterhorn/
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
+BUILD_DEPENDS= ghc-9.6.7:lang/ghc96
+
USES= cabal
USE_CABAL= HTTP-4000.4.1_5 \
diff --git a/net-im/tdlib-purple/Makefile b/net-im/tdlib-purple/Makefile
index 246dc9e814fe..a985a6b00e26 100644
--- a/net-im/tdlib-purple/Makefile
+++ b/net-im/tdlib-purple/Makefile
@@ -14,6 +14,8 @@ WWW= https://github.com/ars3niy/tdlib-purple
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
+BROKEN= fails to compile with the latest revision of net-im/tdlib
+
LIB_DEPENDS= libfmt.so:devel/libfmt \
libtdapi.so:net-im/tdlib \
librlottie.so:graphics/rlottie \
diff --git a/net-im/tdlib/Makefile b/net-im/tdlib/Makefile
index 28fbf97c053e..35be46ff1810 100644
--- a/net-im/tdlib/Makefile
+++ b/net-im/tdlib/Makefile
@@ -1,6 +1,7 @@
PORTNAME= tdlib
DISTVERSIONPREFIX= v
DISTVERSION= 1.8.48
+PORTREVISION= 2
CATEGORIES= net-im devel
MAINTAINER= yuri@FreeBSD.org
@@ -15,8 +16,10 @@ USE_GITHUB= yes
GH_PROJECT= td
GH_TAGNAME= b8b08b0 # hash corresponding to 1.8.48
-CMAKE_ON= TD_INSTALL_SHARED_LIBRARIES TD_INSTALL_STATIC_LIBRARIES
-CMAKE_OFF= BUILD_TESTING FREEBSD_BUILD_BENCHMARKS
+CMAKE_ON= TD_INSTALL_SHARED_LIBRARIES TD_INSTALL_STATIC_LIBRARIES \
+ BUILD_SHARED_LIBS
+CMAKE_OFF+= TD_E2E_ONLY # supposed to install tde2e but it fails to install headers
+CMAKE_OFF+= BUILD_TESTING FREEBSD_BUILD_BENCHMARKS
PLIST_SUB+= LIBVERSION=${PORTVERSION}
@@ -24,4 +27,12 @@ post-patch:
@${REINPLACE_CMD} -e 's|%%COMMIT%%|${GH_TAGNAME}|g' \
${WRKSRC}/CMake/GetGitRevisionDescription.cmake
+post-install: # see https://github.com/tdlib/td/issues/3328
+ @cd ${WRKSRC}/td && \
+ ${COPYTREE_SHARE} telegram ${STAGEDIR}${PREFIX}/include/td
+ @cd ${WRKSRC}/tdutils/td && \
+ ${COPYTREE_SHARE} utils ${STAGEDIR}${PREFIX}/include/td
+ @cd ${WRKSRC}/tde2e/td && \
+ ${COPYTREE_SHARE} e2e ${STAGEDIR}${PREFIX}/include/td
+
.include <bsd.port.mk>
diff --git a/net-im/tdlib/files/patch-CMakeLists.txt b/net-im/tdlib/files/patch-CMakeLists.txt
index ace0aa6c9837..989c6940d4d3 100644
--- a/net-im/tdlib/files/patch-CMakeLists.txt
+++ b/net-im/tdlib/files/patch-CMakeLists.txt
@@ -9,3 +9,95 @@
add_subdirectory(benchmark)
endif()
+@@ -1148,7 +1148,7 @@ set(MEMPROF_STAT_SOURCE
+ # LIBRARIES
+
+ # memprof - simple library for memory usage profiling
+-add_library(memprof STATIC ${MEMPROF_SOURCE})
++add_library(memprof ${MEMPROF_SOURCE})
+ target_include_directories(memprof PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>)
+ target_link_libraries(memprof PRIVATE tdutils)
+ if (MEMPROF)
+@@ -1162,12 +1162,12 @@ endif()
+ endif()
+ endif()
+
+-add_library(memprof_stat EXCLUDE_FROM_ALL STATIC ${MEMPROF_STAT_SOURCE})
++add_library(memprof_stat EXCLUDE_FROM_ALL ${MEMPROF_STAT_SOURCE})
+ target_include_directories(memprof_stat PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>)
+ target_link_libraries(memprof_stat PRIVATE tdutils)
+
+
+-add_library(tdapi STATIC ${TL_TD_API_SOURCE})
++add_library(tdapi ${TL_TD_API_SOURCE})
+ target_include_directories(tdapi PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}> INTERFACE $<BUILD_INTERFACE:${TL_TD_AUTO_INCLUDE_DIR}>)
+ target_link_libraries(tdapi PRIVATE tdutils)
+
+@@ -1184,7 +1184,7 @@ endif()
+ add_dependencies(tdapi tl_generate_common)
+ endif()
+
+-add_library(tdmtproto STATIC ${TD_MTPROTO_SOURCE})
++add_library(tdmtproto ${TD_MTPROTO_SOURCE})
+ target_include_directories(tdmtproto PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}> $<BUILD_INTERFACE:${TL_TD_AUTO_INCLUDE_DIR}>)
+ target_include_directories(tdmtproto SYSTEM PRIVATE ${OPENSSL_INCLUDE_DIR})
+ target_link_libraries(tdmtproto PUBLIC tdactor tdnet tdutils PRIVATE ${OPENSSL_CRYPTO_LIBRARY} ${CMAKE_DL_LIBS} ${ZLIB_LIBRARIES})
+@@ -1201,11 +1201,11 @@ if (MSVC AND TD_ENABLE_LTO)
+
+ # tdcore - internal TDLib interface
+ if (MSVC AND TD_ENABLE_LTO)
+- add_library(tdcore_part1 STATIC ${TDLIB_SOURCE_PART1})
++ add_library(tdcore_part1 ${TDLIB_SOURCE_PART1})
+ target_include_directories(tdcore_part1 PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}> $<BUILD_INTERFACE:${TL_TD_AUTO_INCLUDE_DIR}>)
+ target_link_libraries(tdcore_part1 PUBLIC tdapi tdnet tddb tdactor tde2e tdutils PRIVATE tdmtproto)
+
+- add_library(tdcore_part2 STATIC ${TDLIB_SOURCE_PART2})
++ add_library(tdcore_part2 ${TDLIB_SOURCE_PART2})
+ target_include_directories(tdcore_part2 PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}> $<BUILD_INTERFACE:${TL_TD_AUTO_INCLUDE_DIR}>)
+ target_link_libraries(tdcore_part2 PUBLIC tdapi tdnet tddb tdactor tde2e tdutils PRIVATE tdmtproto)
+
+@@ -1214,7 +1214,7 @@ else()
+
+ set(TD_CORE_PART_TARGETS tdcore_part1 tdcore_part2)
+ else()
+- add_library(tdcore STATIC ${TDLIB_SOURCE})
++ add_library(tdcore ${TDLIB_SOURCE})
+ target_include_directories(tdcore PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}> $<BUILD_INTERFACE:${TL_TD_AUTO_INCLUDE_DIR}>)
+ target_link_libraries(tdcore PUBLIC tdapi tdnet tddb tdactor tde2e tdutils PRIVATE tdmtproto)
+
+@@ -1231,7 +1231,7 @@ endif()
+ endif()
+ endif()
+
+-add_library(tdclient STATIC td/telegram/Client.cpp td/telegram/Client.h td/telegram/Log.cpp td/telegram/Log.h)
++add_library(tdclient td/telegram/Client.cpp td/telegram/Client.h td/telegram/Log.cpp td/telegram/Log.h)
+ target_include_directories(tdclient PUBLIC
+ $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
+ )
+@@ -1263,7 +1263,7 @@ endif()
+ endif()
+
+ # tdc - TDLib interface in pure C
+-add_library(tdc STATIC EXCLUDE_FROM_ALL ${TL_C_SCHEME_SOURCE} td/telegram/td_c_client.cpp td/telegram/td_c_client.h)
++add_library(tdc EXCLUDE_FROM_ALL ${TL_C_SCHEME_SOURCE} td/telegram/td_c_client.cpp td/telegram/td_c_client.h)
+ target_include_directories(tdc PUBLIC
+ $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
+ $<BUILD_INTERFACE:${TL_TD_AUTO_INCLUDE_DIR}>)
+@@ -1272,7 +1272,7 @@ endif()
+ add_dependencies(tdc tl_generate_c)
+ endif()
+
+-add_library(tdjson_private STATIC ${TL_TD_JSON_SOURCE} td/telegram/ClientJson.cpp td/telegram/ClientJson.h)
++add_library(tdjson_private ${TL_TD_JSON_SOURCE} td/telegram/ClientJson.cpp td/telegram/ClientJson.h)
+ target_include_directories(tdjson_private PUBLIC
+ $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
+ $<BUILD_INTERFACE:${TL_TD_AUTO_INCLUDE_DIR}>)
+@@ -1299,7 +1299,7 @@ endif()
+ set_target_properties(tdjson PROPERTIES LINK_FLAGS "-Wl,-exported_symbols_list,${CMAKE_CURRENT_SOURCE_DIR}/tdclientjson_export_list")
+ endif()
+
+-add_library(tdjson_static STATIC ${TD_JSON_SOURCE} ${TD_JSON_HEADERS})
++add_library(tdjson_static ${TD_JSON_SOURCE} ${TD_JSON_HEADERS})
+ target_link_libraries(tdjson_static PRIVATE tdjson_private)
+ target_compile_definitions(tdjson_static PUBLIC TDJSON_STATIC_DEFINE)
+ target_include_directories(tdjson_static PUBLIC
diff --git a/net-im/tdlib/files/patch-CMake_GetGitRevisionDescription.cmake b/net-im/tdlib/files/patch-CMake_GetGitRevisionDescription.cmake
index cf442232b657..f35b6961cc68 100644
--- a/net-im/tdlib/files/patch-CMake_GetGitRevisionDescription.cmake
+++ b/net-im/tdlib/files/patch-CMake_GetGitRevisionDescription.cmake
@@ -5,7 +5,7 @@
if (GIT_DIR STREQUAL "")
set(${_refspecvar} "GITDIR-NOTFOUND" PARENT_SCOPE)
- set(${_hashvar} "GITDIR-NOTFOUND" PARENT_SCOPE)
-+ set(${_hashvar} "%%COMMIT%%" PARENT_SCOPE)
++ set(${_hashvar} "b8b08b0" PARENT_SCOPE)
return()
endif()
diff --git a/net-im/tdlib/files/patch-sqlite_CMakeLists.txt b/net-im/tdlib/files/patch-sqlite_CMakeLists.txt
new file mode 100644
index 000000000000..d6db21f5bb35
--- /dev/null
+++ b/net-im/tdlib/files/patch-sqlite_CMakeLists.txt
@@ -0,0 +1,11 @@
+--- sqlite/CMakeLists.txt.orig 2025-05-09 16:44:31 UTC
++++ sqlite/CMakeLists.txt
+@@ -23,7 +23,7 @@ set(SQLITE_SOURCE
+
+ # all SQLite functions are moved to namespace tdsqlite3 by `sed -Ebi 's/sqlite3([^.]|$)/td&/g' *`
+
+-add_library(tdsqlite STATIC ${SQLITE_SOURCE})
++add_library(tdsqlite ${SQLITE_SOURCE})
+ target_include_directories(tdsqlite PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>)
+ target_include_directories(tdsqlite SYSTEM PRIVATE ${OPENSSL_INCLUDE_DIR})
+ target_link_libraries(tdsqlite PRIVATE ${OPENSSL_CRYPTO_LIBRARY} ${CMAKE_DL_LIBS} ${ZLIB_LIBRARIES})
diff --git a/net-im/tdlib/files/patch-tdactor_CMakeLists.txt b/net-im/tdlib/files/patch-tdactor_CMakeLists.txt
new file mode 100644
index 000000000000..7894a1a863c2
--- /dev/null
+++ b/net-im/tdlib/files/patch-tdactor_CMakeLists.txt
@@ -0,0 +1,11 @@
+--- tdactor/CMakeLists.txt.orig 2025-05-09 16:50:48 UTC
++++ tdactor/CMakeLists.txt
+@@ -44,7 +44,7 @@ set(TDACTOR_TEST_SOURCE
+ PARENT_SCOPE
+ )
+
+-add_library(tdactor STATIC ${TDACTOR_SOURCE})
++add_library(tdactor ${TDACTOR_SOURCE})
+ target_include_directories(tdactor PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>)
+ target_link_libraries(tdactor PUBLIC tdutils)
+
diff --git a/net-im/tdlib/files/patch-tddb_CMakeLists.txt b/net-im/tdlib/files/patch-tddb_CMakeLists.txt
new file mode 100644
index 000000000000..e42b54861319
--- /dev/null
+++ b/net-im/tdlib/files/patch-tddb_CMakeLists.txt
@@ -0,0 +1,11 @@
+--- tddb/CMakeLists.txt.orig 2025-05-09 16:50:17 UTC
++++ tddb/CMakeLists.txt
+@@ -48,7 +48,7 @@ set(TDDB_SOURCE
+ td/db/detail/RawSqliteDb.h
+ )
+
+-add_library(tddb STATIC ${TDDB_SOURCE})
++add_library(tddb ${TDDB_SOURCE})
+ target_include_directories(tddb PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>)
+ target_link_libraries(tddb PUBLIC tdactor tdutils PRIVATE tdsqlite)
+
diff --git a/net-im/tdlib/files/patch-tde2e_CMakeLists.txt b/net-im/tdlib/files/patch-tde2e_CMakeLists.txt
index 8dc1e7c1fb01..7a9d1238ff0a 100644
--- a/net-im/tdlib/files/patch-tde2e_CMakeLists.txt
+++ b/net-im/tdlib/files/patch-tde2e_CMakeLists.txt
@@ -1,10 +1,11 @@
---- tde2e/CMakeLists.txt.orig 2025-04-30 22:25:21 UTC
+--- tde2e/CMakeLists.txt.orig 2025-05-09 16:51:07 UTC
+++ tde2e/CMakeLists.txt
-@@ -83,4 +83,7 @@ if (TDE2E_ENABLE_INSTALL)
- LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}"
- ARCHIVE DESTINATION "${CMAKE_INSTALL_LIBDIR}"
- )
-+ install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/td
-+ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
-+ FILES_MATCHING PATTERN "*.h")
+@@ -62,7 +62,7 @@ set(TDE2E_TEST_SOURCE "${TDE2E_TEST_SOURCE}" PARENT_SC
+
+ set(TDE2E_TEST_SOURCE "${TDE2E_TEST_SOURCE}" PARENT_SCOPE)
+
+-add_library(tde2e STATIC ${TDE2E_SOURCE})
++add_library(tde2e ${TDE2E_SOURCE})
+ if (NOT CMAKE_CROSSCOMPILING)
+ add_dependencies(tde2e tl_generate_common)
endif()
diff --git a/net-im/tdlib/files/patch-tdnet_CMakeLists.txt b/net-im/tdlib/files/patch-tdnet_CMakeLists.txt
new file mode 100644
index 000000000000..3ff722cf12f0
--- /dev/null
+++ b/net-im/tdlib/files/patch-tdnet_CMakeLists.txt
@@ -0,0 +1,11 @@
+--- tdnet/CMakeLists.txt.orig 2025-05-09 16:51:47 UTC
++++ tdnet/CMakeLists.txt
+@@ -60,7 +60,7 @@ endif()
+ set_source_files_properties(td/net/DarwinHttp.mm PROPERTIES COMPILE_FLAGS -fobjc-arc)
+ endif()
+
+-add_library(tdnet STATIC ${TDNET_SOURCE})
++add_library(tdnet ${TDNET_SOURCE})
+ target_include_directories(tdnet PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>)
+ target_include_directories(tdnet SYSTEM PRIVATE $<BUILD_INTERFACE:${OPENSSL_INCLUDE_DIR}>)
+ target_link_libraries(tdnet PUBLIC tdutils tdactor)
diff --git a/net-im/tdlib/files/patch-tdtl_CMakeLists.txt b/net-im/tdlib/files/patch-tdtl_CMakeLists.txt
new file mode 100644
index 000000000000..bd6135a15438
--- /dev/null
+++ b/net-im/tdlib/files/patch-tdtl_CMakeLists.txt
@@ -0,0 +1,9 @@
+--- tdtl/CMakeLists.txt.orig 2025-05-09 16:52:10 UTC
++++ tdtl/CMakeLists.txt
+@@ -24,5 +24,5 @@ set(TDTL_SOURCE
+ td/tl/tl_writer.h
+ )
+
+-add_library(tdtl STATIC ${TDTL_SOURCE})
++add_library(tdtl ${TDTL_SOURCE})
+ target_include_directories(tdtl PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>)
diff --git a/net-im/tdlib/files/patch-tdutils_CMakeLists.txt b/net-im/tdlib/files/patch-tdutils_CMakeLists.txt
index bea6582773bf..60e62535b6d3 100644
--- a/net-im/tdlib/files/patch-tdutils_CMakeLists.txt
+++ b/net-im/tdlib/files/patch-tdutils_CMakeLists.txt
@@ -1,12 +1,11 @@
---- tdutils/CMakeLists.txt.orig 2025-04-30 22:25:21 UTC
+--- tdutils/CMakeLists.txt.orig 2025-05-09 16:51:24 UTC
+++ tdutils/CMakeLists.txt
-@@ -416,6 +416,9 @@ if (TDUTILS_ENABLE_INSTALL)
- LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}"
- ARCHIVE DESTINATION "${CMAKE_INSTALL_LIBDIR}"
- )
-+ install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/td
-+ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
-+ FILES_MATCHING PATTERN "*.h")
- endif()
+@@ -351,7 +351,7 @@ set(TDUTILS_TEST_SOURCE
+ PARENT_SCOPE
+ )
- if (TD_TEST_FOLLY AND ABSL_FOUND AND TDUTILS_USE_EXTERNAL_DEPENDENCIES)
+-add_library(tdutils STATIC ${TDUTILS_SOURCE})
++add_library(tdutils ${TDUTILS_SOURCE})
+
+ if (NOT CMAKE_CROSSCOMPILING AND TDUTILS_MIME_TYPE)
+ add_dependencies(tdutils tdmime_auto)
diff --git a/net-im/tdlib/files/patch-test_CMakeLists.txt b/net-im/tdlib/files/patch-test_CMakeLists.txt
new file mode 100644
index 000000000000..bc5db0338a3e
--- /dev/null
+++ b/net-im/tdlib/files/patch-test_CMakeLists.txt
@@ -0,0 +1,11 @@
+--- test/CMakeLists.txt.orig 2025-05-09 17:43:17 UTC
++++ test/CMakeLists.txt
+@@ -61,7 +61,7 @@ if (NOT CMAKE_CROSSCOMPILING OR EMSCRIPTEN)
+ target_include_directories(run_all_tests PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>)
+ target_include_directories(test-tdutils PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>)
+ target_link_libraries(test-tdutils PRIVATE tdutils)
+- target_link_libraries(run_all_tests PRIVATE tdcore tdclient)
++ target_link_libraries(run_all_tests PRIVATE tdcore tdclient tdmtproto)
+ target_link_libraries(test-online PRIVATE tdcore tdjson_private tdclient tdutils tdactor)
+
+ if (CLANG)
diff --git a/net-im/tdlib/pkg-plist b/net-im/tdlib/pkg-plist
index eee8bb81e4c1..a07b996bb35e 100644
--- a/net-im/tdlib/pkg-plist
+++ b/net-im/tdlib/pkg-plist
@@ -1,35 +1,863 @@
+include/td/e2e/BitString.cpp
include/td/e2e/BitString.h
+include/td/e2e/Blockchain.cpp
include/td/e2e/Blockchain.h
+include/td/e2e/Blockchain.md
+include/td/e2e/Call.cpp
include/td/e2e/Call.h
+include/td/e2e/CheckSharedSecret.cpp
include/td/e2e/CheckSharedSecret.h
include/td/e2e/Container.h
+include/td/e2e/DecryptedKey.cpp
include/td/e2e/DecryptedKey.h
+include/td/e2e/EncryptedKey.cpp
include/td/e2e/EncryptedKey.h
+include/td/e2e/EncryptedStorage.cpp
include/td/e2e/EncryptedStorage.h
+include/td/e2e/Encryption.md
+include/td/e2e/Keys.cpp
include/td/e2e/Keys.h
+include/td/e2e/MessageEncryption.cpp
include/td/e2e/MessageEncryption.h
+include/td/e2e/Mnemonic.cpp
include/td/e2e/Mnemonic.h
+include/td/e2e/QRHandshake.cpp
include/td/e2e/QRHandshake.h
+include/td/e2e/TestBlockchain.cpp
include/td/e2e/TestBlockchain.h
+include/td/e2e/Trie.cpp
include/td/e2e/Trie.h
+include/td/e2e/bip39.cpp
include/td/e2e/bip39.h
+include/td/e2e/e2e_api.cpp
include/td/e2e/e2e_api.h
include/td/e2e/e2e_errors.h
+include/td/e2e/encryption_test.py
include/td/e2e/utils.h
+include/td/telegram/AccentColorId.h
+include/td/telegram/AccessRights.h
+include/td/telegram/AccountManager.cpp
+include/td/telegram/AccountManager.h
+include/td/telegram/AffectedHistory.h
+include/td/telegram/AffiliateType.cpp
+include/td/telegram/AffiliateType.h
+include/td/telegram/AlarmManager.cpp
+include/td/telegram/AlarmManager.h
+include/td/telegram/AnimationsManager.cpp
+include/td/telegram/AnimationsManager.h
+include/td/telegram/AnimationsManager.hpp
+include/td/telegram/Application.cpp
+include/td/telegram/Application.h
+include/td/telegram/AttachMenuManager.cpp
+include/td/telegram/AttachMenuManager.h
+include/td/telegram/AudiosManager.cpp
+include/td/telegram/AudiosManager.h
+include/td/telegram/AudiosManager.hpp
+include/td/telegram/AuthManager.cpp
+include/td/telegram/AuthManager.h
+include/td/telegram/AuthManager.hpp
+include/td/telegram/AutoDownloadSettings.cpp
+include/td/telegram/AutoDownloadSettings.h
+include/td/telegram/AutosaveManager.cpp
+include/td/telegram/AutosaveManager.h
+include/td/telegram/BackgroundId.h
+include/td/telegram/BackgroundInfo.cpp
+include/td/telegram/BackgroundInfo.h
+include/td/telegram/BackgroundInfo.hpp
+include/td/telegram/BackgroundManager.cpp
+include/td/telegram/BackgroundManager.h
+include/td/telegram/BackgroundType.cpp
+include/td/telegram/BackgroundType.h
+include/td/telegram/BackgroundType.hpp
+include/td/telegram/BaseTheme.cpp
+include/td/telegram/BaseTheme.h
+include/td/telegram/Birthdate.cpp
+include/td/telegram/Birthdate.h
+include/td/telegram/Birthdate.hpp
+include/td/telegram/BlockListId.h
+include/td/telegram/BoostManager.cpp
+include/td/telegram/BoostManager.h
+include/td/telegram/BotCommand.cpp
+include/td/telegram/BotCommand.h
+include/td/telegram/BotCommandScope.cpp
+include/td/telegram/BotCommandScope.h
+include/td/telegram/BotInfoManager.cpp
+include/td/telegram/BotInfoManager.h
+include/td/telegram/BotMenuButton.cpp
+include/td/telegram/BotMenuButton.h
+include/td/telegram/BotQueries.cpp
+include/td/telegram/BotQueries.h
+include/td/telegram/BotRecommendationManager.cpp
+include/td/telegram/BotRecommendationManager.h
+include/td/telegram/BotVerification.cpp
+include/td/telegram/BotVerification.h
+include/td/telegram/BotVerification.hpp
+include/td/telegram/BotVerifierSettings.cpp
+include/td/telegram/BotVerifierSettings.h
+include/td/telegram/BotVerifierSettings.hpp
+include/td/telegram/BusinessAwayMessage.cpp
+include/td/telegram/BusinessAwayMessage.h
+include/td/telegram/BusinessAwayMessage.hpp
+include/td/telegram/BusinessAwayMessageSchedule.cpp
+include/td/telegram/BusinessAwayMessageSchedule.h
+include/td/telegram/BusinessAwayMessageSchedule.hpp
+include/td/telegram/BusinessBotManageBar.cpp
+include/td/telegram/BusinessBotManageBar.h
+include/td/telegram/BusinessBotRights.cpp
+include/td/telegram/BusinessBotRights.h
+include/td/telegram/BusinessBotRights.hpp
+include/td/telegram/BusinessChatLink.cpp
+include/td/telegram/BusinessChatLink.h
+include/td/telegram/BusinessConnectedBot.cpp
+include/td/telegram/BusinessConnectedBot.h
+include/td/telegram/BusinessConnectedBot.hpp
+include/td/telegram/BusinessConnectionId.h
+include/td/telegram/BusinessConnectionManager.cpp
+include/td/telegram/BusinessConnectionManager.h
+include/td/telegram/BusinessGreetingMessage.cpp
+include/td/telegram/BusinessGreetingMessage.h
+include/td/telegram/BusinessGreetingMessage.hpp
+include/td/telegram/BusinessInfo.cpp
+include/td/telegram/BusinessInfo.h
+include/td/telegram/BusinessInfo.hpp
+include/td/telegram/BusinessIntro.cpp
+include/td/telegram/BusinessIntro.h
+include/td/telegram/BusinessIntro.hpp
+include/td/telegram/BusinessManager.cpp
+include/td/telegram/BusinessManager.h
+include/td/telegram/BusinessRecipients.cpp
+include/td/telegram/BusinessRecipients.h
+include/td/telegram/BusinessRecipients.hpp
+include/td/telegram/BusinessWorkHours.cpp
+include/td/telegram/BusinessWorkHours.h
+include/td/telegram/BusinessWorkHours.hpp
+include/td/telegram/CallActor.cpp
+include/td/telegram/CallActor.h
+include/td/telegram/CallDiscardReason.cpp
+include/td/telegram/CallDiscardReason.h
+include/td/telegram/CallId.h
+include/td/telegram/CallManager.cpp
+include/td/telegram/CallManager.h
+include/td/telegram/CallbackQueriesManager.cpp
+include/td/telegram/CallbackQueriesManager.h
+include/td/telegram/ChainId.h
+include/td/telegram/ChannelId.h
+include/td/telegram/ChannelParticipantFilter.cpp
+include/td/telegram/ChannelParticipantFilter.h
+include/td/telegram/ChannelRecommendationManager.cpp
+include/td/telegram/ChannelRecommendationManager.h
+include/td/telegram/ChannelType.h
+include/td/telegram/ChatId.h
+include/td/telegram/ChatManager.cpp
+include/td/telegram/ChatManager.h
+include/td/telegram/ChatReactions.cpp
+include/td/telegram/ChatReactions.h
+include/td/telegram/ChatReactions.hpp
+include/td/telegram/Client.cpp
include/td/telegram/Client.h
+include/td/telegram/ClientActor.cpp
+include/td/telegram/ClientActor.h
+include/td/telegram/ClientDotNet.cpp
+include/td/telegram/ClientJson.cpp
+include/td/telegram/ClientJson.h
+include/td/telegram/CommonDialogManager.cpp
+include/td/telegram/CommonDialogManager.h
+include/td/telegram/ConfigManager.cpp
+include/td/telegram/ConfigManager.h
+include/td/telegram/ConnectionState.cpp
+include/td/telegram/ConnectionState.h
+include/td/telegram/ConnectionStateManager.cpp
+include/td/telegram/ConnectionStateManager.h
+include/td/telegram/Contact.cpp
+include/td/telegram/Contact.h
+include/td/telegram/CountryInfoManager.cpp
+include/td/telegram/CountryInfoManager.h
+include/td/telegram/CustomEmojiId.h
+include/td/telegram/DelayDispatcher.cpp
+include/td/telegram/DelayDispatcher.h
+include/td/telegram/Dependencies.cpp
+include/td/telegram/Dependencies.h
+include/td/telegram/DeviceTokenManager.cpp
+include/td/telegram/DeviceTokenManager.h
+include/td/telegram/DhCache.cpp
+include/td/telegram/DhCache.h
+include/td/telegram/DhConfig.h
+include/td/telegram/DialogAction.cpp
+include/td/telegram/DialogAction.h
+include/td/telegram/DialogActionBar.cpp
+include/td/telegram/DialogActionBar.h
+include/td/telegram/DialogActionManager.cpp
+include/td/telegram/DialogActionManager.h
+include/td/telegram/DialogAdministrator.cpp
+include/td/telegram/DialogAdministrator.h
+include/td/telegram/DialogBoostLinkInfo.h
+include/td/telegram/DialogDate.h
+include/td/telegram/DialogDb.cpp
+include/td/telegram/DialogDb.h
+include/td/telegram/DialogEventLog.cpp
+include/td/telegram/DialogEventLog.h
+include/td/telegram/DialogFilter.cpp
+include/td/telegram/DialogFilter.h
+include/td/telegram/DialogFilter.hpp
+include/td/telegram/DialogFilterDialogInfo.h
+include/td/telegram/DialogFilterId.h
+include/td/telegram/DialogFilterInviteLink.cpp
+include/td/telegram/DialogFilterInviteLink.h
+include/td/telegram/DialogFilterManager.cpp
+include/td/telegram/DialogFilterManager.h
+include/td/telegram/DialogId.cpp
+include/td/telegram/DialogId.h
+include/td/telegram/DialogInviteLink.cpp
+include/td/telegram/DialogInviteLink.h
+include/td/telegram/DialogInviteLink.hpp
+include/td/telegram/DialogInviteLinkManager.cpp
+include/td/telegram/DialogInviteLinkManager.h
+include/td/telegram/DialogListId.h
+include/td/telegram/DialogLocation.cpp
+include/td/telegram/DialogLocation.h
+include/td/telegram/DialogManager.cpp
+include/td/telegram/DialogManager.h
+include/td/telegram/DialogNotificationSettings.cpp
+include/td/telegram/DialogNotificationSettings.h
+include/td/telegram/DialogNotificationSettings.hpp
+include/td/telegram/DialogParticipant.cpp
+include/td/telegram/DialogParticipant.h
+include/td/telegram/DialogParticipantFilter.cpp
+include/td/telegram/DialogParticipantFilter.h
+include/td/telegram/DialogParticipantManager.cpp
+include/td/telegram/DialogParticipantManager.h
+include/td/telegram/DialogSource.cpp
+include/td/telegram/DialogSource.h
+include/td/telegram/Dimensions.cpp
+include/td/telegram/Dimensions.h
+include/td/telegram/Dimensions.hpp
+include/td/telegram/DisallowedGiftsSettings.cpp
+include/td/telegram/DisallowedGiftsSettings.h
+include/td/telegram/DisallowedGiftsSettings.hpp
+include/td/telegram/Document.cpp
+include/td/telegram/Document.h
+include/td/telegram/Document.hpp
+include/td/telegram/DocumentsManager.cpp
+include/td/telegram/DocumentsManager.h
+include/td/telegram/DocumentsManager.hpp
+include/td/telegram/DownloadManager.cpp
+include/td/telegram/DownloadManager.h
+include/td/telegram/DownloadManagerCallback.cpp
+include/td/telegram/DownloadManagerCallback.h
+include/td/telegram/DraftMessage.cpp
+include/td/telegram/DraftMessage.h
+include/td/telegram/DraftMessage.hpp
+include/td/telegram/EmailVerification.cpp
+include/td/telegram/EmailVerification.h
+include/td/telegram/EmojiGroup.cpp
+include/td/telegram/EmojiGroup.h
+include/td/telegram/EmojiGroup.hpp
+include/td/telegram/EmojiGroupType.cpp
+include/td/telegram/EmojiGroupType.h
+include/td/telegram/EmojiStatus.cpp
+include/td/telegram/EmojiStatus.h
+include/td/telegram/EncryptedFile.h
+include/td/telegram/FactCheck.cpp
+include/td/telegram/FactCheck.h
+include/td/telegram/FactCheck.hpp
+include/td/telegram/FileReferenceManager.cpp
+include/td/telegram/FileReferenceManager.h
+include/td/telegram/FileReferenceManager.hpp
+include/td/telegram/FolderId.h
+include/td/telegram/ForumTopic.cpp
+include/td/telegram/ForumTopic.h
+include/td/telegram/ForumTopic.hpp
+include/td/telegram/ForumTopicEditedData.cpp
+include/td/telegram/ForumTopicEditedData.h
+include/td/telegram/ForumTopicEditedData.hpp
+include/td/telegram/ForumTopicIcon.cpp
+include/td/telegram/ForumTopicIcon.h
+include/td/telegram/ForumTopicIcon.hpp
+include/td/telegram/ForumTopicInfo.cpp
+include/td/telegram/ForumTopicInfo.h
+include/td/telegram/ForumTopicInfo.hpp
+include/td/telegram/ForumTopicManager.cpp
+include/td/telegram/ForumTopicManager.h
+include/td/telegram/Game.cpp
+include/td/telegram/Game.h
+include/td/telegram/Game.hpp
+include/td/telegram/GameManager.cpp
+include/td/telegram/GameManager.h
+include/td/telegram/GitCommitHash.cpp.in
+include/td/telegram/GitCommitHash.h
+include/td/telegram/GiveawayParameters.cpp
+include/td/telegram/GiveawayParameters.h
+include/td/telegram/GiveawayParameters.hpp
+include/td/telegram/Global.cpp
+include/td/telegram/Global.h
+include/td/telegram/GlobalPrivacySettings.cpp
+include/td/telegram/GlobalPrivacySettings.h
+include/td/telegram/GroupCallId.h
+include/td/telegram/GroupCallJoinParameters.cpp
+include/td/telegram/GroupCallJoinParameters.h
+include/td/telegram/GroupCallManager.cpp
+include/td/telegram/GroupCallManager.h
+include/td/telegram/GroupCallParticipant.cpp
+include/td/telegram/GroupCallParticipant.h
+include/td/telegram/GroupCallParticipantOrder.cpp
+include/td/telegram/GroupCallParticipantOrder.h
+include/td/telegram/GroupCallVideoPayload.cpp
+include/td/telegram/GroupCallVideoPayload.h
+include/td/telegram/HashtagHints.cpp
+include/td/telegram/HashtagHints.h
+include/td/telegram/InlineMessageManager.cpp
+include/td/telegram/InlineMessageManager.h
+include/td/telegram/InlineQueriesManager.cpp
+include/td/telegram/InlineQueriesManager.h
+include/td/telegram/InputBusinessChatLink.cpp
+include/td/telegram/InputBusinessChatLink.h
+include/td/telegram/InputDialogId.cpp
+include/td/telegram/InputDialogId.h
+include/td/telegram/InputGroupCall.cpp
+include/td/telegram/InputGroupCall.h
+include/td/telegram/InputGroupCallId.cpp
+include/td/telegram/InputGroupCallId.h
+include/td/telegram/InputInvoice.cpp
+include/td/telegram/InputInvoice.h
+include/td/telegram/InputInvoice.hpp
+include/td/telegram/InputMessageText.cpp
+include/td/telegram/InputMessageText.h
+include/td/telegram/InputMessageText.hpp
+include/td/telegram/JsonValue.cpp
+include/td/telegram/JsonValue.h
+include/td/telegram/LabeledPricePart.h
+include/td/telegram/LanguagePackManager.cpp
+include/td/telegram/LanguagePackManager.h
+include/td/telegram/LinkManager.cpp
+include/td/telegram/LinkManager.h
+include/td/telegram/Location.cpp
+include/td/telegram/Location.h
+include/td/telegram/Log.cpp
include/td/telegram/Log.h
+include/td/telegram/LogDotNet.cpp
+include/td/telegram/Logging.cpp
+include/td/telegram/Logging.h
+include/td/telegram/MediaArea.cpp
+include/td/telegram/MediaArea.h
+include/td/telegram/MediaArea.hpp
+include/td/telegram/MediaAreaCoordinates.cpp
+include/td/telegram/MediaAreaCoordinates.h
+include/td/telegram/MediaAreaCoordinates.hpp
+include/td/telegram/MessageContent.cpp
+include/td/telegram/MessageContent.h
+include/td/telegram/MessageContentType.cpp
+include/td/telegram/MessageContentType.h
+include/td/telegram/MessageCopyOptions.h
+include/td/telegram/MessageDb.cpp
+include/td/telegram/MessageDb.h
+include/td/telegram/MessageEffectId.h
+include/td/telegram/MessageEntity.cpp
+include/td/telegram/MessageEntity.h
+include/td/telegram/MessageEntity.hpp
+include/td/telegram/MessageExtendedMedia.cpp
+include/td/telegram/MessageExtendedMedia.h
+include/td/telegram/MessageExtendedMedia.hpp
+include/td/telegram/MessageForwardInfo.cpp
+include/td/telegram/MessageForwardInfo.h
+include/td/telegram/MessageForwardInfo.hpp
+include/td/telegram/MessageFullId.h
+include/td/telegram/MessageId.cpp
+include/td/telegram/MessageId.h
+include/td/telegram/MessageImportManager.cpp
+include/td/telegram/MessageImportManager.h
+include/td/telegram/MessageInputReplyTo.cpp
+include/td/telegram/MessageInputReplyTo.h
+include/td/telegram/MessageInputReplyTo.hpp
+include/td/telegram/MessageLinkInfo.h
+include/td/telegram/MessageOrigin.cpp
+include/td/telegram/MessageOrigin.h
+include/td/telegram/MessageOrigin.hpp
+include/td/telegram/MessageQueryManager.cpp
+include/td/telegram/MessageQueryManager.h
+include/td/telegram/MessageQuote.cpp
+include/td/telegram/MessageQuote.h
+include/td/telegram/MessageQuote.hpp
+include/td/telegram/MessageReaction.cpp
+include/td/telegram/MessageReaction.h
+include/td/telegram/MessageReaction.hpp
+include/td/telegram/MessageReactor.cpp
+include/td/telegram/MessageReactor.h
+include/td/telegram/MessageReactor.hpp
+include/td/telegram/MessageReplyHeader.cpp
+include/td/telegram/MessageReplyHeader.h
+include/td/telegram/MessageReplyInfo.cpp
+include/td/telegram/MessageReplyInfo.h
+include/td/telegram/MessageReplyInfo.hpp
+include/td/telegram/MessageSearchFilter.cpp
+include/td/telegram/MessageSearchFilter.h
+include/td/telegram/MessageSearchOffset.cpp
+include/td/telegram/MessageSearchOffset.h
+include/td/telegram/MessageSelfDestructType.cpp
+include/td/telegram/MessageSelfDestructType.h
+include/td/telegram/MessageSender.cpp
+include/td/telegram/MessageSender.h
+include/td/telegram/MessageSource.cpp
+include/td/telegram/MessageSource.h
+include/td/telegram/MessageThreadDb.cpp
+include/td/telegram/MessageThreadDb.h
+include/td/telegram/MessageThreadInfo.h
+include/td/telegram/MessageTtl.cpp
+include/td/telegram/MessageTtl.h
+include/td/telegram/MessageViewer.cpp
+include/td/telegram/MessageViewer.h
+include/td/telegram/MessagesInfo.cpp
+include/td/telegram/MessagesInfo.h
+include/td/telegram/MessagesManager.cpp
+include/td/telegram/MessagesManager.h
+include/td/telegram/MinChannel.h
+include/td/telegram/MinChannel.hpp
+include/td/telegram/MissingInvitee.cpp
+include/td/telegram/MissingInvitee.h
+include/td/telegram/NewPasswordState.cpp
+include/td/telegram/NewPasswordState.h
+include/td/telegram/Notification.h
+include/td/telegram/NotificationGroupFromDatabase.h
+include/td/telegram/NotificationGroupId.h
+include/td/telegram/NotificationGroupInfo.cpp
+include/td/telegram/NotificationGroupInfo.h
+include/td/telegram/NotificationGroupInfo.hpp
+include/td/telegram/NotificationGroupKey.h
+include/td/telegram/NotificationGroupType.cpp
+include/td/telegram/NotificationGroupType.h
+include/td/telegram/NotificationId.h
+include/td/telegram/NotificationManager.cpp
+include/td/telegram/NotificationManager.h
+include/td/telegram/NotificationObjectFullId.h
+include/td/telegram/NotificationObjectId.h
+include/td/telegram/NotificationSettingsManager.cpp
+include/td/telegram/NotificationSettingsManager.h
+include/td/telegram/NotificationSettingsScope.cpp
+include/td/telegram/NotificationSettingsScope.h
+include/td/telegram/NotificationSound.cpp
+include/td/telegram/NotificationSound.h
+include/td/telegram/NotificationSoundType.h
+include/td/telegram/NotificationType.cpp
+include/td/telegram/NotificationType.h
+include/td/telegram/OnlineManager.cpp
+include/td/telegram/OnlineManager.h
+include/td/telegram/OptionManager.cpp
+include/td/telegram/OptionManager.h
+include/td/telegram/OrderInfo.cpp
+include/td/telegram/OrderInfo.h
+include/td/telegram/OrderInfo.hpp
+include/td/telegram/OrderedMessage.cpp
+include/td/telegram/OrderedMessage.h
+include/td/telegram/Outline.cpp
+include/td/telegram/Outline.h
+include/td/telegram/PaidReactionType.cpp
+include/td/telegram/PaidReactionType.h
+include/td/telegram/PaidReactionType.hpp
+include/td/telegram/PasswordManager.cpp
+include/td/telegram/PasswordManager.h
+include/td/telegram/Payments.cpp
+include/td/telegram/Payments.h
+include/td/telegram/PeerColor.cpp
+include/td/telegram/PeerColor.h
+include/td/telegram/PeopleNearbyManager.cpp
+include/td/telegram/PeopleNearbyManager.h
+include/td/telegram/PhoneNumberManager.cpp
+include/td/telegram/PhoneNumberManager.h
+include/td/telegram/Photo.cpp
+include/td/telegram/Photo.h
+include/td/telegram/Photo.hpp
+include/td/telegram/PhotoFormat.h
+include/td/telegram/PhotoSize.cpp
+include/td/telegram/PhotoSize.h
+include/td/telegram/PhotoSize.hpp
+include/td/telegram/PhotoSizeSource.cpp
+include/td/telegram/PhotoSizeSource.h
+include/td/telegram/PhotoSizeSource.hpp
+include/td/telegram/PhotoSizeType.h
+include/td/telegram/PhotoSizeType.hpp
+include/td/telegram/PollId.h
+include/td/telegram/PollId.hpp
+include/td/telegram/PollManager.cpp
+include/td/telegram/PollManager.h
+include/td/telegram/PollManager.hpp
+include/td/telegram/Premium.cpp
+include/td/telegram/Premium.h
+include/td/telegram/PremiumGiftOption.cpp
+include/td/telegram/PremiumGiftOption.h
+include/td/telegram/PremiumGiftOption.hpp
+include/td/telegram/PrivacyManager.cpp
+include/td/telegram/PrivacyManager.h
+include/td/telegram/PromoDataManager.cpp
+include/td/telegram/PromoDataManager.h
+include/td/telegram/PtsManager.h
+include/td/telegram/PublicDialogType.h
+include/td/telegram/QueryCombiner.cpp
+include/td/telegram/QueryCombiner.h
+include/td/telegram/QueryMerger.cpp
+include/td/telegram/QueryMerger.h
+include/td/telegram/QuickReplyManager.cpp
+include/td/telegram/QuickReplyManager.h
+include/td/telegram/QuickReplyMessageFullId.h
+include/td/telegram/QuickReplyShortcutId.h
+include/td/telegram/ReactionListType.cpp
+include/td/telegram/ReactionListType.h
+include/td/telegram/ReactionManager.cpp
+include/td/telegram/ReactionManager.h
+include/td/telegram/ReactionManager.hpp
+include/td/telegram/ReactionNotificationSettings.cpp
+include/td/telegram/ReactionNotificationSettings.h
+include/td/telegram/ReactionNotificationSettings.hpp
+include/td/telegram/ReactionNotificationsFrom.cpp
+include/td/telegram/ReactionNotificationsFrom.h
+include/td/telegram/ReactionNotificationsFrom.hpp
+include/td/telegram/ReactionType.cpp
+include/td/telegram/ReactionType.h
+include/td/telegram/ReactionType.hpp
+include/td/telegram/ReactionUnavailabilityReason.h
+include/td/telegram/RecentDialogList.cpp
+include/td/telegram/RecentDialogList.h
+include/td/telegram/ReferralProgramInfo.cpp
+include/td/telegram/ReferralProgramInfo.h
+include/td/telegram/ReferralProgramInfo.hpp
+include/td/telegram/ReferralProgramManager.cpp
+include/td/telegram/ReferralProgramManager.h
+include/td/telegram/ReferralProgramParameters.cpp
+include/td/telegram/ReferralProgramParameters.h
+include/td/telegram/ReferralProgramParameters.hpp
+include/td/telegram/ReferralProgramSortOrder.cpp
+include/td/telegram/ReferralProgramSortOrder.h
+include/td/telegram/RepliedMessageInfo.cpp
+include/td/telegram/RepliedMessageInfo.h
+include/td/telegram/RepliedMessageInfo.hpp
+include/td/telegram/ReplyMarkup.cpp
+include/td/telegram/ReplyMarkup.h
+include/td/telegram/ReplyMarkup.hpp
+include/td/telegram/ReportReason.cpp
+include/td/telegram/ReportReason.h
+include/td/telegram/RequestActor.h
+include/td/telegram/RequestedDialogType.cpp
+include/td/telegram/RequestedDialogType.h
+include/td/telegram/RequestedDialogType.hpp
+include/td/telegram/Requests.cpp
+include/td/telegram/Requests.h
+include/td/telegram/RestrictionReason.cpp
+include/td/telegram/RestrictionReason.h
+include/td/telegram/SavedMessagesManager.cpp
+include/td/telegram/SavedMessagesManager.h
+include/td/telegram/SavedMessagesTopicId.cpp
+include/td/telegram/SavedMessagesTopicId.h
+include/td/telegram/ScheduledServerMessageId.h
+include/td/telegram/ScopeNotificationSettings.cpp
+include/td/telegram/ScopeNotificationSettings.h
+include/td/telegram/ScopeNotificationSettings.hpp
+include/td/telegram/SecretChatActor.cpp
+include/td/telegram/SecretChatActor.h
+include/td/telegram/SecretChatDb.cpp
+include/td/telegram/SecretChatDb.h
+include/td/telegram/SecretChatId.h
+include/td/telegram/SecretChatLayer.h
+include/td/telegram/SecretChatsManager.cpp
+include/td/telegram/SecretChatsManager.h
+include/td/telegram/SecretInputMedia.cpp
+include/td/telegram/SecretInputMedia.h
+include/td/telegram/SecureManager.cpp
+include/td/telegram/SecureManager.h
+include/td/telegram/SecureStorage.cpp
+include/td/telegram/SecureStorage.h
+include/td/telegram/SecureValue.cpp
+include/td/telegram/SecureValue.h
+include/td/telegram/SecureValue.hpp
+include/td/telegram/SendCodeHelper.cpp
+include/td/telegram/SendCodeHelper.h
+include/td/telegram/SendCodeHelper.hpp
+include/td/telegram/SentEmailCode.cpp
+include/td/telegram/SentEmailCode.h
+include/td/telegram/SequenceDispatcher.cpp
+include/td/telegram/SequenceDispatcher.h
+include/td/telegram/ServerMessageId.h
+include/td/telegram/SetWithPosition.h
+include/td/telegram/SharedDialog.cpp
+include/td/telegram/SharedDialog.h
+include/td/telegram/SharedDialog.hpp
+include/td/telegram/SpecialStickerSetType.cpp
+include/td/telegram/SpecialStickerSetType.h
+include/td/telegram/SponsoredMessageManager.cpp
+include/td/telegram/SponsoredMessageManager.h
+include/td/telegram/StarAmount.cpp
+include/td/telegram/StarAmount.h
+include/td/telegram/StarAmount.hpp
+include/td/telegram/StarGift.cpp
+include/td/telegram/StarGift.h
+include/td/telegram/StarGift.hpp
+include/td/telegram/StarGiftAttribute.cpp
+include/td/telegram/StarGiftAttribute.h
+include/td/telegram/StarGiftAttribute.hpp
+include/td/telegram/StarGiftId.cpp
+include/td/telegram/StarGiftId.h
+include/td/telegram/StarGiftId.hpp
+include/td/telegram/StarGiftManager.cpp
+include/td/telegram/StarGiftManager.h
+include/td/telegram/StarGiftSettings.cpp
+include/td/telegram/StarGiftSettings.h
+include/td/telegram/StarGiftSettings.hpp
+include/td/telegram/StarManager.cpp
+include/td/telegram/StarManager.h
+include/td/telegram/StarSubscription.cpp
+include/td/telegram/StarSubscription.h
+include/td/telegram/StarSubscriptionPricing.cpp
+include/td/telegram/StarSubscriptionPricing.h
+include/td/telegram/StarSubscriptionPricing.hpp
+include/td/telegram/StateManager.cpp
+include/td/telegram/StateManager.h
+include/td/telegram/StatisticsManager.cpp
+include/td/telegram/StatisticsManager.h
+include/td/telegram/StickerFormat.cpp
+include/td/telegram/StickerFormat.h
+include/td/telegram/StickerListType.cpp
+include/td/telegram/StickerListType.h
+include/td/telegram/StickerMaskPosition.cpp
+include/td/telegram/StickerMaskPosition.h
+include/td/telegram/StickerMaskPosition.hpp
+include/td/telegram/StickerPhotoSize.cpp
+include/td/telegram/StickerPhotoSize.h
+include/td/telegram/StickerPhotoSize.hpp
+include/td/telegram/StickerSetId.cpp
+include/td/telegram/StickerSetId.h
+include/td/telegram/StickerType.cpp
+include/td/telegram/StickerType.h
+include/td/telegram/StickersManager.cpp
+include/td/telegram/StickersManager.h
+include/td/telegram/StickersManager.hpp
+include/td/telegram/StorageManager.cpp
+include/td/telegram/StorageManager.h
+include/td/telegram/StoryContent.cpp
+include/td/telegram/StoryContent.h
+include/td/telegram/StoryContentType.cpp
+include/td/telegram/StoryContentType.h
+include/td/telegram/StoryDb.cpp
+include/td/telegram/StoryDb.h
+include/td/telegram/StoryForwardInfo.cpp
+include/td/telegram/StoryForwardInfo.h
+include/td/telegram/StoryForwardInfo.hpp
+include/td/telegram/StoryFullId.h
+include/td/telegram/StoryId.h
+include/td/telegram/StoryInteractionInfo.cpp
+include/td/telegram/StoryInteractionInfo.h
+include/td/telegram/StoryInteractionInfo.hpp
+include/td/telegram/StoryListId.h
+include/td/telegram/StoryManager.cpp
+include/td/telegram/StoryManager.h
+include/td/telegram/StoryNotificationSettings.h
+include/td/telegram/StoryStealthMode.cpp
+include/td/telegram/StoryStealthMode.h
+include/td/telegram/StoryStealthMode.hpp
+include/td/telegram/StoryViewer.cpp
+include/td/telegram/StoryViewer.h
+include/td/telegram/SuggestedAction.cpp
+include/td/telegram/SuggestedAction.h
+include/td/telegram/SuggestedAction.hpp
+include/td/telegram/SuggestedActionManager.cpp
+include/td/telegram/SuggestedActionManager.h
+include/td/telegram/Support.cpp
+include/td/telegram/Support.h
+include/td/telegram/SynchronousRequests.cpp
+include/td/telegram/SynchronousRequests.h
+include/td/telegram/TargetDialogTypes.cpp
+include/td/telegram/TargetDialogTypes.h
+include/td/telegram/Td.cpp
+include/td/telegram/Td.h
+include/td/telegram/TdCallback.h
+include/td/telegram/TdDb.cpp
+include/td/telegram/TdDb.h
+include/td/telegram/TermsOfService.cpp
+include/td/telegram/TermsOfService.h
+include/td/telegram/TermsOfService.hpp
+include/td/telegram/TermsOfServiceManager.cpp
+include/td/telegram/TermsOfServiceManager.h
+include/td/telegram/ThemeManager.cpp
+include/td/telegram/ThemeManager.h
+include/td/telegram/ThemeSettings.cpp
+include/td/telegram/ThemeSettings.h
+include/td/telegram/ThemeSettings.hpp
+include/td/telegram/TimeZoneManager.cpp
+include/td/telegram/TimeZoneManager.h
+include/td/telegram/TopDialogCategory.cpp
+include/td/telegram/TopDialogCategory.h
+include/td/telegram/TopDialogManager.cpp
+include/td/telegram/TopDialogManager.h
+include/td/telegram/TranscriptionInfo.cpp
+include/td/telegram/TranscriptionInfo.h
+include/td/telegram/TranscriptionInfo.hpp
+include/td/telegram/TranscriptionManager.cpp
+include/td/telegram/TranscriptionManager.h
+include/td/telegram/TranslationManager.cpp
+include/td/telegram/TranslationManager.h
+include/td/telegram/UniqueId.h
+include/td/telegram/UpdatesManager.cpp
+include/td/telegram/UpdatesManager.h
+include/td/telegram/UserId.h
+include/td/telegram/UserManager.cpp
+include/td/telegram/UserManager.h
+include/td/telegram/UserPrivacySetting.cpp
+include/td/telegram/UserPrivacySetting.h
+include/td/telegram/UserPrivacySettingRule.cpp
+include/td/telegram/UserPrivacySettingRule.h
+include/td/telegram/UserStarGift.cpp
+include/td/telegram/UserStarGift.h
+include/td/telegram/Usernames.cpp
+include/td/telegram/Usernames.h
+include/td/telegram/Venue.cpp
+include/td/telegram/Venue.h
+include/td/telegram/VerificationStatus.cpp
+include/td/telegram/VerificationStatus.h
+include/td/telegram/Version.h
+include/td/telegram/VideoNotesManager.cpp
+include/td/telegram/VideoNotesManager.h
+include/td/telegram/VideoNotesManager.hpp
+include/td/telegram/VideosManager.cpp
+include/td/telegram/VideosManager.h
+include/td/telegram/VideosManager.hpp
+include/td/telegram/VoiceNotesManager.cpp
+include/td/telegram/VoiceNotesManager.h
+include/td/telegram/VoiceNotesManager.hpp
+include/td/telegram/WebApp.cpp
+include/td/telegram/WebApp.h
+include/td/telegram/WebApp.hpp
+include/td/telegram/WebAppManager.cpp
+include/td/telegram/WebAppManager.h
+include/td/telegram/WebAppOpenParameters.cpp
+include/td/telegram/WebAppOpenParameters.h
+include/td/telegram/WebPageBlock.cpp
+include/td/telegram/WebPageBlock.h
+include/td/telegram/WebPageId.h
+include/td/telegram/WebPagesManager.cpp
+include/td/telegram/WebPagesManager.h
+include/td/telegram/cli.cpp
+include/td/telegram/files/FileBitmask.cpp
+include/td/telegram/files/FileBitmask.h
+include/td/telegram/files/FileData.h
+include/td/telegram/files/FileData.hpp
+include/td/telegram/files/FileDb.cpp
+include/td/telegram/files/FileDb.h
+include/td/telegram/files/FileDbId.h
+include/td/telegram/files/FileDownloadManager.cpp
+include/td/telegram/files/FileDownloadManager.h
+include/td/telegram/files/FileDownloader.cpp
+include/td/telegram/files/FileDownloader.h
+include/td/telegram/files/FileEncryptionKey.cpp
+include/td/telegram/files/FileEncryptionKey.h
+include/td/telegram/files/FileFromBytes.cpp
+include/td/telegram/files/FileFromBytes.h
+include/td/telegram/files/FileGcParameters.cpp
+include/td/telegram/files/FileGcParameters.h
+include/td/telegram/files/FileGcWorker.cpp
+include/td/telegram/files/FileGcWorker.h
+include/td/telegram/files/FileGenerateManager.cpp
+include/td/telegram/files/FileGenerateManager.h
+include/td/telegram/files/FileHashUploader.cpp
+include/td/telegram/files/FileHashUploader.h
+include/td/telegram/files/FileId.h
+include/td/telegram/files/FileId.hpp
+include/td/telegram/files/FileLoadManager.cpp
+include/td/telegram/files/FileLoadManager.h
+include/td/telegram/files/FileLoaderActor.h
+include/td/telegram/files/FileLoaderUtils.cpp
+include/td/telegram/files/FileLoaderUtils.h
+include/td/telegram/files/FileLocation.h
+include/td/telegram/files/FileLocation.hpp
+include/td/telegram/files/FileManager.cpp
+include/td/telegram/files/FileManager.h
+include/td/telegram/files/FileManager.hpp
+include/td/telegram/files/FileSourceId.h
+include/td/telegram/files/FileSourceId.hpp
+include/td/telegram/files/FileStats.cpp
+include/td/telegram/files/FileStats.h
+include/td/telegram/files/FileStatsWorker.cpp
+include/td/telegram/files/FileStatsWorker.h
+include/td/telegram/files/FileType.cpp
+include/td/telegram/files/FileType.h
+include/td/telegram/files/FileUploadId.h
+include/td/telegram/files/FileUploadManager.cpp
+include/td/telegram/files/FileUploadManager.h
+include/td/telegram/files/FileUploader.cpp
+include/td/telegram/files/FileUploader.h
+include/td/telegram/files/PartsManager.cpp
+include/td/telegram/files/PartsManager.h
+include/td/telegram/files/ResourceManager.cpp
+include/td/telegram/files/ResourceManager.h
+include/td/telegram/files/ResourceState.cpp
+include/td/telegram/files/ResourceState.h
+include/td/telegram/logevent/LogEvent.h
+include/td/telegram/logevent/LogEventHelper.cpp
+include/td/telegram/logevent/LogEventHelper.h
+include/td/telegram/logevent/SecretChatEvent.h
+include/td/telegram/misc.cpp
+include/td/telegram/misc.h
+include/td/telegram/net/AuthDataShared.cpp
+include/td/telegram/net/AuthDataShared.h
+include/td/telegram/net/AuthKeyState.h
+include/td/telegram/net/ConnectionCreator.cpp
+include/td/telegram/net/ConnectionCreator.h
+include/td/telegram/net/DcAuthManager.cpp
+include/td/telegram/net/DcAuthManager.h
+include/td/telegram/net/DcId.h
+include/td/telegram/net/DcOptions.h
+include/td/telegram/net/DcOptionsSet.cpp
+include/td/telegram/net/DcOptionsSet.h
+include/td/telegram/net/MtprotoHeader.cpp
+include/td/telegram/net/MtprotoHeader.h
+include/td/telegram/net/NetActor.cpp
+include/td/telegram/net/NetActor.h
+include/td/telegram/net/NetQuery.cpp
+include/td/telegram/net/NetQuery.h
+include/td/telegram/net/NetQueryCounter.h
+include/td/telegram/net/NetQueryCreator.cpp
+include/td/telegram/net/NetQueryCreator.h
+include/td/telegram/net/NetQueryDelayer.cpp
+include/td/telegram/net/NetQueryDelayer.h
+include/td/telegram/net/NetQueryDispatcher.cpp
+include/td/telegram/net/NetQueryDispatcher.h
+include/td/telegram/net/NetQueryStats.cpp
+include/td/telegram/net/NetQueryStats.h
+include/td/telegram/net/NetQueryVerifier.cpp
+include/td/telegram/net/NetQueryVerifier.h
+include/td/telegram/net/NetStatsManager.cpp
+include/td/telegram/net/NetStatsManager.h
+include/td/telegram/net/NetType.h
+include/td/telegram/net/Proxy.cpp
+include/td/telegram/net/Proxy.h
+include/td/telegram/net/PublicRsaKeySharedCdn.cpp
+include/td/telegram/net/PublicRsaKeySharedCdn.h
+include/td/telegram/net/PublicRsaKeySharedMain.cpp
+include/td/telegram/net/PublicRsaKeySharedMain.h
+include/td/telegram/net/PublicRsaKeyWatchdog.cpp
+include/td/telegram/net/PublicRsaKeyWatchdog.h
+include/td/telegram/net/Session.cpp
+include/td/telegram/net/Session.h
+include/td/telegram/net/SessionMultiProxy.cpp
+include/td/telegram/net/SessionMultiProxy.h
+include/td/telegram/net/SessionProxy.cpp
+include/td/telegram/net/SessionProxy.h
+include/td/telegram/net/TempAuthKeyWatchdog.h
include/td/telegram/td_api.h
include/td/telegram/td_api.hpp
+include/td/telegram/td_c_client.cpp
+include/td/telegram/td_c_client.h
+include/td/telegram/td_emscripten.cpp
+include/td/telegram/td_json_client.cpp
include/td/telegram/td_json_client.h
+include/td/telegram/td_log.cpp
include/td/telegram/td_log.h
include/td/telegram/tdjson_export.h
include/td/tl/TlObject.h
include/td/utils/AesCtrByteFlow.h
+include/td/utils/AsyncFileLog.cpp
include/td/utils/AsyncFileLog.h
include/td/utils/AtomicRead.h
+include/td/utils/BigNum.cpp
include/td/utils/BigNum.h
include/td/utils/BufferedFd.h
include/td/utils/BufferedReader.h
+include/td/utils/BufferedUdp.cpp
include/td/utils/BufferedUdp.h
include/td/utils/ByteFlow.h
include/td/utils/CancellationToken.h
@@ -42,19 +870,26 @@ include/td/utils/Container.h
include/td/utils/Context.h
include/td/utils/DecTree.h
include/td/utils/Destructor.h
+include/td/utils/Ed25519.cpp
include/td/utils/Ed25519.h
include/td/utils/Enumerator.h
include/td/utils/EpochBasedMemoryReclamation.h
+include/td/utils/ExitGuard.cpp
include/td/utils/ExitGuard.h
+include/td/utils/FileLog.cpp
include/td/utils/FileLog.h
include/td/utils/FlatHashMap.h
include/td/utils/FlatHashMapChunks.h
include/td/utils/FlatHashSet.h
+include/td/utils/FlatHashTable.cpp
include/td/utils/FlatHashTable.h
include/td/utils/FloodControlFast.h
+include/td/utils/FloodControlGlobal.cpp
include/td/utils/FloodControlGlobal.h
include/td/utils/FloodControlStrict.h
+include/td/utils/Gzip.cpp
include/td/utils/Gzip.h
+include/td/utils/GzipByteFlow.cpp
include/td/utils/GzipByteFlow.h
include/td/utils/Hash.h
include/td/utils/HashMap.h
@@ -62,15 +897,21 @@ include/td/utils/HashSet.h
include/td/utils/HashTableUtils.h
include/td/utils/HazardPointers.h
include/td/utils/Heap.h
+include/td/utils/Hints.cpp
include/td/utils/Hints.h
+include/td/utils/HttpDate.cpp
include/td/utils/HttpDate.h
+include/td/utils/HttpUrl.cpp
include/td/utils/HttpUrl.h
+include/td/utils/JsonBuilder.cpp
include/td/utils/JsonBuilder.h
include/td/utils/List.h
include/td/utils/MapNode.h
include/td/utils/MemoryLog.h
+include/td/utils/MimeType.cpp
include/td/utils/MimeType.h
include/td/utils/MovableValue.h
+include/td/utils/MpmcQueue.cpp
include/td/utils/MpmcQueue.h
include/td/utils/MpmcWaiter.h
include/td/utils/MpscLinkQueue.h
@@ -79,37 +920,50 @@ include/td/utils/Named.h
include/td/utils/NullLog.h
include/td/utils/ObjectPool.h
include/td/utils/Observer.h
+include/td/utils/OptionParser.cpp
include/td/utils/OptionParser.h
include/td/utils/OrderedEventsProcessor.h
include/td/utils/Parser.h
+include/td/utils/PathView.cpp
include/td/utils/PathView.h
include/td/utils/Promise.h
+include/td/utils/Random.cpp
include/td/utils/Random.h
include/td/utils/ScopeGuard.h
include/td/utils/SetNode.h
include/td/utils/SharedObjectPool.h
+include/td/utils/SharedSlice.cpp
include/td/utils/SharedSlice.h
include/td/utils/Slice-decl.h
+include/td/utils/Slice.cpp
include/td/utils/Slice.h
include/td/utils/SliceBuilder.h
include/td/utils/Span.h
include/td/utils/SpinLock.h
+include/td/utils/StackAllocator.cpp
include/td/utils/StackAllocator.h
+include/td/utils/Status.cpp
include/td/utils/Status.h
include/td/utils/StealingQueue.h
include/td/utils/Storer.h
include/td/utils/StorerBase.h
+include/td/utils/StringBuilder.cpp
include/td/utils/StringBuilder.h
include/td/utils/ThreadLocalStorage.h
include/td/utils/ThreadSafeCounter.h
+include/td/utils/Time.cpp
include/td/utils/Time.h
include/td/utils/TimedStat.h
+include/td/utils/Timer.cpp
include/td/utils/Timer.h
include/td/utils/TlDowncastHelper.h
include/td/utils/TlStorerToString.h
+include/td/utils/TsCerr.cpp
include/td/utils/TsCerr.h
+include/td/utils/TsFileLog.cpp
include/td/utils/TsFileLog.h
include/td/utils/TsList.h
+include/td/utils/TsLog.cpp
include/td/utils/TsLog.h
include/td/utils/UInt.h
include/td/utils/Variant.h
@@ -119,103 +973,150 @@ include/td/utils/WaitFreeHashSet.h
include/td/utils/WaitFreeVector.h
include/td/utils/algorithm.h
include/td/utils/as.h
+include/td/utils/base64.cpp
include/td/utils/base64.h
include/td/utils/benchmark.h
include/td/utils/bits.h
+include/td/utils/buffer.cpp
include/td/utils/buffer.h
+include/td/utils/check.cpp
include/td/utils/check.h
include/td/utils/common.h
+include/td/utils/config.h.in
+include/td/utils/crypto.cpp
include/td/utils/crypto.h
+include/td/utils/emoji.cpp
include/td/utils/emoji.h
+include/td/utils/filesystem.cpp
include/td/utils/filesystem.h
+include/td/utils/find_boundary.cpp
include/td/utils/find_boundary.h
include/td/utils/fixed_vector.h
include/td/utils/format.h
include/td/utils/int_types.h
include/td/utils/invoke.h
+include/td/utils/logging.cpp
include/td/utils/logging.h
+include/td/utils/misc.cpp
include/td/utils/misc.h
include/td/utils/optional.h
include/td/utils/overloaded.h
+include/td/utils/port/Clocks.cpp
include/td/utils/port/Clocks.h
include/td/utils/port/CxCli.h
include/td/utils/port/EventFd.h
include/td/utils/port/EventFdBase.h
+include/td/utils/port/FileFd.cpp
include/td/utils/port/FileFd.h
include/td/utils/port/FromApp.h
+include/td/utils/port/IPAddress.cpp
include/td/utils/port/IPAddress.h
include/td/utils/port/IoSlice.h
+include/td/utils/port/MemoryMapping.cpp
include/td/utils/port/MemoryMapping.h
include/td/utils/port/Mutex.h
include/td/utils/port/Poll.h
include/td/utils/port/PollBase.h
+include/td/utils/port/PollFlags.cpp
include/td/utils/port/PollFlags.h
include/td/utils/port/RwMutex.h
+include/td/utils/port/ServerSocketFd.cpp
include/td/utils/port/ServerSocketFd.h
+include/td/utils/port/SocketFd.cpp
include/td/utils/port/SocketFd.h
+include/td/utils/port/Stat.cpp
include/td/utils/port/Stat.h
+include/td/utils/port/StdStreams.cpp
include/td/utils/port/StdStreams.h
+include/td/utils/port/UdpSocketFd.cpp
include/td/utils/port/UdpSocketFd.h
include/td/utils/port/config.h
+include/td/utils/port/detail/Epoll.cpp
include/td/utils/port/detail/Epoll.h
+include/td/utils/port/detail/EventFdBsd.cpp
include/td/utils/port/detail/EventFdBsd.h
+include/td/utils/port/detail/EventFdLinux.cpp
include/td/utils/port/detail/EventFdLinux.h
+include/td/utils/port/detail/EventFdWindows.cpp
include/td/utils/port/detail/EventFdWindows.h
+include/td/utils/port/detail/Iocp.cpp
include/td/utils/port/detail/Iocp.h
+include/td/utils/port/detail/KQueue.cpp
include/td/utils/port/detail/KQueue.h
+include/td/utils/port/detail/NativeFd.cpp
include/td/utils/port/detail/NativeFd.h
+include/td/utils/port/detail/Poll.cpp
include/td/utils/port/detail/Poll.h
include/td/utils/port/detail/PollableFd.h
+include/td/utils/port/detail/Select.cpp
include/td/utils/port/detail/Select.h
+include/td/utils/port/detail/ThreadIdGuard.cpp
include/td/utils/port/detail/ThreadIdGuard.h
+include/td/utils/port/detail/ThreadPthread.cpp
include/td/utils/port/detail/ThreadPthread.h
include/td/utils/port/detail/ThreadStl.h
+include/td/utils/port/detail/WineventPoll.cpp
include/td/utils/port/detail/WineventPoll.h
include/td/utils/port/detail/skip_eintr.h
+include/td/utils/port/path.cpp
include/td/utils/port/path.h
+include/td/utils/port/platform.cpp
include/td/utils/port/platform.h
+include/td/utils/port/rlimit.cpp
include/td/utils/port/rlimit.h
+include/td/utils/port/signals.cpp
include/td/utils/port/signals.h
+include/td/utils/port/sleep.cpp
include/td/utils/port/sleep.h
+include/td/utils/port/stacktrace.cpp
include/td/utils/port/stacktrace.h
include/td/utils/port/thread.h
+include/td/utils/port/thread_local.cpp
include/td/utils/port/thread_local.h
+include/td/utils/port/uname.cpp
include/td/utils/port/uname.h
+include/td/utils/port/user.cpp
include/td/utils/port/user.h
+include/td/utils/port/wstring_convert.cpp
include/td/utils/port/wstring_convert.h
include/td/utils/queue.h
include/td/utils/simple_tests.h
+include/td/utils/tests.cpp
include/td/utils/tests.h
include/td/utils/tl_helpers.h
+include/td/utils/tl_parsers.cpp
include/td/utils/tl_parsers.h
include/td/utils/tl_storers.h
+include/td/utils/translit.cpp
include/td/utils/translit.h
include/td/utils/type_traits.h
include/td/utils/uint128.h
+include/td/utils/unicode.cpp
include/td/utils/unicode.h
include/td/utils/unique_ptr.h
include/td/utils/unique_value_ptr.h
+include/td/utils/utf8.cpp
include/td/utils/utf8.h
lib/cmake/Td/TdConfig.cmake
lib/cmake/Td/TdConfigVersion.cmake
-lib/cmake/Td/TdTargets-%%CMAKE_BUILD_TYPE%%.cmake
-lib/cmake/Td/TdTargets.cmake
lib/cmake/Td/TdStaticTargets-%%CMAKE_BUILD_TYPE%%.cmake
lib/cmake/Td/TdStaticTargets.cmake
-lib/libtdactor.a
-lib/libtdapi.a
-lib/libtdclient.a
-lib/libtdcore.a
-lib/libtddb.a
-lib/libtde2e.a
+lib/cmake/Td/TdTargets-%%CMAKE_BUILD_TYPE%%.cmake
+lib/cmake/Td/TdTargets.cmake
+lib/libtdactor.so
+lib/libtdapi.so
+lib/libtdclient.so
+lib/libtdcore.so
+lib/libtddb.so
+lib/libtde2e.so
lib/libtdjson.so
lib/libtdjson.so.%%LIBVERSION%%
-lib/libtdjson_private.a
-lib/libtdjson_static.a
-lib/libtdmtproto.a
-lib/libtdnet.a
-lib/libtdsqlite.a
-lib/libtdutils.a
+lib/libtdjson_private.so
+lib/libtdjson_static.so
+lib/libtdmtproto.so
+lib/libtdnet.so
+lib/libtdsqlite.so
+lib/libtdutils.so
libdata/pkgconfig/tdactor.pc
libdata/pkgconfig/tdapi.pc
libdata/pkgconfig/tdclient.pc
diff --git a/net-im/telegram-desktop/Makefile b/net-im/telegram-desktop/Makefile
index abef119fab27..c9787ff7d773 100644
--- a/net-im/telegram-desktop/Makefile
+++ b/net-im/telegram-desktop/Makefile
@@ -1,5 +1,6 @@
PORTNAME= telegram-desktop
DISTVERSION= 5.14.1
+PORTREVISION= 1
CATEGORIES= net-im
MASTER_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/releases/download/v${DISTVERSION}/
DISTNAME= tdesktop-${DISTVERSION}-full
@@ -27,7 +28,6 @@ BUILD_DEPENDS= boost-libs>0:devel/boost-libs \
tl-expected>0:devel/tl-expected \
v4l_compat>0:multimedia/v4l_compat \
yasm:devel/yasm \
- ${LOCALBASE}/lib/libtde2e.a:net-im/tdlib \
${LOCALBASE}/lib/libtg_owt.a:net-im/tg_owt
LIB_DEPENDS= libabsl_base.so:devel/abseil \
libada.so:devel/libada \
@@ -47,6 +47,7 @@ LIB_DEPENDS= libabsl_base.so:devel/abseil \
libqrcodegencpp.so:graphics/qr-code-generator \
librnnoise.so:audio/rnnoise \
libsrtp2.so:net/libsrtp2 \
+ libtde2e.so:net-im/tdlib \
libxxhash.so:devel/xxhash \
libvpx.so:multimedia/libvpx