[telegram-desktop/f33: 2/2] Packported upstream patch with crash fixes.
by Vitaly Zaitsev
commit 939bff7a4425782cd7e3cad9c394e293add45c33
Author: Vitaly Zaitsev <vitaly(a)easycoding.org>
Date: Tue Feb 9 14:03:54 2021 +0100
Packported upstream patch with crash fixes.
telegram-desktop-crash-fixes.patch | 32 ++++++++++++++++++++++++++++++++
telegram-desktop.spec | 14 +++++++-------
2 files changed, 39 insertions(+), 7 deletions(-)
---
diff --git a/telegram-desktop-crash-fixes.patch b/telegram-desktop-crash-fixes.patch
new file mode 100644
index 0000000..093d96d
--- /dev/null
+++ b/telegram-desktop-crash-fixes.patch
@@ -0,0 +1,32 @@
+From 03e8d28456fbcb6f639ecf4e0d45491612052386 Mon Sep 17 00:00:00 2001
+From: Ilya Fedin <fedin-ilja2010(a)ya.ru>
+Date: Tue, 9 Feb 2021 15:26:33 +0400
+Subject: [PATCH] Check for null manager type
+
+---
+ .../platform/linux/notifications_manager_linux.cpp | 10 +++++-----
+ 1 file changed, 5 insertions(+), 5 deletions(-)
+
+diff --git a/Telegram/SourceFiles/platform/linux/notifications_manager_linux.cpp b/Telegram/SourceFiles/platform/linux/notifications_manager_linux.cpp
+index 7afdd560c71..eb7ca59e549 100644
+--- a/Telegram/SourceFiles/platform/linux/notifications_manager_linux.cpp
++++ b/Telegram/SourceFiles/platform/linux/notifications_manager_linux.cpp
+@@ -722,13 +722,13 @@ void Create(Window::Notifications::System *system) {
+ using ManagerType = Window::Notifications::ManagerType;
+ if ((Core::App().settings().nativeNotifications() && Supported())
+ || Enforced()) {
+- if (*system->managerType() != ManagerType::Native) {
++ if (!system->managerType().has_value()
++ || *system->managerType() != ManagerType::Native) {
+ system->setManager(std::make_unique<Manager>(system));
+ }
+- } else {
+- if (*system->managerType() != ManagerType::Default) {
+- system->setManager(nullptr);
+- }
++ } else if (!system->managerType().has_value()
++ || *system->managerType() != ManagerType::Default) {
++ system->setManager(nullptr);
+ }
+ };
+
diff --git a/telegram-desktop.spec b/telegram-desktop.spec
index e0585de..fc15bb9 100644
--- a/telegram-desktop.spec
+++ b/telegram-desktop.spec
@@ -26,7 +26,7 @@
Name: telegram-desktop
Version: 2.5.8
-Release: 2%{?dist}
+Release: 3%{?dist}
# Application and 3rd-party modules licensing:
# * Telegram Desktop - GPLv3+ with OpenSSL exception -- main tarball;
@@ -37,6 +37,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/telegramdesktop/tdesktop/pull/10336
+Patch100: %{name}-crash-fixes.patch
+
# Telegram Desktop require more than 8 GB of RAM on linking stage.
# Disabling all low-memory architectures.
ExclusiveArch: x86_64
@@ -213,14 +216,11 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/%{launcher}.desktop
%{_metainfodir}/%{launcher}.appdata.xml
%changelog
+* Tue Feb 09 2021 Vitaly Zaitsev <vitaly(a)easycoding.org> - 2.5.8-3
+- Packported upstream patch with crash fixes.
+
* Thu Feb 04 2021 RPM Fusion Release Engineering <leigh123linux(a)gmail.com> - 2.5.8-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Mon Feb 01 2021 Vitaly Zaitsev <vitaly(a)easycoding.org> - 2.5.8-1
- Updated to version 2.5.8.
-
-* Fri Jan 01 2021 Leigh Scott <leigh123linux(a)gmail.com> - 2.5.1-2
-- Rebuilt for new ffmpeg snapshot
-
-* Wed Dec 23 2020 Vitaly Zaitsev <vitaly(a)easycoding.org> - 2.5.1-1
-- Updated to version 2.5.1.
3 years, 9 months
[ppsspp/f32: 2/2] Merge branch 'master' into f32
by sagitter
commit 1ad17f4d8b35726eec9e96a4ddff931dabe31e19
Merge: 815dada 5cded74
Author: Antonio T <sagitter(a)fedoraproject.org>
Date: Mon Feb 8 20:10:06 2021 +0100
Merge branch 'master' into f32
ppsspp.spec | 18 ++++++------------
1 file changed, 6 insertions(+), 12 deletions(-)
---
3 years, 9 months
[ppsspp] Change filtering method of private libraries
by sagitter
commit 5cded747ff410ff9d50cfb8d22ff176fd902205c
Author: Antonio T <sagitter(a)fedoraproject.org>
Date: Mon Feb 8 20:08:28 2021 +0100
Change filtering method of private libraries
ppsspp.spec | 18 ++++++------------
1 file changed, 6 insertions(+), 12 deletions(-)
---
diff --git a/ppsspp.spec b/ppsspp.spec
index 2075c21..8afc3f6 100644
--- a/ppsspp.spec
+++ b/ppsspp.spec
@@ -2,17 +2,8 @@
ExcludeArch: %{power64}
# Filter private libraries
-%global _privatelibs libglslang
-%global _privatelibs %{_privatelibs}|libSPIRV
-%global _privatelibs %{_privatelibs}|libSPVRemapper
-%global _privatelibs %{_privatelibs}|ppsspp_libretro
-%global _privatelibs %{_privatelibs}|libavcodec
-%global _privatelibs %{_privatelibs}|libavformat
-%global _privatelibs %{_privatelibs}|libswscale
-%global _privatelibs %{_privatelibs}|libswresample
-%global _privatelibs %{_privatelibs}|libavutil
-%global __provides_exclude ^(%{_privatelibs})\\.so.*$
-%global __requires_exclude ^(%{_privatelibs})\\.so.*$
+%global __provides_exclude ^(%%(find %{buildroot}%{_libdir}/ppsspp -name '*.so' | xargs -n1 basename | sort -u | paste -s -d '|' -))
+%global __requires_exclude ^(%%(find %{buildroot}%{_libdir}/ppsspp -name '*.so' | xargs -n1 basename | sort -u | paste -s -d '|' -))
#
# Disable LTO flags
@@ -86,7 +77,7 @@ ExcludeArch: %{power64}
Name: ppsspp
Version: 1.11
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: A PSP emulator
License: BSD and GPLv2+
URL: https://www.ppsspp.org/
@@ -424,6 +415,9 @@ fi
%{_datadir}/icons/%{name}/
%changelog
+* Mon Feb 08 2021 Antonio Trande <sagitter(a)fedoraproject.org> - 1.11-2
+- Change filtering method of private libraries
+
* Mon Feb 08 2021 Antonio Trande <sagitter(a)fedoraproject.org> - 1.11-1
- Release 1.11
3 years, 9 months
[ppsspp/f32: 7/7] Merge branch 'master' into f32
by sagitter
commit 815dada974d031f21ebd8af979167ce07eb755cb
Merge: d716394 ae8d48a
Author: Antonio T <sagitter(a)fedoraproject.org>
Date: Mon Feb 8 17:58:19 2021 +0100
Merge branch 'master' into f32
.gitignore | 2 +
ppsspp-ffmpeg-set_aarch64_build_flags.patch | 40 +++++
ppsspp-ffmpeg-set_arm_build_flags.patch | 79 +++++++++
ppsspp-ffmpeg-set_x64_build_flags.patch | 31 ++++
ppsspp.spec | 252 ++++++++++++++++++++--------
sources | 2 +-
6 files changed, 337 insertions(+), 69 deletions(-)
---
3 years, 9 months
[ppsspp/f33] (6 commits) ...Release 1.11
by sagitter
Summary of changes:
4eedb9f... Fix CMake options (*)
bf801b2... Fix Make commands| Add make BR (*)
ea90331... Rebuilt for new ffmpeg snapshot (*)
2dd9c9a... Use bundled FFMpeg-3.0.2 in Fedora 34 (RPM Fusion bz#5889) (*)
74dcecd... - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass (*)
ae8d48a... Release 1.11 (*)
(*) This commit already existed in another branch; no separate mail sent
3 years, 9 months