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 2023-03-28 17:50:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/telegram-desktop (Old)
and /work/SRC/openSUSE:Factory/.telegram-desktop.new.31432 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "telegram-desktop"
Tue Mar 28 17:50:01 2023 rev:87 rq:1074776 version:4.6.5
Changes:
--------
--- /work/SRC/openSUSE:Factory/telegram-desktop/telegram-desktop.changes
2023-03-01 16:14:31.566746883 +0100
+++
/work/SRC/openSUSE:Factory/.telegram-desktop.new.31432/telegram-desktop.changes
2023-03-28 17:50:02.539170844 +0200
@@ -1,0 +2,14 @@
+Sat Mar 25 11:06:57 UTC 2023 - Manfred Hollstein <[email protected]>
+
+- The new default compiler gcc13 on Tumbleweed is too new for
+ compiling tg_owt-master.zip; e.g. "uint8_t" is now defined in
+ <cstdint> which almost all source files don't include. Stick
+ with gcc12 on Tumbleweed for now and wait for an update of
+ tg_owt-master.zip
+
+-------------------------------------------------------------------
+Fri Mar 17 09:57:44 UTC 2023 - Manfred Hollstein <[email protected]>
+
+- compiler_upgrade is also needed on Leap 15.5
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ telegram-desktop.spec ++++++
--- /var/tmp/diff_new_pack.iObu2p/_old 2023-03-28 17:50:03.551175727 +0200
+++ /var/tmp/diff_new_pack.iObu2p/_new 2023-03-28 17:50:03.555175745 +0200
@@ -24,11 +24,16 @@
%define __builder ninja
# gcc10 or higher is required
-%if 0%{?suse_version} && ( 0%{?suse_version} < 1500 || ( 0%{?is_opensuse} &&
0%{?suse_version} == 1500 && 0%{?sle_version} && 0%{?sle_version} <= 150400 ) )
+%if 0%{?suse_version} && ( 0%{?suse_version} < 1500 || ( 0%{?is_opensuse} &&
0%{?suse_version} == 1500 && 0%{?sle_version} && 0%{?sle_version} <= 150500 ) )
%bcond_without compiler_upgrade
%else
+%if 0%{?suse_version} > 01500
+# gcc13 is too new on Tumbleweed
+%bcond_without compiler_downgrade
+%else
%bcond_with compiler_upgrade
%endif
+%endif
%define _dwz_low_mem_die_limit 40000000
%define _dwz_max_die_limit 200000000
@@ -75,10 +80,16 @@
BuildRequires: ffmpeg-devel
BuildRequires: freetype-devel
%if %{with compiler_upgrade}
+BuildRequires: gcc10
BuildRequires: gcc10-c++
%else
+%if %{with compiler_downgrade}
+BuildRequires: gcc12
+BuildRequires: gcc12-c++
+%else
BuildRequires: gcc-c++
%endif
+%endif
BuildRequires: glibc-devel
BuildRequires: libjpeg-devel
BuildRequires: liblz4-devel
@@ -227,6 +238,11 @@
%if %{with compiler_upgrade}
export CC=gcc-10
export CXX=g++-10
+%else
+%if %{with compiler_downgrade}
+export CC=gcc-12
+export CXX=g++-12
+%endif
%endif
# Fix build failures due to not finding installed headers for xkbcommon and
wayland-client