[streamripper] Disable LTO (rfbz #5849)
by Leigh Scott
commit dd6e85a4cd296736e880c9c92f9f515fc05cfbef
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Fri Nov 20 22:38:50 2020 +0000
Disable LTO (rfbz #5849)
sources | 2 +-
streamripper.spec | 8 +++++++-
2 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/sources b/sources
index b0e899c..005abaf 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-a37a1a8b8f9228522196a122a1c2dd32 streamripper-1.64.6.tar.gz
+SHA512 (streamripper-1.64.6.tar.gz) = 8477086d0099f6de861f1c47112476c427073b6e8127bbaaa2dd3e7930fe9a5c6d9b2c68d4a317f1bc0b20c625e665d5c245189049d35468aa83cf51828d4428
diff --git a/streamripper.spec b/streamripper.spec
index 97e504c..ba4519d 100644
--- a/streamripper.spec
+++ b/streamripper.spec
@@ -1,7 +1,10 @@
+# https://bugzilla.rpmfusion.org/show_bug.cgi?id=5849
+%global _lto_cflags %{nil}
+
Summary: Shoutcast and icecast compatible streams recorder
Name: streamripper
Version: 1.64.6
-Release: 15%{?dist}
+Release: 16%{?dist}
URL: http://streamripper.sourceforge.net/
License: GPLv2
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
@@ -48,6 +51,9 @@ rm -rf %{buildroot}
%{_mandir}/man1/*
%changelog
+* Fri Nov 20 2020 Leigh Scott <leigh123linux(a)gmail.com> - 1.64.6-16
+- Disable LTO (rfbz #5849)
+
* Tue Aug 18 2020 RPM Fusion Release Engineering <leigh123linux(a)gmail.com> - 1.64.6-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
4 years
[telegram-desktop/f32] Backported upstream patches with startup hangs fixes.
by Vitaly Zaitsev
commit d952c97a47b6b50cb2a1d793dec93eb1cace1d70
Author: Vitaly Zaitsev <vitaly(a)easycoding.org>
Date: Fri Nov 20 17:12:03 2020 +0100
Backported upstream patches with startup hangs fixes.
telegram-desktop-fix-ibus-hangs.patch | 79 ++++++++++++++++++++++++++++
telegram-desktop-fix-ibus-portal-check.patch | 29 ++++++++++
telegram-desktop.spec | 14 +++--
3 files changed, 118 insertions(+), 4 deletions(-)
---
diff --git a/telegram-desktop-fix-ibus-hangs.patch b/telegram-desktop-fix-ibus-hangs.patch
new file mode 100644
index 0000000..1143bdd
--- /dev/null
+++ b/telegram-desktop-fix-ibus-hangs.patch
@@ -0,0 +1,79 @@
+From 8846116f0d2ca72425ed77cc8b49fa3e6cb7aec0 Mon Sep 17 00:00:00 2001
+From: Ilya Fedin <fedin-ilja2010(a)ya.ru>
+Date: Tue, 10 Nov 2020 14:00:26 +0400
+Subject: [PATCH 1/2] Fix 30s hang in case ibus portal couldn't be started
+
+---
+ .../platform/linux/specific_linux.cpp | 42 +++++++++++++++++--
+ 1 file changed, 39 insertions(+), 3 deletions(-)
+
+diff --git a/Telegram/SourceFiles/platform/linux/specific_linux.cpp b/Telegram/SourceFiles/platform/linux/specific_linux.cpp
+index 5fff0b83d..42c50074f 100644
+--- a/Telegram/SourceFiles/platform/linux/specific_linux.cpp
++++ b/Telegram/SourceFiles/platform/linux/specific_linux.cpp
+@@ -35,6 +35,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
+ #ifndef DESKTOP_APP_DISABLE_DBUS_INTEGRATION
+ #include <QtDBus/QDBusInterface>
+ #include <QtDBus/QDBusConnection>
++#include <QtDBus/QDBusConnectionInterface>
+ #include <QtDBus/QDBusMessage>
+ #include <QtDBus/QDBusReply>
+ #include <QtDBus/QDBusError>
+@@ -87,6 +88,31 @@ constexpr auto kXCBFrameExtentsAtomName = "_GTK_FRAME_EXTENTS"_cs;
+ QStringList PlatformThemes;
+
+ #ifndef DESKTOP_APP_DISABLE_DBUS_INTEGRATION
++QStringList ListDBusActivatableNames() {
++ static const auto Result = [&] {
++ const auto message = QDBusMessage::createMethodCall(
++ qsl("org.freedesktop.DBus"),
++ qsl("/org/freedesktop/DBus"),
++ qsl("org.freedesktop.DBus"),
++ qsl("ListActivatableNames"));
++
++ const QDBusReply<QStringList> reply = QDBusConnection::sessionBus()
++ .call(message);
++
++ if (reply.isValid()) {
++ return reply.value();
++ } else {
++ LOG(("App Error: %1: %2")
++ .arg(reply.error().name())
++ .arg(reply.error().message()));
++ }
++
++ return QStringList{};
++ }();
++
++ return Result;
++}
++
+ void PortalAutostart(bool autostart, bool silent = false) {
+ if (cExeName().isEmpty()) {
+ return;
+@@ -133,9 +159,19 @@ bool IsXDGDesktopPortalKDEPresent() {
+ }
+
+ bool IsIBusPortalPresent() {
+- static const auto Result = QDBusInterface(
+- qsl("org.freedesktop.portal.IBus"),
+- qsl("/org/freedesktop/IBus")).isValid();
++ static const auto Result = [&] {
++ const auto interface = QDBusConnection::sessionBus().interface();
++ const auto activatableNames = ListDBusActivatableNames();
++
++ const auto serviceRegistered = interface
++ && interface->isServiceRegistered(
++ qsl("org.freedesktop.portal.IBus"));
++
++ const auto serviceActivatable = activatableNames.contains(
++ qsl("org.freedesktop.portal.IBus"));
++
++ return serviceRegistered || serviceActivatable;
++ }();
+
+ return Result;
+ }
+--
+2.28.0
+
diff --git a/telegram-desktop-fix-ibus-portal-check.patch b/telegram-desktop-fix-ibus-portal-check.patch
new file mode 100644
index 0000000..88c6222
--- /dev/null
+++ b/telegram-desktop-fix-ibus-portal-check.patch
@@ -0,0 +1,29 @@
+From 42f4e8d4fa25170d097db79d572aac5a3f2660d7 Mon Sep 17 00:00:00 2001
+From: Ilya Fedin <fedin-ilja2010(a)ya.ru>
+Date: Thu, 12 Nov 2020 19:10:30 +0400
+Subject: [PATCH 2/2] Since changing the ibus portal check, it is not
+ compatible with snap anymore
+
+---
+ Telegram/SourceFiles/platform/linux/specific_linux.cpp | 5 ++++-
+ 1 file changed, 4 insertions(+), 1 deletion(-)
+
+diff --git a/Telegram/SourceFiles/platform/linux/specific_linux.cpp b/Telegram/SourceFiles/platform/linux/specific_linux.cpp
+index 42c50074f..14264897a 100644
+--- a/Telegram/SourceFiles/platform/linux/specific_linux.cpp
++++ b/Telegram/SourceFiles/platform/linux/specific_linux.cpp
+@@ -1151,7 +1151,10 @@ void start() {
+ // Since tdesktop is distributed in static binary form,
+ // it makes sense to use ibus portal whenever it present
+ // to ensure compatibility with the maximum range of distributions.
+- if (IsIBusPortalPresent()) {
++ if (AreQtPluginsBundled()
++ && !InFlatpak()
++ && !InSnap()
++ && IsIBusPortalPresent()) {
+ LOG(("IBus portal is present! Using it."));
+ qputenv("IBUS_USE_PORTAL", "1");
+ }
+--
+2.28.0
+
diff --git a/telegram-desktop.spec b/telegram-desktop.spec
index 8aa87a7..12242c9 100644
--- a/telegram-desktop.spec
+++ b/telegram-desktop.spec
@@ -29,7 +29,7 @@
Name: telegram-desktop
Version: 2.4.7
-Release: 2%{?dist}
+Release: 3%{?dist}
# Application and 3rd-party modules licensing:
# * Telegram Desktop - GPLv3+ with OpenSSL exception -- main tarball;
@@ -40,6 +40,12 @@ 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/commit/21133abe132344bab00f9c...
+Patch100: %{name}-fix-ibus-hangs.patch
+
+# https://github.com/telegramdesktop/tdesktop/commit/e64f6f72667d1beccd5464...
+Patch101: %{name}-fix-ibus-portal-check.patch
+
# Telegram Desktop require more than 8 GB of RAM on linking stage.
# Disabling all low-memory architectures.
ExclusiveArch: x86_64
@@ -195,11 +201,11 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/%{launcher}.desktop
%{_metainfodir}/%{launcher}.appdata.xml
%changelog
+* Fri Nov 20 2020 Vitaly Zaitsev <vitaly(a)easycoding.org> - 2.4.7-3
+- Backported upstream patches with startup hangs fixes.
+
* Thu Nov 12 2020 Vitaly Zaitsev <vitaly(a)easycoding.org> - 2.4.7-2
- Rebuilt with bundled version of libtgvoip.
* Thu Nov 05 2020 Vitaly Zaitsev <vitaly(a)easycoding.org> - 2.4.7-1
- Updated to version 2.4.7.
-
-* Mon Nov 02 2020 Vitaly Zaitsev <vitaly(a)easycoding.org> - 2.4.6-1
-- Updated to version 2.4.6.
4 years
[tg_owt/f32] Updated to latest Git snapshot.
by Vitaly Zaitsev
commit c68fa0f1811c0fa93f230fe6c05c4e7ee8fd5101
Author: Vitaly Zaitsev <vitaly(a)easycoding.org>
Date: Fri Nov 20 17:02:56 2020 +0100
Updated to latest Git snapshot.
.gitignore | 1 +
sources | 2 +-
tg_owt-add-missing-sources.patch | 23 -----------------------
tg_owt.spec | 12 ++++++------
4 files changed, 8 insertions(+), 30 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 3022c5d..dee6e70 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
/tg_owt-e8fcae7.tar.gz
/tg_owt-12f4a27.tar.gz
+/tg_owt-10b988a.tar.gz
diff --git a/sources b/sources
index e857cea..ca59597 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (tg_owt-12f4a27.tar.gz) = de9d4490c3e68f17dd75e523596683395e67e91b51c5c7af61c0a51517779129cc965bc97d63b5054bdddb76d385ab33d6995d72b08316941fa2a72a93d1c3fa
+SHA512 (tg_owt-10b988a.tar.gz) = 10f6ca1a6a82e9bd9af9e815b4d849fdace39332df61d32a9b706bffc3e8647b20f58e63a2fcc4e714e1480768ddd8f7ad21588f1e9762b3c056b205abfd5806
diff --git a/tg_owt.spec b/tg_owt.spec
index ec11c7d..bde33db 100644
--- a/tg_owt.spec
+++ b/tg_owt.spec
@@ -1,12 +1,12 @@
%undefine __cmake_in_source_build
-%global commit0 12f4a27f2f02f9dd40f9891d8ec6e58bc1ff5263
+%global commit0 10b988aa9111fd25358443ac34d0d422b5108029
%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
-%global date 20201105
+%global date 20201112
Name: tg_owt
Version: 0
-Release: 2.%{date}git%{shortcommit0}%{?dist}
+Release: 3.%{date}git%{shortcommit0}%{?dist}
# Main project - BSD
# abseil-cpp - ASL 2.0
@@ -22,9 +22,6 @@ Summary: WebRTC library for the Telegram messenger
URL: https://github.com/desktop-app/%{name}
Source0: %{url}/archive/%{commit0}/%{name}-%{shortcommit0}.tar.gz
-# https://github.com/desktop-app/tg_owt/pull/37
-Patch100: %{name}-add-missing-sources.patch
-
BuildRequires: pkgconfig(alsa)
BuildRequires: pkgconfig(libavcodec)
BuildRequires: pkgconfig(libavformat)
@@ -152,6 +149,9 @@ cp -f -p src/rtc_base/third_party/sigslot/README.chromium legal/README.sigslot
%{_libdir}/lib%{name}.so
%changelog
+* Fri Nov 20 2020 Vitaly Zaitsev <vitaly(a)easycoding.org> - 0-3.20201112git10b988a
+- Updated to latest Git snapshot.
+
* Thu Nov 12 2020 Vitaly Zaitsev <vitaly(a)easycoding.org> - 0-2.20201105git12f4a27
- Updated to latest Git snapshot.
4 years
[clipgrab/f31] Update to 3.9.2
by Martin Gansser
Summary of changes:
1455aff... Update to 3.9.2 (*)
(*) This commit already existed in another branch; no separate mail sent
4 years
[clipgrab/f32] Update to 3.9.2
by Martin Gansser
Summary of changes:
1455aff... Update to 3.9.2 (*)
(*) This commit already existed in another branch; no separate mail sent
4 years
[clipgrab/f33] Update to 3.9.2
by Martin Gansser
Summary of changes:
1455aff... Update to 3.9.2 (*)
(*) This commit already existed in another branch; no separate mail sent
4 years