forked from pool/telegram-desktop
Accepting request 1041353 from server:messaging
- Update to 4.4.1 OBS-URL: https://build.opensuse.org/request/show/1041353 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/telegram-desktop?expand=0&rev=82
This commit is contained in:
commit
adec4e1001
@ -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)
|
||||
|
@ -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}
|
||||
$<LINK_ONLY:desktop-app::external_openssl>
|
||||
$<LINK_ONLY:desktop-app::external_jpeg>
|
||||
|
@ -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
|
||||
|
19
0005-qt6-fixes.patch
Normal file
19
0005-qt6-fixes.patch
Normal file
@ -0,0 +1,19 @@
|
||||
--- Telegram/lib_ui/ui/widgets/popup_menu.cpp.orig 2022-11-12 11:12:02.000000000 +0000
|
||||
+++ Telegram/lib_ui/ui/widgets/popup_menu.cpp 2022-12-05 07:53:47.978014760 +0000
|
||||
@@ -637,14 +637,14 @@ bool PopupMenu::eventFilter(QObject *o,
|
||||
event->device(),
|
||||
event->touchPoints(),
|
||||
event->timestamp()));
|
||||
-#elif QT_VERSION < QT_VERSION_CHECK(6, 3, 0) // Qt < 6.0.0
|
||||
+#elif QT_VERSION < QT_VERSION_CHECK(6, 2, 2) // Qt < 6.0.0
|
||||
e->setAccepted(
|
||||
QApplicationPrivate::translateRawTouchEvent(
|
||||
this,
|
||||
event->pointingDevice(),
|
||||
const_cast<QList<QEventPoint> &>(event->points()),
|
||||
event->timestamp()));
|
||||
-#else // Qt < 6.3.0
|
||||
+#else // Qt < 6.2.0
|
||||
e->setAccepted(
|
||||
QApplicationPrivate::translateRawTouchEvent(this, event));
|
||||
#endif
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:aa11c52f7812c6e9a5ccf2e3a31d526a1db5562c1bbcb571aa70d681ca909b93
|
||||
size 50030732
|
3
tdesktop-4.4.1-full.tar.gz
Normal file
3
tdesktop-4.4.1-full.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:76981e32541c42b3212427e9abb4db2a6f55a14eaba31b3d7ad7d3d5ed8008b1
|
||||
size 50077498
|
@ -1,3 +1,53 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 8 08:44:55 UTC 2022 - Manfred Hollstein <manfred.h@gmx.net>
|
||||
|
||||
- Update to 4.4.1:
|
||||
* Bug fixes and other minor improvements.
|
||||
- Refresh 0005-qt6-fixes.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 7 19:54:15 UTC 2022 - Manfred Hollstein <manfred.h@gmx.net>
|
||||
|
||||
- Refresh 0005-qt6-fixes.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 7 08:00:59 UTC 2022 - Paolo Stivanin <info@paolostivanin.com>
|
||||
|
||||
- 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.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 5 07:58:42 UTC 2022 - Manfred Hollstein <manfred.h@gmx.net>
|
||||
|
||||
- Add 0005-qt6-fixes.patch
|
||||
* Fix the build on openSUSE 15.4
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 29 11:49:02 UTC 2022 - Илья Индиго <ilya@ilya.cf>
|
||||
|
||||
|
@ -36,7 +36,7 @@
|
||||
%define qt_major_version 6
|
||||
|
||||
Name: telegram-desktop
|
||||
Version: 4.3.4
|
||||
Version: 4.4.1
|
||||
Release: 0
|
||||
Summary: Messaging application with a focus on speed and security
|
||||
License: GPL-3.0-only
|
||||
@ -63,6 +63,8 @@ Patch4: 0004-use-dynamic-x-libraries.patch
|
||||
# https://github.com/desktop-app/lib_base.git 3582bca53a1e195a31760978dc41f67ce44fc7e4
|
||||
# but tdesktop itself still falls short, and it looks to be something
|
||||
# that would affect all ILP32 platforms.
|
||||
# PATCH-FIX-OPENSUSE
|
||||
Patch5: 0005-qt6-fixes.patch
|
||||
ExcludeArch: %ix86 aarch64_ilp32 ppc riscv32
|
||||
BuildRequires: appstream-glib
|
||||
BuildRequires: chrpath
|
||||
@ -209,6 +211,7 @@ The service also provides APIs to independent developers.
|
||||
%patch1 -p1
|
||||
%patch3 -p1
|
||||
%patch4 -p1
|
||||
%patch5 -p0
|
||||
mkdir ../Libraries
|
||||
|
||||
# If not TW, unpack rnnoise source
|
||||
|
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5bbc665aba2f680aa405624e10a898cdf152b3aae0a12983cfaea1e819bf7854
|
||||
size 23789230
|
||||
oid sha256:737bc7cf7d704f8479955e9ae8f274e2558ead5aabf9a00b54d46e008c670577
|
||||
size 23789403
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user