forked from pool/telegram-desktop
Accepting request 951351 from home:tux93:branches:server:messaging
- Update to 3.5.0 * Use a new type of detailed stickers with smooth animations. * Create new sets by sending .webm videos to @stickers. * Bring your custom animated stickers from other apps. * See smaller, compact animations when reacting to messages. * See real-time animations in chat when a user reacts to your message. * React with additional emoji expressing love, appreciation, anger or surprise. * Tap the new button in chats to jump to your messages that have unseen reactions. * Watch the animations for unseen reactions play when you hit the button. * The app will warn you before closing if you are uploading photos or files to a chat. * Enjoy better screencast quality in video chats. - Update tg_owt - Rebase patches OBS-URL: https://build.opensuse.org/request/show/951351 OBS-URL: https://build.opensuse.org/package/show/server:messaging/telegram-desktop?expand=0&rev=213
This commit is contained in:
parent
465573aaa6
commit
2454d5f6e6
@ -31,13 +31,6 @@
|
||||
if (DESKTOP_APP_USE_PACKAGED_LAZY)
|
||||
find_package(range-v3 QUIET)
|
||||
else()
|
||||
@@ -32,4 +32,4 @@ if (NOT range-v3_FOUND)
|
||||
/wd5105 # needed for `/Zc:preprocessor`, suppressing C5105 "macro expansion producing 'defined' has undefined behavior"
|
||||
)
|
||||
endif()
|
||||
-endif()
|
||||
\ No newline at end of file
|
||||
+endif()
|
||||
--- a/cmake/external/webrtc/CMakeLists.txt
|
||||
+++ b/cmake/external/webrtc/CMakeLists.txt
|
||||
@@ -7,7 +7,7 @@
|
||||
@ -48,15 +41,4 @@
|
||||
+if (NOT DESKTOP_APP_USE_PACKAGED)
|
||||
find_package(tg_owt REQUIRED)
|
||||
target_link_libraries(external_webrtc INTERFACE tg_owt::tg_owt)
|
||||
else()
|
||||
--- a/cmake/external/rlottie/CMakeLists.txt
|
||||
+++ b/cmake/external/rlottie/CMakeLists.txt
|
||||
@@ -7,7 +7,7 @@
|
||||
add_library(external_rlottie INTERFACE IMPORTED GLOBAL)
|
||||
add_library(desktop-app::external_rlottie ALIAS external_rlottie)
|
||||
|
||||
-if (DESKTOP_APP_USE_PACKAGED)
|
||||
+if (NOT DESKTOP_APP_USE_PACKAGED)
|
||||
find_package(rlottie QUIET)
|
||||
|
||||
if (rlottie_FOUND)
|
||||
return()
|
||||
|
@ -1,11 +1,11 @@
|
||||
--- a/cmake/external/webrtc/CMakeLists.txt
|
||||
+++ b/cmake/external/webrtc/CMakeLists.txt
|
||||
@@ -105,7 +105,7 @@
|
||||
)
|
||||
else()
|
||||
# Required for desktop_capture
|
||||
- target_link_static_libraries(external_webrtc
|
||||
+ target_link_libraries(external_webrtc
|
||||
INTERFACE
|
||||
Xcomposite
|
||||
Xdamage
|
||||
)
|
||||
else()
|
||||
# Required for desktop_capture
|
||||
- target_link_static_libraries(external_webrtc
|
||||
+ target_link_libraries(external_webrtc
|
||||
INTERFACE
|
||||
Xcomposite
|
||||
Xdamage
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ad673a434a3ca335789c55f6f555a2482f734d897b6f0798dcd837ce65b79405
|
||||
size 40647558
|
3
tdesktop-3.5.0-full.tar.gz
Normal file
3
tdesktop-3.5.0-full.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3b5742d05a97bd9a9602419293cfeb5023b98fba81fb465db0d881ce811f6706
|
||||
size 41200724
|
@ -1,4 +1,24 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 3 03:40:16 UTC 2022 - Xu Zhao <i@xuzhao.net>
|
||||
|
||||
- Update to 3.5.0
|
||||
* Use a new type of detailed stickers with smooth animations.
|
||||
* Create new sets by sending .webm videos to @stickers.
|
||||
* Bring your custom animated stickers from other apps.
|
||||
* See smaller, compact animations when reacting to messages.
|
||||
* See real-time animations in chat when a user reacts to your message.
|
||||
* React with additional emoji expressing love, appreciation,
|
||||
anger or surprise.
|
||||
* Tap the new button in chats to jump to your messages that have
|
||||
unseen reactions.
|
||||
* Watch the animations for unseen reactions play when you
|
||||
hit the button.
|
||||
* The app will warn you before closing if you are uploading
|
||||
photos or files to a chat.
|
||||
* Enjoy better screencast quality in video chats.
|
||||
- Update tg_owt
|
||||
- Rebase patches
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 4 15:45:39 UTC 2022 - Marcel Kuehlhorn <tux93@opensuse.org>
|
||||
|
||||
- Update to 3.4.3
|
||||
|
@ -21,20 +21,13 @@
|
||||
%define _lto_cflags %{nil}
|
||||
%endif
|
||||
|
||||
# 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
|
||||
|
||||
%define _dwz_low_mem_die_limit 40000000
|
||||
%define _dwz_max_die_limit 200000000
|
||||
|
||||
Name: telegram-desktop
|
||||
Version: 3.4.3
|
||||
Version: 3.5.0
|
||||
Release: 0
|
||||
Summary: Messaging application with a focus on speed and security
|
||||
License: GPL-3.0-only
|
||||
@ -60,16 +53,12 @@ Patch5: 0005-add-wayland-include-path.patch
|
||||
ExcludeArch: %ix86 aarch64_ilp32 ppc riscv32
|
||||
BuildRequires: appstream-glib
|
||||
BuildRequires: chrpath
|
||||
BuildRequires: clang
|
||||
BuildRequires: cmake >= 3.16
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: enchant-devel
|
||||
BuildRequires: ffmpeg-devel
|
||||
BuildRequires: freetype-devel
|
||||
%if %{with fixed_gcc}
|
||||
BuildRequires: gcc10-c++
|
||||
%else
|
||||
BuildRequires: gcc-c++
|
||||
%endif
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: libQt5Core-private-headers-devel >= 5.15
|
||||
BuildRequires: libQt5Gui-private-headers-devel >= 5.15
|
||||
@ -99,6 +88,7 @@ BuildRequires: pkgconfig(dbusmenu-qt5)
|
||||
BuildRequires: pkgconfig(expat)
|
||||
BuildRequires: pkgconfig(fontconfig)
|
||||
BuildRequires: pkgconfig(freetype2)
|
||||
BuildRequires: pkgconfig(gbm)
|
||||
BuildRequires: pkgconfig(glib-2.0)
|
||||
BuildRequires: pkgconfig(glibmm-2.4)
|
||||
BuildRequires: pkgconfig(gtk+-2.0)
|
||||
@ -138,6 +128,7 @@ BuildRequires: pkgconfig(portaudiocpp)
|
||||
BuildRequires: pkgconfig(rnnoise)
|
||||
BuildRequires: pkgconfig(tslib)
|
||||
BuildRequires: pkgconfig(vdpau)
|
||||
BuildRequires: pkgconfig(vpx)
|
||||
BuildRequires: pkgconfig(webkit2gtk-4.0)
|
||||
BuildRequires: pkgconfig(xcb-ewmh)
|
||||
BuildRequires: pkgconfig(xcb-icccm)
|
||||
@ -179,10 +170,6 @@ mv tg_owt-master Libraries/tg_owt
|
||||
%patch2 -p2 -d Libraries/tg_owt
|
||||
|
||||
%build
|
||||
%if %{with fixed_gcc}
|
||||
export CC="/usr/bin/gcc-10"
|
||||
export CXX="/usr/bin/g++-10"
|
||||
%endif
|
||||
|
||||
# Fix build failures due to not finding installed headers for xkbcommon and wayland-client
|
||||
export CXXFLAGS+="`pkg-config --cflags xkbcommon wayland-client`"
|
||||
@ -197,6 +184,7 @@ cmake -G Ninja \
|
||||
-DTG_OWT_OPENSSL_INCLUDE_PATH=/usr/include/openssl \
|
||||
-DTG_OWT_OPUS_INCLUDE_PATH=/usr/include/opus \
|
||||
-DTG_OWT_FFMPEG_INCLUDE_PATH=/usr/include/ffmpeg \
|
||||
-DTG_OWT_LIBVPX_INCLUDE_PATH=/usr/include/vpx \
|
||||
../..
|
||||
sed -i 's,gnu++2a,gnu++17,g' build.ninja
|
||||
ninja
|
||||
|
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:057c124a2e8ad4884da765f40ed4e2a7bcacfa061ed7863cf16b01a264105a92
|
||||
size 32000105
|
||||
oid sha256:ebbddd0b599d3b72e7b958f62b886a7a0ffdc64b644d7e3812c27df9eddafed8
|
||||
size 32225063
|
||||
|
Loading…
Reference in New Issue
Block a user