View | Details | Raw Unified | Return to bug 244900
Collapse All | Expand All

(-)./Makefile (-4 / +3 lines)
Lines 1-8 Link Here
1
# $FreeBSD: head/net-im/telegram-desktop/Makefile 528477 2020-03-15 08:18:52Z tcberner $
1
# $FreeBSD: head/net-im/telegram-desktop/Makefile 528477 2020-03-15 08:18:52Z tcberner $
2
2
3
PORTNAME=	telegram-desktop
3
PORTNAME=	telegram-desktop
4
DISTVERSION=	1.9.14
4
DISTVERSION=	1.9.21
5
CATEGORIES=	net-im
5
CATEGORIES=	net-im
6
MASTER_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/releases/download/v${DISTVERSION}/
7
DISTNAME=	tdesktop-${DISTVERSION}-full
6
8
7
MAINTAINER=	henry.hu.sh@gmail.com
9
MAINTAINER=	henry.hu.sh@gmail.com
8
COMMENT=	Telegram Desktop messaging app
10
COMMENT=	Telegram Desktop messaging app
Lines 31-39 Link Here
31
33
32
USES=		cmake compiler:c++17-lang desktop-file-utils \
34
USES=		cmake compiler:c++17-lang desktop-file-utils \
33
		gnome pkgconfig python:3.7,build qt:5 ssl xorg
35
		gnome pkgconfig python:3.7,build qt:5 ssl xorg
34
35
MASTER_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/releases/download/v${DISTVERSION}/
36
DISTNAME=	tdesktop-${DISTVERSION}-full
37
36
38
GH_ACCOUNT=	telegramdesktop
37
GH_ACCOUNT=	telegramdesktop
39
GH_PROJECT=	tdesktop
38
GH_PROJECT=	tdesktop
(-)./distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1583109660
1
TIMESTAMP = 1584582797
2
SHA256 (tdesktop-1.9.14-full.tar.gz) = 864d1d5e810e30368e60d4ea389c644387abbc803b3b5426268efa5016d15a4b
2
SHA256 (tdesktop-1.9.21-full.tar.gz) = e1f9b58c1475a5044bc4d7a7ed5f89777e717ea5e6126707105e2c2d3032ffac
3
SIZE (tdesktop-1.9.14-full.tar.gz) = 25324084
3
SIZE (tdesktop-1.9.21-full.tar.gz) = 25848026
(-)./files/patch-Telegram_SourceFiles_history_history__inner__widget.cpp (-3 / +3 lines)
Lines 1-6 Link Here
1
--- Telegram/SourceFiles/history/history_inner_widget.cpp.orig	2020-02-18 08:28:06 UTC
1
--- Telegram/SourceFiles/history/history_inner_widget.cpp.orig	2020-03-16 18:49:16 UTC
2
+++ Telegram/SourceFiles/history/history_inner_widget.cpp
2
+++ Telegram/SourceFiles/history/history_inner_widget.cpp
3
@@ -1403,7 +1403,7 @@ void HistoryInner::mouseActionFinish(
3
@@ -1420,7 +1420,7 @@ void HistoryInner::mouseActionFinish(
4
 	_widget->noSelectingScroll();
4
 	_widget->noSelectingScroll();
5
 	_widget->updateTopBarSelection();
5
 	_widget->updateTopBarSelection();
6
 
6
 
Lines 9-15 Link Here
9
 	if (!_selected.empty() && _selected.cbegin()->second != FullSelection) {
9
 	if (!_selected.empty() && _selected.cbegin()->second != FullSelection) {
10
 		const auto [item, selection] = *_selected.cbegin();
10
 		const auto [item, selection] = *_selected.cbegin();
11
 		if (const auto view = item->mainView()) {
11
 		if (const auto view = item->mainView()) {
12
@@ -1412,7 +1412,7 @@ void HistoryInner::mouseActionFinish(
12
@@ -1429,7 +1429,7 @@ void HistoryInner::mouseActionFinish(
13
 				QClipboard::Selection);
13
 				QClipboard::Selection);
14
 		}
14
 		}
15
 	}
15
 	}
(-)./files/patch-Telegram_SourceFiles_qt__static__plugins.cpp (-5 / +5 lines)
Lines 1-4 Link Here
1
--- Telegram/SourceFiles/qt_static_plugins.cpp.orig	2020-02-18 08:28:06 UTC
1
--- Telegram/SourceFiles/qt_static_plugins.cpp.orig	2020-03-16 18:49:16 UTC
2
+++ Telegram/SourceFiles/qt_static_plugins.cpp
2
+++ Telegram/SourceFiles/qt_static_plugins.cpp
3
@@ -19,7 +19,7 @@ Q_IMPORT_PLUGIN(QWindowsIntegrationPlugin)
3
@@ -19,7 +19,7 @@ Q_IMPORT_PLUGIN(QWindowsIntegrationPlugin)
4
 #elif defined Q_OS_MAC // Q_OS_WIN
4
 #elif defined Q_OS_MAC // Q_OS_WIN
Lines 6-15 Link Here
6
 Q_IMPORT_PLUGIN(QGenericEnginePlugin)
6
 Q_IMPORT_PLUGIN(QGenericEnginePlugin)
7
-#elif defined Q_OS_LINUX // Q_OS_WIN | Q_OS_MAC
7
-#elif defined Q_OS_LINUX // Q_OS_WIN | Q_OS_MAC
8
+#elif defined Q_OS_LINUX || defined Q_OS_FREEBSD // Q_OS_WIN | Q_OS_MAC
8
+#elif defined Q_OS_LINUX || defined Q_OS_FREEBSD // Q_OS_WIN | Q_OS_MAC
9
 Q_IMPORT_PLUGIN(QXcbIntegrationPlugin)
9
 Q_IMPORT_PLUGIN(ShmServerBufferPlugin)
10
 Q_IMPORT_PLUGIN(QGenericEnginePlugin)
10
 Q_IMPORT_PLUGIN(DmaBufServerBufferPlugin)
11
 Q_IMPORT_PLUGIN(QComposePlatformInputContextPlugin)
11
 Q_IMPORT_PLUGIN(DrmEglServerBufferPlugin)
12
@@ -33,4 +33,4 @@ Q_IMPORT_PLUGIN(QHimePlatformInputContextPlugin)
12
@@ -45,4 +45,4 @@ Q_IMPORT_PLUGIN(QHimePlatformInputContextPlugin)
13
 Q_IMPORT_PLUGIN(NimfInputContextPlugin)
13
 Q_IMPORT_PLUGIN(NimfInputContextPlugin)
14
 Q_IMPORT_PLUGIN(QXdgDesktopPortalThemePlugin)
14
 Q_IMPORT_PLUGIN(QXdgDesktopPortalThemePlugin)
15
 #endif // !TDESKTOP_DISABLE_DBUS_INTEGRATION
15
 #endif // !TDESKTOP_DISABLE_DBUS_INTEGRATION

Return to bug 244900