FreeBSD Bugzilla – Attachment 226560 Details for
Bug 257290
net-im/telegram-desktop: Update to 2.8.11
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to 2.8.11
telegram-desktop-2.8.11.patch (text/plain), 6.27 KB, created by
Henry Hu
on 2021-07-20 00:02:22 UTC
(
hide
)
Description:
Patch to 2.8.11
Filename:
MIME Type:
Creator:
Henry Hu
Created:
2021-07-20 00:02:22 UTC
Size:
6.27 KB
patch
obsolete
>diff -ruN -x work -x sync-patch.sh -x gen-patch.sh -x update.md -x check-diff.py -x files.bak /usr/ports/net-im/telegram-desktop/Makefile ./Makefile >--- /usr/ports/net-im/telegram-desktop/Makefile 2021-06-19 16:16:08.000000000 -0400 >+++ ./Makefile 2021-07-18 17:44:47.682657000 -0400 >@@ -1,6 +1,5 @@ > PORTNAME= telegram-desktop >-DISTVERSION= 2.7.4 >-PORTREVISION= 1 >+DISTVERSION= 2.8.11 > CATEGORIES= net-im > MASTER_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/releases/download/v${DISTVERSION}/ > DISTNAME= tdesktop-${DISTVERSION}-full >@@ -32,6 +31,7 @@ > libjpeg.so:graphics/jpeg-turbo \ > liblz4.so:archivers/liblz4 \ > libminizip.so:archivers/minizip \ >+ librnnoise.so:audio/rnnoise \ > libopenal.so:audio/openal-soft \ > libopus.so:audio/opus \ > libqrcodegencpp.so:graphics/qr-code-generator \ >diff -ruN -x work -x sync-patch.sh -x gen-patch.sh -x update.md -x check-diff.py -x files.bak /usr/ports/net-im/telegram-desktop/distinfo ./distinfo >--- /usr/ports/net-im/telegram-desktop/distinfo 2021-05-10 12:09:14.000000000 -0400 >+++ ./distinfo 2021-07-18 17:34:32.723380000 -0400 >@@ -1,3 +1,3 @@ >-TIMESTAMP = 1620514737 >-SHA256 (tdesktop-2.7.4-full.tar.gz) = 97526f0b4adf04cf86b605ae84f3efaacf58eb8f828bab8f4fe752a4fac62fb2 >-SIZE (tdesktop-2.7.4-full.tar.gz) = 36894673 >+TIMESTAMP = 1626644072 >+SHA256 (tdesktop-2.8.11-full.tar.gz) = 168487a59a8ae6ca1fbd66ccefc9eae19344af61bfb8d4cdde3cf73c115aa9dc >+SIZE (tdesktop-2.8.11-full.tar.gz) = 37105468 >diff -ruN -x work -x sync-patch.sh -x gen-patch.sh -x update.md -x check-diff.py -x files.bak /usr/ports/net-im/telegram-desktop/files/patch-Telegram_SourceFiles_platform_linux_specific__linux.cpp ./files/patch-Telegram_SourceFiles_platform_linux_specific__linux.cpp >--- /usr/ports/net-im/telegram-desktop/files/patch-Telegram_SourceFiles_platform_linux_specific__linux.cpp 1969-12-31 19:00:00.000000000 -0500 >+++ ./files/patch-Telegram_SourceFiles_platform_linux_specific__linux.cpp 2021-07-18 19:14:20.125931000 -0400 >@@ -0,0 +1,11 @@ >+--- Telegram/SourceFiles/platform/linux/specific_linux.cpp.orig 2021-07-17 09:47:10 UTC >++++ Telegram/SourceFiles/platform/linux/specific_linux.cpp >+@@ -48,7 +48,7 @@ https://github.com/telegramdesktop/tdesktop/blob/maste >+ #include <gio/gio.h> >+ #include <glibmm.h> >+ #include <giomm.h> >+-#include <jemalloc/jemalloc.h> >++#include <malloc_np.h> >+ >+ #include <sys/stat.h> >+ #include <sys/types.h> >diff -ruN -x work -x sync-patch.sh -x gen-patch.sh -x update.md -x check-diff.py -x files.bak /usr/ports/net-im/telegram-desktop/files/patch-Telegram_lib__webview_webview_platform_linux_webview__linux__webkit__gtk.cpp ./files/patch-Telegram_lib__webview_webview_platform_linux_webview__linux__webkit__gtk.cpp >--- /usr/ports/net-im/telegram-desktop/files/patch-Telegram_lib__webview_webview_platform_linux_webview__linux__webkit__gtk.cpp 2021-05-14 14:47:28.000000000 -0400 >+++ ./files/patch-Telegram_lib__webview_webview_platform_linux_webview__linux__webkit__gtk.cpp 1969-12-31 19:00:00.000000000 -0500 >@@ -1,11 +0,0 @@ >---- Telegram/lib_webview/webview/platform/linux/webview_linux_webkit_gtk.cpp.orig 2021-04-14 05:42:51 UTC >-+++ Telegram/lib_webview/webview/platform/linux/webview_linux_webkit_gtk.cpp >-@@ -38,7 +38,7 @@ bool Resolve() { >- && LOAD_GTK_SYMBOL(gtk, gtk_window_get_type) >- && LOAD_GTK_SYMBOL(gtk, gtk_window_set_decorated) >- && LOAD_GTK_SYMBOL(gtk, gdk_x11_window_get_xid) >-- && base::Platform::Gtk::LoadLibrary(webkit2gtk, "libwebkit2gtk-4.0.so.37", 0) >-+ && base::Platform::Gtk::LoadLibrary(webkit2gtk, "libwebkit2gtk-4.0.so.37", 37) >- && LOAD_GTK_SYMBOL(webkit2gtk, webkit_web_view_new) >- && LOAD_GTK_SYMBOL(webkit2gtk, webkit_web_view_get_type) >- && LOAD_GTK_SYMBOL(webkit2gtk, webkit_web_view_get_user_content_manager) >diff -ruN -x work -x sync-patch.sh -x gen-patch.sh -x update.md -x check-diff.py -x files.bak /usr/ports/net-im/telegram-desktop/files/patch-Telegram_lib__webview_webview_platform_linux_webview__linux__webkit__gtk.h ./files/patch-Telegram_lib__webview_webview_platform_linux_webview__linux__webkit__gtk.h >--- /usr/ports/net-im/telegram-desktop/files/patch-Telegram_lib__webview_webview_platform_linux_webview__linux__webkit__gtk.h 2021-05-12 00:21:02.000000000 -0400 >+++ ./files/patch-Telegram_lib__webview_webview_platform_linux_webview__linux__webkit__gtk.h 1969-12-31 19:00:00.000000000 -0500 >@@ -1,13 +0,0 @@ >---- Telegram/lib_webview/webview/platform/linux/webview_linux_webkit_gtk.h.orig 2021-04-14 05:42:51 UTC >-+++ Telegram/lib_webview/webview/platform/linux/webview_linux_webkit_gtk.h >-@@ -11,9 +11,9 @@ >- extern "C" { >- #undef signals >- #include <JavaScriptCore/JavaScript.h> >-+#include <gdk/gdkx.h> >- #include <gtk/gtk.h> >- #include <webkit2/webkit2.h> >--#include <X11/Xlib.h> >- #define signals public >- } // extern "C" >- >diff -ruN -x work -x sync-patch.sh -x gen-patch.sh -x update.md -x check-diff.py -x files.bak /usr/ports/net-im/telegram-desktop/files/patch-cmake_external_CMakeLists.txt ./files/patch-cmake_external_CMakeLists.txt >--- /usr/ports/net-im/telegram-desktop/files/patch-cmake_external_CMakeLists.txt 1969-12-31 19:00:00.000000000 -0500 >+++ ./files/patch-cmake_external_CMakeLists.txt 2021-07-18 19:14:20.145839000 -0400 >@@ -0,0 +1,12 @@ >+--- cmake/external/CMakeLists.txt.orig 2021-07-13 19:08:45 UTC >++++ cmake/external/CMakeLists.txt >+@@ -37,9 +37,6 @@ if (add_hunspell_library) >+ add_checked_subdirectory(hunspell) >+ endif() >+ add_checked_subdirectory(iconv) >+-if (LINUX) >+- add_checked_subdirectory(jemalloc) >+-endif() >+ add_checked_subdirectory(jpeg) >+ if (LINUX AND NOT DESKTOP_APP_DISABLE_WAYLAND_INTEGRATION) >+ add_checked_subdirectory(kwayland) >diff -ruN -x work -x sync-patch.sh -x gen-patch.sh -x update.md -x check-diff.py -x files.bak /usr/ports/net-im/telegram-desktop/files/patch-cmake_options__linux.cmake ./files/patch-cmake_options__linux.cmake >--- /usr/ports/net-im/telegram-desktop/files/patch-cmake_options__linux.cmake 1969-12-31 19:00:00.000000000 -0500 >+++ ./files/patch-cmake_options__linux.cmake 2021-07-18 19:14:20.148410000 -0400 >@@ -0,0 +1,14 @@ >+--- cmake/options_linux.cmake.orig 2021-07-13 19:08:45 UTC >++++ cmake/options_linux.cmake >+@@ -58,11 +58,6 @@ if (DESKTOP_APP_SPECIAL_TARGET) >+ endif() >+ endif() >+ >+-target_link_libraries(common_options >+-INTERFACE >+- desktop-app::external_jemalloc >+-) >+- >+ if (DESKTOP_APP_USE_PACKAGED) >+ find_library(ATOMIC_LIBRARY atomic) >+ else()
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
henry.hu.sh
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 257290
:
226560
|
226575
|
226674
|
226698
|
226748