1
0

Accepting request 921993 from home:tux93:branches:server:messaging

- Update to 3.1.1
- Update tg_owt
- Remove 0003-prioritize-gtk2.patch, the file it was applied to
  was removed upstream
- Enable GCC11 again

--
old: server:messaging/telegram-desktop
new: home:tux93:branches:server:messaging/telegram-desktop rev None
Index: telegram-desktop.changes
===================================================================
--- telegram-desktop.changes (revision 200)
+++ telegram-desktop.changes (revision 2)
@@ -1,4 +1,50 @@
 -------------------------------------------------------------------
+Tue Sep 28 12:33:30 UTC 2021 - Marcel Kuehlhorn <tux93@opensuse.org>
+
+- Update to 3.1.1
+  * Choose one from dozens of new gorgeous animated backgrounds in
+    Chat Settings > Chat background.
+  * Tile chat background patterns horizontally.
+  * Broadcast video and share your screen to an unlimited number of
+    viewers.
+  * To begin, tap the Live Stream button in the title bar of a
+    community where you are an admin.
+  * Tap the "Forward Message" label above the input field to change
+    how messages will be sent.
+  * Hide or show the original sender's name.
+  * Remove or keep captions from media messages.
+  * See how many unread comments there are when opening a
+    channel's comments.
+  * Check who've seen your message in small groups from the
+    context menu.
+  * Enable recording with video in live streams and video chats.
+  * Add a "Close to Taskbar" option when tray icon is disabled.
+  * Add support for Emoji 13.1.
+  * Some animated emoji now have extra effects.
+  * Send fireworks tada, balloon, :like:, hankey or heart to any
+    private chat, then click on the animated emoji to launch the
+    effect.
+  * If your chat partner also has the chat open, you will both see
+    the effects.
+  * See the "Watching" status when your chat partner is enjoying
+    emoji effects with you.
+  * More interactive emoji coming soon.
+  * Right click one of your outgoing messages in small groups to see
+    who recently viewed it.
+  * To protect privacy, read receipts are only stored for 7 days
+    after the message was sent.
+  * Record video and audio from live broadcasts in your group
+    or channel.
+  * Admins can start recording from the '...' menu.
+  * Choose between recording in portrait or landscape orientation.
+  * Finished recordings are sent to the admin's Saved Messages and
+    can be easily shared.
+- Update tg_owt
+- Remove 0003-prioritize-gtk2.patch, the file it was applied to
+  was removed upstream
+- Enable GCC11 again
+
+-------------------------------------------------------------------
 Mon Aug 30 11:30:32 UTC 2021 - Guillaume GARDET <guillaume.gardet@opensuse.org>
 
 - Enable build on armv6/armv7 since the build has been fixed
Index: telegram-desktop.spec
===================================================================
--- telegram-desktop.spec (revision 200)
+++ telegram-desktop.spec (revision 2)
@@ -21,8 +21,12 @@
 %define _lto_cflags %{nil}
 %endif
 
-# Temporarily stick to gcc10 to work around build failures
+# We need current gcc to build
+%if 0%{?suse_version} < 01550 && 0%{?is_opensuse}
 %bcond_without  fixed_gcc
+%else
+%bcond_with     fixed_gcc
+%endif
 
 %define __builder ninja
 
@@ -30,7 +34,7 @@
 %define _dwz_max_die_limit     200000000
 
 Name:           telegram-desktop
-Version:        2.9.0
+Version:        3.1.1
 Release:        0
 Summary:        Messaging application with a focus on speed and security
 License:        GPL-3.0-only
@@ -43,8 +47,6 @@
 Patch1:         0001-use-bundled-ranged-exptected-gsl.patch
 # PATCH-FIX-OPENSUSE
 Patch2:         0002-tg_owt-fix-name-confliction.patch
-# PATCH-FIX-OPENSUSE boo#1149986
-Patch3:         0003-prioritize-gtk2.patch
 # PATCH-FIX-OPENSUSE
 Patch4:         0004-use-dynamic-x-libraries.patch
 # PATCH-FIX-OPENSUSE
@@ -87,6 +89,7 @@
 BuildRequires:  cmake(KF5Wayland)
 BuildRequires:  pkgconfig(Qt5DBus) >= 5.15
 BuildRequires:  pkgconfig(Qt5Network) >= 5.15
+BuildRequires:  pkgconfig(Qt5Svg) >= 5.15
 BuildRequires:  pkgconfig(Qt5WaylandClient) >= 5.15
 BuildRequires:  pkgconfig(Qt5Widgets) >= 5.15
 BuildRequires:  pkgconfig(alsa)
@@ -163,7 +166,6 @@
 %prep
 %setup -q -n tdesktop-%{version}-full
 %patch1 -p1
-%patch3 -p1
 %patch4 -p1
 %patch5 -p1
 
Index: tg_owt-master.zip
===================================================================
Binary files tg_owt-master.zip (revision 200) and tg_owt-master.zip (revision 2) differ
Index: tdesktop-3.1.1-full.tar.gz
===================================================================
Binary file tdesktop-3.1.1-full.tar.gz (revision 2) added
Index: 0003-prioritize-gtk2.patch
===================================================================
--- 0003-prioritize-gtk2.patch (revision 200)
+++ 0003-prioritize-gtk2.patch (deleted)
@@ -1,19 +0,0 @@
-diff --git a/Telegram/lib_base/base/platform/linux/base_linux_gtk_integration.cpp b/Telegram/lib_base/base/platform/linux/base_linux_gtk_integration.cpp
-index 1b78bac..09c2ede 100644
---- a/Telegram/lib_base/base/platform/linux/base_linux_gtk_integration.cpp
-+++ b/Telegram/lib_base/base/platform/linux/base_linux_gtk_integration.cpp
-@@ -475,12 +475,12 @@ void GtkIntegration::load(const QString &allowedBackends, bool force) {
- 	DEBUG_LOG(("Icon theme: %1").arg(QIcon::themeName()));
- 	DEBUG_LOG(("Fallback icon theme: %1").arg(QIcon::fallbackThemeName()));
- 
--	if (LoadGtkLibrary(_lib, "gtk-3", 0)) {
-+	if (LoadGtkLibrary(_lib, "gtk-x11-2.0", 0)) {
- 		_private->loaded = _private->setupBase(_lib, allowedBackends);
- 	}
- 	if (!_private->loaded
- 		&& !_private->triedToInit
--		&& LoadGtkLibrary(_lib, "gtk-x11-2.0", 0)) {
-+		&& LoadGtkLibrary(_lib, "gtk-3", 0)) {
- 		_private->loaded = _private->setupBase(_lib, allowedBackends);
- 	}
- 
Index: tdesktop-2.9.0-full.tar.gz
===================================================================
Binary file tdesktop-2.9.0-full.tar.gz (revision 200) deleted

OBS-URL: https://build.opensuse.org/request/show/921993
OBS-URL: https://build.opensuse.org/package/show/server:messaging/telegram-desktop?expand=0&rev=201
This commit is contained in:
Marcel Kuehlhorn 2021-09-30 08:34:50 +00:00 committed by Git OBS Bridge
parent 56ee817070
commit 335419547c
6 changed files with 58 additions and 29 deletions

View File

@ -1,19 +0,0 @@
diff --git a/Telegram/lib_base/base/platform/linux/base_linux_gtk_integration.cpp b/Telegram/lib_base/base/platform/linux/base_linux_gtk_integration.cpp
index 1b78bac..09c2ede 100644
--- a/Telegram/lib_base/base/platform/linux/base_linux_gtk_integration.cpp
+++ b/Telegram/lib_base/base/platform/linux/base_linux_gtk_integration.cpp
@@ -475,12 +475,12 @@ void GtkIntegration::load(const QString &allowedBackends, bool force) {
DEBUG_LOG(("Icon theme: %1").arg(QIcon::themeName()));
DEBUG_LOG(("Fallback icon theme: %1").arg(QIcon::fallbackThemeName()));
- if (LoadGtkLibrary(_lib, "gtk-3", 0)) {
+ if (LoadGtkLibrary(_lib, "gtk-x11-2.0", 0)) {
_private->loaded = _private->setupBase(_lib, allowedBackends);
}
if (!_private->loaded
&& !_private->triedToInit
- && LoadGtkLibrary(_lib, "gtk-x11-2.0", 0)) {
+ && LoadGtkLibrary(_lib, "gtk-3", 0)) {
_private->loaded = _private->setupBase(_lib, allowedBackends);
}

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e908b8f479cf1f41892848f3cda1a7b46fca2339ce8980268dd204ff7ba8b6f5
size 37327425

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:04c891128639f0c96fbb63248692d1674a5c03db0f9d294adb4281ec4b895afe
size 38465938

View File

@ -1,3 +1,49 @@
-------------------------------------------------------------------
Tue Sep 28 12:33:30 UTC 2021 - Marcel Kuehlhorn <tux93@opensuse.org>
- Update to 3.1.1
* Choose one from dozens of new gorgeous animated backgrounds in
Chat Settings > Chat background.
* Tile chat background patterns horizontally.
* Broadcast video and share your screen to an unlimited number of
viewers.
* To begin, tap the Live Stream button in the title bar of a
community where you are an admin.
* Tap the "Forward Message" label above the input field to change
how messages will be sent.
* Hide or show the original sender's name.
* Remove or keep captions from media messages.
* See how many unread comments there are when opening a
channel's comments.
* Check who've seen your message in small groups from the
context menu.
* Enable recording with video in live streams and video chats.
* Add a "Close to Taskbar" option when tray icon is disabled.
* Add support for Emoji 13.1.
* Some animated emoji now have extra effects.
* Send fireworks tada, balloon, :like:, hankey or heart to any
private chat, then click on the animated emoji to launch the
effect.
* If your chat partner also has the chat open, you will both see
the effects.
* See the "Watching" status when your chat partner is enjoying
emoji effects with you.
* More interactive emoji coming soon.
* Right click one of your outgoing messages in small groups to see
who recently viewed it.
* To protect privacy, read receipts are only stored for 7 days
after the message was sent.
* Record video and audio from live broadcasts in your group
or channel.
* Admins can start recording from the '...' menu.
* Choose between recording in portrait or landscape orientation.
* Finished recordings are sent to the admin's Saved Messages and
can be easily shared.
- Update tg_owt
- Remove 0003-prioritize-gtk2.patch, the file it was applied to
was removed upstream
- Enable GCC11 again
-------------------------------------------------------------------
Mon Aug 30 11:30:32 UTC 2021 - Guillaume GARDET <guillaume.gardet@opensuse.org>

View File

@ -21,8 +21,12 @@
%define _lto_cflags %{nil}
%endif
# Temporarily stick to gcc10 to work around build failures
# We need current gcc to build
%if 0%{?suse_version} < 01550 && 0%{?is_opensuse}
%bcond_without fixed_gcc
%else
%bcond_with fixed_gcc
%endif
%define __builder ninja
@ -30,7 +34,7 @@
%define _dwz_max_die_limit 200000000
Name: telegram-desktop
Version: 2.9.0
Version: 3.1.1
Release: 0
Summary: Messaging application with a focus on speed and security
License: GPL-3.0-only
@ -43,8 +47,6 @@ Source1: tg_owt-master.zip
Patch1: 0001-use-bundled-ranged-exptected-gsl.patch
# PATCH-FIX-OPENSUSE
Patch2: 0002-tg_owt-fix-name-confliction.patch
# PATCH-FIX-OPENSUSE boo#1149986
Patch3: 0003-prioritize-gtk2.patch
# PATCH-FIX-OPENSUSE
Patch4: 0004-use-dynamic-x-libraries.patch
# PATCH-FIX-OPENSUSE
@ -87,6 +89,7 @@ BuildRequires: yasm
BuildRequires: cmake(KF5Wayland)
BuildRequires: pkgconfig(Qt5DBus) >= 5.15
BuildRequires: pkgconfig(Qt5Network) >= 5.15
BuildRequires: pkgconfig(Qt5Svg) >= 5.15
BuildRequires: pkgconfig(Qt5WaylandClient) >= 5.15
BuildRequires: pkgconfig(Qt5Widgets) >= 5.15
BuildRequires: pkgconfig(alsa)
@ -163,7 +166,6 @@ The service also provides APIs to independent developers.
%prep
%setup -q -n tdesktop-%{version}-full
%patch1 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5cd9d4bab869cc61f0575e6e2e5dbcce2591912fe0b5e10c1b4e9bc6e5f2c69c
size 31285834
oid sha256:859e2d5fb5a6c925641dbac6ded8e58d87d626248339eb4dd8a6e80c3acdc668
size 31285835