From 1ff234c30ca014d02757e02d1fdb19a60bb18710542c8dcda68dc283572682f0 Mon Sep 17 00:00:00 2001 From: Marcel Kuehlhorn Date: Wed, 7 Dec 2022 19:02:55 +0000 Subject: [PATCH] Accepting request 1040875 from home:polslinux:branches:server:messaging - Update to 4.4.0: * You can set a Global Auto-Delete Timer for all new chats and groups you create. * New messages will be deleted after 1 day, week, month - or a custom duration you choose. * The new menu in Settings > Privacy & Security > Auto-Delete Messages also lets you set up Auto-Delete for any of your existing chats faster. * Admins of groups with 100+ members can organize discussions into separate topics. * Topics now have a two-column layout that keeps recent chats easily accessible as you browse topics. * Previews of topic messages in the chat list work like a button - click to jump to the last updated topic. * Up to 5 topics can be pinned to the top of the list. * Each topic now supports multiple pinned messages. * The View as Messages mode now shows which topic each message belongs to. * Badge counters for topics you never opened will have a lighter, less distracting color. * A new General topic is now included by default, containing service messages and the earlier message history from the group. * Admins can rename the General topic. * Large groups can enable Aggressive Filtering in Manage Group > Administrators to remove more spam with automated algorithms. * Admins help improve filtering by reporting any false positives in Recent Actions. OBS-URL: https://build.opensuse.org/request/show/1040875 OBS-URL: https://build.opensuse.org/package/show/server:messaging/telegram-desktop?expand=0&rev=237 --- 0001-use-bundled-webrtc.patch | 6 ++-- 0003-revert-webrtc-cmake-target-file.patch | 9 +++--- 0004-use-dynamic-x-libraries.patch | 8 ++++-- tdesktop-4.3.4-full.tar.gz | 3 -- tdesktop-4.4.0-full.tar.gz | 3 ++ telegram-desktop.changes | 32 ++++++++++++++++++++++ telegram-desktop.spec | 2 +- tg_owt-master.zip | 4 +-- tg_owt-packager.py | 2 +- 9 files changed, 53 insertions(+), 16 deletions(-) delete mode 100644 tdesktop-4.3.4-full.tar.gz create mode 100644 tdesktop-4.4.0-full.tar.gz diff --git a/0001-use-bundled-webrtc.patch b/0001-use-bundled-webrtc.patch index 65ee2c9..1e426ba 100644 --- a/0001-use-bundled-webrtc.patch +++ b/0001-use-bundled-webrtc.patch @@ -1,5 +1,7 @@ ---- a/cmake/external/webrtc/CMakeLists.txt -+++ b/cmake/external/webrtc/CMakeLists.txt +Index: tdesktop-4.4.0-full/cmake/external/webrtc/CMakeLists.txt +=================================================================== +--- tdesktop-4.4.0-full.orig/cmake/external/webrtc/CMakeLists.txt ++++ tdesktop-4.4.0-full/cmake/external/webrtc/CMakeLists.txt @@ -7,7 +7,7 @@ add_library(external_webrtc INTERFACE IMPORTED GLOBAL) add_library(desktop-app::external_webrtc ALIAS external_webrtc) diff --git a/0003-revert-webrtc-cmake-target-file.patch b/0003-revert-webrtc-cmake-target-file.patch index 41e3e24..d47e857 100644 --- a/0003-revert-webrtc-cmake-target-file.patch +++ b/0003-revert-webrtc-cmake-target-file.patch @@ -1,7 +1,8 @@ -diff -Nur tdesktop-3.7.3-full/cmake/external/webrtc/CMakeLists.txt new/cmake/external/webrtc/CMakeLists.txt ---- tdesktop-3.7.3-full/cmake/external/webrtc/CMakeLists.txt 2022-04-19 14:57:00.000000000 +0200 -+++ new/cmake/external/webrtc/CMakeLists.txt 2022-05-02 18:53:40.393350191 +0200 -@@ -93,11 +93,8 @@ +Index: tdesktop-4.4.0-full/cmake/external/webrtc/CMakeLists.txt +=================================================================== +--- tdesktop-4.4.0-full.orig/cmake/external/webrtc/CMakeLists.txt ++++ tdesktop-4.4.0-full/cmake/external/webrtc/CMakeLists.txt +@@ -94,11 +94,8 @@ INTERFACE ${webrtc_libs_list} $ $ diff --git a/0004-use-dynamic-x-libraries.patch b/0004-use-dynamic-x-libraries.patch index dc8b81f..38010f0 100644 --- a/0004-use-dynamic-x-libraries.patch +++ b/0004-use-dynamic-x-libraries.patch @@ -1,6 +1,8 @@ ---- a/cmake/external/webrtc/CMakeLists.txt -+++ b/cmake/external/webrtc/CMakeLists.txt -@@ -105,7 +105,7 @@ +Index: tdesktop-4.4.0-full/cmake/external/webrtc/CMakeLists.txt +=================================================================== +--- tdesktop-4.4.0-full.orig/cmake/external/webrtc/CMakeLists.txt ++++ tdesktop-4.4.0-full/cmake/external/webrtc/CMakeLists.txt +@@ -110,7 +110,7 @@ elseif (APPLE) ) else() # Required for desktop_capture diff --git a/tdesktop-4.3.4-full.tar.gz b/tdesktop-4.3.4-full.tar.gz deleted file mode 100644 index 6f66f74..0000000 --- a/tdesktop-4.3.4-full.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:aa11c52f7812c6e9a5ccf2e3a31d526a1db5562c1bbcb571aa70d681ca909b93 -size 50030732 diff --git a/tdesktop-4.4.0-full.tar.gz b/tdesktop-4.4.0-full.tar.gz new file mode 100644 index 0000000..466ccbe --- /dev/null +++ b/tdesktop-4.4.0-full.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e838679978cd32b6eaff2cc372649a053d52e9e878346bf13c253971ed1adad5 +size 50076740 diff --git a/telegram-desktop.changes b/telegram-desktop.changes index d2b4e58..dae75e2 100644 --- a/telegram-desktop.changes +++ b/telegram-desktop.changes @@ -1,3 +1,35 @@ +------------------------------------------------------------------- +Wed Dec 7 08:00:59 UTC 2022 - Paolo Stivanin + +- Update to 4.4.0: + * You can set a Global Auto-Delete Timer for all new chats and + groups you create. + * New messages will be deleted after 1 day, week, month - or a + custom duration you choose. + * The new menu in Settings > Privacy & Security > Auto-Delete + Messages also lets you set up Auto-Delete for any of your + existing chats faster. + * Admins of groups with 100+ members can organize discussions + into separate topics. + * Topics now have a two-column layout that keeps recent chats + easily accessible as you browse topics. + * Previews of topic messages in the chat list work like a + button - click to jump to the last updated topic. + * Up to 5 topics can be pinned to the top of the list. + * Each topic now supports multiple pinned messages. + * The View as Messages mode now shows which topic + each message belongs to. + * Badge counters for topics you never opened will have + a lighter, less distracting color. + * A new General topic is now included by default, containing + service messages and the earlier message history from the group. + * Admins can rename the General topic. + * Large groups can enable Aggressive Filtering in + Manage Group > Administrators to remove more spam with + automated algorithms. + * Admins help improve filtering by reporting any false + positives in Recent Actions. + ------------------------------------------------------------------- Tue Nov 29 11:49:02 UTC 2022 - Илья Индиго diff --git a/telegram-desktop.spec b/telegram-desktop.spec index cbda3d4..84732a0 100644 --- a/telegram-desktop.spec +++ b/telegram-desktop.spec @@ -36,7 +36,7 @@ %define qt_major_version 6 Name: telegram-desktop -Version: 4.3.4 +Version: 4.4.0 Release: 0 Summary: Messaging application with a focus on speed and security License: GPL-3.0-only diff --git a/tg_owt-master.zip b/tg_owt-master.zip index 6adfa1f..ad18b48 100644 --- a/tg_owt-master.zip +++ b/tg_owt-master.zip @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:5bbc665aba2f680aa405624e10a898cdf152b3aae0a12983cfaea1e819bf7854 -size 23789230 +oid sha256:737bc7cf7d704f8479955e9ae8f274e2558ead5aabf9a00b54d46e008c670577 +size 23789403 diff --git a/tg_owt-packager.py b/tg_owt-packager.py index fa3b92e..78ffb2b 100644 --- a/tg_owt-packager.py +++ b/tg_owt-packager.py @@ -63,7 +63,7 @@ def load_submodules(repo): def compress_package(repo_dir): basename = os.path.basename(repo_dir) - zipname = f"{basename}.zip" + zipname = basename + ".zip" path = Path(repo_dir).parent command = ['zip', zipname, '-r', basename, '-x', '*.git*'] subprocess.check_call(command, cwd=path)