commit c9eb1319cd4e3a198f44d4c180c1f824ae6fcc57
Author: Vitaly Zaitsev <vitaly(a)easycoding.org>
Date: Tue Aug 20 18:22:36 2019 +0200
Updated to version 1.8.2.
.gitignore | 1 +
sources | 2 +-
telegram-desktop-build-fixes.patch | 2 +-
telegram-desktop-system-fonts.patch | 2 +-
telegram-desktop-unbundle-minizip.patch | 2 +-
telegram-desktop.spec | 22 +++++++++++++++++++++-
6 files changed, 26 insertions(+), 5 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 638912a..b5ee18c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -97,3 +97,4 @@
/rlottie-d08a03b.tar.gz
/tdesktop-1.8.0.tar.gz
/tdesktop-1.8.1.tar.gz
+/tdesktop-1.8.2.tar.gz
diff --git a/sources b/sources
index 36771d6..48a1e7c 100644
--- a/sources
+++ b/sources
@@ -1,3 +1,3 @@
744e77b69697f659a356727be22d4247 crl-52baf11.tar.gz
d81386c7ddd0453463131a4a0e6c0f22 rlottie-d08a03b.tar.gz
-3be79a5299ab6b03e5af6da6b15fd4e3 tdesktop-1.8.1.tar.gz
+12acea063a9f90f374ac22f1e474bea9 tdesktop-1.8.2.tar.gz
diff --git a/telegram-desktop-build-fixes.patch b/telegram-desktop-build-fixes.patch
index c159f69..f81fc5f 100644
--- a/telegram-desktop-build-fixes.patch
+++ b/telegram-desktop-build-fixes.patch
@@ -1,4 +1,4 @@
-From 04dd4ccd8a229907c3638d26d2d66dd593d3cd16 Mon Sep 17 00:00:00 2001
+From 505e5f6307caf5089c20fec5d5a2a47bf252b4a3 Mon Sep 17 00:00:00 2001
From: Vitaly Zaitsev <vitaly(a)easycoding.org>
Date: Fri, 31 Mar 2017 14:29:58 +0200
Subject: [PATCH 1/3] Fixed build under Fedora using rpmbuild and mock.
diff --git a/telegram-desktop-system-fonts.patch b/telegram-desktop-system-fonts.patch
index b1749ad..769b91c 100644
--- a/telegram-desktop-system-fonts.patch
+++ b/telegram-desktop-system-fonts.patch
@@ -1,4 +1,4 @@
-From 94d509c819d65ed1a87991b5ee41224f64d8ed5d Mon Sep 17 00:00:00 2001
+From cab64637492c027826ad762a61702824e0c373e0 Mon Sep 17 00:00:00 2001
From: Vitaly Zaitsev <vitaly(a)easycoding.org>
Date: Sun, 24 Jun 2018 22:59:34 +0200
Subject: [PATCH 2/3] Backported and rebased patch from Debian maintainer
diff --git a/telegram-desktop-unbundle-minizip.patch
b/telegram-desktop-unbundle-minizip.patch
index e0fb16d..753b951 100644
--- a/telegram-desktop-unbundle-minizip.patch
+++ b/telegram-desktop-unbundle-minizip.patch
@@ -1,4 +1,4 @@
-From 71547417846aa64ddd0927775ef7fb0facad62ea Mon Sep 17 00:00:00 2001
+From b5d9d38110a1f1b34932f1fd96506bc793b27581 Mon Sep 17 00:00:00 2001
From: Vitaly Zaitsev <vitaly(a)easycoding.org>
Date: Wed, 17 Oct 2018 17:57:59 +0200
Subject: [PATCH 3/3] Use packaged version of minizip on Fedora <= 29.
diff --git a/telegram-desktop.spec b/telegram-desktop.spec
index 2e9883d..133c0cd 100644
--- a/telegram-desktop.spec
+++ b/telegram-desktop.spec
@@ -32,7 +32,7 @@
Summary: Telegram Desktop official messaging app
Name: telegram-desktop
-Version: 1.8.1
+Version: 1.8.2
Release: 1%{?dist}
# Application and 3rd-party modules licensing:
@@ -128,6 +128,16 @@ phone contacts and find people by their usernames. As a result,
Telegram is
like SMS and email combined — and can take care of all your personal or
business messaging needs.
+%package kde
+Summary: Additional KDE handlers for %{name}
+BuildArch: noarch
+Supplements: (%{name} and kf5-filesystem)
+Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description kde
+This package contains additional KDE plugins and handlers
+for %{name}.
+
%prep
# Unpacking Telegram Desktop source archive...
%autosetup -n %{appname}-%{version} -p1
@@ -205,6 +215,10 @@ for size in 16 32 48 64 128 256 512; do
%{__install} -m 0644 -p Telegram/Resources/art/icon${size}.png
"$dir/%{name}.png"
done
+# Installing protocol handler for KDE...
+%{__install} -d %{buildroot}%{_datadir}/kservices5
+%{__install} -m 0644 -p lib/xdg/tg.protocol
%{buildroot}%{_datadir}/kservices5/tg.protocol
+
# Installing appdata for Gnome Software...
%{__install} -d %{buildroot}%{_metainfodir}
%{__install} -m 0644 -p lib/xdg/telegramdesktop.appdata.xml
%{buildroot}%{_metainfodir}/%{name}.appdata.xml
@@ -220,7 +234,13 @@ appstream-util validate-relax --nonet
%{buildroot}%{_metainfodir}/%{name}.appdat
%{_datadir}/icons/hicolor/*/apps/%{name}.png
%{_metainfodir}/%{name}.appdata.xml
+%files kde
+%{_datadir}/kservices5/tg.protocol
+
%changelog
+* Tue Aug 20 2019 Vitaly Zaitsev <vitaly(a)easycoding.org> - 1.8.2-1
+- Updated to 1.8.2.
+
* Sat Aug 10 2019 Vitaly Zaitsev <vitaly(a)easycoding.org> - 1.8.1-1
- Updated to 1.8.1.
Show replies by date