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 2025-01-05 15:31:07 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/telegram-desktop (Old) and /work/SRC/openSUSE:Factory/.telegram-desktop.new.1881 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "telegram-desktop" Sun Jan 5 15:31:07 2025 rev:127 rq:1234803 version:5.10.0 Changes: -------- --- /work/SRC/openSUSE:Factory/telegram-desktop/telegram-desktop.changes 2024-12-09 21:13:22.597497076 +0100 +++ /work/SRC/openSUSE:Factory/.telegram-desktop.new.1881/telegram-desktop.changes 2025-01-05 15:31:23.562098777 +0100 @@ -1,0 +2,10 @@ +Fri Jan 3 19:54:03 UTC 2025 - Xu Zhao <i...@xuzhao.net> + +- Update to version 5.10.0 + * Collectible Gifts. + * Reactions for Service Messages. +- Download and compress tarballs with obs service + * Remove ada-packager.sh + * Remove tg_owt-packager.sh + +------------------------------------------------------------------- Old: ---- ada-packager.sh ada-v2.9.0.zip tdesktop-5.9.0-full.tar.gz tg_owt-master.zip tg_owt-packager.sh New: ---- _service ada.tar.zst tdesktop-5.10.0.tar.zst tg_owt.tar.zst ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ telegram-desktop.spec ++++++ --- /var/tmp/diff_new_pack.4HaPhW/_old 2025-01-05 15:31:26.762230399 +0100 +++ /var/tmp/diff_new_pack.4HaPhW/_new 2025-01-05 15:31:26.778231057 +0100 @@ -1,7 +1,7 @@ # # spec file for package telegram-desktop # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -36,30 +36,26 @@ %define _dwz_max_die_limit 200000000 %define qt_major_version 6 +%define srcext tar.zst Name: telegram-desktop -Version: 5.9.0 +Version: 5.10.0 Release: 0 Summary: Messaging application with a focus on speed and security License: GPL-3.0-only Group: Productivity/Networking/Instant Messenger URL: https://github.com/telegramdesktop/tdesktop -Source0: https://github.com/telegramdesktop/tdesktop/releases/download/v%{version}/tdesktop-%{version}-full.tar.gz -# Use tg_owt-packager.sh to prepare tg_owt-master.zip -# Usage: bash tg_owt-packager.sh -Source1: tg_owt-packager.sh -Source2: tg_owt-master.zip -Source3: ada-v2.9.0.zip -# Usage: bash ads-packager.sh -Source4: ada-packager.sh -Source5: tg_owt-dlopen-headers.tar.gz +Source0: tdesktop-%{version}.%{srcext} +Source1: tg_owt.%{srcext} +Source2: ada.%{srcext} +Source3: tg_owt-dlopen-headers.tar.gz %if %{with use_system_rnnoise} # PATCH-FIX-OPENSUSE Patch1: 0001-use-bundled-webrtc.patch %else -Source6: rnnoise-git20210122.tar.gz +Source4: rnnoise-git20210122.tar.gz # PATCH-FIX-OPENSUSE -Patch1: 0002-use-bundled-rnnoise-expected-gsl-ranges-webrtc.patch +Patch2: 0002-use-bundled-rnnoise-expected-gsl-ranges-webrtc.patch %endif # PATCH-FIX-OPENSUSE Patch3: 0003-revert-webrtc-cmake-target-file.patch @@ -187,6 +183,7 @@ BuildRequires: automake BuildRequires: libtool %endif +BuildRequires: zstd BuildRequires: pkgconfig(tslib) BuildRequires: pkgconfig(vdpau) BuildRequires: pkgconfig(vpx) @@ -226,27 +223,30 @@ The service also provides APIs to independent developers. %prep -%setup -q -n tdesktop-%{version}-full +%setup -q -n tdesktop-%{version} %autopatch -p1 -M 6 cd %{_builddir} mkdir -p %{_builddir}/Libraries -unzip -q %{S:3} -mv ada-v2.9.0 %{_builddir}/Libraries/ada - +# -q: quiet mode +# -T: do not perform default archive unpacking +# -D: do not delete tdesktop-%{version} directory +# -b <n>: unpack nth sources before changing the directory +%setup -q -T -D -b 1 -n tdesktop-%{version} +mv ../tg_owt %{_builddir}/Libraries +%setup -q -T -D -b 2 -n tdesktop-%{version} +mv ../ada %{_builddir}/Libraries +%setup -q -T -D -b 3 -n tdesktop-%{version} mkdir -p %{_builddir}/Libraries/openh264/include -tar xzf %{S:5} -mv wels %{_builddir}/Libraries/openh264/include/ +mv ../wels %{_builddir}/Libraries/openh264/include # If not TW, unpack rnnoise source %if %{without use_system_rnnoise} -%setup -q -T -D -b 6 -n tdesktop-%{version}-full +%setup -q -T -D -b 4 -n tdesktop-%{version} mv ../rnnoise-git20210122 ../Libraries/rnnoise %endif -unzip -q %{SOURCE2} -mv tg_owt-master Libraries/tg_owt -pushd Libraries/tg_owt +pushd %{_builddir}/Libraries/tg_owt %autopatch -p1 7 popd @@ -299,7 +299,7 @@ sed -i 's,gnu++2a,gnu++17,g' build.ninja ninja -cd %{_builddir}/tdesktop-%{version}-full +cd %{_builddir}/tdesktop-%{version} # Use the official API key that telegram uses for their snap builds: # https://github.com/telegramdesktop/tdesktop/blob/8fab9167beb2407c1153930ed03a4badd0c2b59f/snap/snapcraft.yaml#L87-L88 # Thanks to @primeos on Github. ++++++ _service ++++++ <services> <service name="obs_scm" mode="manual"> <param name="scm">git</param> <param name="url">https://github.com/telegramdesktop/tdesktop</param> <param name="filename">tdesktop</param> <param name="revision">v5.10.0</param> <param name="versionformat">@PARENT_TAG@</param> <param name="versionrewrite-pattern">v(.*)</param> <param name="versionrewrite-replacement">\1</param> </service> <service name="obs_scm" mode="manual"> <param name="scm">git</param> <param name="url">https://github.com/ada-url/ada</param> <param name="filename">ada</param> <param name="revision">v2.9.0</param> <param name="version">_none_</param> </service> <service name="obs_scm" mode="manual"> <param name="scm">git</param> <param name="url">https://github.com/xuzhao9/tg_owt</param> <param name="filename">tg_owt</param> <param name="revision">8198c4d8b91e22d68eb5c7327fd408e3b6abcc79</param> <param name="version">_none_</param> </service> <service name="tar" mode="manual" /> <service name="recompress" mode="manual"> <param name="compression">zstd</param> <param name="file">*.tar</param> </service> </services>