Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 May 2020 14:15:57 +0000 (UTC)
From:      =?UTF-8?Q?Fernando_Apestegu=c3=ada?= <fernape@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r536469 - in head/net-im/telegram-desktop: . files
Message-ID:  <202005251415.04PEFvBg096796@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: fernape
Date: Mon May 25 14:15:57 2020
New Revision: 536469
URL: https://svnweb.freebsd.org/changeset/ports/536469

Log:
  net-im/telegram-desktop: update to 2.1.7
  
  Accumulated Changelog:
  
  - Fix the Fcitx input method plugin.
  - Bug fixes and other minor improvements.
  - Disable the taskbar icon flash or the dock icon bounce in Settings >
    Notifications.
  - View messages containing long monospace texts in wide bubbles.
  - Bug fixes and other minor improvements.
  - Improve bold font selection.
  - Added support for new emoji.
  - Channels to which you can't post will no longer be suggested when
    forwarding.
  - Improved font selection and bold font support for CJK and Farsi.
  - Fix polls and quizes results viewing.
  - Fix memory leak in web page previews with autoplayed videos.
  - Fix running on OS X 10.10.
  - Other minor bug fixes and improvements.
  - Improve quiz explanation tooltip layout.
  - Fix possible crash in theme editor.
  - Other minor bug fixes and improvements.
  
  PR:	246709
  Submitted by:	henry.hu.sh@gmail.com (maintainer)

Deleted:
  head/net-im/telegram-desktop/files/patch-Telegram_ThirdParty_rlottie_src_lottie_rapidjson_document.h
  head/net-im/telegram-desktop/files/patch-Telegram_lib__base_base_thread__safe__wrap.h
Modified:
  head/net-im/telegram-desktop/Makefile
  head/net-im/telegram-desktop/distinfo
  head/net-im/telegram-desktop/files/patch-Telegram_SourceFiles_core_launcher.cpp
  head/net-im/telegram-desktop/files/patch-Telegram_SourceFiles_history_admin__log_history__admin__log__inner.cpp
  head/net-im/telegram-desktop/files/patch-Telegram_SourceFiles_history_history__inner__widget.cpp
  head/net-im/telegram-desktop/files/patch-Telegram_SourceFiles_history_view_history__view__list__widget.cpp
  head/net-im/telegram-desktop/files/patch-Telegram_SourceFiles_logs.cpp
  head/net-im/telegram-desktop/files/patch-Telegram_SourceFiles_platform_platform__file__utilities.h
  head/net-im/telegram-desktop/files/patch-Telegram_SourceFiles_platform_platform__notifications__manager.h
  head/net-im/telegram-desktop/files/patch-Telegram_SourceFiles_qt__static__plugins.cpp
  head/net-im/telegram-desktop/files/patch-Telegram_SourceFiles_window_main__window.cpp
  head/net-im/telegram-desktop/files/patch-Telegram_cmake_lib__tgvoip.cmake
  head/net-im/telegram-desktop/files/patch-Telegram_lib__base_base_bytes.h
  head/net-im/telegram-desktop/files/patch-Telegram_lib__base_base_platform_base__platform__file__utilities.h
  head/net-im/telegram-desktop/files/patch-Telegram_lib__base_base_zlib__help.h
  head/net-im/telegram-desktop/files/patch-Telegram_lib__ui_ui_style_style__core__font.cpp

Modified: head/net-im/telegram-desktop/Makefile
==============================================================================
--- head/net-im/telegram-desktop/Makefile	Mon May 25 14:11:21 2020	(r536468)
+++ head/net-im/telegram-desktop/Makefile	Mon May 25 14:15:57 2020	(r536469)
@@ -1,7 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	telegram-desktop
-DISTVERSION=	2.1.0
+DISTVERSION=	2.1.7
 CATEGORIES=	net-im
 MASTER_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/releases/download/v${DISTVERSION}/
 DISTNAME=	tdesktop-${DISTVERSION}-full

Modified: head/net-im/telegram-desktop/distinfo
==============================================================================
--- head/net-im/telegram-desktop/distinfo	Mon May 25 14:11:21 2020	(r536468)
+++ head/net-im/telegram-desktop/distinfo	Mon May 25 14:15:57 2020	(r536469)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1587747983
-SHA256 (tdesktop-2.1.0-full.tar.gz) = 86d2acc2dfd426ea222ae94984d81e60774f16f3ecc3405578377d90f809a950
-SIZE (tdesktop-2.1.0-full.tar.gz) = 26133964
+TIMESTAMP = 1590358574
+SHA256 (tdesktop-2.1.7-full.tar.gz) = c944b07f1a7d600a32cea9e4ce45b4954fe0d18176a7491c2f1e98f3425cca62
+SIZE (tdesktop-2.1.7-full.tar.gz) = 36509059

Modified: head/net-im/telegram-desktop/files/patch-Telegram_SourceFiles_core_launcher.cpp
==============================================================================
--- head/net-im/telegram-desktop/files/patch-Telegram_SourceFiles_core_launcher.cpp	Mon May 25 14:11:21 2020	(r536468)
+++ head/net-im/telegram-desktop/files/patch-Telegram_SourceFiles_core_launcher.cpp	Mon May 25 14:15:57 2020	(r536469)
@@ -1,6 +1,6 @@
---- Telegram/SourceFiles/core/launcher.cpp.orig	2020-02-18 08:28:06 UTC
+--- Telegram/SourceFiles/core/launcher.cpp.orig	2020-05-24 07:59:19 UTC
 +++ Telegram/SourceFiles/core/launcher.cpp
-@@ -248,7 +248,7 @@ void Launcher::init() {
+@@ -275,7 +275,7 @@ void Launcher::init() {
  
  	QApplication::setApplicationName(qsl("TelegramDesktop"));
  

Modified: head/net-im/telegram-desktop/files/patch-Telegram_SourceFiles_history_admin__log_history__admin__log__inner.cpp
==============================================================================
--- head/net-im/telegram-desktop/files/patch-Telegram_SourceFiles_history_admin__log_history__admin__log__inner.cpp	Mon May 25 14:11:21 2020	(r536468)
+++ head/net-im/telegram-desktop/files/patch-Telegram_SourceFiles_history_admin__log_history__admin__log__inner.cpp	Mon May 25 14:15:57 2020	(r536469)
@@ -1,6 +1,6 @@
---- Telegram/SourceFiles/history/admin_log/history_admin_log_inner.cpp.orig	2020-02-18 08:28:06 UTC
+--- Telegram/SourceFiles/history/admin_log/history_admin_log_inner.cpp.orig	2020-05-24 07:59:19 UTC
 +++ Telegram/SourceFiles/history/admin_log/history_admin_log_inner.cpp
-@@ -1451,13 +1451,13 @@ void InnerWidget::mouseActionFinish(const QPoint &scre
+@@ -1458,13 +1458,13 @@ void InnerWidget::mouseActionFinish(const QPoint &scre
  	_mouseSelectType = TextSelectType::Letters;
  	//_widget->noSelectingScroll(); // TODO
  

Modified: head/net-im/telegram-desktop/files/patch-Telegram_SourceFiles_history_history__inner__widget.cpp
==============================================================================
--- head/net-im/telegram-desktop/files/patch-Telegram_SourceFiles_history_history__inner__widget.cpp	Mon May 25 14:11:21 2020	(r536468)
+++ head/net-im/telegram-desktop/files/patch-Telegram_SourceFiles_history_history__inner__widget.cpp	Mon May 25 14:15:57 2020	(r536469)
@@ -1,6 +1,6 @@
---- Telegram/SourceFiles/history/history_inner_widget.cpp.orig	2020-03-16 18:49:16 UTC
+--- Telegram/SourceFiles/history/history_inner_widget.cpp.orig	2020-05-24 07:59:19 UTC
 +++ Telegram/SourceFiles/history/history_inner_widget.cpp
-@@ -1420,7 +1420,7 @@ void HistoryInner::mouseActionFinish(
+@@ -1421,7 +1421,7 @@ void HistoryInner::mouseActionFinish(
  	_widget->noSelectingScroll();
  	_widget->updateTopBarSelection();
  
@@ -9,7 +9,7 @@
  	if (!_selected.empty() && _selected.cbegin()->second != FullSelection) {
  		const auto [item, selection] = *_selected.cbegin();
  		if (const auto view = item->mainView()) {
-@@ -1429,7 +1429,7 @@ void HistoryInner::mouseActionFinish(
+@@ -1430,7 +1430,7 @@ void HistoryInner::mouseActionFinish(
  				QClipboard::Selection);
  		}
  	}

Modified: head/net-im/telegram-desktop/files/patch-Telegram_SourceFiles_history_view_history__view__list__widget.cpp
==============================================================================
--- head/net-im/telegram-desktop/files/patch-Telegram_SourceFiles_history_view_history__view__list__widget.cpp	Mon May 25 14:11:21 2020	(r536468)
+++ head/net-im/telegram-desktop/files/patch-Telegram_SourceFiles_history_view_history__view__list__widget.cpp	Mon May 25 14:15:57 2020	(r536469)
@@ -1,6 +1,6 @@
---- Telegram/SourceFiles/history/view/history_view_list_widget.cpp.orig	2020-02-18 08:28:06 UTC
+--- Telegram/SourceFiles/history/view/history_view_list_widget.cpp.orig	2020-05-24 07:59:19 UTC
 +++ Telegram/SourceFiles/history/view/history_view_list_widget.cpp
-@@ -2066,7 +2066,7 @@ void ListWidget::mouseActionFinish(
+@@ -2072,7 +2072,7 @@ void ListWidget::mouseActionFinish(
  	_mouseSelectType = TextSelectType::Letters;
  	//_widget->noSelectingScroll(); // #TODO select scroll
  
@@ -9,7 +9,7 @@
  	if (_selectedTextItem
  		&& _selectedTextRange.from != _selectedTextRange.to) {
  		if (const auto view = viewForItem(_selectedTextItem)) {
-@@ -2075,7 +2075,7 @@ void ListWidget::mouseActionFinish(
+@@ -2081,7 +2081,7 @@ void ListWidget::mouseActionFinish(
  				QClipboard::Selection);
  }
  	}

Modified: head/net-im/telegram-desktop/files/patch-Telegram_SourceFiles_logs.cpp
==============================================================================
--- head/net-im/telegram-desktop/files/patch-Telegram_SourceFiles_logs.cpp	Mon May 25 14:11:21 2020	(r536468)
+++ head/net-im/telegram-desktop/files/patch-Telegram_SourceFiles_logs.cpp	Mon May 25 14:15:57 2020	(r536469)
@@ -1,6 +1,6 @@
---- Telegram/SourceFiles/logs.cpp.orig	2020-02-18 08:28:06 UTC
+--- Telegram/SourceFiles/logs.cpp.orig	2020-05-24 07:59:19 UTC
 +++ Telegram/SourceFiles/logs.cpp
-@@ -342,7 +342,7 @@ void start(not_null<Core::Launcher*> launcher) {
+@@ -343,7 +343,7 @@ void start(not_null<Core::Launcher*> launcher) {
  		workingDirChosen = true;
  	} else {
  
@@ -9,7 +9,7 @@
  
  		if (!cWorkingDir().isEmpty()) {
  			// This value must come from TelegramForcePortable
-@@ -357,16 +357,16 @@ void start(not_null<Core::Launcher*> launcher) {
+@@ -358,16 +358,16 @@ void start(not_null<Core::Launcher*> launcher) {
  		}
  		workingDirChosen = true;
  
@@ -30,7 +30,7 @@
  
  #ifdef _DEBUG
  		cForceWorkingDir(cExeDir());
-@@ -383,7 +383,7 @@ void start(not_null<Core::Launcher*> launcher) {
+@@ -385,7 +385,7 @@ void start(not_null<Core::Launcher*> launcher) {
  			workingDirChosen = true;
  		}
  

Modified: head/net-im/telegram-desktop/files/patch-Telegram_SourceFiles_platform_platform__file__utilities.h
==============================================================================
--- head/net-im/telegram-desktop/files/patch-Telegram_SourceFiles_platform_platform__file__utilities.h	Mon May 25 14:11:21 2020	(r536468)
+++ head/net-im/telegram-desktop/files/patch-Telegram_SourceFiles_platform_platform__file__utilities.h	Mon May 25 14:15:57 2020	(r536469)
@@ -1,6 +1,6 @@
---- Telegram/SourceFiles/platform/platform_file_utilities.h.orig	2018-08-04 18:53:40 UTC
+--- Telegram/SourceFiles/platform/platform_file_utilities.h.orig	2020-05-24 07:59:19 UTC
 +++ Telegram/SourceFiles/platform/platform_file_utilities.h
-@@ -45,8 +45,8 @@ bool Get(
+@@ -46,8 +46,8 @@ bool Get(
  
  #ifdef Q_OS_MAC
  #include "platform/mac/file_utilities_mac.h"

Modified: head/net-im/telegram-desktop/files/patch-Telegram_SourceFiles_platform_platform__notifications__manager.h
==============================================================================
--- head/net-im/telegram-desktop/files/patch-Telegram_SourceFiles_platform_platform__notifications__manager.h	Mon May 25 14:11:21 2020	(r536468)
+++ head/net-im/telegram-desktop/files/patch-Telegram_SourceFiles_platform_platform__notifications__manager.h	Mon May 25 14:15:57 2020	(r536469)
@@ -1,6 +1,6 @@
---- Telegram/SourceFiles/platform/platform_notifications_manager.h.orig	2018-08-04 18:53:40 UTC
+--- Telegram/SourceFiles/platform/platform_notifications_manager.h.orig	2020-05-24 07:59:19 UTC
 +++ Telegram/SourceFiles/platform/platform_notifications_manager.h
-@@ -26,8 +26,8 @@ void FlashBounce();
+@@ -27,8 +27,8 @@ namespace Notifications {
  
  #ifdef Q_OS_MAC
  #include "platform/mac/notifications_manager_mac.h"

Modified: head/net-im/telegram-desktop/files/patch-Telegram_SourceFiles_qt__static__plugins.cpp
==============================================================================
--- head/net-im/telegram-desktop/files/patch-Telegram_SourceFiles_qt__static__plugins.cpp	Mon May 25 14:11:21 2020	(r536468)
+++ head/net-im/telegram-desktop/files/patch-Telegram_SourceFiles_qt__static__plugins.cpp	Mon May 25 14:15:57 2020	(r536469)
@@ -1,6 +1,6 @@
---- Telegram/SourceFiles/qt_static_plugins.cpp.orig	2020-03-16 18:49:16 UTC
+--- Telegram/SourceFiles/qt_static_plugins.cpp.orig	2020-05-24 07:59:19 UTC
 +++ Telegram/SourceFiles/qt_static_plugins.cpp
-@@ -19,7 +19,7 @@ Q_IMPORT_PLUGIN(QWindowsIntegrationPlugin)
+@@ -20,7 +20,7 @@ Q_IMPORT_PLUGIN(QWindowsIntegrationPlugin)
  #elif defined Q_OS_MAC // Q_OS_WIN
  Q_IMPORT_PLUGIN(QCocoaIntegrationPlugin)
  Q_IMPORT_PLUGIN(QGenericEnginePlugin)
@@ -9,9 +9,16 @@
  Q_IMPORT_PLUGIN(ShmServerBufferPlugin)
  Q_IMPORT_PLUGIN(DmaBufServerBufferPlugin)
  Q_IMPORT_PLUGIN(DrmEglServerBufferPlugin)
-@@ -45,4 +45,4 @@ Q_IMPORT_PLUGIN(QHimePlatformInputContextPlugin)
- Q_IMPORT_PLUGIN(NimfInputContextPlugin)
+@@ -44,10 +44,10 @@ Q_IMPORT_PLUGIN(QNetworkManagerEnginePlugin)
+ Q_IMPORT_PLUGIN(QIbusPlatformInputContextPlugin)
  Q_IMPORT_PLUGIN(QXdgDesktopPortalThemePlugin)
  #endif // !TDESKTOP_DISABLE_DBUS_INTEGRATION
 -#endif // Q_OS_WIN | Q_OS_MAC | Q_OS_LINUX
 +#endif // Q_OS_WIN | Q_OS_MAC | Q_OS_LINUX | Q_OS_FREEBSD
+ #endif // !DESKTOP_APP_USE_PACKAGED
+ 
+-#ifdef Q_OS_LINUX
++#if defined Q_OS_LINUX || defined Q_OS_FREEBSD
+ #if !defined DESKTOP_APP_USE_PACKAGED || defined DESKTOP_APP_USE_PACKAGED_LAZY
+ Q_IMPORT_PLUGIN(QWaylandMaterialDecorationPlugin)
+ Q_IMPORT_PLUGIN(NimfInputContextPlugin)

Modified: head/net-im/telegram-desktop/files/patch-Telegram_SourceFiles_window_main__window.cpp
==============================================================================
--- head/net-im/telegram-desktop/files/patch-Telegram_SourceFiles_window_main__window.cpp	Mon May 25 14:11:21 2020	(r536468)
+++ head/net-im/telegram-desktop/files/patch-Telegram_SourceFiles_window_main__window.cpp	Mon May 25 14:15:57 2020	(r536469)
@@ -1,6 +1,6 @@
---- Telegram/SourceFiles/window/main_window.cpp.orig	2020-02-18 08:28:06 UTC
+--- Telegram/SourceFiles/window/main_window.cpp.orig	2020-05-24 07:59:19 UTC
 +++ Telegram/SourceFiles/window/main_window.cpp
-@@ -589,7 +589,7 @@ bool MainWindow::minimizeToTray() {
+@@ -603,7 +603,7 @@ bool MainWindow::minimizeToTray() {
  }
  
  void MainWindow::reActivateWindow() {
@@ -9,7 +9,7 @@
  	const auto reActivate = [=] {
  		if (const auto w = App::wnd()) {
  			if (auto f = QApplication::focusWidget()) {
-@@ -604,7 +604,7 @@ void MainWindow::reActivateWindow() {
+@@ -618,7 +618,7 @@ void MainWindow::reActivateWindow() {
  	};
  	crl::on_main(this, reActivate);
  	base::call_delayed(200, this, reActivate);

Modified: head/net-im/telegram-desktop/files/patch-Telegram_cmake_lib__tgvoip.cmake
==============================================================================
--- head/net-im/telegram-desktop/files/patch-Telegram_cmake_lib__tgvoip.cmake	Mon May 25 14:11:21 2020	(r536468)
+++ head/net-im/telegram-desktop/files/patch-Telegram_cmake_lib__tgvoip.cmake	Mon May 25 14:15:57 2020	(r536469)
@@ -1,6 +1,6 @@
---- Telegram/cmake/lib_tgvoip.cmake.orig	2020-04-30 01:34:51 UTC
+--- Telegram/cmake/lib_tgvoip.cmake.orig	2020-05-24 07:59:19 UTC
 +++ Telegram/cmake/lib_tgvoip.cmake
-@@ -778,11 +778,17 @@ else()
+@@ -793,11 +793,17 @@ else()
          )
      endif()
  

Modified: head/net-im/telegram-desktop/files/patch-Telegram_lib__base_base_bytes.h
==============================================================================
--- head/net-im/telegram-desktop/files/patch-Telegram_lib__base_base_bytes.h	Mon May 25 14:11:21 2020	(r536468)
+++ head/net-im/telegram-desktop/files/patch-Telegram_lib__base_base_bytes.h	Mon May 25 14:15:57 2020	(r536469)
@@ -1,6 +1,6 @@
---- Telegram/lib_base/base/bytes.h.orig	2020-01-29 09:41:30 UTC
+--- Telegram/lib_base/base/bytes.h.orig	2020-05-12 13:19:31 UTC
 +++ Telegram/lib_base/base/bytes.h
-@@ -136,7 +136,7 @@ template <
+@@ -145,7 +145,7 @@ template <
  vector concatenate(Args &&...args) {
  	const auto size = details::spansLength(args...);
  	auto result = vector(size);
@@ -9,7 +9,7 @@
  	return result;
  }
  
-@@ -148,7 +148,7 @@ vector concatenate(SpanRange args) {
+@@ -157,7 +157,7 @@ vector concatenate(SpanRange args) {
  		size += bytes::make_span(arg).size();
  	}
  	auto result = vector(size);

Modified: head/net-im/telegram-desktop/files/patch-Telegram_lib__base_base_platform_base__platform__file__utilities.h
==============================================================================
--- head/net-im/telegram-desktop/files/patch-Telegram_lib__base_base_platform_base__platform__file__utilities.h	Mon May 25 14:11:21 2020	(r536468)
+++ head/net-im/telegram-desktop/files/patch-Telegram_lib__base_base_platform_base__platform__file__utilities.h	Mon May 25 14:15:57 2020	(r536469)
@@ -1,6 +1,6 @@
---- Telegram/lib_base/base/platform/base_platform_file_utilities.h.orig	2020-01-29 09:41:30 UTC
+--- Telegram/lib_base/base/platform/base_platform_file_utilities.h.orig	2020-05-12 13:19:31 UTC
 +++ Telegram/lib_base/base/platform/base_platform_file_utilities.h
-@@ -22,8 +22,8 @@ void RemoveQuarantine(const QString &path);
+@@ -26,8 +26,8 @@ void FlushFileData(QFile &file);
  
  #ifdef Q_OS_MAC
  #include "base/platform/mac/base_file_utilities_mac.h"

Modified: head/net-im/telegram-desktop/files/patch-Telegram_lib__base_base_zlib__help.h
==============================================================================
--- head/net-im/telegram-desktop/files/patch-Telegram_lib__base_base_zlib__help.h	Mon May 25 14:11:21 2020	(r536468)
+++ head/net-im/telegram-desktop/files/patch-Telegram_lib__base_base_zlib__help.h	Mon May 25 14:15:57 2020	(r536469)
@@ -1,11 +1,11 @@
---- Telegram/lib_base/base/zlib_help.h.orig	2020-01-29 09:41:30 UTC
+--- Telegram/lib_base/base/zlib_help.h.orig	2020-05-12 13:19:31 UTC
 +++ Telegram/lib_base/base/zlib_help.h
 @@ -6,8 +6,8 @@
  //
  #pragma once
  
--#include "zip.h"
--#include "unzip.h"
+-#include <zip.h>
+-#include <unzip.h>
 +#include "minizip/zip.h"
 +#include "minizip/unzip.h"
  #include "logs.h"

Modified: head/net-im/telegram-desktop/files/patch-Telegram_lib__ui_ui_style_style__core__font.cpp
==============================================================================
--- head/net-im/telegram-desktop/files/patch-Telegram_lib__ui_ui_style_style__core__font.cpp	Mon May 25 14:11:21 2020	(r536468)
+++ head/net-im/telegram-desktop/files/patch-Telegram_lib__ui_ui_style_style__core__font.cpp	Mon May 25 14:15:57 2020	(r536469)
@@ -1,6 +1,6 @@
---- Telegram/lib_ui/ui/style/style_core_font.cpp.orig	2020-02-10 08:12:05 UTC
+--- Telegram/lib_ui/ui/style/style_core_font.cpp.orig	2020-05-24 07:44:41 UTC
 +++ Telegram/lib_ui/ui/style/style_core_font.cpp
-@@ -22,7 +22,7 @@ void style_InitFontsResource() {
+@@ -24,7 +24,7 @@ void style_InitFontsResource() {
  	Q_INIT_RESOURCE(win);
  #elif defined Q_OS_MAC // Q_OS_WIN
  	Q_INIT_RESOURCE(mac);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202005251415.04PEFvBg096796>