View | Details | Raw Unified | Return to bug 257290 | Differences between
and this patch

Collapse All | Expand All

(-)./Makefile (-2 / +2 lines)
Lines 1-6 Link Here
1
PORTNAME=	telegram-desktop
1
PORTNAME=	telegram-desktop
2
DISTVERSION=	2.7.4
2
DISTVERSION=	2.8.11
3
PORTREVISION=	1
4
CATEGORIES=	net-im
3
CATEGORIES=	net-im
5
MASTER_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/releases/download/v${DISTVERSION}/
4
MASTER_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/releases/download/v${DISTVERSION}/
6
DISTNAME=	tdesktop-${DISTVERSION}-full
5
DISTNAME=	tdesktop-${DISTVERSION}-full
Lines 32-37 Link Here
32
		libjpeg.so:graphics/jpeg-turbo \
31
		libjpeg.so:graphics/jpeg-turbo \
33
		liblz4.so:archivers/liblz4 \
32
		liblz4.so:archivers/liblz4 \
34
		libminizip.so:archivers/minizip \
33
		libminizip.so:archivers/minizip \
34
		librnnoise.so:audio/rnnoise \
35
		libopenal.so:audio/openal-soft \
35
		libopenal.so:audio/openal-soft \
36
		libopus.so:audio/opus \
36
		libopus.so:audio/opus \
37
		libqrcodegencpp.so:graphics/qr-code-generator \
37
		libqrcodegencpp.so:graphics/qr-code-generator \
(-)./distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1620514737
1
TIMESTAMP = 1626644072
2
SHA256 (tdesktop-2.7.4-full.tar.gz) = 97526f0b4adf04cf86b605ae84f3efaacf58eb8f828bab8f4fe752a4fac62fb2
2
SHA256 (tdesktop-2.8.11-full.tar.gz) = 168487a59a8ae6ca1fbd66ccefc9eae19344af61bfb8d4cdde3cf73c115aa9dc
3
SIZE (tdesktop-2.7.4-full.tar.gz) = 36894673
3
SIZE (tdesktop-2.8.11-full.tar.gz) = 37105468
(-)./files/patch-Telegram_SourceFiles_platform_linux_specific__linux.cpp (+11 lines)
Line 0 Link Here
1
--- Telegram/SourceFiles/platform/linux/specific_linux.cpp.orig	2021-07-17 09:47:10 UTC
2
+++ Telegram/SourceFiles/platform/linux/specific_linux.cpp
3
@@ -48,7 +48,7 @@ https://github.com/telegramdesktop/tdesktop/blob/maste
4
 #include <gio/gio.h>
5
 #include <glibmm.h>
6
 #include <giomm.h>
7
-#include <jemalloc/jemalloc.h>
8
+#include <malloc_np.h>
9
 
10
 #include <sys/stat.h>
11
 #include <sys/types.h>
(-)./files/patch-Telegram_lib__webview_webview_platform_linux_webview__linux__webkit__gtk.cpp (-11 lines)
Lines 1-11 Link Here
1
--- Telegram/lib_webview/webview/platform/linux/webview_linux_webkit_gtk.cpp.orig	2021-04-14 05:42:51 UTC
2
+++ Telegram/lib_webview/webview/platform/linux/webview_linux_webkit_gtk.cpp
3
@@ -38,7 +38,7 @@ bool Resolve() {
4
 		&& LOAD_GTK_SYMBOL(gtk, gtk_window_get_type)
5
 		&& LOAD_GTK_SYMBOL(gtk, gtk_window_set_decorated)
6
 		&& LOAD_GTK_SYMBOL(gtk, gdk_x11_window_get_xid)
7
-		&& base::Platform::Gtk::LoadLibrary(webkit2gtk, "libwebkit2gtk-4.0.so.37", 0)
8
+		&& base::Platform::Gtk::LoadLibrary(webkit2gtk, "libwebkit2gtk-4.0.so.37", 37)
9
 		&& LOAD_GTK_SYMBOL(webkit2gtk, webkit_web_view_new)
10
 		&& LOAD_GTK_SYMBOL(webkit2gtk, webkit_web_view_get_type)
11
 		&& LOAD_GTK_SYMBOL(webkit2gtk, webkit_web_view_get_user_content_manager)
(-)./files/patch-Telegram_lib__webview_webview_platform_linux_webview__linux__webkit__gtk.h (-13 lines)
Lines 1-13 Link Here
1
--- Telegram/lib_webview/webview/platform/linux/webview_linux_webkit_gtk.h.orig	2021-04-14 05:42:51 UTC
2
+++ Telegram/lib_webview/webview/platform/linux/webview_linux_webkit_gtk.h
3
@@ -11,9 +11,9 @@
4
 extern "C" {
5
 #undef signals
6
 #include <JavaScriptCore/JavaScript.h>
7
+#include <gdk/gdkx.h>
8
 #include <gtk/gtk.h>
9
 #include <webkit2/webkit2.h>
10
-#include <X11/Xlib.h>
11
 #define signals public
12
 } // extern "C"
13
 
(-)./files/patch-cmake_external_CMakeLists.txt (+12 lines)
Line 0 Link Here
1
--- cmake/external/CMakeLists.txt.orig	2021-07-13 19:08:45 UTC
2
+++ cmake/external/CMakeLists.txt
3
@@ -37,9 +37,6 @@ if (add_hunspell_library)
4
 	add_checked_subdirectory(hunspell)
5
 endif()
6
 add_checked_subdirectory(iconv)
7
-if (LINUX)
8
-    add_checked_subdirectory(jemalloc)
9
-endif()
10
 add_checked_subdirectory(jpeg)
11
 if (LINUX AND NOT DESKTOP_APP_DISABLE_WAYLAND_INTEGRATION)
12
     add_checked_subdirectory(kwayland)
(-)./files/patch-cmake_options__linux.cmake (+14 lines)
Line 0 Link Here
1
--- cmake/options_linux.cmake.orig	2021-07-13 19:08:45 UTC
2
+++ cmake/options_linux.cmake
3
@@ -58,11 +58,6 @@ if (DESKTOP_APP_SPECIAL_TARGET)
4
     endif()
5
 endif()
6
 
7
-target_link_libraries(common_options
8
-INTERFACE
9
-    desktop-app::external_jemalloc
10
-)
11
-
12
 if (DESKTOP_APP_USE_PACKAGED)
13
     find_library(ATOMIC_LIBRARY atomic)
14
 else()

Return to bug 257290