Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package telegram-desktop for openSUSE:Factory checked in at 2022-02-04 21:49:26 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/telegram-desktop (Old) and /work/SRC/openSUSE:Factory/.telegram-desktop.new.1898 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "telegram-desktop" Fri Feb 4 21:49:26 2022 rev:70 rq:951584 version:3.5.0 Changes: -------- --- /work/SRC/openSUSE:Factory/telegram-desktop/telegram-desktop.changes 2022-01-07 12:47:17.511883397 +0100 +++ /work/SRC/openSUSE:Factory/.telegram-desktop.new.1898/telegram-desktop.changes 2022-02-04 21:52:47.830986255 +0100 @@ -1,0 +2,26 @@ +Fri Feb 4 02:57:59 UTC 2022 - Xu Zhao <i...@xuzhao.net> + +- Add 0003-add-qt5-widgets-include.patch + * Fix Qt5Widgets private header include issue. + +------------------------------------------------------------------- +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 +------------------------------------------------------------------- Old: ---- tdesktop-3.4.3-full.tar.gz New: ---- 0003-add-qt5-widgets-include.patch tdesktop-3.5.0-full.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ telegram-desktop.spec ++++++ --- /var/tmp/diff_new_pack.TpFgDx/_old 2022-02-04 21:52:48.938978634 +0100 +++ /var/tmp/diff_new_pack.TpFgDx/_new 2022-02-04 21:52:48.942978607 +0100 @@ -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 @@ -50,6 +43,8 @@ # PATCH-FIX-OPENSUSE Patch2: 0002-tg_owt-fix-name-confliction.patch # PATCH-FIX-OPENSUSE +Patch3: 0003-add-qt5-widgets-include.patch +# PATCH-FIX-OPENSUSE Patch4: 0004-use-dynamic-x-libraries.patch # PATCH-FIX-OPENSUSE Patch5: 0005-add-wayland-include-path.patch @@ -60,16 +55,12 @@ 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 +90,7 @@ 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 +130,7 @@ 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) @@ -169,6 +162,7 @@ %prep %setup -q -n tdesktop-%{version}-full %patch1 -p1 +%patch3 -p1 %patch4 -p1 %patch5 -p1 @@ -179,10 +173,6 @@ %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 +187,7 @@ -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 ++++++ 0001-use-bundled-ranged-exptected-gsl.patch ++++++ --- /var/tmp/diff_new_pack.TpFgDx/_old 2022-02-04 21:52:48.966978442 +0100 +++ /var/tmp/diff_new_pack.TpFgDx/_new 2022-02-04 21:52:48.970978414 +0100 @@ -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,16 +41,5 @@ +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() ++++++ 0003-add-qt5-widgets-include.patch ++++++ diff --git a/cmake/external/qt/CMakeLists.txt b/cmake/external/qt/CMakeLists.txt index a4b15d3..fbd9630 100644 --- a/cmake/external/qt/CMakeLists.txt +++ b/cmake/external/qt/CMakeLists.txt @@ -27,6 +27,7 @@ if (DESKTOP_APP_USE_PACKAGED) INTERFACE ${Qt5Core_PRIVATE_INCLUDE_DIRS} ${Qt5Gui_PRIVATE_INCLUDE_DIRS} + ${Qt5Widgets_PRIVATE_INCLUDE_DIRS} ) if (Qt5DBus_FOUND) @@ -65,6 +66,7 @@ INTERFACE ${qt_loc}/include/QtGui/${qt_version} ${qt_loc}/include/QtCore/${qt_version}/QtCore ${qt_loc}/include/QtGui/${qt_version}/QtGui + ${qt_loc}/include/QtWidgets/${qt_version}/QtWidgets ) if (Qt5DBus_FOUND) ++++++ 0004-use-dynamic-x-libraries.patch ++++++ --- /var/tmp/diff_new_pack.TpFgDx/_old 2022-02-04 21:52:48.994978249 +0100 +++ /var/tmp/diff_new_pack.TpFgDx/_new 2022-02-04 21:52:48.998978221 +0100 @@ -1,12 +1,12 @@ --- 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 ++++++ tdesktop-3.4.3-full.tar.gz -> tdesktop-3.5.0-full.tar.gz ++++++ /work/SRC/openSUSE:Factory/telegram-desktop/tdesktop-3.4.3-full.tar.gz /work/SRC/openSUSE:Factory/.telegram-desktop.new.1898/tdesktop-3.5.0-full.tar.gz differ: char 5, line 1 ++++++ tg_owt-master.zip ++++++ Binary files /var/tmp/diff_new_pack.TpFgDx/_old and /var/tmp/diff_new_pack.TpFgDx/_new differ