pkgsrc-WIP-changes archive

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

telegram-desktop/patches: added some patches for removing pre-compiled headers from lib_base



Module Name:	pkgsrc-wip
Committed By:	AcidBear <jake.slazenger%yandex.com@localhost>
Pushed By:	jakeSlaz
Date:		Sun Feb 16 23:58:54 2020 +0300
Changeset:	befe05027baf02b236ee2eea398c79488e228ac6

Modified Files:
	telegram-desktop/distinfo
Added Files:
	telegram-desktop/patches/patch-base_file_utilities.h
	telegram-desktop/patches/patch-base_file_utilities_linux.h
	telegram-desktop/patches/patch-base_info_linux.h
	telegram-desktop/patches/patch-base_last_input_linux.h
	telegram-desktop/patches/patch-base_pch.h
	telegram-desktop/patches/patch-base_platform_last_input.h
	telegram-desktop/patches/patch-base_platform_url_scheme.h
	telegram-desktop/patches/patch-call_delayed.h
	telegram-desktop/patches/patch-concurrent_timer.h
	telegram-desktop/patches/patch-last_user_input.h
	telegram-desktop/patches/patch-observer.h
	telegram-desktop/patches/patch-parse_helper.h
	telegram-desktop/patches/patch-qthelp_url.h
	telegram-desktop/patches/patch-runtime_composer.h
	telegram-desktop/patches/patch-single_instance.h
	telegram-desktop/patches/patch-timer.h
	telegram-desktop/patches/patch-unixtime.h

Log Message:
telegram-desktop/patches: added some patches for removing pre-compiled headers from lib_base

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

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

diffstat:
 telegram-desktop/distinfo                               | 17 +++++++++++++++++
 telegram-desktop/patches/patch-base_file_utilities.h    | 12 ++++++++++++
 .../patches/patch-base_file_utilities_linux.h           | 12 ++++++++++++
 telegram-desktop/patches/patch-base_info_linux.h        | 12 ++++++++++++
 telegram-desktop/patches/patch-base_last_input_linux.h  | 10 ++++++++++
 telegram-desktop/patches/patch-base_pch.h               | 12 ++++++++++++
 .../patches/patch-base_platform_last_input.h            | 12 ++++++++++++
 .../patches/patch-base_platform_url_scheme.h            | 12 ++++++++++++
 telegram-desktop/patches/patch-call_delayed.h           | 12 ++++++++++++
 telegram-desktop/patches/patch-concurrent_timer.h       | 12 ++++++++++++
 telegram-desktop/patches/patch-last_user_input.h        | 12 ++++++++++++
 telegram-desktop/patches/patch-observer.h               | 12 ++++++++++++
 telegram-desktop/patches/patch-parse_helper.h           | 12 ++++++++++++
 telegram-desktop/patches/patch-qthelp_url.h             | 13 +++++++++++++
 telegram-desktop/patches/patch-runtime_composer.h       | 12 ++++++++++++
 telegram-desktop/patches/patch-single_instance.h        | 12 ++++++++++++
 telegram-desktop/patches/patch-timer.h                  | 12 ++++++++++++
 telegram-desktop/patches/patch-unixtime.h               | 12 ++++++++++++
 18 files changed, 220 insertions(+)

diffs:
diff --git a/telegram-desktop/distinfo b/telegram-desktop/distinfo
index a0e0ae3c68..3aaf71836d 100644
--- a/telegram-desktop/distinfo
+++ b/telegram-desktop/distinfo
@@ -4,5 +4,22 @@ SHA1 (tdesktop/telegram-desktop-1.9.9.tar.gz) = 5f3bc72245f790300ed9816f35aa0db0
 RMD160 (tdesktop/telegram-desktop-1.9.9.tar.gz) = 077087a0b57d6950ab1431c7d8fa1143a7ebc6f9
 SHA512 (tdesktop/telegram-desktop-1.9.9.tar.gz) = ba6400e6f5eec5bda6e8a54b43846e695b2cce731cb6b39f17407cc39e3e9b8078d977253d29962671f30e33dbe012f8e40f340f781fd8ca73487e5f2d42e3de
 Size (tdesktop/telegram-desktop-1.9.9.tar.gz) = 25221934 bytes
+SHA1 (patch-base_file_utilities.h) = 3afa01e200954e14697043e57fc09b4413769c63
+SHA1 (patch-base_file_utilities_linux.h) = b159a31a23ed0fe608129254a7b72a29bb0d42e0
+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_last_input.h) = 0b4c988bbe3d71156ed9f77d313d39e1284a1367
+SHA1 (patch-base_platform_url_scheme.h) = a5bc6ea1845572f326fa19af51f5f7a87554e618
 SHA1 (patch-build_config.h) = 17bccca2d70671fe0f8345af8a7710c2caa3db19
+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-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-timer.h) = 8aaaa03721d4fca2f762f6561e13cccd6a275061
+SHA1 (patch-unixtime.h) = baa3089c3fa992acdd5287bf4cdd3cf1f8acb753
diff --git a/telegram-desktop/patches/patch-base_file_utilities.h b/telegram-desktop/patches/patch-base_file_utilities.h
new file mode 100644
index 0000000000..3e9683dae7
--- /dev/null
+++ b/telegram-desktop/patches/patch-base_file_utilities.h
@@ -0,0 +1,12 @@
+$NetBSD$
+
+--- Telegram/lib_base/base/base_file_utilities.h.orig	2020-02-14 22:51:38.506037412 +0000
++++ Telegram/lib_base/base/base_file_utilities.h
+@@ -5,6 +5,7 @@
+ // https://github.com/desktop-app/legal/blob/master/LEGAL
+ //
+ #pragma once
++#include "base/base_pch.h"
+ 
+ namespace base {
+ 
diff --git a/telegram-desktop/patches/patch-base_file_utilities_linux.h b/telegram-desktop/patches/patch-base_file_utilities_linux.h
new file mode 100644
index 0000000000..fc0101214b
--- /dev/null
+++ b/telegram-desktop/patches/patch-base_file_utilities_linux.h
@@ -0,0 +1,12 @@
+$NetBSD$
+
+--- Telegram/lib_base/base/platform/linux/base_file_utilities_linux.h.orig	2020-02-14 16:28:52.347473766 +0000
++++ Telegram/lib_base/base/platform/linux/base_file_utilities_linux.h
+@@ -5,6 +5,7 @@
+ // https://github.com/desktop-app/legal/blob/master/LEGAL
+ //
+ #pragma once
++#include "base/base_pch.h"
+ 
+ namespace base::Platform {
+ 
diff --git a/telegram-desktop/patches/patch-base_info_linux.h b/telegram-desktop/patches/patch-base_info_linux.h
new file mode 100644
index 0000000000..52e09df304
--- /dev/null
+++ b/telegram-desktop/patches/patch-base_info_linux.h
@@ -0,0 +1,12 @@
+$NetBSD$
+
+--- Telegram/lib_base/base/platform/linux/base_info_linux.h.orig	2020-02-14 19:21:13.810873287 +0000
++++ Telegram/lib_base/base/platform/linux/base_info_linux.h
+@@ -6,6 +6,7 @@
+ //
+ #pragma once
+ 
++#include "base/base_pch.h"
+ #include "base/platform/base_platform_info.h"
+ 
+ namespace Platform {
diff --git a/telegram-desktop/patches/patch-base_last_input_linux.h b/telegram-desktop/patches/patch-base_last_input_linux.h
new file mode 100644
index 0000000000..4a2c595103
--- /dev/null
+++ b/telegram-desktop/patches/patch-base_last_input_linux.h
@@ -0,0 +1,10 @@
+$NetBSD$
+
+--- Telegram/lib_base/base/platform/linux/base_last_input_linux.h.orig	2020-02-14 20:53:35.652350813 +0000
++++ Telegram/lib_base/base/platform/linux/base_last_input_linux.h
+@@ -5,4 +5,4 @@
+ // https://github.com/desktop-app/legal/blob/master/LEGAL
+ //
+ #pragma once
+-
++#include "base/platform/base_platform_last_input.h"
diff --git a/telegram-desktop/patches/patch-base_pch.h b/telegram-desktop/patches/patch-base_pch.h
new file mode 100644
index 0000000000..f283bfbdbc
--- /dev/null
+++ b/telegram-desktop/patches/patch-base_pch.h
@@ -0,0 +1,12 @@
+$NetBSD$
+
+--- Telegram/lib_base/base/base_pch.h.orig	2020-02-14 20:38:18.195784056 +0000
++++ Telegram/lib_base/base/base_pch.h
+@@ -16,6 +16,7 @@
+ #include <crl/crl.h>
+ #include <rpl/rpl.h>
+ 
++#include <optional>
+ #include <vector>
+ #include <unordered_map>
+ #include <set>
diff --git a/telegram-desktop/patches/patch-base_platform_last_input.h b/telegram-desktop/patches/patch-base_platform_last_input.h
new file mode 100644
index 0000000000..593c9df3ff
--- /dev/null
+++ b/telegram-desktop/patches/patch-base_platform_last_input.h
@@ -0,0 +1,12 @@
+$NetBSD$
+
+--- Telegram/lib_base/base/platform/base_platform_last_input.h.orig	2020-02-14 20:43:20.863762137 +0000
++++ Telegram/lib_base/base/platform/base_platform_last_input.h
+@@ -5,6 +5,7 @@
+ // https://github.com/desktop-app/legal/blob/master/LEGAL
+ //
+ #pragma once
++#include "base/base_pch.h"
+ 
+ namespace base::Platform {
+ 
diff --git a/telegram-desktop/patches/patch-base_platform_url_scheme.h b/telegram-desktop/patches/patch-base_platform_url_scheme.h
new file mode 100644
index 0000000000..2e718f4c91
--- /dev/null
+++ b/telegram-desktop/patches/patch-base_platform_url_scheme.h
@@ -0,0 +1,12 @@
+$NetBSD$
+
+--- Telegram/lib_base/base/platform/base_platform_url_scheme.h.orig	2020-02-14 22:04:48.047028032 +0000
++++ Telegram/lib_base/base/platform/base_platform_url_scheme.h
+@@ -5,6 +5,7 @@
+ // https://github.com/desktop-app/legal/blob/master/LEGAL
+ //
+ #pragma once
++#include "base/base_pch.h"
+ 
+ namespace base::Platform {
+ 
diff --git a/telegram-desktop/patches/patch-call_delayed.h b/telegram-desktop/patches/patch-call_delayed.h
new file mode 100644
index 0000000000..792f64bb91
--- /dev/null
+++ b/telegram-desktop/patches/patch-call_delayed.h
@@ -0,0 +1,12 @@
+$NetBSD$
+
+--- Telegram/lib_base/base/call_delayed.h.orig	2020-02-14 22:28:28.607785852 +0000
++++ Telegram/lib_base/base/call_delayed.h
+@@ -5,6 +5,7 @@
+ // https://github.com/desktop-app/legal/blob/master/LEGAL
+ //
+ #pragma once
++#include "base_pch.h"
+ 
+ namespace base {
+ 
diff --git a/telegram-desktop/patches/patch-concurrent_timer.h b/telegram-desktop/patches/patch-concurrent_timer.h
new file mode 100644
index 0000000000..40862354f9
--- /dev/null
+++ b/telegram-desktop/patches/patch-concurrent_timer.h
@@ -0,0 +1,12 @@
+$NetBSD$
+
+--- Telegram/lib_base/base/concurrent_timer.h.orig	2020-02-14 22:40:43.318315127 +0000
++++ Telegram/lib_base/base/concurrent_timer.h
+@@ -6,6 +6,7 @@
+ //
+ #pragma once
+ 
++#include "base/base_pch.h"
+ #include "base/binary_guard.h"
+ #include <crl/crl_time.h>
+ #include <crl/crl_object_on_queue.h>
diff --git a/telegram-desktop/patches/patch-last_user_input.h b/telegram-desktop/patches/patch-last_user_input.h
new file mode 100644
index 0000000000..d949e97b3a
--- /dev/null
+++ b/telegram-desktop/patches/patch-last_user_input.h
@@ -0,0 +1,12 @@
+$NetBSD$
+
+--- Telegram/lib_base/base/last_user_input.h.orig	2020-02-14 23:01:14.817848770 +0000
++++ Telegram/lib_base/base/last_user_input.h
+@@ -5,6 +5,7 @@
+ // https://github.com/desktop-app/legal/blob/master/LEGAL
+ //
+ #pragma once
++#include "base/base_pch.h"
+ 
+ namespace base {
+ 
diff --git a/telegram-desktop/patches/patch-observer.h b/telegram-desktop/patches/patch-observer.h
new file mode 100644
index 0000000000..0dbb38d10a
--- /dev/null
+++ b/telegram-desktop/patches/patch-observer.h
@@ -0,0 +1,12 @@
+$NetBSD$
+
+--- Telegram/lib_base/base/observer.h.orig	2020-02-14 23:27:20.968340772 +0000
++++ Telegram/lib_base/base/observer.h
+@@ -9,6 +9,7 @@
+ #include <vector>
+ #include <deque>
+ #include <rpl/producer.h>
++#include "base/base_pch.h"
+ #include "base/type_traits.h"
+ 
+ namespace base {
diff --git a/telegram-desktop/patches/patch-parse_helper.h b/telegram-desktop/patches/patch-parse_helper.h
new file mode 100644
index 0000000000..8aa63ce4f2
--- /dev/null
+++ b/telegram-desktop/patches/patch-parse_helper.h
@@ -0,0 +1,12 @@
+$NetBSD$
+
+--- Telegram/lib_base/base/parse_helper.h.orig	2020-02-14 23:42:23.359806430 +0000
++++ Telegram/lib_base/base/parse_helper.h
+@@ -5,6 +5,7 @@
+ // https://github.com/desktop-app/legal/blob/master/LEGAL
+ //
+ #pragma once
++#include "base/base_pch.h"
+ 
+ namespace base {
+ namespace parse {
diff --git a/telegram-desktop/patches/patch-qthelp_url.h b/telegram-desktop/patches/patch-qthelp_url.h
new file mode 100644
index 0000000000..df353f33be
--- /dev/null
+++ b/telegram-desktop/patches/patch-qthelp_url.h
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- Telegram/lib_base/base/qthelp_url.h.orig	2020-02-16 19:42:50.207614396 +0000
++++ Telegram/lib_base/base/qthelp_url.h
+@@ -10,6 +10,8 @@
+ #include <QtCore/QString>
+ #include <QtCore/QRegularExpression>
+ 
++#include "base/base_pch.h"
++
+ namespace qthelp {
+ 
+ const QRegularExpression &RegExpDomain();
diff --git a/telegram-desktop/patches/patch-runtime_composer.h b/telegram-desktop/patches/patch-runtime_composer.h
new file mode 100644
index 0000000000..7311599e51
--- /dev/null
+++ b/telegram-desktop/patches/patch-runtime_composer.h
@@ -0,0 +1,12 @@
+$NetBSD$
+
+--- Telegram/lib_base/base/runtime_composer.h.orig	2020-02-16 20:18:51.907563863 +0000
++++ Telegram/lib_base/base/runtime_composer.h
+@@ -5,6 +5,7 @@
+ // https://github.com/desktop-app/legal/blob/master/LEGAL
+ //
+ #pragma once
++#include "base/base_pch.h"
+ 
+ template <typename Base>
+ class RuntimeComposer;
diff --git a/telegram-desktop/patches/patch-single_instance.h b/telegram-desktop/patches/patch-single_instance.h
new file mode 100644
index 0000000000..9d2a59acae
--- /dev/null
+++ b/telegram-desktop/patches/patch-single_instance.h
@@ -0,0 +1,12 @@
+$NetBSD$
+
+--- Telegram/lib_base/base/single_instance.h.orig	2020-02-16 20:34:20.023842921 +0000
++++ Telegram/lib_base/base/single_instance.h
+@@ -6,6 +6,7 @@
+ //
+ #pragma once
+ 
++#include "base/base_pch.h"
+ #include "base/file_lock.h"
+ 
+ #include <QtNetwork/QLocalServer>
diff --git a/telegram-desktop/patches/patch-timer.h b/telegram-desktop/patches/patch-timer.h
new file mode 100644
index 0000000000..488f7ce084
--- /dev/null
+++ b/telegram-desktop/patches/patch-timer.h
@@ -0,0 +1,12 @@
+$NetBSD$
+
+--- Telegram/lib_base/base/timer.h.orig	2020-02-16 20:39:14.706242585 +0000
++++ Telegram/lib_base/base/timer.h
+@@ -8,6 +8,7 @@
+ 
+ #include <QtCore/QObject>
+ #include <QtCore/QThread>
++#include "base/base_pch.h"
+ #include "base/flat_map.h"
+ 
+ #include <crl/crl_time.h>
diff --git a/telegram-desktop/patches/patch-unixtime.h b/telegram-desktop/patches/patch-unixtime.h
new file mode 100644
index 0000000000..7a5776d386
--- /dev/null
+++ b/telegram-desktop/patches/patch-unixtime.h
@@ -0,0 +1,12 @@
+$NetBSD$
+
+--- Telegram/lib_base/base/unixtime.h.orig	2020-02-16 20:43:52.657465525 +0000
++++ Telegram/lib_base/base/unixtime.h
+@@ -6,6 +6,7 @@
+ //
+ #pragma once
+ 
++#include "base/base_pch.h"
+ #include "base/basic_types.h"
+ 
+ class QDateTime;


Home | Main Index | Thread Index | Old Index