Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package QMPlay2 for openSUSE:Factory checked in at 2021-03-11 20:10:30 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/QMPlay2 (Old) and /work/SRC/openSUSE:Factory/.QMPlay2.new.2401 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "QMPlay2" Thu Mar 11 20:10:30 2021 rev:51 rq:878119 version:21.03.09 Changes: -------- --- /work/SRC/openSUSE:Factory/QMPlay2/QMPlay2.changes 2021-03-06 21:19:27.493283059 +0100 +++ /work/SRC/openSUSE:Factory/.QMPlay2.new.2401/QMPlay2.changes 2021-03-11 20:12:35.412692613 +0100 @@ -1,0 +2,13 @@ +Tue Mar 9 18:21:12 UTC 2021 - Simon Vogl <simon.v...@gmx.net> + +- Removed 0001-fix-youtube-quality.patch as it is merged upstream +- Converted 0001-fix-broken-python-detection.patch into 0001-add-opensuse-customizations.patch as it adds branding for better distinction from vanilla builds now. +- Dropped support for openSUSE Leap 15.1 and SLE15SP1 as they are EOL and can't satisfy QMPlay2's build requirements anymore +- Update to version 21.03.09 + * drop support for Qt < 5.10, CMake < 3.9, TagLib < 1.9, FFmpeg < 4.0, + * fix possible freeze on Windows when Vulkan is enabled, + * add PipeWire audio output, + * fix YouTube videos, + * minor fixes. + +------------------------------------------------------------------- Old: ---- 0001-fix-broken-python-detection.patch 0001-fix-youtube-quality.patch QMPlay2-src-20.12.16.tar.xz New: ---- 0001-add-opensuse-customizations.patch QMPlay2-src-21.03.09.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ QMPlay2.spec ++++++ --- /var/tmp/diff_new_pack.SX0CEM/_old 2021-03-11 20:12:36.244693963 +0100 +++ /var/tmp/diff_new_pack.SX0CEM/_new 2021-03-11 20:12:36.248693970 +0100 @@ -19,44 +19,46 @@ %define __builder Ninja Name: QMPlay2 -Version: 20.12.16 +Version: 21.03.09 Release: 0 Summary: A Qt based media player, streamer and downloader License: LGPL-3.0-or-later Group: Productivity/Multimedia/Video/Players URL: https://github.com/zaps166/QMPlay2 Source: https://github.com/zaps166/QMPlay2/releases/download/%{version}/QMPlay2-src-%{version}.tar.xz -# PATCH-FIX-OPENSUSE -Patch1: 0001-fix-broken-python-detection.patch -# PATCH-FIX-UPSTREAM -Patch2: 0001-fix-youtube-quality.patch -BuildRequires: cmake >= 3.5 +# PATCH-FEATURE-OPENSUSE +Patch1: 0001-add-opensuse-customizations.patch +BuildRequires: cmake >= 3.16 BuildRequires: gcc-c++ BuildRequires: ninja BuildRequires: pkgconfig -BuildRequires: cmake(Qt5LinguistTools) -BuildRequires: pkgconfig(Qt5Concurrent) -BuildRequires: pkgconfig(Qt5DBus) -BuildRequires: pkgconfig(Qt5Qml) -BuildRequires: pkgconfig(Qt5Svg) -BuildRequires: pkgconfig(Qt5Widgets) -BuildRequires: pkgconfig(Qt5X11Extras) +BuildRequires: cmake(Qt5LinguistTools) >= 5.10.0 +BuildRequires: pkgconfig(Qt5Concurrent) >= 5.10.0 +BuildRequires: pkgconfig(Qt5DBus) >= 5.10.0 +BuildRequires: pkgconfig(Qt5Qml) >= 5.10.0 +BuildRequires: pkgconfig(Qt5Svg) >= 5.10.0 +BuildRequires: pkgconfig(Qt5Widgets) >= 5.10.0 +BuildRequires: pkgconfig(Qt5X11Extras) >= 5.10.0 BuildRequires: pkgconfig(alsa) BuildRequires: pkgconfig(libass) BuildRequires: pkgconfig(libavcodec) >= 58.18.100 BuildRequires: pkgconfig(libavdevice) -BuildRequires: pkgconfig(libavformat) -BuildRequires: pkgconfig(libavutil) +BuildRequires: pkgconfig(libavformat) >= 58.12.100 +BuildRequires: pkgconfig(libavutil) >= 56.14.100 BuildRequires: pkgconfig(libcddb) BuildRequires: pkgconfig(libcdio) BuildRequires: pkgconfig(libgme) +# Enable PipeWire support on openSUSE Tumbleweed +%if 0%{?suse_version} >= 1550 +BuildRequires: pkgconfig(libpipewire-0.3) >= 0.3.22 +%endif BuildRequires: pkgconfig(libpulse) BuildRequires: pkgconfig(libsidplayfp) -BuildRequires: pkgconfig(libswresample) -BuildRequires: pkgconfig(libswscale) +BuildRequires: pkgconfig(libswresample) >= 3.1.100 +BuildRequires: pkgconfig(libswscale) >= 5.1.100 BuildRequires: pkgconfig(libva) BuildRequires: pkgconfig(libva-glx) -BuildRequires: pkgconfig(taglib) +BuildRequires: pkgconfig(taglib) >= 1.9 BuildRequires: pkgconfig(vdpau) BuildRequires: pkgconfig(xv) Requires(post): hicolor-icon-theme @@ -86,20 +88,23 @@ %build # Build options -# Disable PCH compilation for older versions of openSUSE/SLES -# as it requires cmake >= 3.16. %cmake \ -DCMAKE_SHARED_LINKER_FLAGS="%{?build_ldflags} -Wl,--as-needed -Wl,-z,now" \ - -DUSE_CHIPTUNE_SID=ON \ + -DSOLID_ACTIONS_INSTALL_PATH="%{_datadir}/solid/actions" \ -DUSE_LINK_TIME_OPTIMIZATION=ON \ - %if 0%{?suse_version} >= 1520 -DUSE_PCH=ON \ - %else - -DUSE_PCH=OFF \ - %endif - -DUSE_GLSLC=OFF \ -DUSE_GIT_VERSION=OFF \ - -DSOLID_ACTIONS_INSTALL_PATH="%{_datadir}/solid/actions" + -DUSE_EXTENSIONS=ON \ + -DUSE_CHIPTUNE_SID=ON \ + -DUSE_GLSLC=OFF \ + -DUSE_MEDIABROWSER=ON \ + -DUSE_LASTFM=ON \ + -DUSE_LYRICS=ON \ + -DUSE_RADIO=ON \ + -DUSE_YOUTUBE=ON \ + -DUSE_UPDATES=OFF \ + -DUSE_YOUTUBEDL=ON + %ninja_build %install ++++++ 0001-add-opensuse-customizations.patch ++++++ From: Simon Vogl <simon.v...@gmx.net> Date: Mon, 17 Jul 2020 21:15:29 UTC Subject: [PATCH] Fix broken python detection of QMPlay2 when it tries to launch youtube-dl This patch is required to prevent QMPlay2 from always preferring python2 over python3 which can lead to crashes in certain cases. It also adds openSUSE branding to the about screen. --- a/src/qmplay2/YouTubeDL.cpp +++ b/src/qmplay2/YouTubeDL.cpp @@ -458,25 +458,7 @@ const int idx = shebang.lastIndexOf("python"); if (shebang.startsWith("#!") && idx > -1) { - const auto pythonCmd = shebang.mid(idx); - if (!QStandardPaths::findExecutable(pythonCmd).endsWith(pythonCmd)) - { - QStringList pythonCmdsToCheck { - "python", - "python2", - "python3", - }; - pythonCmdsToCheck.removeOne(pythonCmd); - for (auto &&pythonCmd : qAsConst(pythonCmdsToCheck)) - { - if (QStandardPaths::findExecutable(pythonCmd).endsWith(pythonCmd)) - { - args.prepend(program); - program = pythonCmd; - break; - } - } - } + const auto pythonCmd = "python3"; } ytDlFile.close(); } --- a/src/gui/AboutWidget.cpp +++ b/src/gui/AboutWidget.cpp @@ -43,6 +43,7 @@ labelText += "<b>QMPlay2:</b> " + tr("video and audio player"); labelText += "<br/><b>" + tr("Programmer") + ":</b> <a href='mailto:spa...@wp.pl'>B??a??ej Szczygie??</a>"; labelText += "<br/><b>" + tr("Version") + ":</b> " + QMPlay2Core.getSettings().getString("Version") + " (" + QSysInfo::buildCpuArchitecture() + ")"; + labelText += "<br/><b>This release was supplied by SUSE/openSUSE.</b>"; QLabel *label = new QLabel(labelText); QLabel *iconL = new QLabel; ++++++ QMPlay2-src-20.12.16.tar.xz -> QMPlay2-src-21.03.09.tar.xz ++++++ ++++ 8033 lines of diff (skipped)