Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package minitube for openSUSE:Factory checked in at 2026-09-12 21:21:51 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/minitube (Old) and /work/SRC/openSUSE:Factory/.minitube.new.1265 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "minitube" Sat Sep 12 21:21:51 2026 rev:32 rq:1377532 version:4.0 Changes: -------- --- /work/SRC/openSUSE:Factory/minitube/minitube.changes 2024-02-23 16:47:42.120498695 +0100 +++ /work/SRC/openSUSE:Factory/.minitube.new.1265/minitube.changes 2026-09-12 21:25:45.170531153 +0200 @@ -1,0 +2,40 @@ +Sat Sep 12 09:56:02 UTC 2026 - Andrea Manzini <[email protected]> + +- Update to version 4.0: + * Upstream's main effort for this release is a Qt6 port (release + is tagged "Based on Qt 6"); few other user-facing changes + * Toolbar/UI rework: a compact mode, a top-only toolbar option, + refreshed icons + * Remove the startup nag dialog +- Switch the build from Qt5 to Qt6, following upstream's own + primary target for this release: + * use the qmake6/qmake6_install build macros instead of the + qmake5 ones + * BuildRequires: Qt6Core/DBus/Network/OpenGLWidgets/Sql/Widgets/ + Xml pkgconfig(...) forms and qt6-qml-devel/qt6-tools-linguist, + replacing the Qt5 equivalents + * Drop the Qt5X11Extras BuildRequires: unneeded under Qt6, + already guarded out in lib/media/media.pri + * Drop the libqt5-qtscript-devel BuildRequires: dead weight + already, no QtScript usage anywhere in this release's source + (upstream dropped its internal use back in 2.6) - Qt6 doesn't + even have that module +- Drop minitube-fix-mpv-api-change.patch: the mpv_opengl_init_params + API-version guard it added is now upstream in + lib/media/src/mpv/mpvwidget.cpp +- Add minitube-fix-qt6-wayland-display-type.patch: upstream's own + Qt6/Wayland mpv rendering path assigns QWaylandApplication's + wl_display* into a variable typed as Xlib's Display*, which + fails to compile; use a correctly-typed variable instead + (gh#flaviotordini/minitube#257, also #250 and #255; upstream's + own unmerged fix at gh#flaviotordini/media#5 takes a different, + arguably more idiomatic approach - drops the typed variable and + assigns straight into the void* render-param field) +- Rebase minitube-no-update-check.patch: upstream restructured + lib/updater/updater.pri around the DEFINES *= UPDATER line it + removes, same net effect (internal updater stays disabled) +- spec-cleaner cleanup: drop Group: tag (kept qt6-qml-devel as a + package name, not pkgconfig(Qt6Qml): same 32-bit provider-choice + issue as the pre-existing Qt5 comment, obs-build#724) + +------------------------------------------------------------------- Old: ---- minitube-3.9.3.tar.xz minitube-fix-mpv-api-change.patch New: ---- minitube-4.0.tar.xz minitube-fix-qt6-wayland-display-type.patch ----------(Old B)---------- Old: even have that module - Drop minitube-fix-mpv-api-change.patch: the mpv_opengl_init_params API-version guard it added is now upstream in ----------(Old E)---------- ----------(New B)---------- New: lib/media/src/mpv/mpvwidget.cpp - Add minitube-fix-qt6-wayland-display-type.patch: upstream's own Qt6/Wayland mpv rendering path assigns QWaylandApplication's ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ minitube.spec ++++++ --- /var/tmp/diff_new_pack.Pd2qC4/_old 2026-09-12 21:25:45.799557554 +0200 +++ /var/tmp/diff_new_pack.Pd2qC4/_new 2026-09-12 21:25:45.801557638 +0200 @@ -1,7 +1,7 @@ # # spec file for package minitube # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2026 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,34 +17,32 @@ Name: minitube -Version: 3.9.3 +Version: 4.0 Release: 0 Summary: Native YouTube Client License: GPL-3.0-or-later -Group: Productivity/Multimedia/Video/Players URL: https://flavio.tordini.org/minitube Source: %{name}-%{version}.tar.xz # Manpage written by Jakob Haufe <[email protected]> for the Debian project. Source1: minitube.1 # PATCH-FIX-OPENSUSE minitube-no-update-check.patch -- Disable build of internal updater Patch0: %{name}-no-update-check.patch -# PATCH-FIX-UPSTREAM minitube-fix-mpv-api-change.patch -- Fix for mpv api change in mpv >= 0.34 -- gh#flaviotordini/minitube/#217 -Patch1: minitube-fix-mpv-api-change.patch +# PATCH-FIX-UPSTREAM minitube-fix-qt6-wayland-display-type.patch -- Fix build: QWaylandApplication::display() returns wl_display*, not Xlib's Display* -- gh#flaviotordini/minitube#257 +Patch1: %{name}-fix-qt6-wayland-display-type.patch BuildRequires: fdupes BuildRequires: hicolor-icon-theme -BuildRequires: libqt5-linguist -BuildRequires: libqt5-qtdeclarative-devel -# Have 32bit choice when build with pkgconfig - https://github.com/openSUSE/obs-build/issues/724 - instead pkgconfig(Qt5Script) use libqt5-qtscript-devel -BuildRequires: libqt5-qtscript-devel BuildRequires: pkgconfig +# Have 32bit choice when build with pkgconfig - https://github.com/openSUSE/obs-build/issues/724 - instead pkgconfig(Qt6Qml) use qt6-qml-devel +BuildRequires: qt6-qml-devel +BuildRequires: qt6-tools-linguist BuildRequires: update-desktop-files -BuildRequires: pkgconfig(Qt5Core) >= 5.12 -BuildRequires: pkgconfig(Qt5DBus) -BuildRequires: pkgconfig(Qt5Network) -BuildRequires: pkgconfig(Qt5Sql) -BuildRequires: pkgconfig(Qt5Widgets) -BuildRequires: pkgconfig(Qt5X11Extras) -BuildRequires: pkgconfig(Qt5Xml) +BuildRequires: pkgconfig(Qt6Core) +BuildRequires: pkgconfig(Qt6DBus) +BuildRequires: pkgconfig(Qt6Network) +BuildRequires: pkgconfig(Qt6OpenGLWidgets) +BuildRequires: pkgconfig(Qt6Sql) +BuildRequires: pkgconfig(Qt6Widgets) +BuildRequires: pkgconfig(Qt6Xml) BuildRequires: pkgconfig(mpv) >= 0.29.0 Recommends: %{name}-lang @@ -66,12 +64,12 @@ sed -i "s/__DATE__/\"$FAKE_BUILDDATE\"/" src/aboutview.cpp %build -%qmake5 \ +%{qmake6} \ PREFIX=%{_prefix} %make_build %install -%qmake5_install +%{qmake6_install} install -Dpm 0644 %{SOURCE1} %{buildroot}%{_mandir}/man1/%{name}.1 %suse_update_desktop_file -r %{name} AudioVideo Video Player # symlink for german translation file de_DE -> de ++++++ _service ++++++ --- /var/tmp/diff_new_pack.Pd2qC4/_old 2026-09-12 21:25:45.835559066 +0200 +++ /var/tmp/diff_new_pack.Pd2qC4/_new 2026-09-12 21:25:45.838559191 +0200 @@ -1,15 +1,15 @@ <services> - <service mode="disabled" name="tar_scm"> + <service mode="manual" name="tar_scm"> <param name="scm">git</param> <param name="url">https://github.com/flaviotordini/minitube.git</param> <param name="filename">minitube</param> <param name="versionformat">@PARENT_TAG@</param> - <param name="revision">3.9.3</param> + <param name="revision">4.0</param> </service> - <service mode="disabled" name="recompress"> + <service mode="manual" name="recompress"> <param name="file">*.tar</param> <param name="compression">xz</param> </service> - <service mode="disabled" name="set_version" /> + <service mode="manual" name="set_version" /> </services> ++++++ minitube-3.9.3.tar.xz -> minitube-4.0.tar.xz ++++++ ++++ 31152 lines of diff (skipped) ++++++ minitube-fix-qt6-wayland-display-type.patch ++++++ --- minitube-4.0/lib/media/src/mpv/mpvwidget.cpp +++ new/lib/media/src/mpv/mpvwidget.cpp @@ -54,13 +54,14 @@ isPlatformX11 = QX11Info::isPlatformX11(); #else Display *display = nullptr; + struct wl_display *wlDisplay = nullptr; if (auto *ni = qGuiApp->nativeInterface<QNativeInterface::QX11Application>()) { display = ni->display(); isPlatformX11 = true; } #if QT_VERSION >= QT_VERSION_CHECK(6, 5, 0) else if (auto *ni = qGuiApp->nativeInterface<QNativeInterface::QWaylandApplication>()) { - display = ni->display(); + wlDisplay = ni->display(); isPlatformWayland = true; } #endif @@ -70,7 +71,7 @@ params[2].data = (void *)display; } else if (isPlatformWayland) { params[2].type = MPV_RENDER_PARAM_WL_DISPLAY; - params[2].data = (void *)display; + params[2].data = (void *)wlDisplay; } #endif ++++++ minitube-no-update-check.patch ++++++ --- /var/tmp/diff_new_pack.Pd2qC4/_old 2026-09-12 21:25:46.259576862 +0200 +++ /var/tmp/diff_new_pack.Pd2qC4/_new 2026-09-12 21:25:46.264577072 +0200 @@ -1,9 +1,8 @@ -diff -Nur minitube-3.6.2/lib/updater/updater.pri new/lib/updater/updater.pri ---- minitube-3.6.2/lib/updater/updater.pri 2020-10-08 20:46:57.000000000 +0200 -+++ new/lib/updater/updater.pri 2020-10-18 09:05:47.632647217 +0200 +--- minitube-4.0/lib/updater/updater.pri ++++ new/lib/updater/updater.pri @@ -1,4 +1,3 @@ -DEFINES *= UPDATER INCLUDEPATH += $$PWD/src - DEPENDPATH += $$PWD/src +
