1
0

Accepting request 974470 from home:susnux:branches:server:messaging

Update to version 3.7.3

OBS-URL: https://build.opensuse.org/request/show/974470
OBS-URL: https://build.opensuse.org/package/show/server:messaging/telegram-desktop?expand=0&rev=220
This commit is contained in:
Xu Zhao 2022-05-02 19:47:35 +00:00 committed by Git OBS Bridge
parent 960736aa24
commit 603ffd074c
7 changed files with 84 additions and 22 deletions

View File

@ -1,10 +1,11 @@
diff --git a/cmake/external/webrtc/CMakeLists.txt b/cmake/external/webrtc/CMakeLists.txt diff -Nur tdesktop-3.7.3-full/cmake/external/webrtc/CMakeLists.txt new/cmake/external/webrtc/CMakeLists.txt
index f6ce939..b37cb14 100644 --- tdesktop-3.7.3-full/cmake/external/webrtc/CMakeLists.txt 2022-04-19 14:57:00.000000000 +0200
--- a/cmake/external/webrtc/CMakeLists.txt +++ new/cmake/external/webrtc/CMakeLists.txt 2022-05-02 18:53:40.393350191 +0200
+++ b/cmake/external/webrtc/CMakeLists.txt @@ -93,11 +93,8 @@
@@ -90,9 +90,7 @@ INTERFACE ${webrtc_libs_list}
$<LINK_ONLY:desktop-app::external_openssl> $<LINK_ONLY:desktop-app::external_openssl>
$<LINK_ONLY:desktop-app::external_jpeg> $<LINK_ONLY:desktop-app::external_jpeg>
- $<TARGET_FILE:desktop-app::external_jpeg>
$<LINK_ONLY:desktop-app::external_opus> $<LINK_ONLY:desktop-app::external_opus>
- $<TARGET_FILE:desktop-app::external_opus> - $<TARGET_FILE:desktop-app::external_opus>
$<LINK_ONLY:desktop-app::external_vpx> $<LINK_ONLY:desktop-app::external_vpx>

View File

@ -0,0 +1,21 @@
diff -Nur tdesktop-3.7.3-full/Telegram/ThirdParty/dispatch/src/BlocksRuntime/runtime.c new/Telegram/ThirdParty/dispatch/src/BlocksRuntime/runtime.c
--- tdesktop-3.7.3-full/Telegram/ThirdParty/dispatch/src/BlocksRuntime/runtime.c 2021-09-17 06:54:52.000000000 +0200
+++ new/Telegram/ThirdParty/dispatch/src/BlocksRuntime/runtime.c 2022-05-02 19:30:46.128231255 +0200
@@ -468,7 +468,6 @@
// Old compiler SPI
static void _Block_byref_release(const void *arg) {
struct Block_byref *byref = (struct Block_byref *)arg;
- int32_t refcount;
// dereference the forwarding pointer since the compiler isn't doing this anymore (ever?)
byref = byref->forwarding;
@@ -478,8 +477,7 @@
if ((byref->flags & BLOCK_BYREF_NEEDS_FREE) == 0) {
return; // stack or GC or global
}
- refcount = byref->flags & BLOCK_REFCOUNT_MASK;
- os_assert(refcount);
+ os_assert(byref->flags & BLOCK_REFCOUNT_MASK);
if (latching_decr_int_should_deallocate(&byref->flags)) {
if (byref->flags & BLOCK_BYREF_HAS_COPY_DISPOSE) {
struct Block_byref_2 *byref2 = (struct Block_byref_2 *)(byref+1);

View File

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

View File

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

View File

@ -1,4 +1,40 @@
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Apr 26 15:20:13 UTC 2022 - Ferdinand Thiessen <rpm@fthiessen.de>
- Update to version 3.7.3
* Fix a crash in the pinned bar bot button refresh.
- Update to version 3.7.2
* Fix mute period selector values.
* Fix a crash in repeated context menu item selection.
* Fix context menu item selection of systems without a compositor.
- Update to version 3.7.1
* Hardware accelerated video decoding off by default.
* Fix several crashes.
- Update to version 3.7.0
* NO SUPPORT FOR QT5 ON LINUX ANYMORE! USE QT6!
* Use any short music file or voice message as a notification sound.
* Right click audio files in chats to add them to your list of
sounds - or use 'Upload Sound' in the Notifications menu.
* Click on Mute notifications > Select sound in a chat's (...)
menu to change its notification sound.
* Set custom tones for notifications in Settings > Notifications > Play sound.
* Click on Mute notifications in a chat's (...) menu to manage
its notifications.
* Choose 'Mute for...' to turn off notifications for a
preset period, like 1 hour or 1 day.
* Quickly configure Auto-Delete settings from any chat info page.
* Click (...) to turn on Auto-Delete, then select a specific duration.
* Replies are now preserved when forwarding messages,
making forwarded conversations easier to read.
* Bots can now open detailed pages directly in the chat.
* Use these streamlined interfaces to buy real-world goods
and services without leaving the app.
* Open a bot's profile to add it to your group or channel.
* Instantly configure a bot's rights and permissions when adding it.
* Bots can send a new type of button that lets you add them to
your group or channel.
- Added fix-unused-variable-error.patch
-------------------------------------------------------------------
Fri Apr 8 07:53:51 UTC 2022 - Marcel Kuehlhorn <tux93@opensuse.org> Fri Apr 8 07:53:51 UTC 2022 - Marcel Kuehlhorn <tux93@opensuse.org>
- Update to 3.6.1 - Update to 3.6.1

View File

@ -27,7 +27,7 @@
%define _dwz_max_die_limit 200000000 %define _dwz_max_die_limit 200000000
Name: telegram-desktop Name: telegram-desktop
Version: 3.6.1 Version: 3.7.3
Release: 0 Release: 0
Summary: Messaging application with a focus on speed and security Summary: Messaging application with a focus on speed and security
License: GPL-3.0-only License: GPL-3.0-only
@ -48,6 +48,8 @@ Patch3: 0003-revert-webrtc-cmake-target-file.patch
Patch4: 0004-use-dynamic-x-libraries.patch Patch4: 0004-use-dynamic-x-libraries.patch
# PATCH-FIX-OPENSUSE # PATCH-FIX-OPENSUSE
Patch5: 0005-add-wayland-include-path.patch Patch5: 0005-add-wayland-include-path.patch
# PATCH-FIX-OPENSUSE
Patch6: fix-unused-variable-error.patch
# There is an (incomplete) patch available for part of the source: # There is an (incomplete) patch available for part of the source:
# https://github.com/desktop-app/lib_base.git 3582bca53a1e195a31760978dc41f67ce44fc7e4 # https://github.com/desktop-app/lib_base.git 3582bca53a1e195a31760978dc41f67ce44fc7e4
# but tdesktop itself still falls short, and it looks to be something # but tdesktop itself still falls short, and it looks to be something
@ -62,16 +64,13 @@ BuildRequires: enchant-devel
BuildRequires: ffmpeg-devel BuildRequires: ffmpeg-devel
BuildRequires: freetype-devel BuildRequires: freetype-devel
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: libQt5Core-private-headers-devel >= 5.15
BuildRequires: libQt5Gui-private-headers-devel >= 5.15
BuildRequires: libjpeg-devel BuildRequires: libjpeg-devel
BuildRequires: liblz4-devel BuildRequires: liblz4-devel
BuildRequires: libqt5-qtbase-common-devel >= 5.15
BuildRequires: libqt5-qtimageformats-devel >= 5.15
BuildRequires: libqt5-qtwayland-private-headers-devel >= 5.15
BuildRequires: libwebrtc_audio_processing-devel BuildRequires: libwebrtc_audio_processing-devel
BuildRequires: ninja BuildRequires: ninja
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRequires: qt6-gui-private-devel
BuildRequires: qt6-waylandclient-private-devel
BuildRequires: unzip BuildRequires: unzip
BuildRequires: wayland-devel BuildRequires: wayland-devel
BuildRequires: webkit2gtk3-devel BuildRequires: webkit2gtk3-devel
@ -80,11 +79,15 @@ BuildRequires: xxhash-devel
BuildRequires: xz BuildRequires: xz
BuildRequires: yasm BuildRequires: yasm
BuildRequires: cmake(KF5Wayland) BuildRequires: cmake(KF5Wayland)
BuildRequires: pkgconfig(Qt5DBus) >= 5.15 BuildRequires: cmake(Qt6Concurrent)
BuildRequires: pkgconfig(Qt5Network) >= 5.15 BuildRequires: cmake(Qt6Core5Compat)
BuildRequires: pkgconfig(Qt5Svg) >= 5.15 BuildRequires: cmake(Qt6DBus)
BuildRequires: pkgconfig(Qt5WaylandClient) >= 5.15 BuildRequires: cmake(Qt6Network)
BuildRequires: pkgconfig(Qt5Widgets) >= 5.15 BuildRequires: cmake(Qt6OpenGL)
BuildRequires: cmake(Qt6OpenGLWidgets)
BuildRequires: cmake(Qt6Svg)
BuildRequires: cmake(Qt6WaylandClient)
BuildRequires: cmake(Qt6Widgets)
BuildRequires: pkgconfig(alsa) BuildRequires: pkgconfig(alsa)
BuildRequires: pkgconfig(dbusmenu-qt5) BuildRequires: pkgconfig(dbusmenu-qt5)
BuildRequires: pkgconfig(expat) BuildRequires: pkgconfig(expat)
@ -165,6 +168,7 @@ The service also provides APIs to independent developers.
%patch3 -p1 %patch3 -p1
%patch4 -p1 %patch4 -p1
%patch5 -p1 %patch5 -p1
%patch6 -p1
cd ../ cd ../
unzip -q %{S:2} unzip -q %{S:2}
@ -199,7 +203,7 @@ cd %{_builddir}/tdesktop-%{version}-full
%cmake \ %cmake \
-DCMAKE_INSTALL_PREFIX=%{_prefix} \ -DCMAKE_INSTALL_PREFIX=%{_prefix} \
-DCMAKE_BUILD_TYPE=Release \ -DCMAKE_BUILD_TYPE=Release \
-DDESKTOP_APP_QT6=OFF \ -DDESKTOP_APP_QT6=ON \
-DTDESKTOP_API_ID=611335 \ -DTDESKTOP_API_ID=611335 \
-DTDESKTOP_API_HASH=d524b414d21f4d37f08684c1df41ac9c \ -DTDESKTOP_API_HASH=d524b414d21f4d37f08684c1df41ac9c \
-DDESKTOP_APP_USE_GLIBC_WRAPS=OFF \ -DDESKTOP_APP_USE_GLIBC_WRAPS=OFF \

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:3170842463a5112982d01816049740adf94f874aac04fb5a5ff642db589d0420 oid sha256:ef173882422e65e1388db5659f507b6d9884290d90f200e608d0d288356c2475
size 32225338 size 25390157