pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

telegram-desktop/patches: added some patches



Module Name:	pkgsrc-wip
Committed By:	AcidBear <jake.slazenger%yandex.com@localhost>
Pushed By:	jakeSlaz
Date:		Tue Feb 18 04:58:04 2020 +0300
Changeset:	39648b2d8cadd22a24ddf42f64485c799428edc8

Modified Files:
	telegram-desktop/distinfo
	telegram-desktop/patches/patch-unixtime.h
Added Files:
	telegram-desktop/patches/patch-base_platform_file_utilities.h
	telegram-desktop/patches/patch-lib_storage-CMakeLists.txt
	telegram-desktop/patches/patch-libtgvoip-threading.h
	telegram-desktop/patches/patch-storage_cache_types.h
	telegram-desktop/patches/patch-storage_clear_legacy.h
	telegram-desktop/patches/patch-storage_encryption.h

Log Message:
telegram-desktop/patches: added some patches

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=39648b2d8cadd22a24ddf42f64485c799428edc8

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 telegram-desktop/distinfo                                  |  8 +++++++-
 .../patches/patch-base_platform_file_utilities.h           | 13 +++++++++++++
 telegram-desktop/patches/patch-lib_storage-CMakeLists.txt  | 14 ++++++++++++++
 telegram-desktop/patches/patch-libtgvoip-threading.h       |  2 ++
 telegram-desktop/patches/patch-storage_cache_types.h       | 12 ++++++++++++
 telegram-desktop/patches/patch-storage_clear_legacy.h      | 13 +++++++++++++
 telegram-desktop/patches/patch-storage_encryption.h        | 12 ++++++++++++
 telegram-desktop/patches/patch-unixtime.h                  |  2 +-
 8 files changed, 74 insertions(+), 2 deletions(-)

diffs:
diff --git a/telegram-desktop/distinfo b/telegram-desktop/distinfo
index 3aaf71836d..a55f24db9c 100644
--- a/telegram-desktop/distinfo
+++ b/telegram-desktop/distinfo
@@ -9,6 +9,7 @@ SHA1 (patch-base_file_utilities_linux.h) = b159a31a23ed0fe608129254a7b72a29bb0d4
 SHA1 (patch-base_info_linux.h) = 44bedaa333cc12d5de57777c1659aa11863fba36
 SHA1 (patch-base_last_input_linux.h) = c2b0e5a307c60fd3cba1891a73d218399cde3c7d
 SHA1 (patch-base_pch.h) = e69cb3807d96c7ad78bd25478fa18ef99aad022b
+SHA1 (patch-base_platform_file_utilities.h) = d53371bb6ee062df2376c35bb663dafbcb7f421f
 SHA1 (patch-base_platform_last_input.h) = 0b4c988bbe3d71156ed9f77d313d39e1284a1367
 SHA1 (patch-base_platform_url_scheme.h) = a5bc6ea1845572f326fa19af51f5f7a87554e618
 SHA1 (patch-build_config.h) = 17bccca2d70671fe0f8345af8a7710c2caa3db19
@@ -16,10 +17,15 @@ SHA1 (patch-call_delayed.h) = 935062178537df05e44a2e651bef2030faa613f3
 SHA1 (patch-concurrent_timer.h) = 8b2356cbf705bfb9e19af2725475dd9bcd6a33d7
 SHA1 (patch-last_user_input.h) = 961f5a2a308ec973bc8037658c5658ce145627ef
 SHA1 (patch-lib_base-CMakeLists.txt) = 940672a38a1168e2cb9835f84aecd3ad0ef041f4
+SHA1 (patch-lib_storage-CMakeLists.txt) = ef770e3f50f075d251262fc511ef21313f5edab1
+SHA1 (patch-libtgvoip-threading.h) = a12da3421e4b635c30ac4d915e02adacf27f9f52
 SHA1 (patch-observer.h) = 023e0aa9caa7efe3db575db1dc4af7227d84c29c
 SHA1 (patch-parse_helper.h) = da283461c598d06bc60e084798ffa207a963e49a
 SHA1 (patch-qthelp_url.h) = 2611720a38f9ff4422c9a64f17067ca8bd5f2ec8
 SHA1 (patch-runtime_composer.h) = 14776d343a4a8d275e6af33c67635affc0b89e3e
 SHA1 (patch-single_instance.h) = b696df585bb711149bd33e85d9b164850cf008b6
+SHA1 (patch-storage_cache_types.h) = 42a113dabb24fe1f633a63c39c57e3380d68cc27
+SHA1 (patch-storage_clear_legacy.h) = f3fb47425aac69b5aaeeccb62e80c383877b2e37
+SHA1 (patch-storage_encryption.h) = bdf884415c455f64acd0e765161c5f02dc9cb8df
 SHA1 (patch-timer.h) = 8aaaa03721d4fca2f762f6561e13cccd6a275061
-SHA1 (patch-unixtime.h) = baa3089c3fa992acdd5287bf4cdd3cf1f8acb753
+SHA1 (patch-unixtime.h) = 0ec3ce5549e24cb4fc15098d0596e16dd4b888cf
diff --git a/telegram-desktop/patches/patch-base_platform_file_utilities.h b/telegram-desktop/patches/patch-base_platform_file_utilities.h
new file mode 100644
index 0000000000..531a48e7a5
--- /dev/null
+++ b/telegram-desktop/patches/patch-base_platform_file_utilities.h
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- Telegram/lib_base/base/platform/base_platform_file_utilities.h.orig	2020-01-21 15:35:25.000000000 +0000
++++ Telegram/lib_base/base/platform/base_platform_file_utilities.h
+@@ -22,7 +22,7 @@ void RemoveQuarantine(const QString &pat
+ 
+ #ifdef Q_OS_MAC
+ #include "base/platform/mac/base_file_utilities_mac.h"
+-#elif defined Q_OS_LINUX // Q_OS_MAC
++#elif defined Q_OS_LINUX || defined Q_OS_NETBSD // Q_OS_MAC
+ #include "base/platform/linux/base_file_utilities_linux.h"
+ #elif defined Q_OS_WINRT || defined Q_OS_WIN // Q_OS_MAC || Q_OS_LINUX
+ #include "base/platform/win/base_file_utilities_win.h"
diff --git a/telegram-desktop/patches/patch-lib_storage-CMakeLists.txt b/telegram-desktop/patches/patch-lib_storage-CMakeLists.txt
new file mode 100644
index 0000000000..f12587edd1
--- /dev/null
+++ b/telegram-desktop/patches/patch-lib_storage-CMakeLists.txt
@@ -0,0 +1,14 @@
+$NetBSD$
+
+Remove useless precompiled headers from lib_storage
+
+--- Telegram/lib_storage/CMakeLists.txt.orig	2020-02-17 20:21:07.812160059 +0000
++++ Telegram/lib_storage/CMakeLists.txt
+@@ -10,7 +10,6 @@ init_target(lib_storage)
+ 
+ get_filename_component(src_loc . REALPATH)
+ 
+-target_precompile_headers(lib_storage PRIVATE ${src_loc}/storage/storage_pch.h)
+ nice_target_sources(lib_storage ${src_loc}
+ PRIVATE
+     storage/storage_clear_legacy.cpp
diff --git a/telegram-desktop/patches/patch-libtgvoip-threading.h b/telegram-desktop/patches/patch-libtgvoip-threading.h
new file mode 100644
index 0000000000..afc76512f4
--- /dev/null
+++ b/telegram-desktop/patches/patch-libtgvoip-threading.h
@@ -0,0 +1,2 @@
+$NetBSD$
+
diff --git a/telegram-desktop/patches/patch-storage_cache_types.h b/telegram-desktop/patches/patch-storage_cache_types.h
new file mode 100644
index 0000000000..3f45e62cf1
--- /dev/null
+++ b/telegram-desktop/patches/patch-storage_cache_types.h
@@ -0,0 +1,12 @@
+$NetBSD$
+
+--- Telegram/lib_storage/storage/cache/storage_cache_types.h.orig	2020-02-18 00:14:25.522435379 +0000
++++ Telegram/lib_storage/storage/cache/storage_cache_types.h
+@@ -9,6 +9,7 @@
+ #include "base/basic_types.h"
+ #include "base/flat_map.h"
+ #include "base/optional.h"
++#include "storage/storage_pch.h"
+ #include <crl/crl_time.h>
+ #include <QtCore/QString>
+ #include <QtCore/QByteArray>
diff --git a/telegram-desktop/patches/patch-storage_clear_legacy.h b/telegram-desktop/patches/patch-storage_clear_legacy.h
new file mode 100644
index 0000000000..b460e2dfc1
--- /dev/null
+++ b/telegram-desktop/patches/patch-storage_clear_legacy.h
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- Telegram/lib_storage/storage/storage_clear_legacy.h.orig	2020-02-17 23:45:45.124957617 +0000
++++ Telegram/lib_storage/storage/storage_clear_legacy.h
+@@ -6,6 +6,8 @@
+ //
+ #pragma once
+ 
++#include "storage/storage_pch.h"
++
+ namespace Storage {
+ 
+ using CollectGoodFiles = Fn<void(FnMut<void(base::flat_set<QString>&&)>)>;
diff --git a/telegram-desktop/patches/patch-storage_encryption.h b/telegram-desktop/patches/patch-storage_encryption.h
new file mode 100644
index 0000000000..406142eeff
--- /dev/null
+++ b/telegram-desktop/patches/patch-storage_encryption.h
@@ -0,0 +1,12 @@
+$NetBSD$
+
+--- Telegram/lib_storage/storage/storage_encryption.h.orig	2020-02-18 00:05:13.804386114 +0000
++++ Telegram/lib_storage/storage/storage_encryption.h
+@@ -7,6 +7,7 @@
+ #pragma once
+ 
+ #include "base/bytes.h"
++#include "storage/storage_pch.h"
+ 
+ namespace Storage {
+ 
diff --git a/telegram-desktop/patches/patch-unixtime.h b/telegram-desktop/patches/patch-unixtime.h
index 7a5776d386..decc3e3ade 100644
--- a/telegram-desktop/patches/patch-unixtime.h
+++ b/telegram-desktop/patches/patch-unixtime.h
@@ -1,6 +1,6 @@
 $NetBSD$
 
---- Telegram/lib_base/base/unixtime.h.orig	2020-02-16 20:43:52.657465525 +0000
+--- Telegram/lib_base/base/unixtime.h.orig	2020-02-17 18:57:26.650800032 +0000
 +++ Telegram/lib_base/base/unixtime.h
 @@ -6,6 +6,7 @@
  //


Home | Main Index | Thread Index | Old Index