commit ed814efbbed9493f4c329f74d44f98ee63e69280
Author: Vitaly Zaitsev <vitaly(a)easycoding.org>
Date: Tue Dec 17 12:13:32 2019 +0100
Removed useless linker flag.
telegram-desktop-build-fixes.patch | 13 ++++++-------
telegram-desktop-system-fonts.patch | 2 +-
telegram-desktop-unbundle-minizip.patch | 4 ++--
3 files changed, 9 insertions(+), 10 deletions(-)
---
diff --git a/telegram-desktop-build-fixes.patch b/telegram-desktop-build-fixes.patch
index 04270a6..934edd3 100644
--- a/telegram-desktop-build-fixes.patch
+++ b/telegram-desktop-build-fixes.patch
@@ -1,4 +1,4 @@
-From 74a5e11947529b3a1754b4f8d8e6e6d801342baf Mon Sep 17 00:00:00 2001
+From 7c42bf1c3db9aabce1f11f6a576e799831b75042 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.
@@ -23,12 +23,12 @@ Subject: [PATCH 1/3] Fixed build under Fedora using rpmbuild and
mock.
Telegram/gyp/modules/qt.gypi | 87 +++++-------------
Telegram/gyp/modules/qt_moc.gypi | 5 +-
Telegram/gyp/modules/qt_rcc.gypi | 2 +-
- Telegram/gyp/telegram/linux.gypi | 34 ++-----
+ Telegram/gyp/telegram/linux.gypi | 33 ++-----
Telegram/gyp/telegram/sources.txt | 2 +-
Telegram/gyp/telegram/telegram.gypi | 23 +----
lib/xdg/telegramdesktop.appdata.xml | 2 +-
lib/xdg/telegramdesktop.desktop | 5 +-
- 24 files changed, 183 insertions(+), 209 deletions(-)
+ 24 files changed, 182 insertions(+), 209 deletions(-)
create mode 100644 Telegram/SourceFiles/qt_functions.cpp
create mode 100644 Telegram/gyp/CMakeLists.inj
@@ -715,7 +715,7 @@ index f5624a82b..b644ce29f 100644
'-no-compress',
'<(RULE_INPUT_PATH)',
diff --git a/Telegram/gyp/telegram/linux.gypi b/Telegram/gyp/telegram/linux.gypi
-index 385f2b89f..ed20a849f 100644
+index 385f2b89f..b32c45bf2 100644
--- a/Telegram/gyp/telegram/linux.gypi
+++ b/Telegram/gyp/telegram/linux.gypi
@@ -10,7 +10,7 @@
@@ -740,7 +740,7 @@ index 385f2b89f..ed20a849f 100644
'-llzma',
'-lopenal',
'-lavformat',
-@@ -34,12 +28,11 @@
+@@ -34,12 +28,10 @@
'-lswscale',
'-lavutil',
'-lopus',
@@ -753,11 +753,10 @@ index 385f2b89f..ed20a849f 100644
+ '-ltgvoip',
+ '-lxxhash',
+ '-llz4',
-+ '-lwebp',
# '<!(pkg-config 2> /dev/null --libs <@(pkgconfig_libs))',
],
'cflags_cc': [
-@@ -47,36 +40,23 @@
+@@ -47,36 +39,23 @@
'-Wno-maybe-uninitialized',
],
'ldflags': [
diff --git a/telegram-desktop-system-fonts.patch b/telegram-desktop-system-fonts.patch
index 5e39e1e..c4ab9ff 100644
--- a/telegram-desktop-system-fonts.patch
+++ b/telegram-desktop-system-fonts.patch
@@ -1,4 +1,4 @@
-From 65714d5659182d75ea8f67e78b0910d4aed2d56a Mon Sep 17 00:00:00 2001
+From 75ffaa10720678f6776c9da690ab78e84e2a9d4c 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 925d64e..1b5d36a 100644
--- a/telegram-desktop-unbundle-minizip.patch
+++ b/telegram-desktop-unbundle-minizip.patch
@@ -1,4 +1,4 @@
-From b0a1116bebfbe573646f28cb34e78ad93cbeacd9 Mon Sep 17 00:00:00 2001
+From 91740b4965c378195e7dd19f331f7170b98db067 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.
@@ -23,7 +23,7 @@ index 919eb3c8a..d7d5f6c12 100644
'<!(rpm --eval "%{_includedir}")/libtgvoip',
'<!(rpm --eval
"%{_includedir}")/guidelines-support-library',
diff --git a/Telegram/gyp/telegram/linux.gypi b/Telegram/gyp/telegram/linux.gypi
-index ed20a849f..0ac159d8a 100644
+index b32c45bf2..009e54c3f 100644
--- a/Telegram/gyp/telegram/linux.gypi
+++ b/Telegram/gyp/telegram/linux.gypi
@@ -29,6 +29,7 @@