[simplescreenrecorder] Added preload patch.
by Vasiliy Glazov
commit 2ce68afc863072f995f90220e4f43039949c501d
Author: Vasiliy Glazov <v.glazov(a)javad.com>
Date: Tue Feb 5 09:03:29 2019 +0300
Added preload patch.
0001-Fix-libssr-glinject.so-preload-path.patch | 26 ++++++++++++++++++++++++++
simplescreenrecorder.spec | 8 ++++++--
2 files changed, 32 insertions(+), 2 deletions(-)
---
diff --git a/0001-Fix-libssr-glinject.so-preload-path.patch b/0001-Fix-libssr-glinject.so-preload-path.patch
new file mode 100644
index 0000000..bf88959
--- /dev/null
+++ b/0001-Fix-libssr-glinject.so-preload-path.patch
@@ -0,0 +1,26 @@
+diff --git a/scripts/ssr-glinject b/scripts/ssr-glinject
+index 48be48d..b3f8b04 100755
+--- a/scripts/ssr-glinject
++++ b/scripts/ssr-glinject
+@@ -59,6 +59,6 @@ do
+ fi
+ done
+
+-echo "ssr-glinject: LD_PRELOAD = $LD_PRELOAD:libssr-glinject.so"
++echo "ssr-glinject: LD_PRELOAD = $LD_PRELOAD:/usr/\$LIB/simplescreenrecorder/libssr-glinject.so"
+ echo "ssr-glinject: command = $@"
+-LD_PRELOAD="$LD_PRELOAD:libssr-glinject.so" "$@"
++LD_PRELOAD="$LD_PRELOAD:/usr/\$LIB/simplescreenrecorder/libssr-glinject.so" "$@"
+diff --git a/src/AV/Input/GLInjectInput.cpp b/src/AV/Input/GLInjectInput.cpp
+index fd1cbda..2530c5f 100644
+--- a/src/AV/Input/GLInjectInput.cpp
++++ b/src/AV/Input/GLInjectInput.cpp
+@@ -97,7 +97,7 @@ void GLInjectInput::SetCapturing(bool capturing) {
+ bool GLInjectInput::LaunchApplication(const QString& channel, bool relax_permissions, const QString& command, const QString& working_directory) {
+
+ // prepare command
+- QString full_command = "LD_PRELOAD=\"libssr-glinject.so\" ";
++ QString full_command = "LD_PRELOAD=\"/usr/\\$LIB/simplescreenrecorder/libssr-glinject.so\" ";
+ full_command += "SSR_CHANNEL=\"" + ShellEscape(channel) + "\" ";
+ if(relax_permissions)
+ full_command += "SSR_STREAM_RELAX_PERMISSIONS=1 ";
diff --git a/simplescreenrecorder.spec b/simplescreenrecorder.spec
index febbe25..12b5101 100644
--- a/simplescreenrecorder.spec
+++ b/simplescreenrecorder.spec
@@ -1,12 +1,13 @@
%define shortname ssr
Name: simplescreenrecorder
Version: 0.3.11
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: Simple Screen Recorder is a screen recorder for Linux
License: GPLv3
URL: http://www.maartenbaert.be/simplescreenrecorder/
Source0: https://github.com/MaartenBaert/ssr/archive/%{version}.tar.gz
+Patch0: 0001-Fix-libssr-glinject.so-preload-path.patch
BuildRequires: gcc-c++
BuildRequires: desktop-file-utils
@@ -37,7 +38,7 @@ Despite the name, this program is actually quite complex.
It's 'simple' in the sense that it's easier to use than ffmpeg/avconv or VLC
%prep
-%autosetup -n %{shortname}-%{version}
+%autosetup -p1 -n %{shortname}-%{version}
%build
@@ -98,6 +99,9 @@ fi
%{_datadir}/appdata/%{name}.appdata.xml
%changelog
+* Mon Feb 04 2019 Vasiliy N. Glazov <vascom2(a)gmail.com> - 0.3.11-5
+- Added preload patch
+
* Wed Nov 14 2018 Antonio Trande <sagitter(a)fedoraproject.org> - 0.3.11-4
- Rebuild for ffmpeg-3.4.5 on el7
5 years, 9 months
[flowblade/f29] Update to 2.0-1
by Martin Gansser
Summary of changes:
dbf32ee... Update to 2.0-1 (*)
(*) This commit already existed in another branch; no separate mail sent
5 years, 9 months
[flowblade] Update to 2.0-1
by Martin Gansser
commit dbf32eef7be199aef3e2b963d7a96ef8949a713e
Author: Martin Gansser <mgansser(a)online.de>
Date: Mon Feb 4 13:21:19 2019 +0100
Update to 2.0-1
.gitignore | 1 +
flowblade.spec | 65 +++++++++++++++-------
...-001_sys_path.patch => flowblade_sys_path.patch | 18 ++++--
sources | 2 +-
4 files changed, 58 insertions(+), 28 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 466d9ab..b3d8b6c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,3 +6,4 @@
/flowblade-1.16.0-d2f153f.tar.gz
/flowblade-1.16.0-3fdb76d.tar.gz
/flowblade-1.16.0-4c25c3c.tar.gz
+/flowblade-2.0.tar.gz
diff --git a/flowblade.spec b/flowblade.spec
index c03784d..6b809cd 100644
--- a/flowblade.spec
+++ b/flowblade.spec
@@ -1,17 +1,29 @@
-# https://github.com/jliljebl/flowblade/commit/3fdb76d2331e2a4c7ea2b3cb4c93...
-# https://github.com/jliljebl/flowblade/commit/4c25c3cf784c30532eebe082d7fe...
-#global commit0 3fdb76d2331e2a4c7ea2b3cb4c9300a33e1b39af
-%global commit0 4c25c3cf784c30532eebe082d7fed881f2905cb5
+#For git snapshots, set to 0 to use release instead:
+%global usesnapshot 0
+%if 0%{?usesnapshot}
+%global commit0 21710f51e7f14e14bfed998ef2df8cc444d26776
%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
+%global snapshottag .git%{shortcommit0}
+%endif
+%global unique_name io.github.jliljebl.Flowblade
Name: flowblade
-Version: 1.16.0
-Release: 5.git%{shortcommit0}%{?dist}
+%if 0%{?usesnapshot}
+Version: 2.0
+Release: 1.git%{?snapshottag}%{?dist}
+%else
+Version: 2.0
+Release: 1%{?dist}
+%endif
License: GPLv3
Summary: Multitrack non-linear video editor for Linux
Url: https://github.com/jliljebl/flowblade
+%if 0%{?usesnapshot}
Source0: %{url}/archive/%{commit0}/%{name}-%{version}-%{shortcommit0}.tar.gz
-Patch0: flowblade-001_sys_path.patch
+%else
+Source0: %{url}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
+%endif
+Patch0: flowblade_sys_path.patch
BuildRequires: desktop-file-utils
BuildRequires: libappstream-glib
@@ -54,21 +66,29 @@ parts of clips.
Flowblade provides powerful tools to mix and filter video and audio.
%prep
-%setup -qn %{name}-%{commit0}/flowblade-trunk
+%if 0%{?usesnapshot}
+%setup -qn %{name}-%{commit0}
+%else
+%setup -q -n %{name}-%{version}
+%endif
+
# fix to /usr/bin/flowblade
%patch0 -p1
# fix wrong-script-interpreter errors
-sed -i -e 's@#!/usr/bin/env python@#!/usr/bin/python2@g' Flowblade/launch/*
-sed -i -e 's@#!/usr/bin/env python@#!/usr/bin/python2@g' Flowblade/tools/clapperless.py
+sed -i -e 's|#!/usr/bin/env python|#!/usr/bin/python2|g' flowblade-trunk/Flowblade/launch/*
+sed -i -e 's|#!/usr/bin/env python|#!/usr/bin/python2|g' flowblade-trunk/Flowblade/tools/clapperless.py
# fix to %%{_datadir}/locale
-sed -i "s|respaths.LOCALE_PATH|'%{_datadir}/locale'|g" Flowblade/translations.py
+sed -i "s|respaths.LOCALE_PATH|'%{_datadir}/locale'|g" flowblade-trunk/Flowblade/translations.py
+
%build
+cd flowblade-trunk
%py2_build
%install
+cd flowblade-trunk
%py2_install
# fix permissions
@@ -88,27 +108,30 @@ done
chmod a+x %{buildroot}%{python2_sitelib}/Flowblade/tools/clapperless.py
install -d -m 0755 %{buildroot}%{python2_sitelib}/Flowblade/res/css
-cp Flowblade/res/css/gtk-dark-fix.css %{buildroot}%{python2_sitelib}/Flowblade/res/css
+cp Flowblade/res/css/gtk-flowblade-dark.css %{buildroot}%{python2_sitelib}/Flowblade/res/css
%find_lang %{name}
%check
-desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
+desktop-file-validate %{buildroot}%{_datadir}/applications/%{unique_name}.desktop
appstream-util validate-relax --nonet %{buildroot}%{_datadir}/appdata/*.appdata.xml
-%files -f %{name}.lang
-%doc README
-%license COPYING
+%files -f flowblade-trunk/%{name}.lang
+%doc flowblade-trunk/README
+%license flowblade-trunk/COPYING
%{_bindir}/%{name}
-%{_datadir}/applications/%{name}.desktop
+%{_datadir}/applications/%{unique_name}.desktop
%{_mandir}/man1/%{name}.1.*
-%{_datadir}/mime/packages/%{name}.xml
-%{_datadir}/appdata/%{name}.appdata.xml
-%{_datadir}/icons/hicolor/128x128/apps/%{name}.png
+%{_datadir}/mime/packages/%{unique_name}.xml
+%{_datadir}/appdata/%{unique_name}.appdata.xml
+%{_datadir}/icons/hicolor/128x128/apps/%{unique_name}.png
%{python2_sitelib}/Flowblade/
%{python2_sitelib}/%{name}*
%changelog
+* Mon Feb 04 2019 Martin Gansser <martinkg(a)fedoraproject.org> - 2.0-1
+- Update to 2.0-1
+
* Thu Jul 26 2018 RPM Fusion Release Engineering <leigh123linux(a)gmail.com> - 1.16.0-5.git4c25c3c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
@@ -193,7 +216,7 @@ appstream-util validate-relax --nonet %{buildroot}%{_datadir}/appdata/*.appdata.
* Mon Jun 22 2015 Martin Gansser <martinkg(a)fedoraproject.org> - 1.1.0-4.git94f69ce
- Fix file permissions before and after build
-- Remove /usr/lib/mime/packages/flowblade file
+- Remove flowblade mime file
- move .mo files to /usr/share/locale
* Sun Jun 21 2015 Martin Gansser <martinkg(a)fedoraproject.org> - 1.1.0-3.git94f69ce
diff --git a/flowblade-001_sys_path.patch b/flowblade_sys_path.patch
similarity index 50%
rename from flowblade-001_sys_path.patch
rename to flowblade_sys_path.patch
index 41f84c2..ceb3204 100644
--- a/flowblade-001_sys_path.patch
+++ b/flowblade_sys_path.patch
@@ -1,7 +1,7 @@
---- ./flowblade 2015-06-16 22:25:18.000000000 +0100
-+++ ./flowblade 2015-06-21 06:58:24.782414252 +0100
-@@ -34,13 +34,14 @@ print "Launch script dir:", launch_dir
- # Update sys.path to include modules
+--- flowblade-2.0/flowblade-trunk/flowblade.orig 2019-02-04 13:10:26.894134599 +0100
++++ flowblade-2.0/flowblade-trunk/flowblade 2019-02-04 13:13:08.284504048 +0100
+@@ -36,7 +36,8 @@
+ # When running on distro
if launch_dir == "/usr/bin":
print "Running from installation..."
- modules_path = "/usr/share/flowblade/Flowblade"
@@ -9,11 +9,17 @@
+ modules_path = "%s/Flowblade" % get_python_lib()
if not os.path.isdir(modules_path):
modules_path = "/usr/share/pyshared/Flowblade"
+ print "modules path:", modules_path
+@@ -46,11 +47,11 @@
+ modules_path = "/app/share/flowblade/Flowblade"
+ if not os.path.isdir(modules_path):
+ modules_path = "/app/share/pyshared/Flowblade"
- print "modules path:", modules_path
+ # When running in filesystem
else:
print "Running from filesystem..."
modules_path = launch_dir + "/Flowblade"
-+print "modules path:", modules_path
++ print "modules path:", modules_path
sys.path.insert(0, modules_path)
- sys.path.insert(0, modules_path + "/vieweditor")
+
diff --git a/sources b/sources
index b6c0983..9788c30 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-0b907768866899cca164f2377ccaf2ac flowblade-1.16.0-4c25c3c.tar.gz
+2d97ad242255705001cdb9707f0f70ff flowblade-2.0.tar.gz
5 years, 9 months
[devedeng] Updated to new upstream release
by Andrea Musuruane
commit 21e9afd966e52b86d24613521eb2d9e0e7f43e5b
Author: Andrea Musuruane <musuruan(a)gmail.com>
Date: Fri Feb 1 18:37:01 2019 +0100
Updated to new upstream release
.gitignore | 1 +
devedeng.spec | 13 +++++++------
sources | 2 +-
3 files changed, 9 insertions(+), 7 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 351c925..c35e351 100644
--- a/.gitignore
+++ b/.gitignore
@@ -17,3 +17,4 @@
/devedeng-4.10.0.tar.gz
/devedeng-4.11.0.tar.gz
/devedeng-4.12.0.tar.gz
+/devedeng-4.13.0.tar.gz
diff --git a/devedeng.spec b/devedeng.spec
index 483ba99..33cfbcb 100644
--- a/devedeng.spec
+++ b/devedeng.spec
@@ -1,13 +1,11 @@
-%global commit f0893b3ff7b14723bd148db35bdfe2d284156d19
-
Name: devedeng
-Version: 4.12.0
-Release: 4%{?dist}
+Version: 4.13.0
+Release: 1%{?dist}
Summary: A program to create video DVDs and CDs (VCD, sVCD or CVD)
License: GPLv3+
URL: http://www.rastersoft.com/programas/devede.html
-Source0: https://gitlab.com/rastersoft/devedeng/repository/archive.tar.gz?ref=%{ve...
+Source0: https://gitlab.com/rastersoft/devedeng/-/archive/%{version}/%{name}-%{ver...
Source1: devede_ng.py.appdata.xml
BuildArch: noarch
@@ -48,7 +46,7 @@ to expand it and easily add new features.
%prep
-%autosetup -n %{name}-%{version}-%{commit}
+%autosetup -n %{name}-%{version}
%build
@@ -102,6 +100,9 @@ appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/*.appdata
%changelog
+* Fri Feb 01 2019 Andrea Musuruane <musuruan(a)gmail.com> - 4.13.0-1
+- Updated to new upstream release
+
* Sun Sep 30 2018 Leigh Scott <leigh123linux(a)googlemail.com> - 4.12.0-4
- Require genisoimage as mkisofs virtual provides was removed
diff --git a/sources b/sources
index 8ada37f..99184da 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-67e755a514fd73512bad035622dd00d1 devedeng-4.12.0.tar.gz
+5fdeea5f81ce9e2407e5df99d8e738ad devedeng-4.13.0.tar.gz
5 years, 9 months
[telegram-desktop/f28: 2/2] Merge branch 'master' into f28
by Vitaly Zaitsev
commit 77d855d0a2427a6a353f61326ae188f9dc58156d
Merge: 355ce80 28791fa
Author: Vitaly Zaitsev <vitaly(a)easycoding.org>
Date: Fri Feb 1 22:22:33 2019 +0500
Merge branch 'master' into f28
.gitignore | 1 +
sources | 2 +-
telegram-desktop-build-fixes.patch | 46 ++++++++++++++-------------------
telegram-desktop-system-fonts.patch | 4 +--
telegram-desktop-unbundle-minizip.patch | 6 ++---
telegram-desktop.spec | 15 +++++++++--
6 files changed, 39 insertions(+), 35 deletions(-)
---
5 years, 9 months
[telegram-desktop/f28: 1/2] Updated to 1.5.11. Enabled LTO optimizations.
by Vitaly Zaitsev
commit 28791fa65040612d73b0815c1d425b73ab1665b2
Author: Vitaly Zaitsev <vitaly(a)easycoding.org>
Date: Fri Feb 1 18:22:16 2019 +0100
Updated to 1.5.11. Enabled LTO optimizations.
.gitignore | 1 +
sources | 2 +-
telegram-desktop-build-fixes.patch | 46 ++++++++++++++-------------------
telegram-desktop-system-fonts.patch | 4 +--
telegram-desktop-unbundle-minizip.patch | 6 ++---
telegram-desktop.spec | 15 +++++++++--
6 files changed, 39 insertions(+), 35 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e890e47..d2b9225 100644
--- a/.gitignore
+++ b/.gitignore
@@ -69,3 +69,4 @@
/crl-9b7c6b5.tar.gz
/tdesktop-1.5.7.tar.gz
/tdesktop-1.5.8.tar.gz
+/tdesktop-1.5.11.tar.gz
diff --git a/sources b/sources
index 186d347..e8b77ce 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
3ac19bcca9cb18f67bdb0ccb99445773 crl-9b7c6b5.tar.gz
-1c8649412b9c2ac36d5e79c9a1236610 tdesktop-1.5.8.tar.gz
+b34989efc35c74a313e59fbc64d8583c tdesktop-1.5.11.tar.gz
diff --git a/telegram-desktop-build-fixes.patch b/telegram-desktop-build-fixes.patch
index 0f1b24a..517ff88 100644
--- a/telegram-desktop-build-fixes.patch
+++ b/telegram-desktop-build-fixes.patch
@@ -1,4 +1,4 @@
-From 1fd00618894c6f2ff7a04620883d123cf0aba7dd Mon Sep 17 00:00:00 2001
+From f2b45bc6e63be1613cda0a5116ef36e2fdb5718f 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.
@@ -18,12 +18,12 @@ Subject: [PATCH 1/3] Fixed build under Fedora using rpmbuild and mock.
Telegram/gyp/qt.gypi | 87 ++++++---------------
Telegram/gyp/qt_moc.gypi | 5 +-
Telegram/gyp/qt_rcc.gypi | 2 +-
- Telegram/gyp/settings_linux.gypi | 25 +-----
+ Telegram/gyp/settings_linux.gypi | 13 ----
Telegram/gyp/telegram_linux.gypi | 73 +++++-------------
Telegram/gyp/telegram_sources.txt | 2 +-
lib/xdg/telegramdesktop.appdata.xml | 2 +-
lib/xdg/telegramdesktop.desktop | 5 +-
- 19 files changed, 173 insertions(+), 192 deletions(-)
+ 19 files changed, 172 insertions(+), 181 deletions(-)
create mode 100644 Telegram/SourceFiles/qt_functions.cpp
create mode 100644 Telegram/gyp/CMakeLists.inj
@@ -41,12 +41,12 @@ index 164e8d4f2..c67569284 100644
</qresource>
</RCC>
diff --git a/Telegram/SourceFiles/core/launcher.cpp b/Telegram/SourceFiles/core/launcher.cpp
-index 83f869e36..a3110d826 100644
+index 129407523..0b5a1c3ef 100644
--- a/Telegram/SourceFiles/core/launcher.cpp
+++ b/Telegram/SourceFiles/core/launcher.cpp
-@@ -59,6 +59,7 @@ int Launcher::exec() {
+@@ -228,6 +228,7 @@ int Launcher::exec() {
Logs::start(this); // must be started before Platform is started
- Platform::start(); // must be started before QApplication is created
+ Platform::start(); // must be started before Sandbox is created
+ unsetenv("QT_QPA_PLATFORMTHEME");
auto result = executeApplication();
@@ -595,7 +595,7 @@ index f5624a82b..b644ce29f 100644
'-no-compress',
'<(RULE_INPUT_PATH)',
diff --git a/Telegram/gyp/settings_linux.gypi b/Telegram/gyp/settings_linux.gypi
-index 17219fa2c..9b6f0c510 100644
+index 17219fa2c..072c15d94 100644
--- a/Telegram/gyp/settings_linux.gypi
+++ b/Telegram/gyp/settings_linux.gypi
@@ -9,10 +9,6 @@
@@ -609,25 +609,17 @@ index 17219fa2c..9b6f0c510 100644
'-fPIC',
'-Wno-unused-variable',
'-Wno-unused-parameter',
-@@ -43,24 +39,10 @@
- 'sources': [ '__Wrong_Official_Build_Target_<(official_build_target)_' ],
- }],
- ],
-- }], [ '"<!(uname -p)" == "x86_64"', {
-- # 32 bit version can't be linked with debug info or LTO,
-- # virtual memory exhausted :(
+@@ -46,9 +42,6 @@
+ }], [ '"<!(uname -p)" == "x86_64"', {
+ # 32 bit version can't be linked with debug info or LTO,
+ # virtual memory exhausted :(
- 'cflags_c': [ '-g' ],
- 'cflags_cc': [ '-g' ],
- 'ldflags': [ '-g' ],
-- 'configurations': {
-- 'Release': {
-- 'cflags_c': [ '-flto' ],
-- 'cflags_cc': [ '-flto' ],
-- 'ldflags': [ '-flto', '-fuse-linker-plugin' ],
-- },
-- },
-- }]
-+ }],
+ 'configurations': {
+ 'Release': {
+ 'cflags_c': [ '-flto' ],
+@@ -60,7 +53,6 @@
],
'defines': [
'_REENTRANT',
@@ -635,7 +627,7 @@ index 17219fa2c..9b6f0c510 100644
'QT_PLUGIN',
],
'cflags_c': [
-@@ -72,11 +54,6 @@
+@@ -72,11 +64,6 @@
'-std=c++1z',
'-Wno-register',
],
@@ -767,11 +759,11 @@ index ffe0e5a96..9bc686d44 100644
],
}], ['<!(pkg-config ayatana-appindicator3-0.1; echo $?) == 0', {
diff --git a/Telegram/gyp/telegram_sources.txt b/Telegram/gyp/telegram_sources.txt
-index 2a2d718b8..d82413a3c 100644
+index a914a0ae5..c36ab7817 100644
--- a/Telegram/gyp/telegram_sources.txt
+++ b/Telegram/gyp/telegram_sources.txt
-@@ -822,7 +822,7 @@
- <(src_loc)/messenger.h
+@@ -824,7 +824,7 @@
+ <(src_loc)/mediaview.h
<(src_loc)/observer_peer.cpp
<(src_loc)/observer_peer.h
-<(src_loc)/qt_static_plugins.cpp
diff --git a/telegram-desktop-system-fonts.patch b/telegram-desktop-system-fonts.patch
index fa79d3d..ec731a5 100644
--- a/telegram-desktop-system-fonts.patch
+++ b/telegram-desktop-system-fonts.patch
@@ -1,4 +1,4 @@
-From c29b7e8b28c044eae3d480bf69338dc1accadbd7 Mon Sep 17 00:00:00 2001
+From 72e5ad8818993786d24ba1321e29612ca3dd99d4 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
@@ -25,7 +25,7 @@ index 99f66c5cb..b3b241c9f 100644
<file alias="art/bg_initial.jpg">../art/bg_initial.jpg</file>
<file alias="art/logo_256.png">../art/logo_256.png</file>
diff --git a/Telegram/SourceFiles/ui/twidget.cpp b/Telegram/SourceFiles/ui/twidget.cpp
-index be9ecce12..52da1540a 100644
+index d105f78c2..550bd50db 100644
--- a/Telegram/SourceFiles/ui/twidget.cpp
+++ b/Telegram/SourceFiles/ui/twidget.cpp
@@ -70,9 +70,9 @@ void Start() {
diff --git a/telegram-desktop-unbundle-minizip.patch b/telegram-desktop-unbundle-minizip.patch
index cfc1a4e..cec8e22 100644
--- a/telegram-desktop-unbundle-minizip.patch
+++ b/telegram-desktop-unbundle-minizip.patch
@@ -1,4 +1,4 @@
-From 897c69f886c153bb5d5e7be1c57aff972adb5308 Mon Sep 17 00:00:00 2001
+From 421283fe4936cac801aa483dd7af3464a8212982 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.
@@ -50,10 +50,10 @@ index 9bc686d44..806374202 100644
'lzma',
'xxhash',
diff --git a/Telegram/gyp/telegram_sources.txt b/Telegram/gyp/telegram_sources.txt
-index d82413a3c..a48fdbf7e 100644
+index c36ab7817..6181f7d35 100644
--- a/Telegram/gyp/telegram_sources.txt
+++ b/Telegram/gyp/telegram_sources.txt
-@@ -829,13 +829,6 @@
+@@ -831,13 +831,6 @@
<(emoji_suggestions_loc)/emoji_suggestions.h
platforms: !win
diff --git a/telegram-desktop.spec b/telegram-desktop.spec
index 2e477c8..6623c45 100644
--- a/telegram-desktop.spec
+++ b/telegram-desktop.spec
@@ -12,7 +12,7 @@
Summary: Telegram Desktop official messaging app
Name: telegram-desktop
-Version: 1.5.8
+Version: 1.5.11
Release: 1%{?dist}
# Application and 3rd-party modules licensing:
@@ -104,7 +104,6 @@ TDESKTOP_BUILD_DEFINES+='TDESKTOP_DISABLE_AUTOUPDATE,'
TDESKTOP_BUILD_DEFINES+='TDESKTOP_DISABLE_REGISTER_CUSTOM_SCHEME,'
TDESKTOP_BUILD_DEFINES+='TDESKTOP_DISABLE_DESKTOP_FILE_GENERATION,'
TDESKTOP_BUILD_DEFINES+='TDESKTOP_DISABLE_CRASH_REPORTS,'
-TDESKTOP_BUILD_DEFINES+='TDESKTOP_DISABLE_UNITY_INTEGRATION'
# Generating cmake script using GYP...
pushd Telegram/gyp
@@ -115,6 +114,11 @@ popd
LEN=$(($(wc -l < out/Release/CMakeLists.txt) - 2))
sed -i "$LEN r Telegram/gyp/CMakeLists.inj" out/Release/CMakeLists.txt
+# Exporting correct paths to AR and RANLIB in order to use FLTO optimizations...
+%ifarch x86_64
+sed -e '/set(configuration "Release")/a\' -e 'set(CMAKE_AR "%{_bindir}/gcc-ar")\' -e 'set(CMAKE_RANLIB "%{_bindir}/gcc-ranlib")\' -e 'set(CMAKE_NM "%{_bindir}/gcc-nm")' -i out/Release/CMakeLists.txt
+%endif
+
# Building Telegram Desktop using cmake...
pushd out/Release
%cmake .
@@ -153,6 +157,13 @@ appstream-util validate-relax --nonet "%{buildroot}%{_datadir}/metainfo/%{name}.
%{_datadir}/metainfo/%{name}.appdata.xml
%changelog
+* Fri Feb 01 2019 Vitaly Zaitsev <vitaly(a)easycoding.org> - 1.5.11-1
+- Updated to 1.5.11.
+- Enabled LTO optimizations.
+
+* Fri Feb 01 2019 Vitaly Zaitsev <vitaly(a)easycoding.org> - 1.5.10-1
+- Updated to 1.5.10.
+
* Mon Jan 21 2019 Vitaly Zaitsev <vitaly(a)easycoding.org> - 1.5.8-1
- Updated to 1.5.8.
5 years, 9 months