From 15bec0502a1a3ec289b3b9d69650e5c190b2c6df Mon Sep 17 00:00:00 2001 From: Sergey Kiselev Date: Tue, 5 Dec 2023 12:57:15 +0500 Subject: [PATCH] Version 4.12.2 --- net-im/telegram-desktop/Makefile | 5 +++-- net-im/telegram-desktop/distinfo | 6 +++--- ...s_platform_linux_notifications__manager__linux.cpp | 11 ----------- net-im/telegram-desktop/pkg-plist | 2 ++ 4 files changed, 8 insertions(+), 16 deletions(-) delete mode 100644 net-im/telegram-desktop/files/patch-Telegram_SourceFiles_platform_linux_notifications__manager__linux.cpp diff --git a/net-im/telegram-desktop/Makefile b/net-im/telegram-desktop/Makefile index b7ca6e3..26486e9 100644 --- a/net-im/telegram-desktop/Makefile +++ b/net-im/telegram-desktop/Makefile @@ -1,5 +1,5 @@ PORTNAME= telegram-desktop -DISTVERSION= 4.11.7 +DISTVERSION= 4.12.2 CATEGORIES= net-im MASTER_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/releases/download/v${DISTVERSION}/ DISTNAME= tdesktop-${DISTVERSION}-full @@ -70,7 +70,8 @@ USE_GL= gl USE_GNOME= glib20 glibmm26 introspection CMAKE_ARGS= -DTDESKTOP_API_ID=${TELEGRAM_API_ID} -DTDESKTOP_API_HASH=${TELEGRAM_API_HASH} -CMAKE_ON= DESKTOP_APP_USE_PACKAGED DESKTOP_APP_DISABLE_CRASH_REPORTS +CMAKE_ON= DESKTOP_APP_USE_PACKAGED DESKTOP_APP_DISABLE_CRASH_REPORTS \ + DESKTOP_APP_DISABLE_SCUDO # Since cmake 3.25.0, BSDs are no longer recognised as Linux (in this port). CMAKE_ARGS+= -DLINUX=true diff --git a/net-im/telegram-desktop/distinfo b/net-im/telegram-desktop/distinfo index 5ff307b..0d70199 100644 --- a/net-im/telegram-desktop/distinfo +++ b/net-im/telegram-desktop/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1695876952 -SHA256 (tdesktop-4.9.3-full.tar.gz) = 2ef462651d397d807576f5df3a5d3de2764accf8d155a0b4d576a354a614d107 -SIZE (tdesktop-4.9.3-full.tar.gz) = 69517868 +TIMESTAMP = 1701706520 +SHA256 (tdesktop-4.12.2-full.tar.gz) = 7e9e51ae9c40d5b8c964bcfe0e252e35980c6668327934d2270144405c519914 +SIZE (tdesktop-4.12.2-full.tar.gz) = 67796891 diff --git a/net-im/telegram-desktop/files/patch-Telegram_SourceFiles_platform_linux_notifications__manager__linux.cpp b/net-im/telegram-desktop/files/patch-Telegram_SourceFiles_platform_linux_notifications__manager__linux.cpp deleted file mode 100644 index 1f69d44..0000000 --- a/net-im/telegram-desktop/files/patch-Telegram_SourceFiles_platform_linux_notifications__manager__linux.cpp +++ /dev/null @@ -1,11 +0,0 @@ ---- Telegram/SourceFiles/platform/linux/notifications_manager_linux.cpp.orig 2023-10-02 20:31:34 UTC -+++ Telegram/SourceFiles/platform/linux/notifications_manager_linux.cpp -@@ -814,7 +814,7 @@ bool ByDefault() { - - // A list of capabilities that offer feature parity - // with custom notifications -- return ranges::all_of(std::initializer_list{ -+ return ranges::all_of(std::array{ - // To show message content - "body", - // To have buttons on notifications diff --git a/net-im/telegram-desktop/pkg-plist b/net-im/telegram-desktop/pkg-plist index 106d667..0440aa3 100644 --- a/net-im/telegram-desktop/pkg-plist +++ b/net-im/telegram-desktop/pkg-plist @@ -1,5 +1,6 @@ bin/telegram-desktop share/applications/org.telegram.desktop.desktop +share/dbus-1/services/org.telegram.desktop.service share/icons/hicolor/128x128/apps/telegram.png share/icons/hicolor/16x16/apps/telegram.png share/icons/hicolor/256x256/apps/telegram.png @@ -7,4 +8,5 @@ share/icons/hicolor/32x32/apps/telegram.png share/icons/hicolor/48x48/apps/telegram.png share/icons/hicolor/512x512/apps/telegram.png share/icons/hicolor/64x64/apps/telegram.png +share/icons/hicolor/symbolic/apps/telegram-symbolic.svg share/metainfo/org.telegram.desktop.metainfo.xml