[chromium-vaapi/f29: 12/12] FIX: Merge from master
by hellbanger
commit 6164afd992703b14cd14ffb48837975b0bf7df3c
Author: Akarshan Biswas <akarshanbiswas(a)fedoraproject.org>
Date: Wed Oct 2 22:23:20 2019 +0530
FIX: Merge from master
chromium-vaapi.spec | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/chromium-vaapi.spec b/chromium-vaapi.spec
index ddf9a6e..e1fd554 100644
--- a/chromium-vaapi.spec
+++ b/chromium-vaapi.spec
@@ -41,9 +41,9 @@
%bcond_with system_libicu
%if 0%{?fedora} >= 30
# Allow testing whether libvpx can be unbundled
-%bcond_with system_libvpx
+%bcond_without system_libvpx
# Allow testing whether ffmpeg can be unbundled
-%bcond_with system_ffmpeg
+%bcond_without system_ffmpeg
#Allow minizip to be unbundled
#mini-compat is going to be removed from fedora 30!
%bcond_without system_minizip
5 years, 1 month
[chromium-vaapi/f29: 11/12] Merge branch 'master' into f29
by hellbanger
commit 4bd8953298e6a52aee32da12338163020ba75e48
Merge: e62175c d297586
Author: Akarshan Biswas <akarshanbiswas(a)fedoraproject.org>
Date: Wed Oct 2 22:19:34 2019 +0530
Merge branch 'master' into f29
...VPP-on-Linux-Add-some-info-logs-and-fix-v.patch | 154 -------------
UseNormalBAM.patch | 82 +++++++
brand.patch | 2 +-
chromium-base-location.patch | 13 ++
chromium-gcc9-r666279.patch | 59 -----
chromium-gcc9-r666336.patch | 40 ----
chromium-gcc9-r666401.patch | 48 ----
chromium-gcc9-r666436.patch | 42 ----
chromium-gcc9-r666619.patch | 38 ----
chromium-gcc9-r666714.patch | 111 ----------
chromium-gcc9-r667064.patch | 114 ----------
chromium-gcc9-r667228.patch | 102 ---------
chromium-gcc9-r667260.patch | 46 ----
chromium-gcc9-r667484.patch | 68 ------
chromium-gcc9-r667901.patch | 105 ---------
chromium-gcc9-r668015.patch | 72 ------
chromium-gcc9-r668033.patch | 124 -----------
chromium-gcc9-r670973.patch | 55 -----
chromium-gcc9-r670980.patch | 61 -----
chromium-gcc9-r681321.patch | 35 +++
chromium-gcc9-r681333.patch | 71 ++++++
chromium-gcc9-r684731.patch | 138 ++++++++++++
chromium-quiche-gcc9.patch | 245 ---------------------
chromium-skia-harmony.patch | 14 --
chromium-unbundle-zlib.patch | 25 +++
chromium-vaapi.spec | 152 +++++++------
enable-vaapi.patch | 62 +++---
link-against-harfbuzz-subset.patch | 55 +++++
sources | 2 +-
29 files changed, 536 insertions(+), 1599 deletions(-)
---
diff --cc chromium-vaapi.spec
index 1257e41,caa4047..ddf9a6e
--- a/chromium-vaapi.spec
+++ b/chromium-vaapi.spec
@@@ -33,13 -39,22 +39,22 @@@
# A patch fix building so enabled by default for Fedora 30
# Need icu version >= 64
%bcond_with system_libicu
+ %if 0%{?fedora} >= 30
# Allow testing whether libvpx can be unbundled
-%bcond_without system_libvpx
+%bcond_with system_libvpx
# Allow testing whether ffmpeg can be unbundled
-%bcond_without system_ffmpeg
+%bcond_with system_ffmpeg
#Allow minizip to be unbundled
#mini-compat is going to be removed from fedora 30!
+ %bcond_without system_minizip
+ %else
+ %bcond_with system_libvpx
+ %bcond_with system_ffmpeg
+ #Allow minizip to be unbundled
+ #mini-compat is going to be removed from fedora 30!
%bcond_with system_minizip
+ %endif
+
# Need re2 ver. 2016.07.21 for re2::LazyRE2
%bcond_with system_re2
@@@ -504,13 -506,9 +510,14 @@@ find -depth -type f -writable -name "*.
sed -i 's|//third_party/usb_ids|/usr/share/hwdata|g' \
services/device/public/cpp/usb/BUILD.gn
+
++
+# Don't use static libstdc++
+sed -i '/-static-libstdc++/d' tools/gn/build/gen.py
+
+ %if !0%{?bundlepylibs}
rmdir third_party/markupsafe
ln -s %{python2_sitearch}/markupsafe third_party/markupsafe
-
%if %{with system_ply}
rmdir third_party/ply
ln -s %{python2_sitelib}/ply third_party/ply
@@@ -703,12 -704,19 +714,21 @@@ appstream-util validate-relax --nonet "
%{chromiumdir}/MEIPreload/preloaded_data.pb
%dir %{chromiumdir}/locales
%{chromiumdir}/locales/*.pak
+ %dir %{chromiumdir}/swiftshader
+ %{chromiumdir}/swiftshader/libEGL.so
+ %{chromiumdir}/swiftshader/libGLESv2.so
+ %{chromiumdir}/swiftshader/libvulkan.so
#########################################changelogs#################################################
%changelog
+ * Sat Sep 21 2019 Akarshan Biswas <akarshanbiswas(a)fedoraproject.org> - 77.0.3865.90-1
+ - Update to 77.0.3865.90
+ - Disabled Nvidia support
+ - Use the bundled python2 as python2 is going to be removed from Fedora
+
* Fri Aug 30 2019 Akarshan Biswas <akarshanbiswas(a)fedoraproject.org> - 76.0.3809.132-2
- Update to 76.0.3809.132
+- Rebase chromium-gcc9-r666401.patch
+- Use bunled libvpx and ffmpeg for fedora 29
* Mon Aug 12 2019 Akarshan Biswas <akarshanbiswas(a)fedoraproject.org> - 76.0.3809.100-2
- Fix a bug which causes chromium to reject certificates by throwing ERR_CERTIFICATE_TRANSPARENCY_REQUIRED
5 years, 1 month
[chromium-vaapi/f29] (12 commits) ...FIX: Merge from master
by hellbanger
Summary of changes:
4fb0363... Correct writting either RPM Fusion or rpmfusion (*)
97b636a... Update to 77.0.3865.90 Disabled Nvidia support (*)
7b33c54... Use the bundled python2 as python2 is going to be removed f (*)
58a9a8f... Add build requires: /usr/bin/python2 (*)
08af7c1... Preserve bundled pylibs (*)
6724e3f... Rebundle harfbuzz (*)
0257b50... Enable Shiftshader support (*)
5b41de2... Revert "Rebundle harfbuzz" (*)
9d56b6c... Add patch from upstream to fix building with system harfbuz (*)
d297586... Rebundle syslibs on older Fedoras (*)
4bd8953... Merge branch 'master' into f29
6164afd... FIX: Merge from master
(*) This commit already existed in another branch; no separate mail sent
5 years, 1 month
[chromium-vaapi] Rebundle syslibs on older Fedoras
by hellbanger
commit d29758670422cae0a6c5c0442e5e0ffd45fdde3b
Author: Akarshan Biswas <akarshanbiswas(a)fedoraproject.org>
Date: Wed Oct 2 22:14:51 2019 +0530
Rebundle syslibs on older Fedoras
chromium-vaapi.spec | 9 +++++++++
1 file changed, 9 insertions(+)
---
diff --git a/chromium-vaapi.spec b/chromium-vaapi.spec
index 2e7183a..caa4047 100644
--- a/chromium-vaapi.spec
+++ b/chromium-vaapi.spec
@@ -39,6 +39,7 @@
# A patch fix building so enabled by default for Fedora 30
# Need icu version >= 64
%bcond_with system_libicu
+%if 0%{?fedora} >= 30
# Allow testing whether libvpx can be unbundled
%bcond_without system_libvpx
# Allow testing whether ffmpeg can be unbundled
@@ -46,6 +47,14 @@
#Allow minizip to be unbundled
#mini-compat is going to be removed from fedora 30!
%bcond_without system_minizip
+%else
+%bcond_with system_libvpx
+%bcond_with system_ffmpeg
+#Allow minizip to be unbundled
+#mini-compat is going to be removed from fedora 30!
+%bcond_with system_minizip
+%endif
+
# Need re2 ver. 2016.07.21 for re2::LazyRE2
%bcond_with system_re2
5 years, 1 month
[telegram-desktop/f30] Updated to version 1.8.12.
by Vitaly Zaitsev
commit 4bbad9b8e5f7fb19599b078a7196098f1f64f748
Author: Vitaly Zaitsev <vitaly(a)easycoding.org>
Date: Wed Oct 2 15:49:34 2019 +0200
Updated to version 1.8.12.
.gitignore | 1 +
sources | 2 +-
telegram-desktop-build-fixes.patch | 618 +++++++++++++++++---------------
telegram-desktop-system-fonts.patch | 50 ++-
telegram-desktop-unbundle-minizip.patch | 104 +++---
telegram-desktop.spec | 10 +-
6 files changed, 410 insertions(+), 375 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 3f2a7ef..d04f5a9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -103,3 +103,4 @@
/rlottie-589db02.tar.gz
/tdesktop-1.8.8.tar.gz
/tdesktop-1.8.9.tar.gz
+/tdesktop-1.8.12.tar.gz
diff --git a/sources b/sources
index 4ca7419..1b1a79f 100644
--- a/sources
+++ b/sources
@@ -1,3 +1,3 @@
744e77b69697f659a356727be22d4247 crl-52baf11.tar.gz
ad8b6f3f07ac4339f5a6fd2d28827825 rlottie-589db02.tar.gz
-113f4471b61bdcbfd803b61e191ac449 tdesktop-1.8.9.tar.gz
+f81f9088599e5292b3818a7a8a1556dd tdesktop-1.8.12.tar.gz
diff --git a/telegram-desktop-build-fixes.patch b/telegram-desktop-build-fixes.patch
index 7d0faa1..2b6079c 100644
--- a/telegram-desktop-build-fixes.patch
+++ b/telegram-desktop-build-fixes.patch
@@ -1,54 +1,42 @@
-From 4d3c2d64578f6b191020d214ca2777abcf91a306 Mon Sep 17 00:00:00 2001
+From 5d5a55b143522c6ea7f705454b888537f0c4c594 Mon Sep 17 00:00:00 2001
From: Vitaly Zaitsev <vitaly(a)easycoding.org>
Date: Fri, 31 Mar 2017 14:29:58 +0200
Subject: [PATCH 1/3] Fixed build under Fedora using rpmbuild and mock.
---
- Telegram/Resources/qrc/telegram.qrc | 3 -
- Telegram/Resources/qrc/telegram_linux.qrc | 6 --
- Telegram/SourceFiles/core/launcher.cpp | 1 +
- Telegram/SourceFiles/qt_functions.cpp | 97 +++++++++++++++++++++++
- Telegram/gyp/CMakeLists.inj | 7 ++
- Telegram/gyp/PrecompiledHeader.cmake | 4 +-
- Telegram/gyp/Telegram.gyp | 23 +-----
- Telegram/gyp/codegen_rules.gypi | 6 +-
- Telegram/gyp/lib_base.gyp | 8 +-
- Telegram/gyp/lib_export.gyp | 7 +-
- Telegram/gyp/lib_ffmpeg.gyp | 7 +-
- Telegram/gyp/lib_lottie.gyp | 11 +--
- Telegram/gyp/lib_mtproto.gyp | 6 +-
- Telegram/gyp/lib_scheme.gyp | 4 +-
- Telegram/gyp/lib_storage.gyp | 8 +-
- Telegram/gyp/qt.gypi | 87 ++++++--------------
- Telegram/gyp/qt_moc.gypi | 5 +-
- Telegram/gyp/qt_rcc.gypi | 2 +-
- Telegram/gyp/settings_linux.gypi | 25 +-----
- Telegram/gyp/telegram_linux.gypi | 74 +++++------------
- Telegram/gyp/telegram_sources.txt | 2 +-
- lib/xdg/telegramdesktop.appdata.xml | 2 +-
- lib/xdg/telegramdesktop.desktop | 5 +-
- 23 files changed, 186 insertions(+), 214 deletions(-)
+ Telegram/Resources/qrc/linux.qrc | 6 --
+ Telegram/Resources/qrc/telegram/telegram.qrc | 3 -
+ Telegram/SourceFiles/core/launcher.cpp | 1 +
+ Telegram/SourceFiles/qt_functions.cpp | 97 ++++++++++++++++++++
+ Telegram/gyp/CMakeLists.inj | 8 ++
+ Telegram/gyp/PrecompiledHeader.cmake | 4 +-
+ Telegram/gyp/codegen/rules.gypi | 4 +-
+ Telegram/gyp/codegen/styles_rule.gypi | 2 +-
+ Telegram/gyp/common/linux.gypi | 50 ++--------
+ Telegram/gyp/lib_base.gyp | 8 +-
+ Telegram/gyp/lib_export.gyp | 6 +-
+ Telegram/gyp/lib_ffmpeg.gyp | 7 +-
+ Telegram/gyp/lib_lottie.gyp | 11 +--
+ Telegram/gyp/lib_mtproto.gyp | 6 +-
+ Telegram/gyp/lib_scheme.gyp | 4 +-
+ Telegram/gyp/lib_storage.gyp | 8 +-
+ Telegram/gyp/lib_ui.gyp | 8 +-
+ Telegram/gyp/modules/qt.gypi | 87 +++++-------------
+ Telegram/gyp/modules/qt_moc.gypi | 5 +-
+ Telegram/gyp/modules/qt_rcc.gypi | 2 +-
+ Telegram/gyp/telegram/linux.gypi | 36 ++------
+ Telegram/gyp/telegram/sources.txt | 2 +-
+ Telegram/gyp/telegram/telegram.gypi | 23 +----
+ lib/xdg/telegramdesktop.appdata.xml | 2 +-
+ lib/xdg/telegramdesktop.desktop | 5 +-
+ 25 files changed, 184 insertions(+), 211 deletions(-)
create mode 100644 Telegram/SourceFiles/qt_functions.cpp
create mode 100644 Telegram/gyp/CMakeLists.inj
-diff --git a/Telegram/Resources/qrc/telegram.qrc b/Telegram/Resources/qrc/telegram.qrc
-index bd88f8aa4..4db29b204 100644
---- a/Telegram/Resources/qrc/telegram.qrc
-+++ b/Telegram/Resources/qrc/telegram.qrc
-@@ -62,9 +62,6 @@
- <file alias="call_connect.mp3">../sounds/call_connect.mp3</file>
- <file alias="call_end.mp3">../sounds/call_end.mp3</file>
- </qresource>
-- <qresource prefix="/qt-project.org">
-- <file>qmime/freedesktop.org.xml</file>
-- </qresource>
- <qresource prefix="/misc">
- <file alias="default_shortcuts-custom.json">../default_shortcuts-custom.json</file>
- </qresource>
-diff --git a/Telegram/Resources/qrc/telegram_linux.qrc b/Telegram/Resources/qrc/telegram_linux.qrc
+diff --git a/Telegram/Resources/qrc/linux.qrc b/Telegram/Resources/qrc/linux.qrc
index 164e8d4f2..03585ec03 100644
---- a/Telegram/Resources/qrc/telegram_linux.qrc
-+++ b/Telegram/Resources/qrc/telegram_linux.qrc
+--- a/Telegram/Resources/qrc/linux.qrc
++++ b/Telegram/Resources/qrc/linux.qrc
@@ -1,8 +1,2 @@
<RCC>
- <qresource prefix="/qt">
@@ -58,11 +46,25 @@ index 164e8d4f2..03585ec03 100644
- <file alias="fc-custom.conf">../fc-custom.conf</file>
- </qresource>
</RCC>
+diff --git a/Telegram/Resources/qrc/telegram/telegram.qrc b/Telegram/Resources/qrc/telegram/telegram.qrc
+index 87ee77587..ae30de1a9 100644
+--- a/Telegram/Resources/qrc/telegram/telegram.qrc
++++ b/Telegram/Resources/qrc/telegram/telegram.qrc
+@@ -51,9 +51,6 @@
+ <file alias="night.tdesktop-theme">../../night.tdesktop-theme</file>
+ <file alias="night-green.tdesktop-theme">../../night-green.tdesktop-theme</file>
+ </qresource>
+- <qresource prefix="/qt-project.org">
+- <file>../qmime/freedesktop.org.xml</file>
+- </qresource>
+ <qresource prefix="/misc">
+ <file alias="default_shortcuts-custom.json">../../default_shortcuts-custom.json</file>
+ </qresource>
diff --git a/Telegram/SourceFiles/core/launcher.cpp b/Telegram/SourceFiles/core/launcher.cpp
-index 9237e629d..3e4b1d6a5 100644
+index 3ba28309b..0fc14253d 100644
--- a/Telegram/SourceFiles/core/launcher.cpp
+++ b/Telegram/SourceFiles/core/launcher.cpp
-@@ -271,6 +271,7 @@ int Launcher::exec() {
+@@ -272,6 +272,7 @@ int Launcher::exec() {
Logs::start(this); // must be started before Platform is started
Platform::start(); // must be started before Sandbox is created
@@ -175,10 +177,10 @@ index 000000000..a7c697f25
+}
diff --git a/Telegram/gyp/CMakeLists.inj b/Telegram/gyp/CMakeLists.inj
new file mode 100644
-index 000000000..6dd1a2a18
+index 000000000..f3ddb8880
--- /dev/null
+++ b/Telegram/gyp/CMakeLists.inj
-@@ -0,0 +1,7 @@
+@@ -0,0 +1,8 @@
+set_target_properties(Telegram PROPERTIES SKIP_BUILD_RPATH TRUE)
+include(../../Telegram/gyp/PrecompiledHeader.cmake)
+add_precompiled_header(Telegram ../../Telegram/SourceFiles/stdafx.h)
@@ -186,6 +188,7 @@ index 000000000..6dd1a2a18
+add_precompiled_header(lib_base ../../Telegram/SourceFiles/base/base_pch.h)
+add_precompiled_header(lib_storage ../../Telegram/SourceFiles/storage/storage_pch.h)
+add_precompiled_header(lib_mtproto ../../Telegram/SourceFiles/mtproto/mtp_pch.h)
++add_precompiled_header(lib_ui ../../Telegram/SourceFiles/ui/ui_pch.h)
diff --git a/Telegram/gyp/PrecompiledHeader.cmake b/Telegram/gyp/PrecompiledHeader.cmake
index dfe1193be..75bcd675d 100644
--- a/Telegram/gyp/PrecompiledHeader.cmake
@@ -208,93 +211,11 @@ index dfe1193be..75bcd675d 100644
DEPENDS "${_pchfile}" "${_pch_cpp_flags_file}"
IMPLICIT_DEPENDS CXX "${_pch_header}"
COMMENT "Precompiling header ${_name} for ${_target} (C++)")
-diff --git a/Telegram/gyp/Telegram.gyp b/Telegram/gyp/Telegram.gyp
-index ec2ed28b7..fedb782ca 100644
---- a/Telegram/gyp/Telegram.gyp
-+++ b/Telegram/gyp/Telegram.gyp
-@@ -51,15 +51,13 @@
- 'pt-BR',
- ],
- 'build_defines%': '',
-- 'list_sources_command': 'python <(DEPTH)/list_sources.py --input <(DEPTH)/telegram_sources.txt --replace src_loc=<(src_loc)',
-+ 'list_sources_command': 'python3 <(DEPTH)/list_sources.py --input <(DEPTH)/telegram_sources.txt --replace src_loc=<(src_loc)',
- 'pch_source': '<(src_loc)/stdafx.cpp',
- 'pch_header': '<(src_loc)/stdafx.h',
- },
- 'includes': [
- 'common_executable.gypi',
- 'telegram_qrc.gypi',
-- 'telegram_win.gypi',
-- 'telegram_mac.gypi',
- 'telegram_linux.gypi',
- 'openssl.gypi',
- 'qt.gypi',
-@@ -74,9 +72,6 @@
- 'codegen.gyp:codegen_lang',
- 'codegen.gyp:codegen_numbers',
- 'codegen.gyp:codegen_style',
-- 'tests/tests.gyp:tests',
-- 'utils.gyp:Updater',
-- '../ThirdParty/libtgvoip/libtgvoip.gyp:libtgvoip',
- 'crl.gyp:crl',
- 'lib_base.gyp:lib_base',
- 'lib_export.gyp:lib_export',
-@@ -87,32 +82,19 @@
- ],
-
- 'defines': [
-- 'AL_LIBTYPE_STATIC',
- 'AL_ALEXT_PROTOTYPES',
- 'TGVOIP_USE_CXX11_LIB',
-- 'XXH_INLINE_ALL',
- 'TDESKTOP_API_ID=<(api_id)',
- 'TDESKTOP_API_HASH=<(api_hash)',
-- '<!@(python -c "for s in \'<(build_defines)\'.split(\',\'): print(s)")',
-+ '<!@(python3 -c "for s in \'<(build_defines)\'.split(\',\'): print(s)")',
- ],
-
- 'include_dirs': [
- '<(src_loc)',
- '<(SHARED_INTERMEDIATE_DIR)',
-- '<(libs_loc)/breakpad/src',
-- '<(libs_loc)/lzma/C',
-- '<(libs_loc)/zlib',
-- '<(libs_loc)/ffmpeg',
-- '<(libs_loc)/openal-soft/include',
-- '<(libs_loc)/opus/include',
-- '<(libs_loc)/range-v3/include',
- '<(minizip_loc)',
-- '<(sp_media_key_tap_loc)',
- '<(emoji_suggestions_loc)',
-- '<(submodules_loc)/GSL/include',
-- '<(submodules_loc)/variant/include',
- '<(submodules_loc)/crl/src',
-- '<(submodules_loc)/xxHash',
- ],
- 'sources': [
- '<@(qrc_files)',
-@@ -135,7 +117,6 @@
- 'TDESKTOP_FORCE_GTK_FILE_DIALOG',
- ],
- 'dependencies': [
-- 'utils.gyp:Packer',
- ],
- }], [ 'build_mac', {
- 'mac_hardened_runtime': 1,
-diff --git a/Telegram/gyp/codegen_rules.gypi b/Telegram/gyp/codegen_rules.gypi
-index a901db3bb..28873f8dc 100644
---- a/Telegram/gyp/codegen_rules.gypi
-+++ b/Telegram/gyp/codegen_rules.gypi
-@@ -15,7 +15,7 @@
- '<(SHARED_INTERMEDIATE_DIR)/update_dependent_styles.timestamp',
- ],
- 'action': [
-- 'python', '<(DEPTH)/update_dependent.py', '--styles',
-+ 'python3', '<(DEPTH)/update_dependent.py', '--styles',
- '-I', '<(res_loc)', '-I', '<(src_loc)',
- '-o', '<(SHARED_INTERMEDIATE_DIR)/update_dependent_styles.timestamp',
- '<@(style_files)',
-@@ -26,13 +26,13 @@
+diff --git a/Telegram/gyp/codegen/rules.gypi b/Telegram/gyp/codegen/rules.gypi
+index 9cad3ee41..b77ffe9f4 100644
+--- a/Telegram/gyp/codegen/rules.gypi
++++ b/Telegram/gyp/codegen/rules.gypi
+@@ -10,13 +10,13 @@
'inputs': [
'<(DEPTH)/update_dependent.py',
'<@(qrc_files)',
@@ -310,11 +231,113 @@ index a901db3bb..28873f8dc 100644
'-o', '<(SHARED_INTERMEDIATE_DIR)/update_dependent_qrc.timestamp',
'<@(qrc_files)',
],
+diff --git a/Telegram/gyp/codegen/styles_rule.gypi b/Telegram/gyp/codegen/styles_rule.gypi
+index 5c47e9260..9ef0ef360 100644
+--- a/Telegram/gyp/codegen/styles_rule.gypi
++++ b/Telegram/gyp/codegen/styles_rule.gypi
+@@ -16,7 +16,7 @@
+ '<(style_timestamp)',
+ ],
+ 'action': [
+- 'python', '<(DEPTH)/update_dependent.py', '--styles',
++ 'python3', '<(DEPTH)/update_dependent.py', '--styles',
+ '-I', '<(res_loc)', '-I', '<(src_loc)',
+ '-o', '<(style_timestamp)',
+ '<@(style_files)',
+diff --git a/Telegram/gyp/common/linux.gypi b/Telegram/gyp/common/linux.gypi
+index cdcdef1dc..919eb3c8a 100644
+--- a/Telegram/gyp/common/linux.gypi
++++ b/Telegram/gyp/common/linux.gypi
+@@ -9,10 +9,6 @@
+ [ 'build_linux', {
+ 'variables': {
+ 'linux_common_flags': [
+- '-pipe',
+- '-Wall',
+- '-Werror',
+- '-W',
+ '-fPIC',
+ '-Wno-unused-variable',
+ '-Wno-unused-parameter',
+@@ -26,29 +22,16 @@
+ '-Wno-error=class-memaccess',
+ '-Wno-error=parentheses',
+ ],
+- 'linux_path_ffmpeg%': '/usr/local',
+- 'linux_path_openal%': '/usr/local',
+- 'linux_path_va%': '/usr/local',
+- 'linux_path_vdpau%': '/usr/local',
+- 'linux_path_breakpad%': '/usr/local',
+- 'linux_path_opus_include%': '<(libs_loc)/opus/include',
+- 'linux_path_range%': '/usr/local',
+ },
+ 'include_dirs': [
+- '/usr/local/include',
+- '<(linux_path_ffmpeg)/include',
+- '<(linux_path_openal)/include',
+- '<(linux_path_breakpad)/include/breakpad',
+- '<(linux_path_opus_include)',
+- '<(linux_path_range)/include',
++ '<!(rpm --eval "%{_includedir}")',
++ '<!(rpm --eval "%{_includedir}")/ffmpeg',
++ '<!(rpm --eval "%{_includedir}")/opus',
++ '<!(rpm --eval "%{_includedir}")/libtgvoip',
++ '<!(rpm --eval "%{_includedir}")/guidelines-support-library',
+ ],
+ 'library_dirs': [
+- '/usr/local/lib',
+- '<(linux_path_ffmpeg)/lib',
+- '<(linux_path_openal)/lib',
+- '<(linux_path_va)/lib',
+- '<(linux_path_vdpau)/lib',
+- '<(linux_path_breakpad)/lib',
++ '<!(rpm --eval "%{_libdir}")',
+ ],
+ 'conditions': [
+ [ '"<!(uname -m)" == "x86_64" or "<!(uname -m)" == "aarch64"', {
+@@ -69,24 +52,10 @@
+ 'sources': [ '__Wrong_Official_Build_Target_<(official_build_target)_' ],
+ }],
+ ],
+- }], [ '"<!(uname -p)" == "x86_64"', {
+- # 32 bit version can't be linked with debug info or LTO,
+- # virtual memory exhausted :(
+- 'cflags_c': [ '-g' ],
+- 'cflags_cc': [ '-g' ],
+- 'ldflags': [ '-g' ],
+- 'configurations': {
+- 'Release': {
+- 'cflags_c': [ '-flto' ],
+- 'cflags_cc': [ '-flto' ],
+- 'ldflags': [ '-flto', '-fuse-linker-plugin' ],
+- },
+- },
+- }]
++ }],
+ ],
+ 'defines': [
+ '_REENTRANT',
+- 'QT_STATICPLUGIN',
+ 'QT_PLUGIN',
+ ],
+ 'cflags_c': [
+@@ -98,11 +67,6 @@
+ '-std=c++1z',
+ '-Wno-register',
+ ],
+- 'make_global_settings': [
+- ['AR', '/usr/bin/gcc-ar'],
+- ['RANLIB', '/usr/bin/gcc-ranlib'],
+- ['NM', '/usr/bin/gcc-nm'],
+- ],
+ 'configurations': {
+ 'Debug': {
+ },
diff --git a/Telegram/gyp/lib_base.gyp b/Telegram/gyp/lib_base.gyp
-index 82d42d4ae..92adc6d8e 100644
+index 98c0d885b..c1c9c5a68 100644
--- a/Telegram/gyp/lib_base.gyp
+++ b/Telegram/gyp/lib_base.gyp
-@@ -28,7 +28,6 @@
+@@ -25,7 +25,6 @@
'pch_header': '<(src_loc)/base/base_pch.h',
},
'defines': [
@@ -322,7 +345,7 @@ index 82d42d4ae..92adc6d8e 100644
],
'dependencies': [
'crl.gyp:crl',
-@@ -36,11 +35,10 @@
+@@ -33,11 +32,10 @@
'include_dirs': [
'<(src_loc)',
'<(SHARED_INTERMEDIATE_DIR)',
@@ -338,18 +361,10 @@ index 82d42d4ae..92adc6d8e 100644
'sources': [
'<(src_loc)/base/algorithm.h',
diff --git a/Telegram/gyp/lib_export.gyp b/Telegram/gyp/lib_export.gyp
-index f73aabdb1..24493f159 100644
+index 140ea6b98..bf6f2b6b0 100644
--- a/Telegram/gyp/lib_export.gyp
+++ b/Telegram/gyp/lib_export.gyp
-@@ -14,7 +14,6 @@
- 'includes': [
- 'common.gypi',
- 'qt.gypi',
-- 'telegram_linux.gypi',
- 'pch.gypi',
- ],
- 'variables': {
-@@ -46,9 +45,9 @@
+@@ -44,9 +44,9 @@
'include_dirs': [
'<(src_loc)',
'<(SHARED_INTERMEDIATE_DIR)',
@@ -363,10 +378,10 @@ index f73aabdb1..24493f159 100644
],
'sources': [
diff --git a/Telegram/gyp/lib_ffmpeg.gyp b/Telegram/gyp/lib_ffmpeg.gyp
-index b9ada5362..ef5aa200e 100644
+index 22a2a9661..8b4103283 100644
--- a/Telegram/gyp/lib_ffmpeg.gyp
+++ b/Telegram/gyp/lib_ffmpeg.gyp
-@@ -36,10 +36,9 @@
+@@ -33,10 +33,9 @@
'include_dirs': [
'<(src_loc)',
'<(SHARED_INTERMEDIATE_DIR)',
@@ -381,10 +396,10 @@ index b9ada5362..ef5aa200e 100644
],
'sources': [
diff --git a/Telegram/gyp/lib_lottie.gyp b/Telegram/gyp/lib_lottie.gyp
-index 9767651f2..181577828 100644
+index ee2bb0f04..87de3ef3f 100644
--- a/Telegram/gyp/lib_lottie.gyp
+++ b/Telegram/gyp/lib_lottie.gyp
-@@ -31,14 +31,12 @@
+@@ -28,14 +28,12 @@
'lib_base.gyp:lib_base',
'lib_rlottie.gyp:lib_rlottie',
'lib_ffmpeg.gyp:lib_ffmpeg',
@@ -399,7 +414,7 @@ index 9767651f2..181577828 100644
],
'defines': [
'LOT_BUILD',
-@@ -46,13 +44,10 @@
+@@ -43,13 +41,10 @@
'include_dirs': [
'<(src_loc)',
'<(SHARED_INTERMEDIATE_DIR)',
@@ -417,10 +432,10 @@ index 9767651f2..181577828 100644
],
'sources': [
diff --git a/Telegram/gyp/lib_mtproto.gyp b/Telegram/gyp/lib_mtproto.gyp
-index b592cb796..464168ede 100644
+index 6adcd346f..9a7830f88 100644
--- a/Telegram/gyp/lib_mtproto.gyp
+++ b/Telegram/gyp/lib_mtproto.gyp
-@@ -47,9 +47,9 @@
+@@ -44,9 +44,9 @@
'include_dirs': [
'<(src_loc)',
'<(SHARED_INTERMEDIATE_DIR)',
@@ -434,10 +449,10 @@ index b592cb796..464168ede 100644
],
'sources': [
diff --git a/Telegram/gyp/lib_scheme.gyp b/Telegram/gyp/lib_scheme.gyp
-index 0c12f240b..629e58da7 100644
+index a2826735e..cf05f4d29 100644
--- a/Telegram/gyp/lib_scheme.gyp
+++ b/Telegram/gyp/lib_scheme.gyp
-@@ -35,7 +35,7 @@
+@@ -34,7 +34,7 @@
'include_dirs': [
'<(src_loc)',
'<(SHARED_INTERMEDIATE_DIR)',
@@ -446,20 +461,20 @@ index 0c12f240b..629e58da7 100644
],
'actions': [{
'action_name': 'codegen_scheme',
-@@ -49,7 +49,7 @@
+@@ -48,7 +48,7 @@
'<(SHARED_INTERMEDIATE_DIR)/scheme.h',
],
'action': [
- 'python', '<(src_loc)/codegen/scheme/codegen_scheme.py',
+ 'python3', '<(src_loc)/codegen/scheme/codegen_scheme.py',
'-o', '<(SHARED_INTERMEDIATE_DIR)',
- '<(res_loc)/tl/mtproto.tl',
- '<(res_loc)/tl/api.tl',
+ '<(res_loc)/tl/mtproto.tl',
+ '<(res_loc)/tl/api.tl',
diff --git a/Telegram/gyp/lib_storage.gyp b/Telegram/gyp/lib_storage.gyp
-index d72f4b5a7..f34340d50 100644
+index cd3b6d30c..5c4eab5c0 100644
--- a/Telegram/gyp/lib_storage.gyp
+++ b/Telegram/gyp/lib_storage.gyp
-@@ -28,7 +28,6 @@
+@@ -25,7 +25,6 @@
'pch_header': '<(src_loc)/storage/storage_pch.h',
},
'defines': [
@@ -467,7 +482,7 @@ index d72f4b5a7..f34340d50 100644
],
'dependencies': [
'crl.gyp:crl',
-@@ -41,11 +40,10 @@
+@@ -38,11 +37,10 @@
'include_dirs': [
'<(src_loc)',
'<(SHARED_INTERMEDIATE_DIR)',
@@ -482,10 +497,36 @@ index d72f4b5a7..f34340d50 100644
],
'sources': [
'<(src_loc)/storage/storage_clear_legacy.cpp',
-diff --git a/Telegram/gyp/qt.gypi b/Telegram/gyp/qt.gypi
+diff --git a/Telegram/gyp/lib_ui.gyp b/Telegram/gyp/lib_ui.gyp
+index fa6bd4ea3..a99cbc9c0 100644
+--- a/Telegram/gyp/lib_ui.gyp
++++ b/Telegram/gyp/lib_ui.gyp
+@@ -39,7 +39,7 @@
+ 'dependent_style_files': [
+ ],
+ 'style_timestamp': '<(SHARED_INTERMEDIATE_DIR)/update_dependent_styles_ui.timestamp',
+- 'list_sources_command': 'python <(DEPTH)/list_sources.py --input <(DEPTH)/lib_ui/sources.txt --replace src_loc=<(src_loc)',
++ 'list_sources_command': 'python3 <(DEPTH)/list_sources.py --input <(DEPTH)/lib_ui/sources.txt --replace src_loc=<(src_loc)',
+ 'pch_source': '<(src_loc)/ui/ui_pch.cpp',
+ 'pch_header': '<(src_loc)/ui/ui_pch.h',
+ },
+@@ -56,9 +56,9 @@
+ 'include_dirs': [
+ '<(src_loc)',
+ '<(SHARED_INTERMEDIATE_DIR)',
+- '<(libs_loc)/range-v3/include',
+- '<(submodules_loc)/GSL/include',
+- '<(submodules_loc)/variant/include',
++ '<!(rpm --eval "%{_includedir}")',
++ '<!(rpm --eval "%{_includedir}")/guidelines-support-library',
++ '<!(rpm --eval "%{_includedir}")/mapbox',
+ '<(submodules_loc)/crl/src',
+ '<(emoji_suggestions_loc)',
+ ],
+diff --git a/Telegram/gyp/modules/qt.gypi b/Telegram/gyp/modules/qt.gypi
index 0b783ec21..125ab2513 100644
---- a/Telegram/gyp/qt.gypi
-+++ b/Telegram/gyp/qt.gypi
+--- a/Telegram/gyp/modules/qt.gypi
++++ b/Telegram/gyp/modules/qt.gypi
@@ -14,25 +14,21 @@
[ 'build_macold', {
'qt_version%': '5.3.2',
@@ -653,10 +694,10 @@ index 0b783ec21..125ab2513 100644
'-pthread',
'-rdynamic',
],
-diff --git a/Telegram/gyp/qt_moc.gypi b/Telegram/gyp/qt_moc.gypi
+diff --git a/Telegram/gyp/modules/qt_moc.gypi b/Telegram/gyp/modules/qt_moc.gypi
index ebee90a15..3cfb49f25 100644
---- a/Telegram/gyp/qt_moc.gypi
-+++ b/Telegram/gyp/qt_moc.gypi
+--- a/Telegram/gyp/modules/qt_moc.gypi
++++ b/Telegram/gyp/modules/qt_moc.gypi
@@ -15,12 +15,13 @@
'<(SHARED_INTERMEDIATE_DIR)/<(_target_name)/moc/moc_<(RULE_INPUT_ROOT).cpp',
],
@@ -673,10 +714,10 @@ index ebee90a15..3cfb49f25 100644
# '<!@(python -c "for s in \'<@(_include_dirs)\'.split(\' \'): print(\'-I\' + s)")',
'<(RULE_INPUT_PATH)',
'-o', '<(SHARED_INTERMEDIATE_DIR)/<(_target_name)/moc/moc_<(RULE_INPUT_ROOT).cpp',
-diff --git a/Telegram/gyp/qt_rcc.gypi b/Telegram/gyp/qt_rcc.gypi
+diff --git a/Telegram/gyp/modules/qt_rcc.gypi b/Telegram/gyp/modules/qt_rcc.gypi
index f5624a82b..b644ce29f 100644
---- a/Telegram/gyp/qt_rcc.gypi
-+++ b/Telegram/gyp/qt_rcc.gypi
+--- a/Telegram/gyp/modules/qt_rcc.gypi
++++ b/Telegram/gyp/modules/qt_rcc.gypi
@@ -15,7 +15,7 @@
'<(SHARED_INTERMEDIATE_DIR)/<(_target_name)/qrc/qrc_<(RULE_INPUT_ROOT).cpp',
],
@@ -686,63 +727,10 @@ index f5624a82b..b644ce29f 100644
'-name', '<(RULE_INPUT_ROOT)',
'-no-compress',
'<(RULE_INPUT_PATH)',
-diff --git a/Telegram/gyp/settings_linux.gypi b/Telegram/gyp/settings_linux.gypi
-index 17f7a5c9c..726b689ac 100644
---- a/Telegram/gyp/settings_linux.gypi
-+++ b/Telegram/gyp/settings_linux.gypi
-@@ -9,10 +9,6 @@
- [ 'build_linux', {
- 'variables': {
- 'linux_common_flags': [
-- '-pipe',
-- '-Wall',
-- '-Werror',
-- '-W',
- '-fPIC',
- '-Wno-unused-variable',
- '-Wno-unused-parameter',
-@@ -46,24 +42,10 @@
- 'sources': [ '__Wrong_Official_Build_Target_<(official_build_target)_' ],
- }],
- ],
-- }], [ '"<!(uname -p)" == "x86_64"', {
-- # 32 bit version can't be linked with debug info or LTO,
-- # virtual memory exhausted :(
-- 'cflags_c': [ '-g' ],
-- 'cflags_cc': [ '-g' ],
-- 'ldflags': [ '-g' ],
-- 'configurations': {
-- 'Release': {
-- 'cflags_c': [ '-flto' ],
-- 'cflags_cc': [ '-flto' ],
-- 'ldflags': [ '-flto', '-fuse-linker-plugin' ],
-- },
-- },
-- }]
-+ }],
- ],
- 'defines': [
- '_REENTRANT',
-- 'QT_STATICPLUGIN',
- 'QT_PLUGIN',
- ],
- 'cflags_c': [
-@@ -75,11 +57,6 @@
- '-std=c++1z',
- '-Wno-register',
- ],
-- 'make_global_settings': [
-- ['AR', '/usr/bin/gcc-ar'],
-- ['RANLIB', '/usr/bin/gcc-ranlib'],
-- ['NM', '/usr/bin/gcc-nm'],
-- ],
- 'configurations': {
- 'Debug': {
- },
-diff --git a/Telegram/gyp/telegram_linux.gypi b/Telegram/gyp/telegram_linux.gypi
-index ffe0e5a96..4efd97851 100644
---- a/Telegram/gyp/telegram_linux.gypi
-+++ b/Telegram/gyp/telegram_linux.gypi
+diff --git a/Telegram/gyp/telegram/linux.gypi b/Telegram/gyp/telegram/linux.gypi
+index 385f2b89f..9875d7bf8 100644
+--- a/Telegram/gyp/telegram/linux.gypi
++++ b/Telegram/gyp/telegram/linux.gypi
@@ -10,7 +10,7 @@
'variables': {
'build_defines%': '',
@@ -752,76 +740,38 @@ index ffe0e5a96..4efd97851 100644
'pkgconfig_libs': [
# In order to work libxkbcommon must be linked statically,
# PKGCONFIG links it like "-L/usr/local/lib -lxkbcommon"
-@@ -18,51 +18,29 @@
- # QApplication() -> createPlatformIntegration -> QXcbIntegrationPlugin::create
- #'xkbcommon',
+@@ -20,26 +20,17 @@
],
-- 'linux_path_ffmpeg%': '/usr/local',
-- 'linux_path_openal%': '/usr/local',
-- 'linux_path_va%': '/usr/local',
-- 'linux_path_vdpau%': '/usr/local',
-- 'linux_path_breakpad%': '/usr/local',
-- 'linux_path_opus_include%': '<(libs_loc)/opus/include',
-- 'linux_path_range%': '/usr/local',
},
- 'include_dirs': [
-- '/usr/local/include',
-- '<(linux_path_ffmpeg)/include',
-- '<(linux_path_openal)/include',
-- '<(linux_path_breakpad)/include/breakpad',
-- '<(linux_path_opus_include)',
-- '<(linux_path_range)/include',
-+ '<!(rpm --eval "%{_includedir}")',
-+ '<!(rpm --eval "%{_includedir}")/ffmpeg',
-+ '<!(rpm --eval "%{_includedir}")/opus',
-+ '<!(rpm --eval "%{_includedir}")/libtgvoip',
-+ '<!(rpm --eval "%{_includedir}")/guidelines-support-library',
- ],
- 'library_dirs': [
-- '/usr/local/lib',
-- '<(linux_path_ffmpeg)/lib',
-- '<(linux_path_openal)/lib',
-- '<(linux_path_va)/lib',
-- '<(linux_path_vdpau)/lib',
-- '<(linux_path_breakpad)/lib',
-+ '<!(rpm --eval "%{_libdir}")',
- ],
'libraries': [
-- 'breakpad_client',
-- 'composeplatforminputcontextplugin',
-- 'ibusplatforminputcontextplugin',
-- 'fcitxplatforminputcontextplugin',
-- 'himeplatforminputcontextplugin',
-- 'nimfplatforminputcontextplugin',
-- 'liblzma.a',
-- 'libopenal.a',
-- 'libavformat.a',
-- 'libavcodec.a',
-- 'libswresample.a',
-- 'libswscale.a',
-- 'libavutil.a',
-- 'libopus.a',
-- 'libva-x11.a',
-- 'libva-drm.a',
-- 'libva.a',
-- 'libvdpau.a',
-- 'libdrm.a',
-- 'libz.a',
-+ 'openal',
-+ 'avformat',
-+ 'avcodec',
-+ 'swresample',
-+ 'swscale',
-+ 'avutil',
-+ 'z',
-+ 'tgvoip',
-+ 'lzma',
-+ 'xxhash',
-+ 'lz4',
+- '-lbreakpad_client',
+- '-lcomposeplatforminputcontextplugin',
+- '-libusplatforminputcontextplugin',
+- '-lfcitxplatforminputcontextplugin',
+- '-lhimeplatforminputcontextplugin',
+- '-lnimfplatforminputcontextplugin',
+- '-llzma',
+ '-lopenal',
+ '-lavformat',
+ '-lavcodec',
+ '-lswresample',
+ '-lswscale',
+ '-lavutil',
+- '-lopus',
+- '-lva-x11',
+- '-lva-drm',
+- '-lva',
+- '-lvdpau',
+- '-ldrm',
+ '-lz',
++ '-ltgvoip',
++ '-llzma',
++ '-lxxhash',
++ '-llz4',
# '<!(pkg-config 2> /dev/null --libs <@(pkgconfig_libs))',
],
'cflags_cc': [
-@@ -70,35 +48,23 @@
+@@ -47,36 +38,23 @@
'-Wno-maybe-uninitialized',
],
'ldflags': [
@@ -829,6 +779,7 @@ index ffe0e5a96..4efd97851 100644
- '-Wl,-wrap,secure_getenv',
- '-Wl,-wrap,clock_gettime',
- '-Wl,--no-as-needed,-lrt',
+- '-Wl,-Bstatic',
],
'configurations': {
'Release': {
@@ -859,11 +810,11 @@ index ffe0e5a96..4efd97851 100644
'<!(pkg-config 2> /dev/null --cflags dee-1.0)',
],
}], ['<!(pkg-config ayatana-appindicator3-0.1; echo $?) == 0', {
-diff --git a/Telegram/gyp/telegram_sources.txt b/Telegram/gyp/telegram_sources.txt
-index 68da81d05..5ef947a78 100644
---- a/Telegram/gyp/telegram_sources.txt
-+++ b/Telegram/gyp/telegram_sources.txt
-@@ -925,7 +925,7 @@
+diff --git a/Telegram/gyp/telegram/sources.txt b/Telegram/gyp/telegram/sources.txt
+index 38d9d0e64..e69292202 100644
+--- a/Telegram/gyp/telegram/sources.txt
++++ b/Telegram/gyp/telegram/sources.txt
+@@ -859,7 +859,7 @@
<(src_loc)/mainwindow.h
<(src_loc)/observer_peer.cpp
<(src_loc)/observer_peer.h
@@ -871,7 +822,80 @@ index 68da81d05..5ef947a78 100644
+<(src_loc)/qt_functions.cpp
<(src_loc)/settings.cpp
<(src_loc)/settings.h
- <(emoji_suggestions_loc)/emoji_suggestions.cpp
+
+diff --git a/Telegram/gyp/telegram/telegram.gypi b/Telegram/gyp/telegram/telegram.gypi
+index c207db637..fe4df2c2d 100644
+--- a/Telegram/gyp/telegram/telegram.gypi
++++ b/Telegram/gyp/telegram/telegram.gypi
+@@ -47,15 +47,13 @@
+ 'pt-BR',
+ ],
+ 'build_defines%': '',
+- 'list_sources_command': 'python <(DEPTH)/list_sources.py --input <(DEPTH)/telegram/sources.txt --replace src_loc=<(src_loc)',
++ 'list_sources_command': 'python3 <(DEPTH)/list_sources.py --input <(DEPTH)/telegram/sources.txt --replace src_loc=<(src_loc)',
+ 'pch_source': '<(src_loc)/stdafx.cpp',
+ 'pch_header': '<(src_loc)/stdafx.h',
+ },
+ 'includes': [
+ '../common/executable.gypi',
+ 'qrc.gypi',
+- 'win.gypi',
+- 'mac.gypi',
+ 'linux.gypi',
+ '../modules/openssl.gypi',
+ '../modules/qt.gypi',
+@@ -71,9 +69,6 @@
+ 'codegen.gyp:codegen_lang',
+ 'codegen.gyp:codegen_numbers',
+ 'codegen.gyp:codegen_style',
+- 'tests/tests.gyp:tests',
+- 'utils.gyp:Updater',
+- '../ThirdParty/libtgvoip/libtgvoip.gyp:libtgvoip',
+ 'crl.gyp:crl',
+ 'lib_base.gyp:lib_base',
+ 'lib_export.gyp:lib_export',
+@@ -85,32 +80,19 @@
+ ],
+
+ 'defines': [
+- 'AL_LIBTYPE_STATIC',
+ 'AL_ALEXT_PROTOTYPES',
+ 'TGVOIP_USE_CXX11_LIB',
+- 'XXH_INLINE_ALL',
+ 'TDESKTOP_API_ID=<(api_id)',
+ 'TDESKTOP_API_HASH=<(api_hash)',
+- '<!@(python -c "for s in \'<(build_defines)\'.split(\',\'): print(s)")',
++ '<!@(python3 -c "for s in \'<(build_defines)\'.split(\',\'): print(s)")',
+ ],
+
+ 'include_dirs': [
+ '<(src_loc)',
+ '<(SHARED_INTERMEDIATE_DIR)',
+- '<(libs_loc)/breakpad/src',
+- '<(libs_loc)/lzma/C',
+- '<(libs_loc)/zlib',
+- '<(libs_loc)/ffmpeg',
+- '<(libs_loc)/openal-soft/include',
+- '<(libs_loc)/opus/include',
+- '<(libs_loc)/range-v3/include',
+ '<(minizip_loc)',
+- '<(sp_media_key_tap_loc)',
+ '<(emoji_suggestions_loc)',
+- '<(submodules_loc)/GSL/include',
+- '<(submodules_loc)/variant/include',
+ '<(submodules_loc)/crl/src',
+- '<(submodules_loc)/xxHash',
+ ],
+ 'sources': [
+ '<@(qrc_files)',
+@@ -133,7 +115,6 @@
+ 'TDESKTOP_FORCE_GTK_FILE_DIALOG',
+ ],
+ 'dependencies': [
+- 'utils.gyp:Packer',
+ ],
+ }], [ 'build_mac', {
+ 'mac_hardened_runtime': 1,
diff --git a/lib/xdg/telegramdesktop.appdata.xml b/lib/xdg/telegramdesktop.appdata.xml
index 9eedae55c..f90a6b8e7 100644
--- a/lib/xdg/telegramdesktop.appdata.xml
diff --git a/telegram-desktop-system-fonts.patch b/telegram-desktop-system-fonts.patch
index ab507ab..b16e596 100644
--- a/telegram-desktop-system-fonts.patch
+++ b/telegram-desktop-system-fonts.patch
@@ -1,4 +1,4 @@
-From 8b73e1d91f24f65fa2e75a4ffbfd06ac0fbb9046 Mon Sep 17 00:00:00 2001
+From 7bb2cc4a814035d774ccd46e2b2ac313dcfcef34 Mon Sep 17 00:00:00 2001
From: Vitaly Zaitsev <vitaly(a)easycoding.org>
Date: Sun, 24 Jun 2018 22:59:34 +0200
Subject: [PATCH 2/3] Backported and rebased patch from Debian maintainer
@@ -6,38 +6,36 @@ Subject: [PATCH 2/3] Backported and rebased patch from Debian maintainer
will use packaged versions.
---
- Telegram/Resources/qrc/telegram.qrc | 3 ---
- Telegram/SourceFiles/ui/twidget.cpp | 6 +++---
- 2 files changed, 3 insertions(+), 6 deletions(-)
+ Telegram/Resources/qrc/fonts.qrc | 5 -----
+ Telegram/SourceFiles/ui/style/style_core_font.cpp | 6 +++---
+ 2 files changed, 3 insertions(+), 8 deletions(-)
-diff --git a/Telegram/Resources/qrc/telegram.qrc b/Telegram/Resources/qrc/telegram.qrc
-index 4db29b204..52028412c 100644
---- a/Telegram/Resources/qrc/telegram.qrc
-+++ b/Telegram/Resources/qrc/telegram.qrc
-@@ -42,9 +42,6 @@
- <file alias="js/script.js">../export_html/js/script.js</file>
- </qresource>
- <qresource prefix="/gui">
+diff --git a/Telegram/Resources/qrc/fonts.qrc b/Telegram/Resources/qrc/fonts.qrc
+index 233b8d572..03585ec03 100644
+--- a/Telegram/Resources/qrc/fonts.qrc
++++ b/Telegram/Resources/qrc/fonts.qrc
+@@ -1,7 +1,2 @@
+ <RCC>
+- <qresource prefix="/gui">
- <file alias="fonts/OpenSans-Regular.ttf">../fonts/OpenSans-Regular.ttf</file>
- <file alias="fonts/OpenSans-Bold.ttf">../fonts/OpenSans-Bold.ttf</file>
- <file alias="fonts/OpenSans-Semibold.ttf">../fonts/OpenSans-Semibold.ttf</file>
- <file alias="art/bg.jpg">../art/bg.jpg</file>
- <file alias="art/bg_initial.jpg">../art/bg_initial.jpg</file>
- <file alias="art/logo_256.png">../art/logo_256.png</file>
-diff --git a/Telegram/SourceFiles/ui/twidget.cpp b/Telegram/SourceFiles/ui/twidget.cpp
-index 37b2872a0..e48354e0e 100644
---- a/Telegram/SourceFiles/ui/twidget.cpp
-+++ b/Telegram/SourceFiles/ui/twidget.cpp
-@@ -75,9 +75,9 @@ void Start() {
+- </qresource>
+ </RCC>
+diff --git a/Telegram/SourceFiles/ui/style/style_core_font.cpp b/Telegram/SourceFiles/ui/style/style_core_font.cpp
+index 653dbfff0..62527327f 100644
+--- a/Telegram/SourceFiles/ui/style/style_core_font.cpp
++++ b/Telegram/SourceFiles/ui/style/style_core_font.cpp
+@@ -84,9 +84,9 @@ void StartFonts() {
}
Started = true;
-- auto regular = LoadCustomFont(qsl(":/gui/fonts/OpenSans-Regular.ttf"), qsl("Open Sans"));
-- auto bold = LoadCustomFont(qsl(":/gui/fonts/OpenSans-Bold.ttf"), qsl("Open Sans"), style::internal::FontBold);
-- auto semibold = LoadCustomFont(qsl(":/gui/fonts/OpenSans-Semibold.ttf"), qsl("Open Sans Semibold"));
-+ auto regular = ValidateFont(qsl("Open Sans"));
-+ auto bold = ValidateFont(qsl("Open Sans"), style::internal::FontBold);
-+ auto semibold = ValidateFont(qsl("Open Sans Semibold"));
+- auto regular = LoadCustomFont(":/gui/fonts/OpenSans-Regular.ttf", "Open Sans");
+- auto bold = LoadCustomFont(":/gui/fonts/OpenSans-Bold.ttf", "Open Sans", style::internal::FontBold);
+- auto semibold = LoadCustomFont(":/gui/fonts/OpenSans-Semibold.ttf", "Open Sans Semibold");
++ auto regular = ValidateFont(QStringLiteral("Open Sans"));
++ auto bold = ValidateFont(QStringLiteral("Open Sans"), style::internal::FontBold);
++ auto semibold = ValidateFont(QStringLiteral("Open Sans Semibold"));
#ifdef Q_OS_WIN
// Attempt to workaround a strange font bug with Open Sans Semibold not loading.
diff --git a/telegram-desktop-unbundle-minizip.patch b/telegram-desktop-unbundle-minizip.patch
index f601e5e..d6c113c 100644
--- a/telegram-desktop-unbundle-minizip.patch
+++ b/telegram-desktop-unbundle-minizip.patch
@@ -1,19 +1,63 @@
-From 3aa7a0864c2139e187fef36cbdb1ad697b92e015 Mon Sep 17 00:00:00 2001
+From 0fac3cadbb6ebd61ada3d13c878948bd70df876d Mon Sep 17 00:00:00 2001
From: Vitaly Zaitsev <vitaly(a)easycoding.org>
Date: Wed, 17 Oct 2018 17:57:59 +0200
Subject: [PATCH 3/3] Use packaged version of minizip on Fedora <= 29.
---
- Telegram/gyp/Telegram.gyp | 2 --
- Telegram/gyp/telegram_linux.gypi | 2 ++
- Telegram/gyp/telegram_sources.txt | 7 -------
- 3 files changed, 2 insertions(+), 9 deletions(-)
+ Telegram/gyp/common/linux.gypi | 1 +
+ Telegram/gyp/telegram/linux.gypi | 1 +
+ Telegram/gyp/telegram/sources.txt | 8 --------
+ Telegram/gyp/telegram/telegram.gypi | 2 --
+ 4 files changed, 2 insertions(+), 10 deletions(-)
-diff --git a/Telegram/gyp/Telegram.gyp b/Telegram/gyp/Telegram.gyp
-index fedb782ca..a1caa989b 100644
---- a/Telegram/gyp/Telegram.gyp
-+++ b/Telegram/gyp/Telegram.gyp
-@@ -18,7 +18,6 @@
+diff --git a/Telegram/gyp/common/linux.gypi b/Telegram/gyp/common/linux.gypi
+index 919eb3c8a..d7d5f6c12 100644
+--- a/Telegram/gyp/common/linux.gypi
++++ b/Telegram/gyp/common/linux.gypi
+@@ -26,6 +26,7 @@
+ 'include_dirs': [
+ '<!(rpm --eval "%{_includedir}")',
+ '<!(rpm --eval "%{_includedir}")/ffmpeg',
++ '<!(rpm --eval "%{_includedir}")/minizip',
+ '<!(rpm --eval "%{_includedir}")/opus',
+ '<!(rpm --eval "%{_includedir}")/libtgvoip',
+ '<!(rpm --eval "%{_includedir}")/guidelines-support-library',
+diff --git a/Telegram/gyp/telegram/linux.gypi b/Telegram/gyp/telegram/linux.gypi
+index 9875d7bf8..694adbc4d 100644
+--- a/Telegram/gyp/telegram/linux.gypi
++++ b/Telegram/gyp/telegram/linux.gypi
+@@ -27,6 +27,7 @@
+ '-lswscale',
+ '-lavutil',
+ '-lz',
++ '-lminizip',
+ '-ltgvoip',
+ '-llzma',
+ '-lxxhash',
+diff --git a/Telegram/gyp/telegram/sources.txt b/Telegram/gyp/telegram/sources.txt
+index e69292202..547e9861a 100644
+--- a/Telegram/gyp/telegram/sources.txt
++++ b/Telegram/gyp/telegram/sources.txt
+@@ -863,14 +863,6 @@
+ <(src_loc)/settings.cpp
+ <(src_loc)/settings.h
+
+-platforms: !win
+-<(minizip_loc)/crypt.h
+-<(minizip_loc)/ioapi.c
+-<(minizip_loc)/ioapi.h
+-<(minizip_loc)/zip.c
+-<(minizip_loc)/zip.h
+-<(minizip_loc)/unzip.c
+-<(minizip_loc)/unzip.h
+
+ platforms: win
+ <(res_loc)/winrc/Telegram.rc
+diff --git a/Telegram/gyp/telegram/telegram.gypi b/Telegram/gyp/telegram/telegram.gypi
+index fe4df2c2d..22649c077 100644
+--- a/Telegram/gyp/telegram/telegram.gypi
++++ b/Telegram/gyp/telegram/telegram.gypi
+@@ -11,7 +11,6 @@
'src_loc': '../SourceFiles',
'res_loc': '../Resources',
'submodules_loc': '../ThirdParty',
@@ -21,7 +65,7 @@ index fedb782ca..a1caa989b 100644
'sp_media_key_tap_loc': '<(submodules_loc)/SPMediaKeyTap',
'emoji_suggestions_loc': '<(submodules_loc)/emoji_suggestions',
'style_files': [
-@@ -92,7 +91,6 @@
+@@ -90,7 +89,6 @@
'include_dirs': [
'<(src_loc)',
'<(SHARED_INTERMEDIATE_DIR)',
@@ -29,44 +73,6 @@ index fedb782ca..a1caa989b 100644
'<(emoji_suggestions_loc)',
'<(submodules_loc)/crl/src',
],
-diff --git a/Telegram/gyp/telegram_linux.gypi b/Telegram/gyp/telegram_linux.gypi
-index 4efd97851..b314ba137 100644
---- a/Telegram/gyp/telegram_linux.gypi
-+++ b/Telegram/gyp/telegram_linux.gypi
-@@ -22,6 +22,7 @@
- 'include_dirs': [
- '<!(rpm --eval "%{_includedir}")',
- '<!(rpm --eval "%{_includedir}")/ffmpeg',
-+ '<!(rpm --eval "%{_includedir}")/minizip',
- '<!(rpm --eval "%{_includedir}")/opus',
- '<!(rpm --eval "%{_includedir}")/libtgvoip',
- '<!(rpm --eval "%{_includedir}")/guidelines-support-library',
-@@ -37,6 +38,7 @@
- 'swscale',
- 'avutil',
- 'z',
-+ 'minizip',
- 'tgvoip',
- 'lzma',
- 'xxhash',
-diff --git a/Telegram/gyp/telegram_sources.txt b/Telegram/gyp/telegram_sources.txt
-index 5ef947a78..c00992189 100644
---- a/Telegram/gyp/telegram_sources.txt
-+++ b/Telegram/gyp/telegram_sources.txt
-@@ -932,13 +932,6 @@
- <(emoji_suggestions_loc)/emoji_suggestions.h
-
- platforms: !win
--<(minizip_loc)/crypt.h
--<(minizip_loc)/ioapi.c
--<(minizip_loc)/ioapi.h
--<(minizip_loc)/zip.c
--<(minizip_loc)/zip.h
--<(minizip_loc)/unzip.c
--<(minizip_loc)/unzip.h
-
- platforms: win
- <(res_loc)/winrc/Telegram.rc
--
2.21.0
diff --git a/telegram-desktop.spec b/telegram-desktop.spec
index e832bde..b944da1 100644
--- a/telegram-desktop.spec
+++ b/telegram-desktop.spec
@@ -28,7 +28,7 @@
Summary: Telegram Desktop official messaging app
Name: telegram-desktop
-Version: 1.8.9
+Version: 1.8.12
Release: 1%{?dist}
# Application and 3rd-party modules licensing:
@@ -77,11 +77,11 @@ BuildRequires: guidelines-support-library-devel >= 1.0.0
BuildRequires: mapbox-variant-devel >= 0.3.6
BuildRequires: qt5-qtbase-private-devel
BuildRequires: libtgvoip-devel >= 2.4.4
+BuildRequires: range-v3-devel >= 0.9.1
BuildRequires: ffmpeg-devel >= 3.1
BuildRequires: openal-soft-devel
BuildRequires: qt5-qtbase-devel
BuildRequires: libstdc++-devel
-BuildRequires: range-v3-devel
BuildRequires: openssl-devel
BuildRequires: xxhash-devel
BuildRequires: json11-devel
@@ -216,6 +216,12 @@ appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/%{name}.appdat
%{_metainfodir}/%{name}.appdata.xml
%changelog
+* Wed Oct 02 2019 Vitaly Zaitsev <vitaly(a)easycoding.org> - 1.8.12-1
+- Updated to 1.8.12.
+
+* Wed Oct 02 2019 Vitaly Zaitsev <vitaly(a)easycoding.org> - 1.8.11-1
+- Updated to 1.8.11.
+
* Sat Sep 28 2019 Vitaly Zaitsev <vitaly(a)easycoding.org> - 1.8.9-1
- Updated to 1.8.9.
5 years, 1 month
[xpra-codecs-freeworld] Release 3.0
by Antonio
commit c665010f7832e6cba4f3944856e61b26c1fbb222
Author: sagitter <sagitter(a)fedoraproject.org>
Date: Wed Oct 2 13:06:03 2019 +0200
Release 3.0
.gitignore | 1 +
sources | 2 +-
xpra-codecs-freeworld.spec | 11 +++++++++--
3 files changed, 11 insertions(+), 3 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 65757d5..b45f091 100644
--- a/.gitignore
+++ b/.gitignore
@@ -30,3 +30,4 @@ xpra-0.16.3.tar.xz
/xpra-2.5.1.tar.xz
/xpra-2.5.2.tar.xz
/xpra-2.5.3.tar.xz
+/xpra-3.0.tar.xz
diff --git a/sources b/sources
index ffd2b6d..abe2452 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-2fac9c558c099a6ea13d0202732bd684 xpra-2.5.3.tar.xz
+fb5057cfc42308092126be3c19c55cd6 xpra-3.0.tar.xz
diff --git a/xpra-codecs-freeworld.spec b/xpra-codecs-freeworld.spec
index c23b20b..3934449 100644
--- a/xpra-codecs-freeworld.spec
+++ b/xpra-codecs-freeworld.spec
@@ -25,15 +25,19 @@
%endif
Name: xpra-codecs-freeworld
-Version: 2.5.3
-Release: 3%{?dist}
+Version: 3.0
+Release: 1%{?dist}
Summary: Additional codecs for xpra using x264 and ffmpeg
License: GPLv2+
URL: http://www.xpra.org/
Source0: http://xpra.org/src/xpra-%{version}.tar.xz
BuildRequires: python3-devel
+%if 0%{?fedora} > 30
+BuildRequires: python3-gobject-devel
+%else
BuildRequires: pygobject3-devel
+%endif
BuildRequires: python3-cairo-devel
BuildRequires: pygtk2-devel
BuildRequires: gtk3-devel
@@ -118,6 +122,9 @@ find %{buildroot}%{python3_sitearch}/xpra -name '*.so' \
%license COPYING
%changelog
+* Wed Oct 02 2019 Antonio Trande <sagitter(a)fedoraproject.org> - 3.0-1
+- Release 3.0
+
* Sat Aug 24 2019 Leigh Scott <leigh123linux(a)gmail.com> - 2.5.3-3
- Rebuild for python-3.8
5 years, 1 month
[openshot/f30] (12 commits) ...Update to git HEAD for Blender 2.80 support
by Frank R Dana
Summary of changes:
0a80a36... Merge branches 'master' and 'f20' into f20 (*)
cb3156d... Merge branch 'master' into el7 (*)
9bc17ad... Change Recommends to Requires for el7. (*)
b2d1626... Change python3 BuildRequires/Requires for pkgversion macro (*)
d102997... Revert scm back to the state of the last good build of open (*)
e13c7c3... Add appdata file moving, for EL7 (like old F27) (*)
c3a2cc5... Add runtime setuptools dependency (*)
964a7d0... Remove Requires: simplejson, not actually needed (*)
cc38ba6... git merge and squash master (*)
8a0862f... Merge branch 'el7' (*)
3a44bcd... Rebuild for new ffmpeg version (*)
28e6406... Update to git HEAD for Blender 2.80 support (*)
(*) This commit already existed in another branch; no separate mail sent
5 years, 1 month