git: d8c9e83bd27d - main - net-im/t*: update Telegram Desktop to 5.1.7
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 16 Jun 2024 19:22:03 UTC
The branch main has been updated by osa:
URL: https://cgit.FreeBSD.org/ports/commit/?id=d8c9e83bd27d4e96993d24e7d92e6c9ac17b40d3
commit d8c9e83bd27d4e96993d24e7d92e6c9ac17b40d3
Author: Sergey A. Osokin <osa@FreeBSD.org>
AuthorDate: 2024-06-16 19:03:47 +0000
Commit: Sergey A. Osokin <osa@FreeBSD.org>
CommitDate: 2024-06-16 19:21:54 +0000
net-im/t*: update Telegram Desktop to 5.1.7
Remove needless files from the net-im/tg_owt, bump its PORTREVISION.
---
net-im/telegram-desktop/Makefile | 3 +-
net-im/telegram-desktop/distinfo | 6 ++--
net-im/tg_owt/Makefile | 21 ++++++++++--
net-im/tg_owt/pkg-plist | 72 ----------------------------------------
4 files changed, 23 insertions(+), 79 deletions(-)
diff --git a/net-im/telegram-desktop/Makefile b/net-im/telegram-desktop/Makefile
index 9a9c8045c870..02cc11f706cc 100644
--- a/net-im/telegram-desktop/Makefile
+++ b/net-im/telegram-desktop/Makefile
@@ -1,6 +1,5 @@
PORTNAME= telegram-desktop
-DISTVERSION= 5.1.5
-PORTREVISION= 4
+DISTVERSION= 5.1.7
CATEGORIES= net-im
MASTER_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/releases/download/v${DISTVERSION}/
DISTNAME= tdesktop-${DISTVERSION}-full
diff --git a/net-im/telegram-desktop/distinfo b/net-im/telegram-desktop/distinfo
index fc101086e395..7637a5ea03e2 100644
--- a/net-im/telegram-desktop/distinfo
+++ b/net-im/telegram-desktop/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1717767039
-SHA256 (tdesktop-5.1.5-full.tar.gz) = 3e542c6c90a153a0d225b1a4bc533ccb8a684f5fa3dc74512d86fb8b12af9cf2
-SIZE (tdesktop-5.1.5-full.tar.gz) = 69533393
+TIMESTAMP = 1718557953
+SHA256 (tdesktop-5.1.7-full.tar.gz) = 0156eb77804c023b7fe9aa02e62258b2abf57a2f876b86684cb615e9a8046cba
+SIZE (tdesktop-5.1.7-full.tar.gz) = 69543486
diff --git a/net-im/tg_owt/Makefile b/net-im/tg_owt/Makefile
index 3e0eb8c5c694..2d1bdcd0b281 100644
--- a/net-im/tg_owt/Makefile
+++ b/net-im/tg_owt/Makefile
@@ -1,6 +1,6 @@
PORTNAME= tg_owt
PORTVERSION= 0.0.20231221
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= net-im
PATCH_SITES= https://github.com/desktop-app/tg_owt/commit/
@@ -34,12 +34,14 @@ USE_GITHUB= yes
GH_ACCOUNT= desktop-app
GH_TAGNAME= afd9d5d
+CMAME_ON= TG_OWT_PACKAGED_BUILD
+
# libyuv cloned from https://chromium.googlesource.com/libyuv/libyuv
# when updating port check if hash tag in the submodule was updated
GH_TUPLE= osokin:libyuv:04821d1:libyuv/src/third_party/libyuv
post-extract:
- ${RM} -rf \
+ ${RM} -rf \
${WRKSRC}/src/sdk/android \
${WRKSRC}/src/sdk/objc \
${WRKSRC}/src/third_party/abseil-cpp \
@@ -50,4 +52,19 @@ post-extract:
${WRKSRC}/src/third_party/openh264 \
${WRKSRC}/src/third_party/yasm
+# remove more sources not needed to build telegram-desktop, they are however
+# required at tg_owt configure-time even though they are not built, see
+# nice_target_sources()/remove_target_sources() calls in CMakeLists.txt
+post-configure:
+ ${RM} -rf \
+ ${WRKSRC}/src/modules/audio_device/android \
+ ${WRKSRC}/src/modules/audio_device/mac \
+ ${WRKSRC}/src/modules/audio_device/win \
+ ${WRKSRC}/src/modules/desktop_capture/mac \
+ ${WRKSRC}/src/modules/desktop_capture/wayland \
+ ${WRKSRC}/src/modules/desktop_capture/win \
+ ${WRKSRC}/src/modules/video_capture/windows \
+ ${WRKSRC}/src/rtc_base/win \
+ ${WRKSRC}/src/rtc_base/win32*.h
+
.include <bsd.port.mk>
diff --git a/net-im/tg_owt/pkg-plist b/net-im/tg_owt/pkg-plist
index f82b988ae124..f36dffe5f043 100644
--- a/net-im/tg_owt/pkg-plist
+++ b/net-im/tg_owt/pkg-plist
@@ -796,19 +796,6 @@ include/tg_owt/modules/audio_coding/test/TestVADDTX.h
include/tg_owt/modules/audio_coding/test/TwoWayCommunication.h
include/tg_owt/modules/audio_coding/test/iSACTest.h
include/tg_owt/modules/audio_coding/test/opus_test.h
-include/tg_owt/modules/audio_device/android/aaudio_player.h
-include/tg_owt/modules/audio_device/android/aaudio_recorder.h
-include/tg_owt/modules/audio_device/android/aaudio_wrapper.h
-include/tg_owt/modules/audio_device/android/audio_common.h
-include/tg_owt/modules/audio_device/android/audio_device_template.h
-include/tg_owt/modules/audio_device/android/audio_manager.h
-include/tg_owt/modules/audio_device/android/audio_record_jni.h
-include/tg_owt/modules/audio_device/android/audio_track_jni.h
-include/tg_owt/modules/audio_device/android/build_info.h
-include/tg_owt/modules/audio_device/android/ensure_initialized.h
-include/tg_owt/modules/audio_device/android/opensles_common.h
-include/tg_owt/modules/audio_device/android/opensles_player.h
-include/tg_owt/modules/audio_device/android/opensles_recorder.h
include/tg_owt/modules/audio_device/audio_device_buffer.h
include/tg_owt/modules/audio_device/audio_device_config.h
include/tg_owt/modules/audio_device/audio_device_generic.h
@@ -834,15 +821,7 @@ include/tg_owt/modules/audio_device/linux/audio_mixer_manager_alsa_linux.h
include/tg_owt/modules/audio_device/linux/audio_mixer_manager_pulse_linux.h
include/tg_owt/modules/audio_device/linux/latebindingsymboltable_linux.h
include/tg_owt/modules/audio_device/linux/pulseaudiosymboltable_linux.h
-include/tg_owt/modules/audio_device/mac/audio_device_mac.h
-include/tg_owt/modules/audio_device/mac/audio_mixer_manager_mac.h
include/tg_owt/modules/audio_device/mock_audio_device_buffer.h
-include/tg_owt/modules/audio_device/win/audio_device_core_win.h
-include/tg_owt/modules/audio_device/win/audio_device_module_win.h
-include/tg_owt/modules/audio_device/win/core_audio_base_win.h
-include/tg_owt/modules/audio_device/win/core_audio_input_win.h
-include/tg_owt/modules/audio_device/win/core_audio_output_win.h
-include/tg_owt/modules/audio_device/win/core_audio_utility_win.h
include/tg_owt/modules/audio_mixer/audio_frame_manipulator.h
include/tg_owt/modules/audio_mixer/audio_mixer_impl.h
include/tg_owt/modules/audio_mixer/default_output_rate_calculator.h
@@ -1142,14 +1121,6 @@ include/tg_owt/modules/desktop_capture/linux/x11/x_atom_cache.h
include/tg_owt/modules/desktop_capture/linux/x11/x_error_trap.h
include/tg_owt/modules/desktop_capture/linux/x11/x_server_pixel_buffer.h
include/tg_owt/modules/desktop_capture/linux/x11/x_window_property.h
-include/tg_owt/modules/desktop_capture/mac/desktop_configuration.h
-include/tg_owt/modules/desktop_capture/mac/desktop_configuration_monitor.h
-include/tg_owt/modules/desktop_capture/mac/desktop_frame_cgimage.h
-include/tg_owt/modules/desktop_capture/mac/desktop_frame_iosurface.h
-include/tg_owt/modules/desktop_capture/mac/desktop_frame_provider.h
-include/tg_owt/modules/desktop_capture/mac/full_screen_mac_application_handler.h
-include/tg_owt/modules/desktop_capture/mac/screen_capturer_mac.h
-include/tg_owt/modules/desktop_capture/mac/window_list_utils.h
include/tg_owt/modules/desktop_capture/mock_desktop_capturer_callback.h
include/tg_owt/modules/desktop_capture/mouse_cursor.h
include/tg_owt/modules/desktop_capture/mouse_cursor_monitor.h
@@ -1163,35 +1134,6 @@ include/tg_owt/modules/desktop_capture/screen_drawer_lock_posix.h
include/tg_owt/modules/desktop_capture/shared_desktop_frame.h
include/tg_owt/modules/desktop_capture/shared_memory.h
include/tg_owt/modules/desktop_capture/test_utils.h
-include/tg_owt/modules/desktop_capture/win/cursor.h
-include/tg_owt/modules/desktop_capture/win/cursor_unittest_resources.h
-include/tg_owt/modules/desktop_capture/win/d3d_device.h
-include/tg_owt/modules/desktop_capture/win/desktop.h
-include/tg_owt/modules/desktop_capture/win/desktop_capture_utils.h
-include/tg_owt/modules/desktop_capture/win/display_configuration_monitor.h
-include/tg_owt/modules/desktop_capture/win/dxgi_adapter_duplicator.h
-include/tg_owt/modules/desktop_capture/win/dxgi_context.h
-include/tg_owt/modules/desktop_capture/win/dxgi_duplicator_controller.h
-include/tg_owt/modules/desktop_capture/win/dxgi_frame.h
-include/tg_owt/modules/desktop_capture/win/dxgi_output_duplicator.h
-include/tg_owt/modules/desktop_capture/win/dxgi_texture.h
-include/tg_owt/modules/desktop_capture/win/dxgi_texture_mapping.h
-include/tg_owt/modules/desktop_capture/win/dxgi_texture_staging.h
-include/tg_owt/modules/desktop_capture/win/full_screen_win_application_handler.h
-include/tg_owt/modules/desktop_capture/win/scoped_gdi_object.h
-include/tg_owt/modules/desktop_capture/win/scoped_thread_desktop.h
-include/tg_owt/modules/desktop_capture/win/screen_capture_utils.h
-include/tg_owt/modules/desktop_capture/win/screen_capturer_win_directx.h
-include/tg_owt/modules/desktop_capture/win/screen_capturer_win_gdi.h
-include/tg_owt/modules/desktop_capture/win/screen_capturer_win_magnifier.h
-include/tg_owt/modules/desktop_capture/win/selected_window_context.h
-include/tg_owt/modules/desktop_capture/win/test_support/test_window.h
-include/tg_owt/modules/desktop_capture/win/wgc_capture_session.h
-include/tg_owt/modules/desktop_capture/win/wgc_capture_source.h
-include/tg_owt/modules/desktop_capture/win/wgc_capturer_win.h
-include/tg_owt/modules/desktop_capture/win/wgc_desktop_frame.h
-include/tg_owt/modules/desktop_capture/win/window_capture_utils.h
-include/tg_owt/modules/desktop_capture/win/window_capturer_win_gdi.h
include/tg_owt/modules/desktop_capture/window_finder.h
include/tg_owt/modules/desktop_capture/window_finder_mac.h
include/tg_owt/modules/desktop_capture/window_finder_win.h
@@ -1349,10 +1291,6 @@ include/tg_owt/modules/video_capture/video_capture_config.h
include/tg_owt/modules/video_capture/video_capture_defines.h
include/tg_owt/modules/video_capture/video_capture_factory.h
include/tg_owt/modules/video_capture/video_capture_impl.h
-include/tg_owt/modules/video_capture/windows/device_info_ds.h
-include/tg_owt/modules/video_capture/windows/help_functions_ds.h
-include/tg_owt/modules/video_capture/windows/sink_filter_ds.h
-include/tg_owt/modules/video_capture/windows/video_capture_ds.h
include/tg_owt/modules/video_coding/chain_diff_calculator.h
include/tg_owt/modules/video_coding/codecs/av1/av1_svc_config.h
include/tg_owt/modules/video_coding/codecs/av1/dav1d_decoder.h
@@ -1927,14 +1865,6 @@ include/tg_owt/rtc_base/units/unit_base.h
include/tg_owt/rtc_base/untyped_function.h
include/tg_owt/rtc_base/virtual_socket_server.h
include/tg_owt/rtc_base/weak_ptr.h
-include/tg_owt/rtc_base/win/create_direct3d_device.h
-include/tg_owt/rtc_base/win/get_activation_factory.h
-include/tg_owt/rtc_base/win/hstring.h
-include/tg_owt/rtc_base/win/scoped_com_initializer.h
-include/tg_owt/rtc_base/win/windows_version.h
-include/tg_owt/rtc_base/win32.h
-include/tg_owt/rtc_base/win32_socket_init.h
-include/tg_owt/rtc_base/win32_window.h
include/tg_owt/rtc_base/zero_memory.h
include/tg_owt/sdk/media_constraints.h
include/tg_owt/stats/test/rtc_test_stats.h
@@ -2056,7 +1986,6 @@ lib/libtg_owt.a
@dir include/tg_owt/modules/audio_coding/g3doc
@dir include/tg_owt/modules/audio_coding/neteq/g3doc
@dir include/tg_owt/modules/audio_coding/neteq/test/delay_tool
-@dir include/tg_owt/modules/audio_device/android/java/src/org/webrtc/voiceengine
@dir include/tg_owt/modules/audio_device/g3doc
@dir include/tg_owt/modules/audio_mixer/g3doc
@dir include/tg_owt/modules/audio_processing/g3doc
@@ -2066,7 +1995,6 @@ lib/libtg_owt.a
@dir include/tg_owt/modules/audio_processing/test/py_quality_assessment/output
@dir include/tg_owt/modules/audio_processing/test/py_quality_assessment/quality_assessment/apm_configs
@dir include/tg_owt/modules/audio_processing/transient/test
-@dir include/tg_owt/modules/desktop_capture/win/cursor_test_data
@dir include/tg_owt/modules/pacing/g3doc
@dir include/tg_owt/modules/utility/source
@dir include/tg_owt/modules/video_capture/test