Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Oct 2018 19:35:18 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r482110 - in head/net-im/telegram-desktop: . files
Message-ID:  <201810141935.w9EJZICJ010191@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Sun Oct 14 19:35:18 2018
New Revision: 482110
URL: https://svnweb.freebsd.org/changeset/ports/482110

Log:
  net-im/telegram-desktop: update to 1.4.2
  
  PR:		232212
  Submitted by:	Henry Hu <henry.hu.sh@gmail.com> (maintainer)

Modified:
  head/net-im/telegram-desktop/Makefile   (contents, props changed)
  head/net-im/telegram-desktop/distinfo   (contents, props changed)
  head/net-im/telegram-desktop/files/patch-Telegram_SourceFiles_core_utils.h   (contents, props changed)
  head/net-im/telegram-desktop/files/patch-Telegram_SourceFiles_logs.cpp   (contents, props changed)
  head/net-im/telegram-desktop/files/patch-Telegram_SourceFiles_settings.cpp   (contents, props changed)
  head/net-im/telegram-desktop/files/patch-Telegram_SourceFiles_window_main__window.cpp   (contents, props changed)
  head/net-im/telegram-desktop/files/patch-Telegram_gyp_telegram__sources.txt   (contents, props changed)

Modified: head/net-im/telegram-desktop/Makefile
==============================================================================
--- head/net-im/telegram-desktop/Makefile	Sun Oct 14 19:28:57 2018	(r482109)
+++ head/net-im/telegram-desktop/Makefile	Sun Oct 14 19:35:18 2018	(r482110)
@@ -2,7 +2,7 @@
 
 PORTNAME=	telegram-desktop
 DISTVERSIONPREFIX=	v
-DISTVERSION=	1.4.0
+DISTVERSION=	1.4.2
 CATEGORIES=	net-im
 
 MAINTAINER=	henry.hu.sh@gmail.com

Modified: head/net-im/telegram-desktop/distinfo
==============================================================================
--- head/net-im/telegram-desktop/distinfo	Sun Oct 14 19:28:57 2018	(r482109)
+++ head/net-im/telegram-desktop/distinfo	Sun Oct 14 19:35:18 2018	(r482110)
@@ -1,6 +1,6 @@
-TIMESTAMP = 1538948703
-SHA256 (telegramdesktop-tdesktop-v1.4.0_GH0.tar.gz) = e3ee54461dae5552b41b6b56f12225a4d546118b2e2d4d864442e4462da97a9b
-SIZE (telegramdesktop-tdesktop-v1.4.0_GH0.tar.gz) = 17318129
+TIMESTAMP = 1539390512
+SHA256 (telegramdesktop-tdesktop-v1.4.2_GH0.tar.gz) = f8e90949e2b52c2df7dca35d33731880fa8f3d526431ad82f197ece7dce773aa
+SIZE (telegramdesktop-tdesktop-v1.4.2_GH0.tar.gz) = 17340759
 SHA256 (catchorg-Catch2-5ca44b68_GH0.tar.gz) = 8cdf2a345897bda1aaabffd4496dffe263768cef3e4254e74ae63545c8e12cc2
 SIZE (catchorg-Catch2-5ca44b68_GH0.tar.gz) = 375264
 SHA256 (mapbox-variant-550ac2f_GH0.tar.gz) = 7ab3aa7c9fa672027f13721584df5f7ec09c0ecca499d374c6ac76e147ef7354

Modified: head/net-im/telegram-desktop/files/patch-Telegram_SourceFiles_core_utils.h
==============================================================================
--- head/net-im/telegram-desktop/files/patch-Telegram_SourceFiles_core_utils.h	Sun Oct 14 19:28:57 2018	(r482109)
+++ head/net-im/telegram-desktop/files/patch-Telegram_SourceFiles_core_utils.h	Sun Oct 14 19:35:18 2018	(r482110)
@@ -1,6 +1,6 @@
---- Telegram/SourceFiles/core/utils.h.orig	2018-09-28 13:08:38 UTC
+--- Telegram/SourceFiles/core/utils.h.orig	2018-10-09 21:21:48 UTC
 +++ Telegram/SourceFiles/core/utils.h
-@@ -411,6 +411,7 @@ enum DBIPlatform {
+@@ -406,6 +406,7 @@ enum DBIPlatform {
  	dbipLinux64 = 2,
  	dbipLinux32 = 3,
  	dbipMacOld = 4,

Modified: head/net-im/telegram-desktop/files/patch-Telegram_SourceFiles_logs.cpp
==============================================================================
--- head/net-im/telegram-desktop/files/patch-Telegram_SourceFiles_logs.cpp	Sun Oct 14 19:28:57 2018	(r482109)
+++ head/net-im/telegram-desktop/files/patch-Telegram_SourceFiles_logs.cpp	Sun Oct 14 19:35:18 2018	(r482110)
@@ -1,16 +1,16 @@
---- Telegram/SourceFiles/logs.cpp.orig	2018-09-28 13:08:38 UTC
+--- Telegram/SourceFiles/logs.cpp.orig	2018-10-09 21:21:48 UTC
 +++ Telegram/SourceFiles/logs.cpp
-@@ -332,7 +332,7 @@ void start(not_null<Core::Launcher*> lau
- 
+@@ -333,7 +333,7 @@ void start(not_null<Core::Launcher*> lau
  	if (cAlphaVersion()) {
  		workingDirChosen = true;
+ 
 -#if defined Q_OS_MAC || defined Q_OS_LINUX
 +#if defined Q_OS_MAC || defined Q_OS_LINUX || defined Q_OS_FREEBSD
  	} else {
- #ifdef _DEBUG
- 		cForceWorkingDir(cExeDir());
-@@ -346,15 +346,15 @@ void start(not_null<Core::Launcher*> lau
- #endif // !_DEBUG
+ 		if (!cWorkingDir().isEmpty()) {
+ 			// This value must come from TelegramForcePortable
+@@ -348,16 +348,16 @@ void start(not_null<Core::Launcher*> lau
+ 		}
  		workingDirChosen = true;
  
 -#if defined Q_OS_LINUX && !defined _DEBUG // fix first version
@@ -24,15 +24,16 @@
  	} else {
  		cForceWorkingDir(psAppDataPath());
  		workingDirChosen = true;
+ 
 -#elif defined OS_WIN_STORE // Q_OS_MAC || Q_OS_LINUX || Q_OS_WINRT
 +#elif defined OS_WIN_STORE // Q_OS_MAC || Q_OS_LINUX || Q_OS_WINRT || Q_OS_FREEBSD
  #ifdef _DEBUG
  		cForceWorkingDir(cExeDir());
  #else // _DEBUG
-@@ -368,7 +368,7 @@ void start(not_null<Core::Launcher*> lau
- 			cForceWorkingDir(cWorkingDir());
+@@ -374,7 +374,7 @@ void start(not_null<Core::Launcher*> lau
  			workingDirChosen = true;
  		}
+ 
 -#endif // Q_OS_MAC || Q_OS_LINUX || Q_OS_WINRT || OS_WIN_STORE
 +#endif // Q_OS_MAC || Q_OS_LINUX || Q_OS_WINRT || OS_WIN_STORE || Q_OS_FREEBSD
  	}

Modified: head/net-im/telegram-desktop/files/patch-Telegram_SourceFiles_settings.cpp
==============================================================================
--- head/net-im/telegram-desktop/files/patch-Telegram_SourceFiles_settings.cpp	Sun Oct 14 19:28:57 2018	(r482109)
+++ head/net-im/telegram-desktop/files/patch-Telegram_SourceFiles_settings.cpp	Sun Oct 14 19:35:18 2018	(r482110)
@@ -1,6 +1,6 @@
---- Telegram/SourceFiles/settings.cpp.orig	2018-08-04 18:53:40 UTC
+--- Telegram/SourceFiles/settings.cpp.orig	2018-10-09 21:21:48 UTC
 +++ Telegram/SourceFiles/settings.cpp
-@@ -81,6 +81,8 @@ DBIPlatform gPlatform = dbipMac;
+@@ -79,6 +79,8 @@ DBIPlatform gPlatform = dbipMac;
  DBIPlatform gPlatform = dbipLinux64;
  #elif defined Q_OS_LINUX32
  DBIPlatform gPlatform = dbipLinux32;

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	Sun Oct 14 19:28:57 2018	(r482109)
+++ head/net-im/telegram-desktop/files/patch-Telegram_SourceFiles_window_main__window.cpp	Sun Oct 14 19:35:18 2018	(r482110)
@@ -1,6 +1,6 @@
---- Telegram/SourceFiles/window/main_window.cpp.orig	2018-08-04 18:53:40 UTC
+--- Telegram/SourceFiles/window/main_window.cpp.orig	2018-10-09 21:21:48 UTC
 +++ Telegram/SourceFiles/window/main_window.cpp
-@@ -421,7 +421,7 @@ bool MainWindow::minimizeToTray() {
+@@ -496,7 +496,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()) {
-@@ -436,7 +436,7 @@ void MainWindow::reActivateWindow() {
+@@ -511,7 +511,7 @@ void MainWindow::reActivateWindow() {
  	};
  	crl::on_main(this, reActivate);
  	App::CallDelayed(200, this, reActivate);

Modified: head/net-im/telegram-desktop/files/patch-Telegram_gyp_telegram__sources.txt
==============================================================================
--- head/net-im/telegram-desktop/files/patch-Telegram_gyp_telegram__sources.txt	Sun Oct 14 19:28:57 2018	(r482109)
+++ head/net-im/telegram-desktop/files/patch-Telegram_gyp_telegram__sources.txt	Sun Oct 14 19:35:18 2018	(r482110)
@@ -1,6 +1,6 @@
---- Telegram/gyp/telegram_sources.txt.orig	2018-09-28 13:08:38 UTC
+--- Telegram/gyp/telegram_sources.txt.orig	2018-10-09 21:21:48 UTC
 +++ Telegram/gyp/telegram_sources.txt
-@@ -755,14 +755,7 @@
+@@ -761,14 +761,7 @@
  <(emoji_suggestions_loc)/emoji_suggestions.cpp
  <(emoji_suggestions_loc)/emoji_suggestions.h
  



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