[telegram-desktop/f35: 2/2] Updated to version 3.6.0.
by Vitaly Zaitsev
commit a3b14aa8d0f9e4ea0b57e457d79fbfaabc0ce98d
Author: Vitaly Zaitsev <vitaly(a)easycoding.org>
Date: Fri Mar 11 20:01:08 2022 +0100
Updated to version 3.6.0.
.gitignore | 1 +
sources | 2 +-
telegram-desktop-ffmpeg5.patch | 155 ------------------------
telegram-desktop-unbundled-kwayland-stuff.patch | 45 +++----
telegram-desktop.spec | 14 +--
5 files changed, 24 insertions(+), 193 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index fc79419..40955d6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -173,3 +173,4 @@
/tdesktop-3.4.8-full.tar.gz
/tdesktop-3.5.1-full.tar.gz
/tdesktop-3.5.2-full.tar.gz
+/tdesktop-3.6.0-full.tar.gz
diff --git a/sources b/sources
index fb8b6ee..7b3fd23 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (tdesktop-3.5.2-full.tar.gz) = adb95fb37fedba6344107e4dd789b88563e24e6a01c7b944d9e5365ceccff60d774eb31a2c1e39cd200ef6de83317fe654956cfecaa1e13c7b2fdbf4c38f057e
+SHA512 (tdesktop-3.6.0-full.tar.gz) = e5d4278229dc6033e1d40509d54fe52844dd8bad036bfec1fb9683505c9a626e821c15a487db5f1be5951dd5ed0db3ff5a4cbcbba73627f5e527e88cb06925f3
diff --git a/telegram-desktop-unbundled-kwayland-stuff.patch b/telegram-desktop-unbundled-kwayland-stuff.patch
index 990e55c..3a48177 100644
--- a/telegram-desktop-unbundled-kwayland-stuff.patch
+++ b/telegram-desktop-unbundled-kwayland-stuff.patch
@@ -1,6 +1,6 @@
--- a/cmake/external/kwayland/CMakeLists.txt
+++ b/cmake/external/kwayland/CMakeLists.txt
-@@ -20,62 +20,6 @@ add_library(external_kwayland_bundled STATIC IMPORTED)
+@@ -20,50 +20,6 @@ add_library(external_kwayland_bundled STATIC IMPORTED)
include(ExternalProject)
@@ -22,23 +22,11 @@
-ExternalProject_Get_property(extra-cmake-modules BINARY_DIR)
-set(extra_cmake_modules_binary_dir ${BINARY_DIR})
-
--ExternalProject_Add(wayland-protocols
-- URL ${third_party_loc}/wayland-protocols
-- CONFIGURE_COMMAND meson
-- --prefix=<BINARY_DIR>
-- --libdir=lib
-- --buildtype=release
-- -Dtests=false
-- <BINARY_DIR> <SOURCE_DIR>
-- BUILD_COMMAND meson compile -C <BINARY_DIR>
-- COMMAND meson install -C <BINARY_DIR>
-- STEP_TARGETS build
-- EXCLUDE_FROM_ALL TRUE
-- BUILD_BYPRODUCTS <BINARY_DIR>/share/pkgconfig/wayland-protocols.pc
--)
--
--ExternalProject_Get_property(wayland-protocols BINARY_DIR)
--set(wayland_protocols_binary_dir ${BINARY_DIR})
+-set(wayland_protocols_source_dir ${third_party_loc}/wayland-protocols)
+-file(READ "${wayland_protocols_source_dir}/meson.build" wayland_protocols_meson_build)
+-string(REGEX MATCH "\n[ \t]*version: '([0-9.]+)'" _ ${wayland_protocols_meson_build})
+-set(wayland_protocols_version ${CMAKE_MATCH_1})
+-configure_file("wayland-protocols.pc.in" "${CMAKE_CURRENT_BINARY_DIR}/share/pkgconfig/wayland-protocols.pc" @ONLY)
-
-ExternalProject_Add(plasma-wayland-protocols
- URL ${third_party_loc}/plasma-wayland-protocols
@@ -60,27 +48,24 @@
-ExternalProject_Get_property(plasma-wayland-protocols BINARY_DIR)
-set(plasma_wayland_protocols_binary_dir ${BINARY_DIR})
-
- set(kwayland_patch_command)
- if (DESKTOP_APP_QT6)
- set(kwayland_patch_command PATCH_COMMAND patch -p1 < ${CMAKE_CURRENT_SOURCE_DIR}/kwayland-qt6.patch)
-@@ -88,9 +32,6 @@ ExternalProject_Add(kwayland
- -DCMAKE_BUILD_TYPE=Release
- -DBUILD_SHARED_LIBS=OFF
+ ExternalProject_Add(kwayland
+ URL ${third_party_loc}/kwayland
+ CMAKE_GENERATOR Ninja
+@@ -73,17 +29,11 @@ ExternalProject_Add(kwayland
-DBUILD_TESTING=OFF
-- -DCMAKE_PREFIX_PATH=${wayland_protocols_binary_dir}
+ -DBUILD_WITH_QT6=${DESKTOP_APP_QT6}
+ -DEXCLUDE_DEPRECATED_BEFORE_AND_AT=5.91.0
+- -DCMAKE_PREFIX_PATH=${CMAKE_CURRENT_BINARY_DIR}
- -DECM_DIR=${extra_cmake_modules_binary_dir}/share/ECM/cmake
- -DPlasmaWaylandProtocols_DIR=${plasma_wayland_protocols_binary_dir}/lib/cmake/PlasmaWaylandProtocols
- ${kwayland_patch_command}
- BUILD_COMMAND ${CMAKE_COMMAND} --build <BINARY_DIR> --target KF5WaylandClient
STEP_TARGETS build
-@@ -98,9 +39,6 @@ ExternalProject_Add(kwayland
+ EXCLUDE_FROM_ALL TRUE
BUILD_BYPRODUCTS <BINARY_DIR>/lib/libKF5WaylandClient.a
)
-ExternalProject_Add_StepDependencies(kwayland configure extra-cmake-modules-build)
--ExternalProject_Add_StepDependencies(kwayland configure wayland-protocols-build)
-ExternalProject_Add_StepDependencies(kwayland configure plasma-wayland-protocols-build)
-
+-
ExternalProject_Get_property(kwayland SOURCE_DIR)
ExternalProject_Get_property(kwayland BINARY_DIR)
diff --git a/telegram-desktop.spec b/telegram-desktop.spec
index d922f77..0f3b163 100644
--- a/telegram-desktop.spec
+++ b/telegram-desktop.spec
@@ -24,8 +24,8 @@
%endif
Name: telegram-desktop
-Version: 3.5.2
-Release: 2%{?dist}
+Version: 3.6.0
+Release: 1%{?dist}
# Application and 3rd-party modules licensing:
# * Telegram Desktop - GPLv3+ with OpenSSL exception -- main tarball;
@@ -39,9 +39,6 @@ Source0: %{url}/releases/download/v%{version}/%{appname}-%{version}-full.tar.gz
# Downstream patches.
Patch0: %{name}-unbundled-kwayland-stuff.patch
-# https://github.com/telegramdesktop/tdesktop/pull/24044
-Patch100: %{name}-ffmpeg5.patch
-
# Telegram Desktop require more than 8 GB of RAM on linking stage.
# Disabling all low-memory architectures.
ExclusiveArch: x86_64 aarch64
@@ -138,10 +135,10 @@ BuildRequires: cmake(Qt6Concurrent)
BuildRequires: cmake(Qt6WaylandClient)
BuildRequires: pkgconfig(wayland-protocols)
BuildRequires: qt6-qtbase-static
-Provides: bundled(kf5-kwayland) = 5.90.0
+Provides: bundled(kf5-kwayland) = 5.91.0
%endif
BuildRequires: pkgconfig(wayland-client)
-BuildRequires: extra-cmake-modules >= 5.90.0
+BuildRequires: extra-cmake-modules >= 5.91.0
%endif
%if %{enable_x11}
@@ -268,6 +265,9 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/%{launcher}.desktop
%{_metainfodir}/%{launcher}.metainfo.xml
%changelog
+* Fri Mar 11 2022 Vitaly Zaitsev <vitaly(a)easycoding.org> - 3.6.0-1
+- Updated to version 3.6.0.
+
* Wed Feb 16 2022 Vitaly Zaitsev <vitaly(a)easycoding.org> - 3.5.2-2
- Rebuilt for Qt 6.2.3 update.
2 years, 8 months
[tg_owt/f35] Make sure we're using the full ffmpeg version.
by Vitaly Zaitsev
commit e18ca4d4ecc416bfad3cc37979486f9c45d416d0
Author: Vitaly Zaitsev <vitaly(a)easycoding.org>
Date: Fri Mar 11 19:02:33 2022 +0100
Make sure we're using the full ffmpeg version.
tg_owt.spec | 5 +++++
1 file changed, 5 insertions(+)
---
diff --git a/tg_owt.spec b/tg_owt.spec
index c3c8eb1..b1f2ec3 100644
--- a/tg_owt.spec
+++ b/tg_owt.spec
@@ -58,6 +58,11 @@ BuildRequires: gcc-c++
BuildRequires: ninja-build
BuildRequires: yasm
+# Fedora now has a stripped ffmpeg. Make sure we're using the full version.
+%if 0%{?fedora} && 0%{?fedora} >= 36
+BuildRequires: ffmpeg-devel
+%endif
+
# Disabling all low-memory architectures.
ExclusiveArch: x86_64 aarch64
2 years, 8 months
[tg_owt/f35] Updated to the latest Git snapshot.
by Vitaly Zaitsev
commit 0f1f68a3391dbc2704a22d6ea0d6e8d4e171cea8
Author: Vitaly Zaitsev <vitaly(a)easycoding.org>
Date: Fri Mar 11 18:59:14 2022 +0100
Updated to the latest Git snapshot.
.gitignore | 1 +
sources | 2 +-
tg_owt-gcc12-fixes.patch | 25 -------------------------
tg_owt.spec | 12 ++++++------
4 files changed, 8 insertions(+), 32 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index a379ca7..5d4ce68 100644
--- a/.gitignore
+++ b/.gitignore
@@ -14,3 +14,4 @@
/tg_owt-d5c3d43.tar.gz
/tg_owt-25c8637.tar.gz
/tg_owt-db7d469.tar.gz
+/tg_owt-a264028.tar.gz
diff --git a/sources b/sources
index 651bea9..1c37f04 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
SHA512 (libyuv-ad89006.tar.gz) = 0d5b1afeab9d45a3ccfaf9f184e26218c4caccf1d829cbe0ec8522241a5b0b60209754c082086911d2e866ab94776c64c0c1f9acdeac4b1a25fc447053f090ec
-SHA512 (tg_owt-db7d469.tar.gz) = 31080802bd303d0977b029c2b917b24232b56d228fd96141f9c364d9fe63357fb5fdb5c6762270b26ffc615e98ab9862e88ee22a2762255c206c8e8c511165f2
+SHA512 (tg_owt-a264028.tar.gz) = f805b475d25fa6d6c37336ad0f00619de5fcfd85075f2fa1273d509fcf70fa9c1c0fdb515cb36405674f3fdba4464cc84044c2e60cc6d543570d4e50577f4b3a
diff --git a/tg_owt.spec b/tg_owt.spec
index 4417061..c3c8eb1 100644
--- a/tg_owt.spec
+++ b/tg_owt.spec
@@ -1,9 +1,9 @@
%undefine __cmake_in_source_build
%global debug_package %{nil}
-%global commit0 db7d4697aba4aeb51369e25cc9f8f4b3a2bbb8e7
+%global commit0 a264028ec71d9096e0aa629113c49c25db89d260
%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
-%global date 20220207
+%global date 20220225
# Git revision of libyuv...
%global commit1 ad890067f661dc747a975bc55ba3767fe30d4452
@@ -11,7 +11,7 @@
Name: tg_owt
Version: 0
-Release: 17.%{date}git%{shortcommit0}%{?dist}
+Release: 18.%{date}git%{shortcommit0}%{?dist}
# Main project - BSD
# abseil-cpp - ASL 2.0
@@ -27,9 +27,6 @@ URL: https://github.com/desktop-app/%{name}
Source0: %{url}/archive/%{commit0}/%{name}-%{shortcommit0}.tar.gz
Source1: https://chromium.googlesource.com/libyuv/libyuv/+archive/%{commit1}.tar.g...
-# https://github.com/desktop-app/tg_owt/pull/90
-Patch100: %{name}-gcc12-fixes.patch
-
BuildRequires: pkgconfig(alsa)
BuildRequires: pkgconfig(epoxy)
BuildRequires: pkgconfig(gbm)
@@ -169,6 +166,9 @@ cp -f -p src/rtc_base/third_party/sigslot/README.chromium legal/README.sigslot
%{_libdir}/lib%{name}.a
%changelog
+* Fri Mar 11 2022 Vitaly Zaitsev <vitaly(a)easycoding.org> - 0-18.20220225gita264028
+- Updated to latest Git snapshot.
+
* Tue Feb 08 2022 Vitaly Zaitsev <vitaly(a)easycoding.org> - 0-17.20220207gitdb7d469
- Updated to latest Git snapshot.
2 years, 8 months
[d1x/f36] Fix BuildRequires
by jwrdegoede
Summary of changes:
8545066... Fix BuildRequires (*)
(*) This commit already existed in another branch; no separate mail sent
2 years, 8 months
[d1x] Fix BuildRequires
by jwrdegoede
commit 85450668a461d363b4d49f778ea8e266b1a41e0e
Author: Hans de Goede <hdegoede(a)redhat.com>
Date: Fri Mar 11 16:27:53 2022 +0100
Fix BuildRequires
d1x.spec | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/d1x.spec b/d1x.spec
index d0cba8a..5f68aba 100644
--- a/d1x.spec
+++ b/d1x.spec
@@ -20,7 +20,7 @@ Patch1: d1x-gcc12.patch
Patch2: d1x-window_icon_bitmap.patch
URL: https://www.dxx-rebirth.com/
BuildRequires: gcc gcc-c++ libpng-devel
-BuildRequires: SDL2-devel SDL2_mixer-devel SDL_image-devel
+BuildRequires: SDL2-devel SDL2_mixer-devel SDL2_image-devel
BuildRequires: mesa-libGL-devel mesa-libGLU-devel
BuildRequires: physfs-devel scons desktop-file-utils dos2unix
BuildRequires: ImageMagick libappstream-glib
2 years, 8 months