commit 9e6fdc77e011812bd9014d62d2d1703ee8ae26b4
Author: Vitaly Zaitsev <vitaly(a)easycoding.org>
Date: Wed Jan 29 08:53:47 2020 +0100
Updated to version 1.9.9.
.gitignore | 1 +
sources | 2 +-
telegram-desktop.spec | 24 ++++++++++++++----------
3 files changed, 16 insertions(+), 11 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 53789f0..419542a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -126,3 +126,4 @@
/tdesktop-1.9.4.tar.gz
/tdesktop-1.9.7-full.tar.gz
/tdesktop-1.9.8-full.tar.gz
+/tdesktop-1.9.9-full.tar.gz
diff --git a/sources b/sources
index 17530a3..3870f1a 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (tdesktop-1.9.8-full.tar.gz) =
5562eb99812a8faec74fe073323d6e04e36311c1e4ce984035212ecfed8bd5d12df92cd0f0022401201136315fb5556971b267b4bf47edf4eeddc9926c7969dc
+SHA512 (tdesktop-1.9.9-full.tar.gz) =
ba6400e6f5eec5bda6e8a54b43846e695b2cce731cb6b39f17407cc39e3e9b8078d977253d29962671f30e33dbe012f8e40f340f781fd8ca73487e5f2d42e3de
diff --git a/telegram-desktop.spec b/telegram-desktop.spec
index fb304be..0e9d9ae 100644
--- a/telegram-desktop.spec
+++ b/telegram-desktop.spec
@@ -1,13 +1,10 @@
# Build conditionals (with - OFF, without - ON)...
%bcond_with gtk3
-%if 0%{?fedora} && %{?fedora} >= 32
-%bcond_without clang
-%else
%bcond_with clang
-%endif
%bcond_without spellcheck
%bcond_without fonts
-%bcond_with ipo
+%bcond_without ipo
+%bcond_without mindbg
# Telegram Desktop's constants...
%global appname tdesktop
@@ -23,8 +20,13 @@
%global optflags %(echo %{optflags} | sed -e 's/-mcet//g' -e
's/-fcf-protection//g' -e 's/-fstack-clash-protection//g' -e
's/$/-Qunused-arguments -Wno-unknown-warning-option/')
%endif
+# Decrease debuginfo verbosity to reduce memory consumption...
+%if %{with mindbg}
+%global optflags %(echo %{optflags} | sed 's/-g /-g1 /')
+%endif
+
Name: telegram-desktop
-Version: 1.9.8
+Version: 1.9.9
Release: 1%{?dist}
# Application and 3rd-party modules licensing:
@@ -94,6 +96,7 @@ Requires: gtk3%{?_isa}
BuildRequires: enchant2-devel
BuildRequires: glib2-devel
Requires: enchant2%{?_isa}
+Requires: hunspell%{?_isa}
%endif
%if %{with clang}
@@ -144,7 +147,7 @@ pushd %{_target_platform}
%if %{without fonts}
-DDESKTOP_APP_USE_PACKAGED_FONTS:BOOL=OFF \
%endif
-%if %{with ipo} && %{without clang}
+%if %{with ipo} && %{with mindbg} && %{without clang}
-DDESKTOP_APP_ENABLE_IPO_OPTIMIZATIONS:BOOL=ON \
%endif
%if %{with clang}
@@ -190,11 +193,12 @@ desktop-file-validate
%{buildroot}%{_datadir}/applications/%{launcher}.desktop
%{_metainfodir}/%{launcher}.appdata.xml
%changelog
+* Wed Jan 29 2020 Vitaly Zaitsev <vitaly(a)easycoding.org> - 1.9.9-1
+- Updated to version 1.9.9.
+- Enabled LTO for all supported releases.
+
* Fri Jan 24 2020 Vitaly Zaitsev <vitaly(a)easycoding.org> - 1.9.8-1
- Updated to version 1.9.8.
* Thu Jan 23 2020 Vitaly Zaitsev <vitaly(a)easycoding.org> - 1.9.7-2
- Fixed desktop launcher. Regression introduced in previous build.
-
-* Thu Jan 23 2020 Vitaly Zaitsev <vitaly(a)easycoding.org> - 1.9.7-1
-- Updated to version 1.9.7.
Show replies by date