[mpd/f35] (3 commits) ...Update to 0.23.4
by Leigh Scott
Summary of changes:
658fba3... Rebuilt for new ffmpeg snapshot (*)
7b00bc5... fix (*)
6ab38f6... Update to 0.23.4 (*)
(*) This commit already existed in another branch; no separate mail sent
3 years
[mpd] Update to 0.23.4
by Leigh Scott
commit 6ab38f68f280bdbc59bd1c29e7008a42639bd08a
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Tue Nov 16 15:02:39 2021 +0000
Update to 0.23.4
ffmpeg45.patch | 39 ---------------------------------------
mpd.spec | 14 +++++++-------
sources | 4 ++--
3 files changed, 9 insertions(+), 48 deletions(-)
---
diff --git a/mpd.spec b/mpd.spec
index 683d4b5..604d3b0 100644
--- a/mpd.spec
+++ b/mpd.spec
@@ -16,8 +16,8 @@
Name: mpd
Epoch: 1
-Version: 0.23.3
-Release: 2%{?dist}
+Version: 0.23.4
+Release: 1%{?dist}
Summary: The Music Player Daemon
License: GPLv2+
URL: https://www.musicpd.org
@@ -34,7 +34,6 @@ Source4: mpd.tmpfiles.d
Source5: mpd.xml
Patch0: mpd-0.22-mpdconf.patch
Patch1: mpd-0.20-remove_NoNewPrivileges.patch
-Patch2: ffmpeg45.patch
BuildRequires: alsa-lib-devel
BuildRequires: audiofile-devel
@@ -125,10 +124,8 @@ This package contains FirewallD file for MPD.
%prep
%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
-%setup -q
-%patch0 -p1
-%patch1 -p1
-%patch2 -p1
+%autosetup -p1
+
# Force python3-sphinx
sed -i -e 's@sphinx-build@sphinx-build-3@g' doc/meson.build
@@ -245,6 +242,9 @@ fi
%changelog
+* Tue Nov 16 2021 Leigh Scott <leigh123linux(a)gmail.com> - 1:0.23.4-1
+- Update to 0.23.4
+
* Tue Nov 09 2021 Leigh Scott <leigh123linux(a)gmail.com> - 1:0.23.3-2
- Rebuilt for new ffmpeg snapshot
diff --git a/sources b/sources
index 3ca4e61..a6fc4d8 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-SHA512 (mpd-0.23.3.tar.xz) = 8f8b519bd2980ac617b4b9846f2d1b834b2b72e7f4a4e451799753f56a43626618f222ede685e7db04d99e8567b0728f763a03d27a17e25cb392e94588f8b3de
-SHA512 (mpd-0.23.3.tar.xz.sig) = 4336cbb8a59385f6482ba5707a86028d53e4a73e3199a65f880e2023b5ce54dacab521a8daaeef24fae4fe4ed07c0cb4a8171f9f427bb53ff35450697e3386c8
+SHA512 (mpd-0.23.4.tar.xz) = fb476b108a7be842663683fe6ca6737cffad73c0f09874f9d052121d188d16f69b144e993d1691f2edfac713db24aa3c28302b399f4720b29c09c909860c0938
+SHA512 (mpd-0.23.4.tar.xz.sig) = f186fe185f1a1e294c3c7bc5bf5d796270f10d7a1a75667eed73894366cad5719f0097552668e092234a948c2b79ee5eb2c72ce8ed574f3c63205a07d3dc6e7d
3 years
[telegram-desktop] Update to 3.2.4. Enable aarch64 build.
by Vasiliy Glazov
commit 0c540b528192631ab210a7ad80357df5f40dd76e
Author: Vasiliy Glazov <vascom2(a)gmail.com>
Date: Tue Nov 16 13:19:07 2021 +0300
Update to 3.2.4. Enable aarch64 build.
.gitignore | 1 +
sources | 2 +-
telegram-desktop.spec | 94 ++++++++++++++++++++++++++++++++++-----------------
3 files changed, 65 insertions(+), 32 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 6b9783c..9b84088 100644
--- a/.gitignore
+++ b/.gitignore
@@ -164,3 +164,4 @@
/tdesktop-2.7.1-full.tar.gz
/tdesktop-2.8.8-full.tar.gz
/tdesktop-3.0.1-full.tar.gz
+/tdesktop-3.2.4-full.tar.gz
diff --git a/sources b/sources
index ebbfbc6..9b4a32b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (tdesktop-3.0.1-full.tar.gz) = 6bff6be5f2c0c7a17df61dccc5a3216dcbb95a1c6d3176442c530e2c1b525e6d15079b230d40751f20684da2a1067d4518a9a1ab90d49d1a7338d3e05239d447
+SHA512 (tdesktop-3.2.4-full.tar.gz) = a4651e0af49195f4f3ff15d74a616a5ccd056f15d0448687138947ab0f816b45c05dec81029b59c5e7b5eefed3059618245ad1b3b3f27f894c6accad697ecd94
diff --git a/telegram-desktop.spec b/telegram-desktop.spec
index 181b279..766161a 100644
--- a/telegram-desktop.spec
+++ b/telegram-desktop.spec
@@ -2,11 +2,11 @@
# Build conditionals (with - OFF, without - ON)...
%bcond_with clang
-%bcond_with gtk3
%bcond_with libtgvoip
%bcond_with rlottie
%bcond_with wayland
%bcond_with webkit
+%bcond_with qt5
%bcond_without x11
# Telegram Desktop's constants...
@@ -18,9 +18,16 @@
%global toolchain clang
%endif
+# Applying some workaround for non-x86 architectures...
+%ifnarch x86_64
+%define _lto_cflags %{nil}
+%global _smp_build_ncpus 1
+%global optflags %(echo %{optflags} | sed 's/-g /-g1 /')
+%endif
+
Name: telegram-desktop
-Version: 3.0.1
-Release: 2%{?dist}
+Version: 3.2.4
+Release: 1%{?dist}
# Application and 3rd-party modules licensing:
# * Telegram Desktop - GPLv3+ with OpenSSL exception -- main tarball;
@@ -33,20 +40,12 @@ Source0: %{url}/releases/download/v%{version}/%{appname}-%{version}-full.tar.gz
# Telegram Desktop require more than 8 GB of RAM on linking stage.
# Disabling all low-memory architectures.
-ExclusiveArch: x86_64
+ExclusiveArch: x86_64 aarch64
BuildRequires: cmake(Microsoft.GSL)
BuildRequires: cmake(OpenAL)
-BuildRequires: cmake(Qt5Core)
-BuildRequires: cmake(Qt5DBus)
-BuildRequires: cmake(Qt5Gui)
-BuildRequires: cmake(Qt5Network)
-BuildRequires: cmake(Qt5Svg)
-BuildRequires: cmake(Qt5Widgets)
-BuildRequires: cmake(Qt5XkbCommonSupport)
-BuildRequires: cmake(dbusmenu-qt5)
BuildRequires: cmake(range-v3)
-BuildRequires: cmake(tg_owt)
+BuildRequires: cmake(tg_owt) >= 0-13
BuildRequires: cmake(tl-expected)
BuildRequires: pkgconfig(gio-2.0)
@@ -57,11 +56,11 @@ BuildRequires: pkgconfig(hunspell)
BuildRequires: pkgconfig(jemalloc)
BuildRequires: pkgconfig(libavcodec)
BuildRequires: pkgconfig(libavformat)
-BuildRequires: pkgconfig(libavresample)
BuildRequires: pkgconfig(libavutil)
BuildRequires: pkgconfig(libcrypto)
BuildRequires: pkgconfig(liblz4)
BuildRequires: pkgconfig(liblzma)
+BuildRequires: pkgconfig(libswresample)
BuildRequires: pkgconfig(libswscale)
BuildRequires: pkgconfig(libxxhash)
BuildRequires: pkgconfig(openssl)
@@ -79,7 +78,6 @@ BuildRequires: libstdc++-devel
BuildRequires: minizip-compat-devel
BuildRequires: ninja-build
BuildRequires: python3
-BuildRequires: qt5-qtbase-private-devel
%if %{with clang}
BuildRequires: compiler-rt
@@ -87,9 +85,28 @@ BuildRequires: clang
BuildRequires: llvm
%endif
-%if %{with gtk3}
-BuildRequires: pkgconfig(gtk+-3.0)
-Requires: gtk3%{?_isa}
+%if %{with qt5}
+BuildRequires: cmake(Qt5Core)
+BuildRequires: cmake(Qt5DBus)
+BuildRequires: cmake(Qt5Gui)
+BuildRequires: cmake(Qt5Network)
+BuildRequires: cmake(Qt5Svg)
+BuildRequires: cmake(Qt5Widgets)
+BuildRequires: cmake(Qt5XkbCommonSupport)
+BuildRequires: cmake(dbusmenu-qt5)
+BuildRequires: qt5-qtbase-private-devel
+%else
+BuildRequires: cmake(Qt6Core)
+BuildRequires: cmake(Qt6Core5Compat)
+BuildRequires: cmake(Qt6DBus)
+BuildRequires: cmake(Qt6Gui)
+BuildRequires: cmake(Qt6Network)
+BuildRequires: cmake(Qt6OpenGL)
+BuildRequires: cmake(Qt6OpenGLWidgets)
+BuildRequires: cmake(Qt6Svg)
+BuildRequires: cmake(Qt6Widgets)
+BuildRequires: qt6-qtbase-private-devel
+Provides: bundled(dbusmenu-qt6) = 0.9.3
%endif
%if %{with webkit}
@@ -112,10 +129,17 @@ Provides: bundled(rlottie) = 0~git
%endif
%if %{with wayland}
-BuildRequires: cmake(KF5Wayland)
+%if %{with qt5}
+BuildRequires: cmake(Qt5Concurrent)
BuildRequires: cmake(Qt5WaylandClient)
-BuildRequires: pkgconfig(wayland-client)
BuildRequires: qt5-qtbase-static
+%else
+BuildRequires: cmake(Qt6Concurrent)
+BuildRequires: cmake(Qt6WaylandClient)
+BuildRequires: qt6-qtbase-static
+%endif
+BuildRequires: cmake(KF5Wayland)
+BuildRequires: pkgconfig(wayland-client)
%endif
%if %{with x11}
@@ -131,6 +155,9 @@ Requires: hicolor-icon-theme
Requires: open-sans-fonts
Requires: qt5-qtimageformats%{?_isa}
+# Telegram Desktop can use native open/save dialogs with XDG portals.
+Recommends: xdg-desktop-portal%{?_isa}
+
# Short alias for the main package...
Provides: telegram = %{?epoch:%{epoch}:}%{version}-%{release}
Provides: telegram%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
@@ -156,7 +183,12 @@ business messaging needs.
%autosetup -n %{appname}-%{version}-full -p1
# Unbundling libraries...
-rm -rf Telegram/ThirdParty/{Catch,GSL,QR,SPMediaKeyTap,expected,fcitx-qt5,fcitx5-qt,jemalloc,hime,hunspell,libdbusmenu-qt,lz4,materialdecoration,minizip,nimf,qt5ct,range-v3,xxHash}
+rm -rf Telegram/ThirdParty/{Catch,GSL,QR,SPMediaKeyTap,expected,fcitx-qt5,fcitx5-qt,jemalloc,hime,hunspell,lz4,materialdecoration,minizip,nimf,qt5ct,range-v3,xxHash}
+
+# Unbundling libdbusmenu-qt if build against Qt5...
+%if %{with qt5}
+rm -rf Telegram/ThirdParty/libdbusmenu-qt
+%endif
# Unbundling rlottie if build against packaged version...
%if %{with rlottie}
@@ -168,11 +200,6 @@ rm -rf Telegram/ThirdParty/rlottie
rm -rf Telegram/ThirdParty/libtgvoip
%endif
-# Patching QR-Code...
-%if 0%{?fedora} && 0%{?fedora} >= 35
-sed -e 's/QrCode\.hpp/qrcodegen\.hpp/g' -i {cmake/external/qr_code_generator/CMakeLists.txt,Telegram/lib_qr/qr/qr_generate.cpp}
-%endif
-
%build
# Building Telegram Desktop using cmake...
%cmake -G Ninja \
@@ -194,13 +221,11 @@ sed -e 's/QrCode\.hpp/qrcodegen\.hpp/g' -i {cmake/external/qr_code_generator/CMa
-DTDESKTOP_API_HASH=d524b414d21f4d37f08684c1df41ac9c \
-DDESKTOP_APP_USE_PACKAGED:BOOL=ON \
-DDESKTOP_APP_USE_PACKAGED_FONTS:BOOL=ON \
- -DDESKTOP_APP_USE_GLIBC_WRAPS:BOOL=OFF \
-DDESKTOP_APP_DISABLE_CRASH_REPORTS:BOOL=ON \
- -DDESKTOP_APP_DISABLE_WEBRTC_INTEGRATION:BOOL=OFF \
-%if %{with gtk3}
- -DDESKTOP_APP_DISABLE_GTK_INTEGRATION:BOOL=OFF \
+%if %{with qt5}
+ -DDESKTOP_APP_QT6:BOOL=OFF \
%else
- -DDESKTOP_APP_DISABLE_GTK_INTEGRATION:BOOL=ON \
+ -DDESKTOP_APP_QT6:BOOL=ON \
%endif
%if %{with webkit}
-DDESKTOP_APP_DISABLE_WEBKITGTK:BOOL=OFF \
@@ -239,6 +264,13 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/%{launcher}.desktop
%{_metainfodir}/%{launcher}.appdata.xml
%changelog
+* Mon Nov 15 2021 Vitaly Zaitsev <vitaly(a)easycoding.org> - 3.2.4-1
+- Updated to version 3.2.4.
+- Switched to Qt 6 with an option to build against Qt 5.
+- Removed no longer supported by upstream use-flags.
+- Fixed FTBFS related to ffmpeg 4.5 update on Rawhide.
+- Enabled aarch64 architecture with some limitations.
+
* Fri Nov 12 2021 Leigh Scott <leigh123linux(a)gmail.com> - 3.0.1-2
- Rebuilt for new ffmpeg snapshot
3 years
[mpv] Added a weak rich dependency on yt-dlp or youtube-dl.
by Vitaly Zaitsev
commit 6c0e16ad1972d96c83db1c290fa7cf6e6ac436ab
Author: Vitaly Zaitsev <vitaly(a)easycoding.org>
Date: Tue Nov 16 10:02:35 2021 +0100
Added a weak rich dependency on yt-dlp or youtube-dl.
mpv.spec | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/mpv.spec b/mpv.spec
index b0fb8b7..24e4c2c 100644
--- a/mpv.spec
+++ b/mpv.spec
@@ -91,6 +91,7 @@ Provides: %{name}-master = %{version}-100
Requires: hicolor-icon-theme
Provides: mplayer-backend
+Recommends: (yt-dlp or youtube-dl)
%description
Mpv is a movie player based on MPlayer and mplayer2. It supports a wide variety
3 years
[tg_owt] Update to latest git snapshot. Enable aarch64 build.
by Vasiliy Glazov
commit 915d7453391e6fade34938a6a91305a0fef8963a
Author: Vasiliy Glazov <vascom2(a)gmail.com>
Date: Tue Nov 16 10:42:35 2021 +0300
Update to latest git snapshot. Enable aarch64 build.
.gitignore | 1 +
sources | 4 ++--
tg_owt.spec | 18 +++++++++---------
3 files changed, 12 insertions(+), 11 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index a9ae54b..9f22c58 100644
--- a/.gitignore
+++ b/.gitignore
@@ -10,3 +10,4 @@
/tg_owt-91d836d.tar.gz
/libvpx-fc04a94.tar.gz
/libyuv-639dd4e.tar.gz
+/tg_owt-d578c76.tar.gz
diff --git a/sources b/sources
index 0c17b55..f889bc8 100644
--- a/sources
+++ b/sources
@@ -1,3 +1,3 @@
-SHA512 (libvpx-5b63f0f.tar.gz) = f5f5cf02d72b04345600c5c83bc91e4fb220ef324f72686da2aaecbc3c636ab2e2ccf296619fc91a3b7d5dc5e01949817285de13e753c4119486392d987ee937
+SHA512 (tg_owt-d578c76.tar.gz) = cc365666355fcc22241344dc55baa427454bff342401113a3e8eb72d63266721be30fa07eecc37a075e9e6a026763b24e0051f953a53d6d70974f29411c351e4
SHA512 (libyuv-ad89006.tar.gz) = 0d5b1afeab9d45a3ccfaf9f184e26218c4caccf1d829cbe0ec8522241a5b0b60209754c082086911d2e866ab94776c64c0c1f9acdeac4b1a25fc447053f090ec
-SHA512 (tg_owt-91d836d.tar.gz) = a5d10011c427d8685bcf0743c356ff8c58c3cad6c59ac2409298b30b15cb04233889a5ed0a18107ac5b3477eee96741fdc85176d4330c866e8e3329753be7d73
+SHA512 (libvpx-5b63f0f.tar.gz) = f5f5cf02d72b04345600c5c83bc91e4fb220ef324f72686da2aaecbc3c636ab2e2ccf296619fc91a3b7d5dc5e01949817285de13e753c4119486392d987ee937
diff --git a/tg_owt.spec b/tg_owt.spec
index 9e0aa64..4d5cf47 100644
--- a/tg_owt.spec
+++ b/tg_owt.spec
@@ -1,9 +1,9 @@
%undefine __cmake_in_source_build
%global debug_package %{nil}
-%global commit0 91d836dc84a16584c6ac52b36c04c0de504d9c34
+%global commit0 d578c760dc6f1ae5f0f3bb5317b0b2ed04b79138
%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
-%global date 20210627
+%global date 20211021
# Git revision of libvpx...
%global commit1 5b63f0f821e94f8072eb483014cfc33b05978bb9
@@ -15,7 +15,7 @@
Name: tg_owt
Version: 0
-Release: 12.%{date}git%{shortcommit0}%{?dist}
+Release: 13.%{date}git%{shortcommit0}%{?dist}
# Main project - BSD
# abseil-cpp - ASL 2.0
@@ -37,11 +37,11 @@ Source2: https://chromium.googlesource.com/libyuv/libyuv/+archive/%{commit2}.tar
BuildRequires: pkgconfig(alsa)
BuildRequires: pkgconfig(libavcodec)
BuildRequires: pkgconfig(libavformat)
-BuildRequires: pkgconfig(libavresample)
BuildRequires: pkgconfig(libavutil)
BuildRequires: pkgconfig(libjpeg)
BuildRequires: pkgconfig(libpipewire-0.3)
BuildRequires: pkgconfig(libpulse)
+BuildRequires: pkgconfig(libswresample)
BuildRequires: pkgconfig(libswscale)
BuildRequires: pkgconfig(openssl)
BuildRequires: pkgconfig(opus)
@@ -61,7 +61,7 @@ BuildRequires: ninja-build
BuildRequires: yasm
# Disabling all low-memory architectures.
-ExclusiveArch: x86_64
+ExclusiveArch: x86_64 aarch64
%description
Special fork of the OpenWebRTC library for the Telegram messenger.
@@ -74,7 +74,6 @@ Provides: bundled(base64) = 0~git
Provides: bundled(fft) = 0~git
Provides: bundled(g711) = 0~git
Provides: bundled(g722) = 0~git
-Provides: bundled(libevent) = 1.4.15
Provides: bundled(libsrtp) = 2.2.0~git94ac00d
Provides: bundled(libvpx) = 1.8.2~git%{shortcommit1}
Provides: bundled(libwebm) = 0~git
@@ -90,11 +89,11 @@ Provides: bundled(usrsctp) = 0.9.3.0~gitbee946a
Requires: pkgconfig(alsa)
Requires: pkgconfig(libavcodec)
Requires: pkgconfig(libavformat)
-Requires: pkgconfig(libavresample)
Requires: pkgconfig(libavutil)
Requires: pkgconfig(libjpeg)
Requires: pkgconfig(libpipewire-0.3)
Requires: pkgconfig(libpulse)
+Requires: pkgconfig(libswresample)
Requires: pkgconfig(libswscale)
Requires: pkgconfig(openssl)
Requires: pkgconfig(opus)
@@ -137,8 +136,6 @@ cp -f -p src/third_party/usrsctp/README.chromium legal/README.usrsctp
cp -f -p src/third_party/libvpx/source/libvpx/third_party/libwebm/LICENSE.TXT legal/LICENSE.libwebm
cp -f -p src/third_party/libvpx/source/libvpx/third_party/libwebm/PATENTS.TXT legal/PATENTS.libwebm
cp -f -p src/third_party/libvpx/source/libvpx/third_party/libwebm/README.libvpx legal/README.libwebm
-cp -f -p src/base/third_party/libevent/LICENSE legal/LICENSE.libevent
-cp -f -p src/base/third_party/libevent/README.chromium legal/README.libevent
cp -f -p src/common_audio/third_party/ooura/LICENSE legal/LICENSE.ooura
cp -f -p src/common_audio/third_party/ooura/README.chromium legal/README.ooura
cp -f -p src/common_audio/third_party/spl_sqrt_floor/LICENSE legal/LICENSE.spl_sqrt_floor
@@ -178,6 +175,9 @@ cp -f -p src/rtc_base/third_party/sigslot/README.chromium legal/README.sigslot
%{_libdir}/lib%{name}.a
%changelog
+* Mon Nov 15 2021 Vitaly Zaitsev <vitaly(a)easycoding.org> - 0-13.20211021gitd578c76
+- Updated to latest Git snapshot.
+
* Mon Aug 02 2021 Alexey Gorgurov <alexfails(a)fedoraproject.org> - 0-12.20210627git91d836d
- Revert to upstream libvpx/livyuv commits
3 years
[celluloid/f34] Switch to yt-dlp.
by Vasiliy Glazov
Summary of changes:
3ec6553... Switch to yt-dlp. (*)
(*) This commit already existed in another branch; no separate mail sent
3 years