Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package fooyin for openSUSE:Factory checked in at 2025-06-27 23:01:09 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/fooyin (Old) and /work/SRC/openSUSE:Factory/.fooyin.new.7067 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "fooyin" Fri Jun 27 23:01:09 2025 rev:10 rq:1288699 version:0.8.1 Changes: -------- --- /work/SRC/openSUSE:Factory/fooyin/fooyin.changes 2024-10-16 23:51:29.504840672 +0200 +++ /work/SRC/openSUSE:Factory/.fooyin.new.7067/fooyin.changes 2025-06-27 23:02:33.736364108 +0200 @@ -1,0 +2,12 @@ +Thu Jun 26 05:55:31 UTC 2025 - mun...@googlemail.com + +- Add fix-Qt_NoBrush.patch based on upstream commits e44e08a and 7e1463b + * Clang-Tidy fixes + * Clear background brush with Qt::NoBrush + +- Clean up spec file + * Use KDSingleApplication-qt6 + * Use fdupes and ninja + * Add %check and %find_lang + +------------------------------------------------------------------- New: ---- fix-Qt_NoBrush.patch ----------(New B)---------- New: - Add fix-Qt_NoBrush.patch based on upstream commits e44e08a and 7e1463b * Clang-Tidy fixes ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ fooyin.spec ++++++ --- /var/tmp/diff_new_pack.xp1OMl/_old 2025-06-27 23:02:34.356389661 +0200 +++ /var/tmp/diff_new_pack.xp1OMl/_new 2025-06-27 23:02:34.360389825 +0200 @@ -1,7 +1,7 @@ # # spec file for package fooyin # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -21,10 +21,15 @@ Release: 0 Summary: A customisable music player built with Qt License: GPL-3.0-only -URL: https://github.com/ludouzi/%{name} -Source: https://github.com/ludouzi/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz +URL: https://www.fooyin.org/ +Source0: https://github.com/fooyin/fooyin/archive/v%{version}/%{name}-%{version}.tar.gz +# PATCH-FIX-UPSTREAM fix-Qt_NoBrush.patch -- based on commits e44e08a and 7e1463b +Patch0: fix-Qt_NoBrush.patch BuildRequires: c++_compiler +BuildRequires: desktop-file-utils +BuildRequires: fdupes BuildRequires: hicolor-icon-theme +BuildRequires: ninja BuildRequires: qt6-base-devel BuildRequires: cmake(KDSingleApplication-qt6) BuildRequires: cmake(Qt6Core) @@ -61,23 +66,33 @@ %autosetup -p1 %build +%define __builder ninja %cmake -DBUILD_LIBVGM=OFF %cmake_build %install %cmake_install -# No header files were installed, so... no point in keeping the -# component libraries' devel files. -rm -fv %{buildroot}/%{_libdir}/fooyin/*.so -%files +# fix "E: files-duplicated-waste" +rm -rv %{buildroot}%{_datadir}/doc + +%find_lang %{name} --with-qt + +%fdupes -s %{buildroot}%{_datadir}/%{name} + +%check +desktop-file-validate %{buildroot}%{_datadir}/applications/org.%{name}.%{name}.desktop + +%files -f %{name}.lang %license COPYING %doc README.md %{_bindir}/%{name} -%{_datadir}/applications/* -%{_datadir}/doc/%{name} -%{_datadir}/metainfo/* +%dir %{_datadir}/%{name} +%dir %{_datadir}/%{name}/translations +%{_datadir}/applications/org.%{name}.%{name}.desktop %{_datadir}/icons/hicolor/*/apps/org.%{name}.%{name}.* -%{_datadir}/%{name} -%{_libdir}/%{name}/ +%{_datadir}/metainfo/org.%{name}.%{name}.metainfo.xml +%dir %{_libdir}/%{name} +%{_libdir}/%{name}/lib%{name}_{core,gui,utils}.so.0.0.0 +%{_libdir}/%{name}/plugins ++++++ fix-Qt_NoBrush.patch ++++++ >From e44e08abb33f01fe85cc896170c55dbf732ffcc9 Mon Sep 17 00:00:00 2001 From: Luke Taylor <luk...@proton.me> Date: Sun, 16 Feb 2025 17:35:12 +0000 Subject: [PATCH] [gui] Clang-Tidy fixes --- src/gui/dirbrowser/dirdelegate.cpp | 2 +- src/gui/librarytree/librarytreedelegate.cpp | 2 +- src/gui/playlist/organiser/playlistorganiserdelegate.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gui/dirbrowser/dirdelegate.cpp b/src/gui/dirbrowser/dirdelegate.cpp index 1528ba8ed..9a6ccfbf8 100644 --- a/src/gui/dirbrowser/dirdelegate.cpp +++ b/src/gui/dirbrowser/dirdelegate.cpp @@ -34,7 +34,7 @@ void DirDelegate::paint(QPainter* painter, const QStyleOptionViewItem& option, c if(opt.backgroundBrush.style() != Qt::NoBrush) { painter->fillRect(option.rect, opt.backgroundBrush); - opt.backgroundBrush = {}; + opt.backgroundBrush = QBrush{}; } style->drawControl(QStyle::CE_ItemViewItem, &opt, painter, option.widget); diff --git a/src/gui/librarytree/librarytreedelegate.cpp b/src/gui/librarytree/librarytreedelegate.cpp index 66ed77bc9..9db3c9b0b 100644 --- a/src/gui/librarytree/librarytreedelegate.cpp +++ b/src/gui/librarytree/librarytreedelegate.cpp @@ -42,7 +42,7 @@ void LibraryTreeDelegate::paint(QPainter* painter, const QStyleOptionViewItem& o if(opt.backgroundBrush.style() != Qt::NoBrush) { painter->fillRect(option.rect, opt.backgroundBrush); - opt.backgroundBrush = {}; + opt.backgroundBrush = QBrush{}; } style->drawControl(QStyle::CE_ItemViewItem, &opt, painter, option.widget); diff --git a/src/gui/playlist/organiser/playlistorganiserdelegate.cpp b/src/gui/playlist/organiser/playlistorganiserdelegate.cpp index 6ef53c8d6..1c96c36ea 100644 --- a/src/gui/playlist/organiser/playlistorganiserdelegate.cpp +++ b/src/gui/playlist/organiser/playlistorganiserdelegate.cpp @@ -35,7 +35,7 @@ void PlaylistOrganiserDelegate::paint(QPainter* painter, const QStyleOptionViewI if(opt.backgroundBrush.style() != Qt::NoBrush) { painter->fillRect(option.rect, opt.backgroundBrush); - opt.backgroundBrush = {}; + opt.backgroundBrush = QBrush{}; } style->drawControl(QStyle::CE_ItemViewItem, &opt, painter, option.widget); >From 7e1463b9f3410e9c531e53cd2227e5cef5d2d6c9 Mon Sep 17 00:00:00 2001 From: Luke Taylor <luk...@proton.me> Date: Thu, 29 May 2025 20:56:28 +0100 Subject: [PATCH] [gui] Clear background brush with Qt::NoBrush --- src/gui/dirbrowser/dirdelegate.cpp | 2 +- src/gui/librarytree/librarytreedelegate.cpp | 2 +- src/gui/playlist/organiser/playlistorganiserdelegate.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gui/dirbrowser/dirdelegate.cpp b/src/gui/dirbrowser/dirdelegate.cpp index 9a6ccfbf..22a40d4b 100644 --- a/src/gui/dirbrowser/dirdelegate.cpp +++ b/src/gui/dirbrowser/dirdelegate.cpp @@ -34,7 +34,7 @@ void DirDelegate::paint(QPainter* painter, const QStyleOptionViewItem& option, c if(opt.backgroundBrush.style() != Qt::NoBrush) { painter->fillRect(option.rect, opt.backgroundBrush); - opt.backgroundBrush = QBrush{}; + opt.backgroundBrush = Qt::NoBrush; } style->drawControl(QStyle::CE_ItemViewItem, &opt, painter, option.widget); diff --git a/src/gui/librarytree/librarytreedelegate.cpp b/src/gui/librarytree/librarytreedelegate.cpp index 9db3c9b0..82871536 100644 --- a/src/gui/librarytree/librarytreedelegate.cpp +++ b/src/gui/librarytree/librarytreedelegate.cpp @@ -42,7 +42,7 @@ void LibraryTreeDelegate::paint(QPainter* painter, const QStyleOptionViewItem& o if(opt.backgroundBrush.style() != Qt::NoBrush) { painter->fillRect(option.rect, opt.backgroundBrush); - opt.backgroundBrush = QBrush{}; + opt.backgroundBrush = Qt::NoBrush; } style->drawControl(QStyle::CE_ItemViewItem, &opt, painter, option.widget); diff --git a/src/gui/playlist/organiser/playlistorganiserdelegate.cpp b/src/gui/playlist/organiser/playlistorganiserdelegate.cpp index 1c96c36e..bd11b88e 100644 --- a/src/gui/playlist/organiser/playlistorganiserdelegate.cpp +++ b/src/gui/playlist/organiser/playlistorganiserdelegate.cpp @@ -35,7 +35,7 @@ void PlaylistOrganiserDelegate::paint(QPainter* painter, const QStyleOptionViewI if(opt.backgroundBrush.style() != Qt::NoBrush) { painter->fillRect(option.rect, opt.backgroundBrush); - opt.backgroundBrush = QBrush{}; + opt.backgroundBrush = Qt::NoBrush; } style->drawControl(QStyle::CE_ItemViewItem, &opt, painter, option.widget);