Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Apr 2020 12:13:52 +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: r530649 - in head/net-im/telegram-desktop: . files
Message-ID:  <202004041213.034CDqXO027350@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: fernape
Date: Sat Apr  4 12:13:52 2020
New Revision: 530649
URL: https://svnweb.freebsd.org/changeset/ports/530649

Log:
  net-im/telegram-desktop: update to 2.0.1
  
  Changelog:
  v2.0.1
  
      Switch between folders using Ctrl+1, ..., Ctrl+8.
      Fix crash when a pinned in folder chat was added to archive.
      Fix font issues in Linux version.
  
  v2.0.0
  
      Organize chats into Chat Folders if you have too many chats.
      Create custom folders with flexible settings, or use default recommendations.
      Pin an unlimited number of chats in each folder.
      Switch between folders in the new side bar to easily access all of your chats.
      Send :dice: to any chat to try your luck and get a random number from the animated dice.
      Try out the new animated emoji.
  
  While here, fix the system version string, and also add missing lz4 dependency.
  
  PR:     245227
  Submitted by:   henry.hu.sh@gmail.com (maintainer)

Added:
  head/net-im/telegram-desktop/files/patch-Telegram_lib__base_base_platform_linux_base__info__linux.cpp   (contents, props changed)
Modified:
  head/net-im/telegram-desktop/Makefile
  head/net-im/telegram-desktop/distinfo

Modified: head/net-im/telegram-desktop/Makefile
==============================================================================
--- head/net-im/telegram-desktop/Makefile	Sat Apr  4 11:58:03 2020	(r530648)
+++ head/net-im/telegram-desktop/Makefile	Sat Apr  4 12:13:52 2020	(r530649)
@@ -1,7 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	telegram-desktop
-DISTVERSION=	1.9.21
+DISTVERSION=	2.0.1
 CATEGORIES=	net-im
 MASTER_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/releases/download/v${DISTVERSION}/
 DISTNAME=	tdesktop-${DISTVERSION}-full
@@ -29,7 +29,8 @@ LIB_DEPENDS=	libavformat.so:multimedia/ffmpeg \
 		libdbusmenu-qt5.so:devel/libdbusmenu-qt \
 		libhunspell-1.7.so:textproc/hunspell \
 		libxxhash.so:devel/xxhash \
-		libenchant-2.so:textproc/enchant2
+		libenchant-2.so:textproc/enchant2 \
+		liblz4.so:archivers/liblz4
 
 USES=		cmake compiler:c++17-lang desktop-file-utils \
 		gnome pkgconfig python:3.7,build qt:5 ssl xorg

Modified: head/net-im/telegram-desktop/distinfo
==============================================================================
--- head/net-im/telegram-desktop/distinfo	Sat Apr  4 11:58:03 2020	(r530648)
+++ head/net-im/telegram-desktop/distinfo	Sat Apr  4 12:13:52 2020	(r530649)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1584582797
-SHA256 (tdesktop-1.9.21-full.tar.gz) = e1f9b58c1475a5044bc4d7a7ed5f89777e717ea5e6126707105e2c2d3032ffac
-SIZE (tdesktop-1.9.21-full.tar.gz) = 25848026
+TIMESTAMP = 1585708370
+SHA256 (tdesktop-2.0.1-full.tar.gz) = ced19f5bc15e26d7bf76e47841422425f664110f1aada111b9f525ab18e1723c
+SIZE (tdesktop-2.0.1-full.tar.gz) = 26106949

Added: head/net-im/telegram-desktop/files/patch-Telegram_lib__base_base_platform_linux_base__info__linux.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-im/telegram-desktop/files/patch-Telegram_lib__base_base_platform_linux_base__info__linux.cpp	Sat Apr  4 12:13:52 2020	(r530649)
@@ -0,0 +1,11 @@
+--- Telegram/lib_base/base/platform/linux/base_info_linux.cpp.orig	2020-03-30 09:44:51 UTC
++++ Telegram/lib_base/base/platform/linux/base_info_linux.cpp
+@@ -65,7 +65,7 @@ QString SystemVersionPretty() {
+ 	const auto result = getenv("XDG_CURRENT_DESKTOP");
+ 	const auto value = result ? QString::fromLatin1(result) : QString();
+ 	const auto list = value.split(':', QString::SkipEmptyParts);
+-	return list.isEmpty() ? "Linux" : "Linux " + list[0];
++	return list.isEmpty() ? "FreeBSD" : "FreeBSD " + list[0];
+ }
+ 
+ QString SystemCountry() {



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