commit dfc1413b7acc1fc8af59d34422d684615310f7ad
Author: Alex Fails <afails(a)localhost.localdomain>
Date: Tue Mar 23 18:53:11 2021 +0300
Update to version 2.7.1 with upstream patch for build
.gitignore | 1 +
sources | 2 +-
telegram-desktop-build-fix.patch | 20 ++++++++++++++++++++
telegram-desktop.spec | 12 +++++++++++-
4 files changed, 33 insertions(+), 2 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 4452047..ace6b6b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -161,3 +161,4 @@
/tdesktop-2.5.9-full.tar.gz
/tdesktop-2.6.0-full.tar.gz
/tdesktop-2.6.1-full.tar.gz
+/tdesktop-2.7.1-full.tar.gz
diff --git a/sources b/sources
index e66f371..6cfbee1 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (tdesktop-2.6.1-full.tar.gz) =
92506477ee1778f7528d8b914406cbf04abf1941d4f1a5d61b75dbf393df2184da1f4f83bbc343e221a539c7a01d3e3b3fe5286453d2bf1863b75ea922b70d5a
+SHA512 (tdesktop-2.7.1-full.tar.gz) =
dffd184c4369c5c5947b1ca085add533e54313ce39aebcdca4f0958431a305aa5e95c2f2b48592f6992e666b2d33eeba5697f9e09f6048a53b807f2950fbd17b
diff --git a/telegram-desktop-build-fix.patch b/telegram-desktop-build-fix.patch
new file mode 100644
index 0000000..07d728c
--- /dev/null
+++ b/telegram-desktop-build-fix.patch
@@ -0,0 +1,20 @@
+--- a/Telegram/ThirdParty/tgcalls/tgcalls/group/StreamingPart.cpp
++++ b/Telegram/ThirdParty/tgcalls/tgcalls/group/StreamingPart.cpp
+@@ -12,7 +12,6 @@ extern "C" {
+ #include <string>
+ #include <set>
+ #include <map>
+-#include <stdint.h>
+
+ namespace tgcalls {
+
+--- a/Telegram/ThirdParty/tgcalls/tgcalls/group/StreamingPart.h
++++ b/Telegram/ThirdParty/tgcalls/tgcalls/group/StreamingPart.h
+@@ -3,6 +3,7 @@
+
+ #include "absl/types/optional.h"
+ #include <vector>
++#include <stdint.h>
+
+ namespace tgcalls {
+
diff --git a/telegram-desktop.spec b/telegram-desktop.spec
index 9b15823..0474a12 100644
--- a/telegram-desktop.spec
+++ b/telegram-desktop.spec
@@ -18,7 +18,7 @@
%endif
Name: telegram-desktop
-Version: 2.6.1
+Version: 2.7.1
Release: 1%{?dist}
# Application and 3rd-party modules licensing:
@@ -30,6 +30,9 @@ URL:
https://github.com/telegramdesktop/%{appname}
Summary: Telegram Desktop official messaging app
Source0: %{url}/releases/download/v%{version}/%{appname}-%{version}-full.tar.gz
+#
https://github.com/TelegramMessenger/tgcalls/commit/eded7cc540123eaf26361...
+Patch100: %{name}-build-fix.patch
+
# Telegram Desktop require more than 8 GB of RAM on linking stage.
# Disabling all low-memory architectures.
ExclusiveArch: x86_64
@@ -49,6 +52,7 @@ BuildRequires: cmake(tl-expected)
BuildRequires: pkgconfig(gio-2.0)
BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(glibmm-2.4)
BuildRequires: pkgconfig(gobject-2.0)
BuildRequires: pkgconfig(hunspell)
BuildRequires: pkgconfig(libavcodec)
@@ -123,6 +127,9 @@ Requires: qt5-qtimageformats%{?_isa}
Provides: telegram = %{?epoch:%{epoch}:}%{version}-%{release}
Provides: telegram%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
+# Obsolete shared version of tg_owt...
+Obsoletes: tg_owt < 0-8
+
%description
Telegram is a messaging app with a focus on speed and security, it’s super
fast, simple and free. You can use Telegram on all your devices at the same
@@ -214,6 +221,9 @@ desktop-file-validate
%{buildroot}%{_datadir}/applications/%{launcher}.desktop
%{_metainfodir}/%{launcher}.appdata.xml
%changelog
+* Sun Mar 21 2021 Alexey Gorgurov <alexfails(a)fedoraproject.org> - 2.7.1-1
+- Updated to version 2.7.1.
+
* Thu Feb 25 2021 Vitaly Zaitsev <vitaly(a)easycoding.org> - 2.6.1-1
- Updated to version 2.6.1.