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 2026-01-26 11:01:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/telegram-desktop (Old)
and /work/SRC/openSUSE:Factory/.telegram-desktop.new.1928 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "telegram-desktop"
Mon Jan 26 11:01:34 2026 rev:144 rq:1328925 version:6.4.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/telegram-desktop/telegram-desktop.changes
2026-01-12 12:11:03.606123820 +0100
+++
/work/SRC/openSUSE:Factory/.telegram-desktop.new.1928/telegram-desktop.changes
2026-01-26 11:01:43.092443546 +0100
@@ -1,0 +2,6 @@
+Fri Jan 23 15:29:20 UTC 2026 - Илья Индиго <[email protected]>
+
+- Reworked tg_owt-h264-dlopen.patch to apply with -p1.
+- Added tg_owt-cstring.patch to fix build on Tumbleweed.
+
+-------------------------------------------------------------------
New:
----
tg_owt-cstring.patch
----------(New B)----------
New:- Reworked tg_owt-h264-dlopen.patch to apply with -p1.
- Added tg_owt-cstring.patch to fix build on Tumbleweed.
----------(New E)----------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ telegram-desktop.spec ++++++
--- /var/tmp/diff_new_pack.1JMnUt/_old 2026-01-26 11:01:45.308536859 +0100
+++ /var/tmp/diff_new_pack.1JMnUt/_new 2026-01-26 11:01:45.308536859 +0100
@@ -39,6 +39,7 @@
# n=td && cd /tmp && git clone --depth=1 https://github.com/tdlib/$n && pushd
$n && v=git$(TZ=UTC date -d @`git log -1 --format=%at` +%Y%m%d) && d=$n-$v &&
f=$d.tar.xz && rm -rf .??* && popd && mv $n $d && tar c --remove-files "$d" |
xz -9e > "$f"
Source4: td-%{td_ver}.tar.xz
Patch0: tg_owt-h264-dlopen.patch
+Patch1: tg_owt-cstring.patch
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: glibc-devel
@@ -137,7 +138,7 @@
mv ../tg_owt-%{owt_ver} Telegram/ThirdParty/tg_owt
pushd Telegram/ThirdParty/tg_owt
-%autopatch -p2 0
+%autopatch -p1 0 1
popd
mv ../td-%{td_ver} Telegram/ThirdParty/td
++++++ td-git20260108.tar.xz ++++++
++++++ tg_owt-cstring.patch ++++++
diff -Pdpru tg_owt-git20251128.orig/src/api/video/nv12_buffer.cc
tg_owt-git20251128/src/api/video/nv12_buffer.cc
--- tg_owt-git20251128.orig/src/api/video/nv12_buffer.cc 2026-01-23
16:43:00.774606741 +0300
+++ tg_owt-git20251128/src/api/video/nv12_buffer.cc 2026-01-23
16:57:35.455128500 +0300
@@ -16,6 +16,8 @@
#include "third_party/libyuv/include/libyuv/convert.h"
#include "third_party/libyuv/include/libyuv/scale.h"
+#include <cstring>
+
namespace webrtc {
namespace {
diff -Pdpru tg_owt-git20251128.orig/src/audio/utility/channel_mixer.cc
tg_owt-git20251128/src/audio/utility/channel_mixer.cc
--- tg_owt-git20251128.orig/src/audio/utility/channel_mixer.cc 2026-01-23
16:43:00.833605815 +0300
+++ tg_owt-git20251128/src/audio/utility/channel_mixer.cc 2026-01-23
18:09:27.946140968 +0300
@@ -15,6 +15,8 @@
#include "rtc_base/logging.h"
#include "rtc_base/numerics/safe_conversions.h"
+#include <cstring>
+
namespace webrtc {
ChannelMixer::ChannelMixer(ChannelLayout input_layout,
diff -Pdpru
tg_owt-git20251128.orig/src/modules/audio_processing/aec3/alignment_mixer.cc
tg_owt-git20251128/src/modules/audio_processing/aec3/alignment_mixer.cc
---
tg_owt-git20251128.orig/src/modules/audio_processing/aec3/alignment_mixer.cc
2026-01-23 16:43:01.302598462 +0300
+++ tg_owt-git20251128/src/modules/audio_processing/aec3/alignment_mixer.cc
2026-01-23 17:34:40.665224953 +0300
@@ -10,6 +10,7 @@
#include "modules/audio_processing/aec3/alignment_mixer.h"
#include <algorithm>
+#include <cstring>
#include "rtc_base/checks.h"
diff -Pdpru
tg_owt-git20251128.orig/src/modules/desktop_capture/linux/wayland/shared_screencast_stream.cc
tg_owt-git20251128/src/modules/desktop_capture/linux/wayland/shared_screencast_stream.cc
---
tg_owt-git20251128.orig/src/modules/desktop_capture/linux/wayland/shared_screencast_stream.cc
2026-01-23 16:43:01.566594322 +0300
+++
tg_owt-git20251128/src/modules/desktop_capture/linux/wayland/shared_screencast_stream.cc
2026-01-23 18:19:04.348416284 +0300
@@ -18,6 +18,7 @@
#include <spa/param/video/format-utils.h>
#include <sys/mman.h>
+#include <cstring>
#include <vector>
#include "absl/memory/memory.h"
diff -Pdpru
tg_owt-git20251128.orig/src/modules/video_coding/utility/ivf_file_reader.cc
tg_owt-git20251128/src/modules/video_coding/utility/ivf_file_reader.cc
--- tg_owt-git20251128.orig/src/modules/video_coding/utility/ivf_file_reader.cc
2026-01-23 16:43:01.907588975 +0300
+++ tg_owt-git20251128/src/modules/video_coding/utility/ivf_file_reader.cc
2026-01-23 17:46:01.497690109 +0300
@@ -10,6 +10,7 @@
#include "modules/video_coding/utility/ivf_file_reader.h"
+#include <cstring>
#include <string>
#include <vector>
diff -Pdpru tg_owt-git20251128.orig/src/net/dcsctp/packet/bounded_byte_writer.h
tg_owt-git20251128/src/net/dcsctp/packet/bounded_byte_writer.h
--- tg_owt-git20251128.orig/src/net/dcsctp/packet/bounded_byte_writer.h
2026-01-23 16:43:01.926588678 +0300
+++ tg_owt-git20251128/src/net/dcsctp/packet/bounded_byte_writer.h
2026-01-23 17:54:48.563193322 +0300
@@ -12,6 +12,7 @@
#define NET_DCSCTP_PACKET_BOUNDED_BYTE_WRITER_H_
#include <algorithm>
+#include <cstring>
#include "api/array_view.h"
++++++ tg_owt-git20251128.tar.xz ++++++
/work/SRC/openSUSE:Factory/telegram-desktop/tg_owt-git20251128.tar.xz
/work/SRC/openSUSE:Factory/.telegram-desktop.new.1928/tg_owt-git20251128.tar.xz
differ: char 15, line 1
++++++ tg_owt-h264-dlopen.patch ++++++
--- /var/tmp/diff_new_pack.1JMnUt/_old 2026-01-26 11:01:47.152614509 +0100
+++ /var/tmp/diff_new_pack.1JMnUt/_new 2026-01-26 11:01:47.160614846 +0100
@@ -1,28 +1,6 @@
-diff --git a/tg_owt-git20250913/CMakeLists.txt
b/tg_owt-git20250913-patched/CMakeLists.txt
-index e585335..1eb3989 100644
---- a/tg_owt-git20250913/CMakeLists.txt
-+++ b/tg_owt-git20250913-patched/CMakeLists.txt
-@@ -23,6 +23,7 @@ cmake_dependent_option(TG_OWT_USE_X11 "Use X11 for desktop
capture." ON "UNIX; N
- cmake_dependent_option(TG_OWT_USE_PIPEWIRE "Use pipewire for desktop
capture." ON "UNIX; NOT APPLE" OFF)
- cmake_dependent_option(TG_OWT_DLOPEN_PIPEWIRE "dlopen pipewire for desktop
capture." ${not_packaged_build} TG_OWT_USE_PIPEWIRE OFF)
- option(TG_OWT_BUILD_AUDIO_BACKENDS "Build webrtc audio backends." OFF)
-+option(TG_OWT_DLOPEN_H264 "dlopen H264 for video coding." OFF)
-
- if (BUILD_SHARED_LIBS)
- set(CMAKE_POSITION_INDEPENDENT_CODE ON)
-@@ -149,7 +150,7 @@ link_openssl(tg_owt)
- link_ffmpeg(tg_owt)
- link_opus(tg_owt)
- link_libabsl(tg_owt)
--link_libopenh264(tg_owt)
-+link_libopenh264(tg_owt ${TG_OWT_DLOPEN_H264})
- link_libsrtp(tg_owt)
- link_libvpx(tg_owt)
- link_crc32c(tg_owt)
-diff --git a/tg_owt-git20250913/cmake/external.cmake
b/tg_owt-git20250913-patched/cmake/external.cmake
-index 0bcdf60..2b4c244 100644
---- a/tg_owt-git20250913/cmake/external.cmake
-+++ b/tg_owt-git20250913-patched/cmake/external.cmake
+diff -Pdpru tg_owt-git20251128.orig/cmake/external.cmake
tg_owt-git20251128/cmake/external.cmake
+--- tg_owt-git20251128.orig/cmake/external.cmake 2026-01-23
16:43:00.627609045 +0300
++++ tg_owt-git20251128/cmake/external.cmake 2026-01-23 17:18:11.432328492
+0300
@@ -116,8 +116,8 @@ endfunction()
# libopenh264
@@ -45,11 +23,9 @@
endfunction()
# libSRTP
-diff --git a/tg_owt-git20250913-patched/cmake/external.cmake.orig
b/tg_owt-git20250913-patched/cmake/external.cmake.orig
-new file mode 100644
-index 0000000..0bcdf60
---- /dev/null
-+++ b/tg_owt-git20250913-patched/cmake/external.cmake.orig
+diff -Pdpru tg_owt-git20251128.orig/cmake/external.cmake.orig
tg_owt-git20251128/cmake/external.cmake.orig
+--- tg_owt-git20251128.orig/cmake/external.cmake.orig 1970-01-01
03:00:00.000000000 +0300
++++ tg_owt-git20251128/cmake/external.cmake.orig 2026-01-23
17:18:11.433545342 +0300
@@ -0,0 +1,239 @@
+# OpenSSL
+set(TG_OWT_OPENSSL_INCLUDE_PATH "" CACHE STRING "Include path for openssl.")
@@ -290,11 +266,29 @@
+ target_link_libraries(${target_name} PRIVATE ${CMAKE_DL_LIBS})
+ endif()
+endfunction()
-diff --git
a/tg_owt-git20250913-patched/src/modules/video_coding/codecs/h264/h264_dlopen.cc
b/tg_owt-git20250913-patched/src/modules/video_coding/codecs/h264/h264_dlopen.cc
-new file mode 100644
-index 0000000..3762e1d
---- /dev/null
-+++
b/tg_owt-git20250913-patched/src/modules/video_coding/codecs/h264/h264_dlopen.cc
+diff -Pdpru tg_owt-git20251128.orig/CMakeLists.txt
tg_owt-git20251128/CMakeLists.txt
+--- tg_owt-git20251128.orig/CMakeLists.txt 2026-01-23 16:43:00.626609061
+0300
++++ tg_owt-git20251128/CMakeLists.txt 2026-01-23 17:18:11.431328501 +0300
+@@ -23,6 +23,7 @@ cmake_dependent_option(TG_OWT_USE_X11 "U
+ cmake_dependent_option(TG_OWT_USE_PIPEWIRE "Use pipewire for desktop
capture." ON "UNIX; NOT APPLE" OFF)
+ cmake_dependent_option(TG_OWT_DLOPEN_PIPEWIRE "dlopen pipewire for desktop
capture." ${not_packaged_build} TG_OWT_USE_PIPEWIRE OFF)
+ option(TG_OWT_BUILD_AUDIO_BACKENDS "Build webrtc audio backends." OFF)
++option(TG_OWT_DLOPEN_H264 "dlopen H264 for video coding." OFF)
+
+ if (BUILD_SHARED_LIBS)
+ set(CMAKE_POSITION_INDEPENDENT_CODE ON)
+@@ -149,7 +150,7 @@ link_openssl(tg_owt)
+ link_ffmpeg(tg_owt)
+ link_opus(tg_owt)
+ link_libabsl(tg_owt)
+-link_libopenh264(tg_owt)
++link_libopenh264(tg_owt ${TG_OWT_DLOPEN_H264})
+ link_libsrtp(tg_owt)
+ link_libvpx(tg_owt)
+ link_crc32c(tg_owt)
+diff -Pdpru
tg_owt-git20251128.orig/src/modules/video_coding/codecs/h264/h264_dlopen.cc
tg_owt-git20251128/src/modules/video_coding/codecs/h264/h264_dlopen.cc
+---
tg_owt-git20251128.orig/src/modules/video_coding/codecs/h264/h264_dlopen.cc
1970-01-01 03:00:00.000000000 +0300
++++ tg_owt-git20251128/src/modules/video_coding/codecs/h264/h264_dlopen.cc
2026-01-23 17:18:11.434466761 +0300
@@ -0,0 +1,128 @@
+/*
+ * OpenH264 dlopen code
@@ -424,11 +418,9 @@
+
+ return 0;
+}
-diff --git
a/tg_owt-git20250913-patched/src/modules/video_coding/codecs/h264/h264_dlopen.h
b/tg_owt-git20250913-patched/src/modules/video_coding/codecs/h264/h264_dlopen.h
-new file mode 100644
-index 0000000..25fe94e
---- /dev/null
-+++
b/tg_owt-git20250913-patched/src/modules/video_coding/codecs/h264/h264_dlopen.h
+diff -Pdpru
tg_owt-git20251128.orig/src/modules/video_coding/codecs/h264/h264_dlopen.h
tg_owt-git20251128/src/modules/video_coding/codecs/h264/h264_dlopen.h
+--- tg_owt-git20251128.orig/src/modules/video_coding/codecs/h264/h264_dlopen.h
1970-01-01 03:00:00.000000000 +0300
++++ tg_owt-git20251128/src/modules/video_coding/codecs/h264/h264_dlopen.h
2026-01-23 17:18:11.434976954 +0300
@@ -0,0 +1,46 @@
+/*
+ * OpenH264 dlopen code
@@ -476,11 +468,10 @@
+#endif /* WEBRTC_USE_H264_DLOPEN */
+
+#endif /* HAVE_LIBOPENH264_DLOPEN_H */
-diff --git
a/tg_owt-git20250913/src/modules/video_coding/codecs/h264/h264_encoder_impl.cc
b/tg_owt-git20250913-patched/src/modules/video_coding/codecs/h264/h264_encoder_impl.cc
-index c232133..29914aa 100644
----
a/tg_owt-git20250913/src/modules/video_coding/codecs/h264/h264_encoder_impl.cc
-+++
b/tg_owt-git20250913-patched/src/modules/video_coding/codecs/h264/h264_encoder_impl.cc
-@@ -217,6 +217,12 @@ int32_t H264EncoderImpl::InitEncode(const VideoCodec*
inst,
+diff -Pdpru
tg_owt-git20251128.orig/src/modules/video_coding/codecs/h264/h264_encoder_impl.cc
tg_owt-git20251128/src/modules/video_coding/codecs/h264/h264_encoder_impl.cc
+---
tg_owt-git20251128.orig/src/modules/video_coding/codecs/h264/h264_encoder_impl.cc
2026-01-23 16:43:01.811590481 +0300
++++
tg_owt-git20251128/src/modules/video_coding/codecs/h264/h264_encoder_impl.cc
2026-01-23 17:18:11.435328466 +0300
+@@ -217,6 +217,12 @@ int32_t H264EncoderImpl::InitEncode(cons
ReportError();
return release_ret;
}
@@ -493,10 +484,9 @@
int number_of_streams = SimulcastUtility::NumberOfSimulcastStreams(*inst);
bool doing_simulcast = (number_of_streams > 1);
-diff --git
a/tg_owt-git20250913/src/modules/video_coding/codecs/h264/h264_encoder_impl.h
b/tg_owt-git20250913-patched/src/modules/video_coding/codecs/h264/h264_encoder_impl.h
-index 9e246b8..2deb5a2 100644
----
a/tg_owt-git20250913/src/modules/video_coding/codecs/h264/h264_encoder_impl.h
-+++
b/tg_owt-git20250913-patched/src/modules/video_coding/codecs/h264/h264_encoder_impl.h
+diff -Pdpru
tg_owt-git20251128.orig/src/modules/video_coding/codecs/h264/h264_encoder_impl.h
tg_owt-git20251128/src/modules/video_coding/codecs/h264/h264_encoder_impl.h
+---
tg_owt-git20251128.orig/src/modules/video_coding/codecs/h264/h264_encoder_impl.h
2026-01-23 16:43:01.811590481 +0300
++++
tg_owt-git20251128/src/modules/video_coding/codecs/h264/h264_encoder_impl.h
2026-01-23 17:18:11.436328457 +0300
@@ -30,7 +30,12 @@
#include "modules/video_coding/codecs/h264/include/h264.h"
#include "modules/video_coding/svc/scalable_video_controller.h"