1
0

Accepting request 867562 from home:tux93

- Update to 2.5.7
  * Delete not only messages, but also groups you created and
    call history for all sides, without a trace.
  * Adjust volume for individual participants of a voice chat.
  * Report fake groups or channels impersonating famous people or
    organizations by opening their Profile > ... > Report.
- Updatet tg_owt
  * adapt 0002-tg_owt-fix-name-confliction.patch
- Rebase 0000-gtk2-default.patch
- Add Recommends for google-opensans-fonts

OBS-URL: https://build.opensuse.org/request/show/867562
OBS-URL: https://build.opensuse.org/package/show/server:messaging/telegram-desktop?expand=0&rev=178
This commit is contained in:
Marcel Kuehlhorn 2021-01-29 12:46:23 +00:00 committed by Git OBS Bridge
parent a5a2d892a2
commit 494727588e
7 changed files with 79 additions and 20 deletions

View File

@ -1,15 +1,17 @@
--- tdesktop-2.7.3-full/Telegram/SourceFiles/platform/linux/linux_libs.cpp.orig 2020-06-03 18:18:48.829895452 +0000
+++ tdesktop-2.7.3-full/Telegram/SourceFiles/platform/linux/linux_libs.cpp 2020-06-03 18:21:15.248705051 +0000
@@ -272,10 +272,10 @@ void start() {
--- tdesktop-2.5.6-full/Telegram/SourceFiles/platform/linux/linux_gtk_integration.cpp.orig 2021-01-25 12:03:00.667137167 +0100
+++ tdesktop-2.5.6-full/Telegram/SourceFiles/platform/linux/linux_gtk_integration.cpp 2021-01-25 12:04:18.203759707 +0100
@@ -317,12 +317,12 @@ void GtkIntegration::load() {
QLibrary lib_gtk;
lib_gtk.setLoadHints(QLibrary::DeepBindHint);
- if (loadLibrary(lib_gtk, "gtk-3", 0)) {
+ if (loadLibrary(lib_gtk, "gtk-x11-2.0", 0)) {
gtkLoaded = setupGtkBase(lib_gtk);
- if (LoadLibrary(lib_gtk, "gtk-3", 0)) {
+ if (LoadLibrary(lib_gtk, "gtk-x11-2.0", 0)) {
GtkLoaded = SetupGtkBase(lib_gtk);
}
- if (!gtkLoaded && !gtkTriedToInit && loadLibrary(lib_gtk, "gtk-x11-2.0", 0)) {
+ if (!gtkLoaded && !gtkTriedToInit && loadLibrary(lib_gtk, "gtk-3", 0)) {
gtkLoaded = setupGtkBase(lib_gtk);
if (!GtkLoaded
&& !GtkTriedToInit
- && LoadLibrary(lib_gtk, "gtk-x11-2.0", 0)) {
+ && LoadLibrary(lib_gtk, "gtk-3", 0)) {
GtkLoaded = SetupGtkBase(lib_gtk);
}

View File

@ -28,9 +28,9 @@ diff --git a/tg_owt-master/src/pc/srtp_session.cc b/tg_owt/src/pc/srtp_session.c
index 5ded455..90643f8 100644
--- a/tg_owt-master/src/pc/srtp_session.cc
+++ b/tg_owt/src/pc/srtp_session.cc
@@ -17,7 +17,7 @@
#include "rtc_base/logging.h"
#include "rtc_base/ssl_stream_adapter.h"
@@ -21,7 +21,7 @@
#include "rtc_base/time_utils.h"
#include "system_wrappers/include/field_trial.h"
#include "system_wrappers/include/metrics.h"
-#include "third_party/libsrtp/include/srtp.h"
+#include "third_party/libsrtp/include/private_srtp.h"

View File

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

View File

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

View File

@ -1,8 +1,63 @@
-------------------------------------------------------------------
Thu Jan 28 18:18:05 UTC 2021 - Marcel Kuehlhorn <tux93@opensuse.org>
- Update to 2.5.7
* Delete not only messages, but also groups you created and
call history for all sides, without a trace.
* Adjust volume for individual participants of a voice chat.
* Report fake groups or channels impersonating famous people or
organizations by opening their Profile > ... > Report.
-------------------------------------------------------------------
Mon Jan 25 11:06:07 UTC 2021 - Marcel Kuehlhorn <tux93@opensuse.org>
- Update to 2.5.6 (beta)
* Press Up arrow to edit your last sent comment.
* Add more information to date tooltips in Recent Actions and
channel comments.
* Bug andicrash fixes.
- Updatet tg_owt
- Rebase 0000-gtk2-default.patch
-------------------------------------------------------------------
Mon Jan 18 19:57:52 UTC 2021 - Marcel Kuehlhorn <tux93@opensuse.org>
- Update to 2.5.5 (beta)
* Fix recording of audio in voice chats.
* Fix media viewer zoom and crashing.
- Update tg_owt
- Add Recommends for google-opensans-fonts
-------------------------------------------------------------------
Fri Jan 8 00:01:00 UTC 2021 - Marcel Kuehlhorn <tux93@opensuse.org>
- Update to 2.5.4 (beta)
* Implement new audio module code for calls and voice chats.
* Allow retracting votes from polls in comments to channel posts.
* Show small voice chat button for empty voice chats.
* Fix media viewer updating when screen resolution is changed.
- Update tg_owt
* adapt 0002-tg_owt-fix-name-confliction.patch
-------------------------------------------------------------------
Thu Jan 7 16:37:56 UTC 2021 - Andrés Barrantes Silman <andresbs@opensuse.org>
- Adds a missing runtime dependency (libqt5-qtimageformats).
-------------------------------------------------------------------
Wed Dec 30 17:05:40 UTC 2020 - Marcel Kuehlhorn <tux93@opensuse.org>
- Update to 2.5.3 (beta)
* Allow using mouse buttons in Push-to-Talk shortcut.
* Fix blurred thumbnails in Shared Links section.
-------------------------------------------------------------------
Fri Dec 25 19:42:57 UTC 2020 - Marcel Kuehlhorn <tux93@opensuse.org>
- Update to 2.5.2 (beta)
* Fix possible crash in video calls.
* Fix possible crash in connecting to voice chats.
-------------------------------------------------------------------
Wed Dec 23 14:42:21 UTC 2020 - Marcel Kuehlhorn <tux93@opensuse.org>

View File

@ -1,7 +1,7 @@
#
# spec file for package telegram-desktop
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -31,7 +31,7 @@
%define __builder ninja
Name: telegram-desktop
Version: 2.5.1
Version: 2.5.7
Release: 0
Summary: Messaging application with a focus on speed and security
License: GPL-3.0-only
@ -74,6 +74,7 @@ BuildRequires: xorg-x11-devel
BuildRequires: xxhash-devel
BuildRequires: xz
BuildRequires: yasm
BuildRequires: cmake(KF5Wayland)
BuildRequires: pkgconfig(Qt5DBus)
BuildRequires: pkgconfig(Qt5Network)
BuildRequires: pkgconfig(Qt5WaylandClient)
@ -131,12 +132,13 @@ BuildRequires: pkgconfig(xkbcommon)
BuildRequires: pkgconfig(xkbcommon-x11)
BuildRequires: pkgconfig(zlib)
# Runtime requirements
Requires: libqt5-qtimageformats
Requires: hicolor-icon-theme
Requires: icu
Requires: libqt5-qtimageformats
# TDesktop can fall back to a simple GTK file picker but prefers the portal
Recommends: xdg-desktop-portal
Recommends: libqt5-qtwayland
Recommends: google-opensans-fonts
%description
Telegram is a non-profit cloud-based instant messaging service.

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3e272b3f6a7beaf446a49212d7939877f2306888fd6b37f53b4addbd1a2c6ecd
size 28344728
oid sha256:b86f446d62c4c95b5dac47f13d4f3c90c633a1aa56bcb7a7003f18accc29eb51
size 29050228