[telegram-desktop/f34] Updated to version 3.3.0.
by Vitaly Zaitsev
commit 03357f24c8fd7161722e092abe1f9a61f788d322
Author: Vitaly Zaitsev <vitaly(a)easycoding.org>
Date: Thu Dec 9 13:46:49 2021 +0100
Updated to version 3.3.0.
.gitignore | 1 +
sources | 2 +-
telegram-desktop-openssl30-fixes.patch | 31 +++++++++++++++++++++++++++++++
telegram-desktop.spec | 16 ++++++++++------
4 files changed, 43 insertions(+), 7 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 5fd5577..04a60c2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -166,3 +166,4 @@
/tdesktop-3.0.1-full.tar.gz
/tdesktop-3.2.4-full.tar.gz
/tdesktop-3.2.5-full.tar.gz
+/tdesktop-3.3.0-full.tar.gz
diff --git a/sources b/sources
index d0a8eb7..addec2e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (tdesktop-3.2.5-full.tar.gz) = 37405780239d2bbc14762299ddca3a5d9cd61ecad70ce960c9f4ed27a31a55f01ccd2e366ca976695a0f1e90bdf57da2344059157df076820933c475043fa0f6
+SHA512 (tdesktop-3.3.0-full.tar.gz) = ff0ac1abe264f19812c2e0b40d4861caddd6c01a3f863ccb68de9c5227282872b2bde878dcf751d7d04d36c6e0e77912619ac7863d54f25f739f3744e9bca53a
diff --git a/telegram-desktop-openssl30-fixes.patch b/telegram-desktop-openssl30-fixes.patch
new file mode 100644
index 0000000..72a9215
--- /dev/null
+++ b/telegram-desktop-openssl30-fixes.patch
@@ -0,0 +1,31 @@
+From 4baac8ce815225a3fe8fbfdaa06d114d5e7aa144 Mon Sep 17 00:00:00 2001
+From: Vitaly Zaitsev <vitaly(a)easycoding.org>
+Date: Thu, 9 Dec 2021 12:41:17 +0100
+Subject: [PATCH] Fixed build against OpenSSL 3.0.
+
+Deprecated function FIPS_mode_set() was removed in OpenSSL 3.0.
+
+Switched to EVP_default_properties_enable_fips() as described in OpenSSL
+3.0 migration guide.
+
+Signed-off-by: Vitaly Zaitsev <vitaly(a)easycoding.org>
+---
+ Telegram/SourceFiles/core/utils.cpp | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/Telegram/SourceFiles/core/utils.cpp b/Telegram/SourceFiles/core/utils.cpp
+index 160af3f77047..16b9e2d8fa51 100644
+--- a/Telegram/SourceFiles/core/utils.cpp
++++ b/Telegram/SourceFiles/core/utils.cpp
+@@ -125,7 +125,11 @@ namespace ThirdParty {
+ void finish() {
+ CRYPTO_cleanup_all_ex_data();
+ #ifndef LIBRESSL_VERSION_NUMBER
++#if OPENSSL_VERSION_NUMBER >= 0x30000000L
++ EVP_default_properties_enable_fips(nullptr, 0);
++#else
+ FIPS_mode_set(0);
++#endif
+ #endif
+ ENGINE_cleanup();
+ CONF_modules_unload(1);
diff --git a/telegram-desktop.spec b/telegram-desktop.spec
index 23af905..9f4397a 100644
--- a/telegram-desktop.spec
+++ b/telegram-desktop.spec
@@ -1,7 +1,7 @@
%undefine __cmake_in_source_build
# Build conditionals...
-%global enable_wayland 0
+%global enable_wayland 1
%global enable_x11 1
%global system_libtgvoip 0
%global system_rlottie 0
@@ -25,7 +25,7 @@
%endif
Name: telegram-desktop
-Version: 3.2.5
+Version: 3.3.0
Release: 1%{?dist}
# Application and 3rd-party modules licensing:
@@ -37,6 +37,9 @@ URL: https://github.com/telegramdesktop/%{appname}
Summary: Telegram Desktop official messaging app
Source0: %{url}/releases/download/v%{version}/%{appname}-%{version}-full.tar.gz
+# https://github.com/telegramdesktop/tdesktop/pull/17371
+Patch100: %{name}-openssl30-fixes.patch
+
# Telegram Desktop require more than 8 GB of RAM on linking stage.
# Disabling all low-memory architectures.
ExclusiveArch: x86_64 aarch64
@@ -79,10 +82,6 @@ BuildRequires: minizip-compat-devel
BuildRequires: ninja-build
BuildRequires: python3
-%if 0%{?fedora} && 0%{?fedora} > 35
-BuildRequires: openssl1.1-devel
-%endif
-
%if %{use_clang}
BuildRequires: compiler-rt
BuildRequires: clang
@@ -261,6 +260,11 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/%{launcher}.desktop
%{_metainfodir}/%{launcher}.appdata.xml
%changelog
+* Thu Dec 09 2021 Vitaly Zaitsev <vitaly(a)easycoding.org> - 3.3.0-1
+- Updated to version 3.3.0.
+- Enabled Wayland integration.
+- Build with OpenSSL 3.0 for Fedora 36+.
+
* Tue Nov 16 2021 Vitaly Zaitsev <vitaly(a)easycoding.org> - 3.2.5-1
- Updated to version 3.2.5.
- Added OpenSSL workaround for Fedora 36+.
2 years, 11 months
[tg_owt/f34] Build with OpenSSL 3.0 on Fedora 36+.
by Vitaly Zaitsev
commit 598849e954c6e16c23f051458ecdfcf26cc73526
Author: Vitaly Zaitsev <vitaly(a)easycoding.org>
Date: Thu Dec 9 13:44:56 2021 +0100
Build with OpenSSL 3.0 on Fedora 36+.
tg_owt.spec | 10 ++--------
1 file changed, 2 insertions(+), 8 deletions(-)
---
diff --git a/tg_owt.spec b/tg_owt.spec
index daf15ed..3fc3cdb 100644
--- a/tg_owt.spec
+++ b/tg_owt.spec
@@ -54,10 +54,6 @@ BuildRequires: pkgconfig(xrandr)
BuildRequires: pkgconfig(xrender)
BuildRequires: pkgconfig(xtst)
-%if 0%{?fedora} && 0%{?fedora} > 35
-BuildRequires: openssl1.1-devel
-%endif
-
BuildRequires: cmake
BuildRequires: gcc
BuildRequires: gcc-c++
@@ -109,9 +105,6 @@ Requires: pkgconfig(xfixes)
Requires: pkgconfig(xrandr)
Requires: pkgconfig(xrender)
Requires: pkgconfig(xtst)
-%if 0%{?fedora} && 0%{?fedora} > 35
-Requires: openssl1.1-devel
-%endif
%description devel
%{summary}.
@@ -184,9 +177,10 @@ cp -f -p src/rtc_base/third_party/sigslot/README.chromium legal/README.sigslot
%changelog
* Thu Dec 09 2021 Vitaly Zaitsev <vitaly(a)easycoding.org> - 0-15.20211207gitd5c3d43
- Updated to latest Git snapshot.
+- Build with OpenSSL 3.0 on Fedora 36+.
* Tue Nov 16 2021 Vitaly Zaitsev <vitaly(a)easycoding.org> - 0-14.20211021gitd578c76
-- Build with openssl 1.1 on Fedora 36+.
+- Build with OpenSSL 1.1 on Fedora 36+.
* Mon Nov 15 2021 Vitaly Zaitsev <vitaly(a)easycoding.org> - 0-13.20211021gitd578c76
- Updated to latest Git snapshot.
2 years, 11 months
[tg_owt/f34] Updated to latest Git snapshot.
by Vitaly Zaitsev
commit 26463935b310406533e88e7ce37b8bea28fc40fd
Author: Vitaly Zaitsev <vitaly(a)easycoding.org>
Date: Thu Dec 9 12:08:13 2021 +0100
Updated to latest Git snapshot.
.gitignore | 1 +
sources | 4 ++--
tg_owt.spec | 19 +++++++++++--------
3 files changed, 14 insertions(+), 10 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 9f22c58..294c9fa 100644
--- a/.gitignore
+++ b/.gitignore
@@ -11,3 +11,4 @@
/libvpx-fc04a94.tar.gz
/libyuv-639dd4e.tar.gz
/tg_owt-d578c76.tar.gz
+/tg_owt-d5c3d43.tar.gz
diff --git a/sources b/sources
index f889bc8..5d43b3d 100644
--- a/sources
+++ b/sources
@@ -1,3 +1,3 @@
-SHA512 (tg_owt-d578c76.tar.gz) = cc365666355fcc22241344dc55baa427454bff342401113a3e8eb72d63266721be30fa07eecc37a075e9e6a026763b24e0051f953a53d6d70974f29411c351e4
-SHA512 (libyuv-ad89006.tar.gz) = 0d5b1afeab9d45a3ccfaf9f184e26218c4caccf1d829cbe0ec8522241a5b0b60209754c082086911d2e866ab94776c64c0c1f9acdeac4b1a25fc447053f090ec
SHA512 (libvpx-5b63f0f.tar.gz) = f5f5cf02d72b04345600c5c83bc91e4fb220ef324f72686da2aaecbc3c636ab2e2ccf296619fc91a3b7d5dc5e01949817285de13e753c4119486392d987ee937
+SHA512 (libyuv-ad89006.tar.gz) = 0d5b1afeab9d45a3ccfaf9f184e26218c4caccf1d829cbe0ec8522241a5b0b60209754c082086911d2e866ab94776c64c0c1f9acdeac4b1a25fc447053f090ec
+SHA512 (tg_owt-d5c3d43.tar.gz) = 7f8b1ae63371106cd59db6e2a290fd24554d31de4188d243ed6645468dad91c9653b7685add61291830e5309284a87512a73b63c3be76f01ea33701c72f48c90
diff --git a/tg_owt.spec b/tg_owt.spec
index 9d8db08..daf15ed 100644
--- a/tg_owt.spec
+++ b/tg_owt.spec
@@ -1,9 +1,9 @@
%undefine __cmake_in_source_build
%global debug_package %{nil}
-%global commit0 d578c760dc6f1ae5f0f3bb5317b0b2ed04b79138
+%global commit0 d5c3d43b959c7e9e7d8004b9b7fdadd12ce7d589
%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
-%global date 20211021
+%global date 20211207
# Git revision of libvpx...
%global commit1 5b63f0f821e94f8072eb483014cfc33b05978bb9
@@ -15,7 +15,7 @@
Name: tg_owt
Version: 0
-Release: 14.%{date}git%{shortcommit0}%{?dist}
+Release: 15.%{date}git%{shortcommit0}%{?dist}
# Main project - BSD
# abseil-cpp - ASL 2.0
@@ -73,15 +73,15 @@ Special fork of the OpenWebRTC library for the Telegram messenger.
%package devel
Summary: Development files for %{name}
Provides: %{name}-static%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
-Provides: bundled(abseil-cpp) = 0~gitfba8a31
+Provides: bundled(abseil-cpp) = 0~git39f46fa
Provides: bundled(base64) = 0~git
Provides: bundled(fft) = 0~git
-Provides: bundled(g711) = 0~git
-Provides: bundled(g722) = 0~git
+Provides: bundled(g711) = 1.1~git
+Provides: bundled(g722) = 1.14~git
Provides: bundled(libsrtp) = 2.2.0~git94ac00d
Provides: bundled(libvpx) = 1.8.2~git%{shortcommit1}
-Provides: bundled(libwebm) = 0~git
-Provides: bundled(libyuv) = 0~git%{shortcommit2}
+Provides: bundled(libwebm) = 0~git37d9b86
+Provides: bundled(libyuv) = 1767~git%{shortcommit2}
Provides: bundled(ooura) = 0~git
Provides: bundled(openh264) = 1.10.0~git6f26bce
Provides: bundled(pffft) = 0~git483453d
@@ -182,6 +182,9 @@ cp -f -p src/rtc_base/third_party/sigslot/README.chromium legal/README.sigslot
%{_libdir}/lib%{name}.a
%changelog
+* Thu Dec 09 2021 Vitaly Zaitsev <vitaly(a)easycoding.org> - 0-15.20211207gitd5c3d43
+- Updated to latest Git snapshot.
+
* Tue Nov 16 2021 Vitaly Zaitsev <vitaly(a)easycoding.org> - 0-14.20211021gitd578c76
- Build with openssl 1.1 on Fedora 36+.
2 years, 11 months
[xorg-x11-drv-nvidia-470xx] Add cuda-drivers-470
by Nicolas Chauvet
commit 1c4fd8efb8f007d5ba46f2aa03f29fca2defcc87
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Thu Dec 9 09:22:50 2021 +0100
Add cuda-drivers-470
xorg-x11-drv-nvidia-470xx.spec | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/xorg-x11-drv-nvidia-470xx.spec b/xorg-x11-drv-nvidia-470xx.spec
index 4f85c56..56a53e9 100644
--- a/xorg-x11-drv-nvidia-470xx.spec
+++ b/xorg-x11-drv-nvidia-470xx.spec
@@ -141,6 +141,7 @@ Conflicts: xorg-x11-drv-nvidia-390xx-cuda
Conflicts: xorg-x11-drv-nvidia-cuda
#Don't put an epoch here
+Provides: cuda-drivers-470 = %{version}
Provides: cuda-drivers = %{version}.100
Provides: cuda-drivers%{?_isa} = %{version}.100
Obsoletes: cuda-drivers < %{version}.100
2 years, 11 months
[xorg-x11-drv-nvidia] Add virtual provides cuda-driver-495
by Nicolas Chauvet
commit 195388256da8907be03207772f79e32df6ffd334
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Thu Dec 9 09:21:10 2021 +0100
Add virtual provides cuda-driver-495
xorg-x11-drv-nvidia.spec | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/xorg-x11-drv-nvidia.spec b/xorg-x11-drv-nvidia.spec
index 1ed5373..177e3a8 100644
--- a/xorg-x11-drv-nvidia.spec
+++ b/xorg-x11-drv-nvidia.spec
@@ -133,6 +133,7 @@ Requires: opencl-filesystem
Conflicts: xorg-x11-drv-nvidia-340xx-cuda
#Don't put an epoch here
+Provides: cuda-drivers-495 = %{version}
Provides: cuda-drivers = %{version}.100
Provides: cuda-drivers%{?_isa} = %{version}.100
Obsoletes: cuda-drivers < %{version}.100
2 years, 11 months