Lines 1-6
Link Here
|
1 |
--- Telegram/gyp/qt_rcc.gypi.orig 2017-09-05 17:38:38 UTC |
1 |
--- Telegram/gyp/qt_rcc.gypi.orig 2018-01-03 10:46:01 UTC |
2 |
+++ Telegram/gyp/qt_rcc.gypi |
2 |
+++ Telegram/gyp/qt_rcc.gypi |
3 |
@@ -28,7 +28,7 @@ |
3 |
@@ -15,7 +15,7 @@ |
4 |
'<(SHARED_INTERMEDIATE_DIR)/<(_target_name)/qrc/qrc_<(RULE_INPUT_ROOT).cpp', |
4 |
'<(SHARED_INTERMEDIATE_DIR)/<(_target_name)/qrc/qrc_<(RULE_INPUT_ROOT).cpp', |
5 |
], |
5 |
], |
6 |
'action': [ |
6 |
'action': [ |
Lines 9-17
Link Here
|
9 |
'-name', '<(RULE_INPUT_ROOT)', |
9 |
'-name', '<(RULE_INPUT_ROOT)', |
10 |
'-no-compress', |
10 |
'-no-compress', |
11 |
'<(RULE_INPUT_PATH)', |
11 |
'<(RULE_INPUT_PATH)', |
12 |
--- Telegram/gyp/qt.gypi.orig 2017-09-05 17:38:38 UTC |
12 |
--- Telegram/gyp/qt_moc.gypi.orig 2018-01-03 10:46:01 UTC |
|
|
13 |
+++ Telegram/gyp/qt_moc.gypi |
14 |
@@ -12,12 +12,12 @@ |
15 |
'<(SHARED_INTERMEDIATE_DIR)/<(_target_name)/moc/moc_<(RULE_INPUT_ROOT).cpp', |
16 |
], |
17 |
'action': [ |
18 |
- '<(qt_loc)/bin/moc<(exe_ext)', |
19 |
+ '%%QT_BINDIR%%/moc', |
20 |
|
21 |
# Silence "Note: No relevant classes found. No output generated." |
22 |
'--no-notes', |
23 |
|
24 |
- '<!@(python -c "for s in \'<@(_defines)\'.split(\' \'): print(\'-D\' + s)")', |
25 |
+ '<!@(%%PYTHON_CMD%% -c "for s in \'<@(_defines)\'.split(\' \'): print(\'-D\' + s)")', |
26 |
# '<!@(python -c "for s in \'<@(_include_dirs)\'.split(\' \'): print(\'-I\' + s)")', |
27 |
'<(RULE_INPUT_PATH)', |
28 |
'-o', '<(SHARED_INTERMEDIATE_DIR)/<(_target_name)/moc/moc_<(RULE_INPUT_ROOT).cpp', |
29 |
--- Telegram/gyp/qt.gypi.orig 2018-01-03 10:46:01 UTC |
13 |
+++ Telegram/gyp/qt.gypi |
30 |
+++ Telegram/gyp/qt.gypi |
14 |
@@ -27,25 +27,21 @@ |
31 |
@@ -14,25 +14,21 @@ |
15 |
[ 'build_macold', { |
32 |
[ 'build_macold', { |
16 |
'qt_version%': '5.3.2', |
33 |
'qt_version%': '5.3.2', |
17 |
}, { |
34 |
}, { |
Lines 39-45
Link Here
|
39 |
}] |
56 |
}] |
40 |
] |
57 |
] |
41 |
}, |
58 |
}, |
42 |
@@ -85,44 +81,24 @@ |
59 |
@@ -72,44 +68,25 @@ |
43 |
], |
60 |
], |
44 |
}], |
61 |
}], |
45 |
[ 'build_linux', { |
62 |
[ 'build_linux', { |
Lines 56-62
Link Here
|
56 |
- 'qgenericbearer', |
73 |
- 'qgenericbearer', |
57 |
- 'qnmbearer', |
74 |
- 'qnmbearer', |
58 |
'<@(qt_libs)', |
75 |
'<@(qt_libs)', |
59 |
- 'Qt5DBus', |
76 |
'Qt5DBus', |
60 |
'Qt5Core', |
77 |
'Qt5Core', |
61 |
- 'qtpcre', |
78 |
- 'qtpcre', |
62 |
- 'Xi', |
79 |
- 'Xi', |
Lines 90-96
Link Here
|
90 |
], |
107 |
], |
91 |
}, |
108 |
}, |
92 |
'qt_libs_debug': [ '<@(qt_libs_debug)' ], |
109 |
'qt_libs_debug': [ '<@(qt_libs_debug)' ], |
93 |
@@ -140,11 +116,6 @@ |
110 |
@@ -127,11 +104,6 @@ |
94 |
# '<!@(python <(DEPTH)/list_sources.py [sources] <(qt_moc_list_sources_arg))' |
111 |
# '<!@(python <(DEPTH)/list_sources.py [sources] <(qt_moc_list_sources_arg))' |
95 |
# where [sources] contains all your source files |
112 |
# where [sources] contains all your source files |
96 |
'qt_moc_list_sources_arg': '--moc-prefix SHARED_INTERMEDIATE_DIR/<(_target_name)/moc/moc_', |
113 |
'qt_moc_list_sources_arg': '--moc-prefix SHARED_INTERMEDIATE_DIR/<(_target_name)/moc/moc_', |
Lines 98-114
Link Here
|
98 |
- 'linux_path_xkbcommon%': '/usr/local', |
115 |
- 'linux_path_xkbcommon%': '/usr/local', |
99 |
- 'linux_lib_ssl%': '/usr/local/ssl/lib/libssl.a', |
116 |
- 'linux_lib_ssl%': '/usr/local/ssl/lib/libssl.a', |
100 |
- 'linux_lib_crypto%': '/usr/local/ssl/lib/libcrypto.a', |
117 |
- 'linux_lib_crypto%': '/usr/local/ssl/lib/libcrypto.a', |
101 |
- 'linux_lib_icu%': '/usr/lib/libicutu.a /usr/lib/libicui18n.a /usr/lib/libicuuc.a /usr/lib/libicudata.a', |
118 |
- 'linux_lib_icu%': 'libicutu.a libicui18n.a libicuuc.a libicudata.a', |
102 |
}, |
119 |
}, |
103 |
|
120 |
|
104 |
'configurations': { |
121 |
'configurations': { |
105 |
@@ -193,15 +164,17 @@ |
122 |
@@ -180,18 +152,18 @@ |
106 |
}, |
123 |
}, |
107 |
|
124 |
|
108 |
'include_dirs': [ |
125 |
'include_dirs': [ |
109 |
- '<(qt_loc)/include', |
126 |
- '<(qt_loc)/include', |
110 |
- '<(qt_loc)/include/QtCore', |
127 |
- '<(qt_loc)/include/QtCore', |
111 |
- '<(qt_loc)/include/QtGui', |
128 |
- '<(qt_loc)/include/QtGui', |
|
|
129 |
- '<(qt_loc)/include/QtDBus', |
112 |
- '<(qt_loc)/include/QtCore/<(qt_version)', |
130 |
- '<(qt_loc)/include/QtCore/<(qt_version)', |
113 |
- '<(qt_loc)/include/QtGui/<(qt_version)', |
131 |
- '<(qt_loc)/include/QtGui/<(qt_version)', |
114 |
- '<(qt_loc)/include/QtCore/<(qt_version)/QtCore', |
132 |
- '<(qt_loc)/include/QtCore/<(qt_version)/QtCore', |
Lines 116-148
Link Here
|
116 |
+ '%%QT_INCDIR%%', |
134 |
+ '%%QT_INCDIR%%', |
117 |
+ '%%QT_INCDIR%%/QtCore', |
135 |
+ '%%QT_INCDIR%%/QtCore', |
118 |
+ '%%QT_INCDIR%%/QtGui', |
136 |
+ '%%QT_INCDIR%%/QtGui', |
|
|
137 |
+ '%%QT_INCDIR%%/QtDBus', |
119 |
+ '%%QT_INCDIR%%/QtCore/<(qt_version)', |
138 |
+ '%%QT_INCDIR%%/QtCore/<(qt_version)', |
120 |
+ '%%QT_INCDIR%%/QtGui/<(qt_version)', |
139 |
+ '%%QT_INCDIR%%/QtGui/<(qt_version)', |
121 |
+ '%%QT_INCDIR%%/QtCore/<(qt_version)/QtCore', |
140 |
+ '%%QT_INCDIR%%/QtCore/<(qt_version)/QtCore', |
122 |
+ '%%QT_INCDIR%%/QtGui/<(qt_version)/QtGui', |
141 |
+ '%%QT_INCDIR%%/QtGui/<(qt_version)/QtGui', |
123 |
], |
142 |
], |
124 |
'library_dirs': [ |
143 |
'library_dirs': [ |
|
|
144 |
- '<(qt_loc)/lib', |
145 |
- '<(qt_loc)/plugins', |
125 |
+ '%%LOCALBASE%%/lib', |
146 |
+ '%%LOCALBASE%%/lib', |
126 |
+ '%%QT_LIBDIR%%/', |
147 |
+ '%%QT_LIBDIR%%/', |
127 |
'<(qt_loc)/lib', |
|
|
128 |
'<(qt_loc)/plugins', |
129 |
'<(qt_loc)/plugins/bearer', |
148 |
'<(qt_loc)/plugins/bearer', |
130 |
@@ -220,25 +193,20 @@ |
149 |
'<(qt_loc)/plugins/platforms', |
|
|
150 |
'<(qt_loc)/plugins/imageformats', |
151 |
@@ -204,33 +176,20 @@ |
152 |
], |
153 |
'conditions': [ |
154 |
[ 'build_linux', { |
155 |
- 'dependencies': [ |
156 |
- '<(DEPTH)/linux_glibc_wraps.gyp:linux_glibc_wraps', |
157 |
- ], |
158 |
'library_dirs': [ |
131 |
'<(qt_loc)/plugins/platforminputcontexts', |
159 |
'<(qt_loc)/plugins/platforminputcontexts', |
132 |
], |
160 |
], |
133 |
'libraries': [ |
161 |
'libraries': [ |
|
|
162 |
- '<(PRODUCT_DIR)/obj.target/liblinux_glibc_wraps.a', |
134 |
- '<(linux_path_xkbcommon)/lib/libxkbcommon.a', |
163 |
- '<(linux_path_xkbcommon)/lib/libxkbcommon.a', |
135 |
'<@(qt_libs_release)', |
164 |
'<@(qt_libs_release)', |
136 |
- '<(linux_lib_ssl)', |
165 |
- '<(linux_lib_ssl)', |
137 |
- '<(linux_lib_crypto)', |
166 |
- '<(linux_lib_crypto)', |
138 |
- '<!@(python -c "for s in \'<(linux_lib_icu)\'.split(\' \'): print(s)")', |
167 |
- '<!@(python -c "for s in \'<(linux_lib_icu)\'.split(\' \'): print(s)")', |
|
|
168 |
- '-lxcb', |
139 |
+ '-lcrypto', |
169 |
+ '-lcrypto', |
140 |
'-lxcb', |
|
|
141 |
'-lX11', |
170 |
'-lX11', |
142 |
'-lX11-xcb', |
171 |
- '-lX11-xcb', |
143 |
'-ldbus-1', |
172 |
- '-ldbus-1', |
144 |
- '-ldl', |
173 |
- '-ldl', |
145 |
'-lgthread-2.0', |
174 |
- '-lgthread-2.0', |
146 |
'-lglib-2.0', |
175 |
'-lglib-2.0', |
147 |
'-lpthread', |
176 |
'-lpthread', |
148 |
], |
177 |
], |
Lines 153-187
Link Here
|
153 |
'ldflags': [ |
182 |
'ldflags': [ |
154 |
- '-static-libstdc++', |
183 |
- '-static-libstdc++', |
155 |
'-pthread', |
184 |
'-pthread', |
156 |
'-g', |
|
|
157 |
'-rdynamic', |
185 |
'-rdynamic', |
158 |
@@ -260,12 +228,12 @@ |
186 |
], |
159 |
'<(SHARED_INTERMEDIATE_DIR)/<(_target_name)/moc/moc_<(RULE_INPUT_ROOT).cpp', |
187 |
--- Telegram/gyp/telegram_linux.gypi.orig 2018-01-03 10:46:01 UTC |
160 |
], |
|
|
161 |
'action': [ |
162 |
- '<(qt_loc)/bin/moc<(exe_ext)', |
163 |
+ '%%QT_BINDIR%%/moc', |
164 |
|
165 |
# Silence "Note: No relevant classes found. No output generated." |
166 |
'--no-notes', |
167 |
|
168 |
- '<!@(python -c "for s in \'<@(_defines)\'.split(\' \'): print(\'-D\' + s)")', |
169 |
+ '<!@(%%PYTHON_CMD%% -c "for s in \'<@(_defines)\'.split(\' \'): print(\'-D\' + s)")', |
170 |
# '<!@(python -c "for s in \'<@(_include_dirs)\'.split(\' \'): print(\'-I\' + s)")', |
171 |
'<(RULE_INPUT_PATH)', |
172 |
'-o', '<(SHARED_INTERMEDIATE_DIR)/<(_target_name)/moc/moc_<(RULE_INPUT_ROOT).cpp', |
173 |
--- Telegram/gyp/telegram_linux.gypi.orig 2017-09-05 17:38:38 UTC |
174 |
+++ Telegram/gyp/telegram_linux.gypi |
188 |
+++ Telegram/gyp/telegram_linux.gypi |
175 |
@@ -33,7 +33,7 @@ |
189 |
@@ -7,7 +7,7 @@ |
|
|
190 |
{ |
191 |
'conditions': [[ 'build_linux', { |
192 |
'variables': { |
193 |
- 'not_need_gtk%': '<!(python -c "print(\'TDESKTOP_DISABLE_GTK_INTEGRATION\' in \'<(build_defines)\')")', |
194 |
+ 'not_need_gtk%': '<!(%%PYTHON_CMD%% -c "print(\'TDESKTOP_DISABLE_GTK_INTEGRATION\' in \'<(build_defines)\')")', |
195 |
'pkgconfig_libs': [ |
196 |
# In order to work libxkbcommon must be linked statically, |
197 |
# PKGCONFIG links it like "-L/usr/local/lib -lxkbcommon" |
198 |
@@ -20,10 +20,11 @@ |
176 |
'linux_path_va%': '/usr/local', |
199 |
'linux_path_va%': '/usr/local', |
177 |
'linux_path_vdpau%': '/usr/local', |
200 |
'linux_path_vdpau%': '/usr/local', |
178 |
'linux_path_breakpad%': '<(libs_loc)/breakpad', |
201 |
'linux_path_breakpad%': '/usr/local', |
179 |
- 'linux_path_opus_include%': '<(libs_loc)/opus/include', |
202 |
- 'linux_path_opus_include%': '<(libs_loc)/opus/include', |
180 |
+ 'linux_path_opus_include%': '%%LOCALBASE%%/include/opus', |
203 |
+ 'linux_path_opus_include%': '%%LOCALBASE%%/include/opus', |
|
|
204 |
'linux_path_range%': '/usr/local', |
181 |
}, |
205 |
}, |
182 |
'include_dirs': [ |
206 |
'include_dirs': [ |
|
|
207 |
+ '/usr/include/openssl-1.0', |
183 |
'/usr/local/include', |
208 |
'/usr/local/include', |
184 |
@@ -52,48 +52,34 @@ |
209 |
'<(linux_path_ffmpeg)/include', |
|
|
210 |
'<(linux_path_openal)/include', |
211 |
@@ -32,6 +33,7 @@ |
212 |
'<(linux_path_range)/include', |
213 |
], |
214 |
'library_dirs': [ |
215 |
+ '/usr/lib/openssl-1.0', |
216 |
'/usr/local/lib', |
217 |
'<(linux_path_ffmpeg)/lib', |
218 |
'<(linux_path_openal)/lib', |
219 |
@@ -40,25 +42,15 @@ |
185 |
'<(linux_path_breakpad)/lib', |
220 |
'<(linux_path_breakpad)/lib', |
186 |
], |
221 |
], |
187 |
'libraries': [ |
222 |
'libraries': [ |
Lines 216-252
Link Here
|
216 |
# '<!(pkg-config 2> /dev/null --libs <@(pkgconfig_libs))', |
251 |
# '<!(pkg-config 2> /dev/null --libs <@(pkgconfig_libs))', |
217 |
], |
252 |
], |
218 |
'cflags_cc': [ |
253 |
'cflags_cc': [ |
219 |
- '<!(pkg-config 2> /dev/null --cflags appindicator-0.1)', |
254 |
@@ -67,7 +59,6 @@ |
220 |
- '<!(pkg-config 2> /dev/null --cflags gtk+-2.0)', |
255 |
'ldflags': [ |
221 |
- '<!(pkg-config 2> /dev/null --cflags glib-2.0)', |
256 |
'-Wl,-wrap,aligned_alloc', |
222 |
+# '<!(pkg-config 2> /dev/null --cflags appindicator-0.1)', |
257 |
'-Wl,-wrap,secure_getenv', |
223 |
+ '<!(pkg-config 2> /dev/null --cflags gtk+-3.0)', |
258 |
- '-Wl,-wrap,clock_gettime', |
224 |
'<!(pkg-config 2> /dev/null --cflags dee-1.0)', |
259 |
'-Wl,--no-as-needed,-lrt', |
225 |
], |
260 |
], |
226 |
'configurations': { |
261 |
'configurations': { |
227 |
'Release': { |
262 |
@@ -86,7 +77,7 @@ |
228 |
'cflags': [ |
263 |
}, |
229 |
- '-Ofast', |
264 |
}, |
230 |
- '-flto', |
265 |
'conditions': [ |
231 |
+ %%CFLAGS%% |
266 |
- [ '"<!(uname -p)" == "x86_64"', { |
232 |
'-fno-strict-aliasing', |
267 |
+ [ '"<!(uname -m)" == "x86_64"', { |
|
|
268 |
# 32 bit version can't be linked with debug info or LTO, |
269 |
# virtual memory exhausted :( |
270 |
'cflags_c': [ '-g' ], |
271 |
@@ -94,9 +85,9 @@ |
272 |
'ldflags': [ '-g' ], |
273 |
'configurations': { |
274 |
'Release': { |
275 |
- 'cflags_c': [ '-flto' ], |
276 |
- 'cflags_cc': [ '-flto' ], |
277 |
- 'ldflags': [ '-flto' ], |
278 |
+ 'cflags_c': [ %%CFLAGS%% ], |
279 |
+ 'cflags_cc': [ %%CXXFLAGS%% ], |
280 |
+ 'ldflags': [ %%LDFLAGS%% ], |
281 |
}, |
282 |
}, |
283 |
}, { |
284 |
@@ -105,10 +96,7 @@ |
233 |
], |
285 |
], |
|
|
286 |
}], ['not_need_gtk!="True"', { |
234 |
'cflags_cc': [ |
287 |
'cflags_cc': [ |
235 |
- '-Ofast', |
288 |
- '<!(pkg-config 2> /dev/null --cflags appindicator-0.1)', |
236 |
- '-flto', |
289 |
- '<!(pkg-config 2> /dev/null --cflags gtk+-2.0)', |
237 |
+ %%CXXFLAGS%% |
290 |
- '<!(pkg-config 2> /dev/null --cflags glib-2.0)', |
238 |
'-fno-strict-aliasing', |
291 |
- '<!(pkg-config 2> /dev/null --cflags dee-1.0)', |
239 |
], |
292 |
+ '<!(pkg-config 2> /dev/null --cflags gtk+-3.0)', |
240 |
'ldflags': [ |
|
|
241 |
- '-Ofast', |
242 |
- '-flto', |
243 |
+ %%LDFLAGS%% |
244 |
], |
293 |
], |
245 |
}, |
294 |
}] |
246 |
}, |
295 |
], |
247 |
--- Telegram/gyp/Telegram.gyp.orig 2017-09-05 17:38:38 UTC |
296 |
--- Telegram/gyp/Telegram.gyp.orig 2018-01-03 10:46:01 UTC |
248 |
+++ Telegram/gyp/Telegram.gyp |
297 |
+++ Telegram/gyp/Telegram.gyp |
249 |
@@ -61,7 +61,7 @@ |
298 |
@@ -49,7 +49,7 @@ |
250 |
'pt-BR', |
299 |
'pt-BR', |
251 |
], |
300 |
], |
252 |
'build_defines%': '', |
301 |
'build_defines%': '', |
Lines 255-266
Link Here
|
255 |
}, |
304 |
}, |
256 |
'includes': [ |
305 |
'includes': [ |
257 |
'common_executable.gypi', |
306 |
'common_executable.gypi', |
258 |
@@ -80,28 +80,19 @@ |
307 |
@@ -69,30 +69,20 @@ |
259 |
'codegen.gyp:codegen_numbers', |
308 |
'codegen.gyp:codegen_numbers', |
260 |
'codegen.gyp:codegen_style', |
309 |
'codegen.gyp:codegen_style', |
261 |
'tests/tests.gyp:tests', |
310 |
'tests/tests.gyp:tests', |
262 |
- 'utils.gyp:Updater', |
311 |
- 'utils.gyp:Updater', |
263 |
'../ThirdParty/libtgvoip/libtgvoip.gyp:libtgvoip', |
312 |
'../ThirdParty/libtgvoip/libtgvoip.gyp:libtgvoip', |
|
|
313 |
'crl.gyp:crl', |
264 |
], |
314 |
], |
265 |
|
315 |
|
266 |
'defines': [ |
316 |
'defines': [ |
Lines 276-293
Link Here
|
276 |
'<(SHARED_INTERMEDIATE_DIR)', |
326 |
'<(SHARED_INTERMEDIATE_DIR)', |
277 |
- '<(libs_loc)/breakpad/src', |
327 |
- '<(libs_loc)/breakpad/src', |
278 |
- '<(libs_loc)/lzma/C', |
328 |
- '<(libs_loc)/lzma/C', |
279 |
- '<(libs_loc)/libexif-0.6.20', |
329 |
- '<(libs_loc)/zlib', |
280 |
- '<(libs_loc)/zlib-1.2.8', |
|
|
281 |
- '<(libs_loc)/ffmpeg', |
330 |
- '<(libs_loc)/ffmpeg', |
282 |
- '<(libs_loc)/openal-soft/include', |
331 |
- '<(libs_loc)/openal-soft/include', |
283 |
- '<(libs_loc)/opus/include', |
332 |
- '<(libs_loc)/opus/include', |
|
|
333 |
- '<(libs_loc)/range-v3/include', |
284 |
- '<(minizip_loc)', |
334 |
- '<(minizip_loc)', |
|
|
335 |
- '<(sp_media_key_tap_loc)', |
285 |
+ '%%LOCALBASE%%/include/minizip', |
336 |
+ '%%LOCALBASE%%/include/minizip', |
286 |
'<(sp_media_key_tap_loc)', |
|
|
287 |
'<(emoji_suggestions_loc)', |
337 |
'<(emoji_suggestions_loc)', |
288 |
'<(submodules_loc)/GSL/include', |
338 |
'<(submodules_loc)/GSL/include', |
289 |
@@ -113,7 +104,7 @@ |
339 |
'<(submodules_loc)/variant/include', |
290 |
'<!@(<(list_sources_command) <(qt_moc_list_sources_arg))', |
340 |
@@ -105,7 +95,7 @@ |
|
|
341 |
'telegram_sources.txt', |
291 |
], |
342 |
], |
292 |
'sources!': [ |
343 |
'sources!': [ |
293 |
- '<!@(<(list_sources_command) <(qt_moc_list_sources_arg) --exclude_for <(build_os))', |
344 |
- '<!@(<(list_sources_command) <(qt_moc_list_sources_arg) --exclude_for <(build_os))', |
Lines 295-301
Link Here
|
295 |
], |
346 |
], |
296 |
'conditions': [ |
347 |
'conditions': [ |
297 |
[ '"<(official_build_target)" != ""', { |
348 |
[ '"<(official_build_target)" != ""', { |
298 |
--- Telegram/ThirdParty/libtgvoip/libtgvoip.gyp.orig 2017-07-06 17:16:18 UTC |
349 |
--- Telegram/ThirdParty/libtgvoip/libtgvoip.gyp.orig 2018-02-06 06:51:56 UTC |
299 |
+++ Telegram/ThirdParty/libtgvoip/libtgvoip.gyp |
350 |
+++ Telegram/ThirdParty/libtgvoip/libtgvoip.gyp |
300 |
@@ -13,11 +13,12 @@ |
351 |
@@ -13,11 +13,12 @@ |
301 |
'variables': { |
352 |
'variables': { |
Lines 311-317
Link Here
|
311 |
], |
362 |
], |
312 |
'direct_dependent_settings': { |
363 |
'direct_dependent_settings': { |
313 |
'include_dirs': [ |
364 |
'include_dirs': [ |
314 |
@@ -371,12 +372,13 @@ |
365 |
@@ -259,7 +260,7 @@ |
|
|
366 |
}, |
367 |
], |
368 |
[ |
369 |
- '"<(OS)" != "linux"', { |
370 |
+ '"<(OS)" != "freebsd"', { |
371 |
'sources/': [['exclude', '<(tgvoip_src_loc)/os/linux/']], |
372 |
}, |
373 |
], |
374 |
@@ -378,12 +379,13 @@ |
315 |
}, |
375 |
}, |
316 |
], |
376 |
], |
317 |
[ |
377 |
[ |
Lines 326-334
Link Here
|
326 |
], |
386 |
], |
327 |
'direct_dependent_settings': { |
387 |
'direct_dependent_settings': { |
328 |
'libraries': [ |
388 |
'libraries': [ |
329 |
--- Telegram/gyp/codegen_rules.gypi.orig 2017-12-11 17:08:58 UTC |
389 |
--- Telegram/gyp/codegen_rules.gypi.orig 2018-02-06 06:53:18 UTC |
330 |
+++ Telegram/gyp/codegen_rules.gypi |
390 |
+++ Telegram/gyp/codegen_rules.gypi |
331 |
@@ -28,7 +28,7 @@ |
391 |
@@ -15,7 +15,7 @@ |
332 |
'<(SHARED_INTERMEDIATE_DIR)/update_dependent_styles.timestamp', |
392 |
'<(SHARED_INTERMEDIATE_DIR)/update_dependent_styles.timestamp', |
333 |
], |
393 |
], |
334 |
'action': [ |
394 |
'action': [ |
Lines 337-343
Link Here
|
337 |
'-I', '<(res_loc)', '-I', '<(src_loc)', |
397 |
'-I', '<(res_loc)', '-I', '<(src_loc)', |
338 |
'-o', '<(SHARED_INTERMEDIATE_DIR)/update_dependent_styles.timestamp', |
398 |
'-o', '<(SHARED_INTERMEDIATE_DIR)/update_dependent_styles.timestamp', |
339 |
'<@(style_files)', |
399 |
'<@(style_files)', |
340 |
@@ -39,13 +39,13 @@ |
400 |
@@ -26,13 +26,13 @@ |
341 |
'inputs': [ |
401 |
'inputs': [ |
342 |
'<(DEPTH)/update_dependent.py', |
402 |
'<(DEPTH)/update_dependent.py', |
343 |
'<@(qrc_files)', |
403 |
'<@(qrc_files)', |
Lines 353-359
Link Here
|
353 |
'-o', '<(SHARED_INTERMEDIATE_DIR)/update_dependent_qrc.timestamp', |
413 |
'-o', '<(SHARED_INTERMEDIATE_DIR)/update_dependent_qrc.timestamp', |
354 |
'<@(qrc_files)', |
414 |
'<@(qrc_files)', |
355 |
], |
415 |
], |
356 |
@@ -122,7 +122,7 @@ |
416 |
@@ -109,7 +109,7 @@ |
357 |
'<(SHARED_INTERMEDIATE_DIR)/scheme.h', |
417 |
'<(SHARED_INTERMEDIATE_DIR)/scheme.h', |
358 |
], |
418 |
], |
359 |
'action': [ |
419 |
'action': [ |
Lines 362-370
Link Here
|
362 |
'-o', '<(SHARED_INTERMEDIATE_DIR)', '<(res_loc)/scheme.tl', |
422 |
'-o', '<(SHARED_INTERMEDIATE_DIR)', '<(res_loc)/scheme.tl', |
363 |
], |
423 |
], |
364 |
'message': 'codegen_scheme-ing scheme.tl..', |
424 |
'message': 'codegen_scheme-ing scheme.tl..', |
365 |
--- Telegram/gyp/tests/tests.gyp.orig 2017-12-11 17:12:35 UTC |
425 |
--- Telegram/gyp/tests/tests.gyp.orig 2018-02-06 06:53:50 UTC |
366 |
+++ Telegram/gyp/tests/tests.gyp |
426 |
+++ Telegram/gyp/tests/tests.gyp |
367 |
@@ -26,7 +26,7 @@ |
427 |
@@ -13,7 +13,7 @@ |
368 |
'src_loc': '../../SourceFiles', |
428 |
'src_loc': '../../SourceFiles', |
369 |
'submodules_loc': '../../ThirdParty', |
429 |
'submodules_loc': '../../ThirdParty', |
370 |
'mac_target': '10.10', |
430 |
'mac_target': '10.10', |