git: c463b7d6bf52 - main - net-im/telegram-desktop: Update to 2.7.4
Neel Chauhan
nc at FreeBSD.org
Mon May 10 16:16:35 UTC 2021
The branch main has been updated by nc:
URL: https://cgit.FreeBSD.org/ports/commit/?id=c463b7d6bf5219f4a5c3cb87d4f4c505905582b4
commit c463b7d6bf5219f4a5c3cb87d4f4c505905582b4
Author: Henry Hu <henry.hu.sh at gmail.com>
AuthorDate: 2021-05-10 16:09:14 +0000
Commit: Neel Chauhan <nc at FreeBSD.org>
CommitDate: 2021-05-10 16:15:48 +0000
net-im/telegram-desktop: Update to 2.7.4
PR: 255719
---
net-im/telegram-desktop/Makefile | 4 +--
net-im/telegram-desktop/distinfo | 6 ++--
..._base_base_platform_linux_base__info__linux.cpp | 41 ----------------------
3 files changed, 5 insertions(+), 46 deletions(-)
diff --git a/net-im/telegram-desktop/Makefile b/net-im/telegram-desktop/Makefile
index 27c85cba6288..ddbc4ec6c8e9 100644
--- a/net-im/telegram-desktop/Makefile
+++ b/net-im/telegram-desktop/Makefile
@@ -1,5 +1,5 @@
PORTNAME= telegram-desktop
-DISTVERSION= 2.6.1
+DISTVERSION= 2.7.4
CATEGORIES= net-im
MASTER_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/releases/download/v${DISTVERSION}/
DISTNAME= tdesktop-${DISTVERSION}-full
@@ -46,7 +46,7 @@ USE_GITHUB= nodefault
GH_ACCOUNT= telegramdesktop
GH_PROJECT= tdesktop
USE_GL= gl
-USE_GNOME= glib20
+USE_GNOME= glib20 glibmm
INSTALLS_ICONS= yes
USE_QT= core dbus gui imageformats network widgets buildtools_build \
qmake_build wayland
diff --git a/net-im/telegram-desktop/distinfo b/net-im/telegram-desktop/distinfo
index fb740d566b31..c8b0bb5b5e05 100644
--- a/net-im/telegram-desktop/distinfo
+++ b/net-im/telegram-desktop/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1615175171
-SHA256 (tdesktop-2.6.1-full.tar.gz) = c7878c4d7c621a175b3b27895b3fb8c20a56319214d5030d734b2768390a8b73
-SIZE (tdesktop-2.6.1-full.tar.gz) = 36726422
+TIMESTAMP = 1620514737
+SHA256 (tdesktop-2.7.4-full.tar.gz) = 97526f0b4adf04cf86b605ae84f3efaacf58eb8f828bab8f4fe752a4fac62fb2
+SIZE (tdesktop-2.7.4-full.tar.gz) = 36894673
diff --git a/net-im/telegram-desktop/files/patch-Telegram_lib__base_base_platform_linux_base__info__linux.cpp b/net-im/telegram-desktop/files/patch-Telegram_lib__base_base_platform_linux_base__info__linux.cpp
deleted file mode 100644
index e5bf3f9b34ee..000000000000
--- a/net-im/telegram-desktop/files/patch-Telegram_lib__base_base_platform_linux_base__info__linux.cpp
+++ /dev/null
@@ -1,41 +0,0 @@
---- Telegram/lib_base/base/platform/linux/base_info_linux.cpp.orig 2021-01-28 15:30:24 UTC
-+++ Telegram/lib_base/base/platform/linux/base_info_linux.cpp
-@@ -14,11 +14,6 @@
- #include <QtCore/QDate>
- #include <QtGui/QGuiApplication>
-
--// this file is used on both Linux & BSD
--#ifdef Q_OS_LINUX
--#include <gnu/libc-version.h>
--#endif // Q_OS_LINUX
--
- namespace Platform {
- namespace {
-
-@@ -103,7 +98,7 @@ QString SystemVersionPretty() {
- static const auto result = [&] {
- QStringList resultList{};
-
--#ifdef Q_OS_LINUX
-+#if 0
- resultList << "Linux";
- #else // Q_OS_LINUX
- resultList << QSysInfo::kernelType();
-@@ -186,7 +181,7 @@ QString AutoUpdateKey() {
- }
-
- QString GetLibcName() {
--#ifdef Q_OS_LINUX
-+#if 0
- return "glibc";
- #endif // Q_OS_LINUX
-
-@@ -194,7 +189,7 @@ QString GetLibcName() {
- }
-
- QString GetLibcVersion() {
--#ifdef Q_OS_LINUX
-+#if 0
- static const auto result = [&] {
- const auto version = QString::fromLatin1(gnu_get_libc_version());
- return QVersionNumber::fromString(version).isNull() ? QString() : version;
More information about the dev-commits-ports-all
mailing list