diff --git a/srcpkgs/telegram-desktop/patches/Fix_xcb_wayland.patch b/srcpkgs/telegram-desktop/patches/Fix_xcb_wayland.patch deleted file mode 100644 index e7795176c8a..00000000000 --- a/srcpkgs/telegram-desktop/patches/Fix_xcb_wayland.patch +++ /dev/null @@ -1,34 +0,0 @@ ---- Telegram/SourceFiles/platform/linux/specific_linux.cpp 2020-08-23 15:36:52.000000000 +0200 -+++ Telegram/SourceFiles/platform/linux/specific_linux.cpp 2020-09-02 08:38:32.950087151 +0200 -@@ -298,6 +298,20 @@ - } - #endif // !TDESKTOP_DISABLE_GTK_INTEGRATION - -+bool IsXCBExtensionPresent( -+ xcb_connection_t *connection, -+ xcb_extension_t *ext) { -+ const auto reply = xcb_get_extension_data( -+ connection, -+ ext); -+ -+ if (!reply) { -+ return false; -+ } -+ -+ return reply->present; -+} -+ - std::optional XCBLastUserInputTime() { - const auto native = QGuiApplication::platformNativeInterface(); - if (!native) { -@@ -311,6 +325,10 @@ - return std::nullopt; - } - -+ if (!IsXCBExtensionPresent(connection, &xcb_screensaver_id)) { -+ return std::nullopt; -+ } -+ - const auto screen = xcb_setup_roots_iterator(xcb_get_setup(connection)).data; - if (!screen) { - return std::nullopt; diff --git a/srcpkgs/telegram-desktop/template b/srcpkgs/telegram-desktop/template index 428f3c85d37..cd685fdb7e3 100644 --- a/srcpkgs/telegram-desktop/template +++ b/srcpkgs/telegram-desktop/template @@ -1,7 +1,7 @@ # Template file for 'telegram-desktop' pkgname=telegram-desktop -version=2.3.2 -revision=2 +version=2.4.3 +revision=1 wrksrc="tdesktop-${version}-full" build_style=cmake build_helper="qemu" @@ -10,7 +10,6 @@ configure_args="-DTDESKTOP_API_ID=209235 -DDESKTOP_APP_USE_GLIBC_WRAPS=OFF -DDESKTOP_APP_DISABLE_CRASH_REPORTS=ON -DTDESKTOP_LAUNCHER_BASENAME=org.telegram.desktop.desktop - -DTDESKTOP_DISABLE_REGISTER_CUSTOM_SCHEME=ON -DDESKTOP_APP_DISABLE_SPELLCHECK=$(vopt_if spellcheck 'false' 'true') -DDESKTOP_APP_DISABLE_WEBRTC_INTEGRATION=ON" hostmakedepends="pkg-config qt5-qmake qt5-host-tools python" @@ -26,7 +25,7 @@ license="GPL-3.0-or-later WITH OpenSSL" homepage="https://desktop.telegram.org/" changelog="https://github.com/telegramdesktop/tdesktop/blob/v${version}/changelog.txt" distfiles="https://github.com/telegramdesktop/tdesktop/releases/download/v${version}/tdesktop-${version}-full.tar.gz" -checksum=292631bcac4b30f778879ecd2cebf4c6f569ab5be01230c8e62b924b4211a259 +checksum=56de48ea5332b3e113423e286f42a7b06e3059cadfed862c3164384ebebd4895 build_options="spellcheck" build_options_default="spellcheck"