Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package wfview for openSUSE:Factory checked 
in at 2026-07-21 23:00:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/wfview (Old)
 and      /work/SRC/openSUSE:Factory/.wfview.new.24530 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "wfview"

Tue Jul 21 23:00:53 2026 rev:5 rq:1366757 version:2.11

Changes:
--------
--- /work/SRC/openSUSE:Factory/wfview/wfview.changes    2026-01-17 
14:57:22.825778440 +0100
+++ /work/SRC/openSUSE:Factory/.wfview.new.24530/wfview.changes 2026-07-21 
23:00:55.786803901 +0200
@@ -1,0 +2,6 @@
+Sun Jul 19 20:46:19 UTC 2026 - Andreas Stieger <[email protected]>
+
+- rework spec file
+- fix build on Tumbleweed, wfview-2.11-cachingqueue-const.patch
+
+-------------------------------------------------------------------

Old:
----
  wfview-v2.11.tar.bz2

New:
----
  wfview-2.11-cachingqueue-const.patch
  wfview-2.11.tar.gz

----------(New B)----------
  New:- rework spec file
- fix build on Tumbleweed, wfview-2.11-cachingqueue-const.patch
----------(New E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ wfview.spec ++++++
--- /var/tmp/diff_new_pack.bC2FQG/_old  2026-07-21 23:00:56.734836599 +0200
+++ /var/tmp/diff_new_pack.bC2FQG/_new  2026-07-21 23:00:56.738836737 +0200
@@ -2,6 +2,7 @@
 # spec file for package wfview
 #
 # Copyright (c) 2025 Wojciech Kazubski <[email protected]>
+# Copyright (c) 2026 Andreas Stieger <[email protected]>
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -15,12 +16,6 @@
 # Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
-%if 0%{?suse_version} >= 1600
-%define with_qt6 1
-%else
-%define with_qt6 0
-%endif
-
 Name:           wfview
 Version:        2.11
 Release:        0
@@ -28,34 +23,26 @@
 License:        GPL-3.0-or-later
 Group:          Productivity/Hamradio/Other
 URL:            https://wfview.org/
-Source:         
https://gitlab.com/eliggett/%{name}/-/archive/v%{version}/%{name}-v%{version}.tar.bz2
+Source:         
https://github.com/wf-group/wfview/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
 Patch0:         wfview-add-qcustomplot-library-name.patch
-BuildRequires:  eigen3-devel
-BuildRequires:  gcc-c++
+Patch1:         wfview-2.11-cachingqueue-const.patch
+BuildRequires:  c++_compiler
 BuildRequires:  hicolor-icon-theme
 BuildRequires:  libhidapi-devel
-BuildRequires:  libopus-devel
-%if 0%{with_qt6}
-BuildRequires:  qt6-multimedia-devel
-BuildRequires:  qt6-printsupport-devel
-BuildRequires:  qt6-serialport-devel
-BuildRequires:  qt6-websockets-devel
-BuildRequires:  qt6-xml-devel
-%else
-BuildRequires:  libqt5-qtbase-devel
-BuildRequires:  libqt5-qtgamepad-devel
-BuildRequires:  libqt5-qtmultimedia-devel
-BuildRequires:  libqt5-qtserialport-devel
-BuildRequires:  libqt5-qtwebsockets-devel
-%endif
+BuildRequires:  pkgconfig
 BuildRequires:  portaudio-devel
-%if 0%{with_qt6}
-BuildRequires:  qcustomplot-qt6-devel
-%else
-BuildRequires:  qcustomplot-devel
-%endif
-BuildRequires:  rtaudio-devel
-BuildRequires:  update-desktop-files
+BuildRequires:  cmake(Qt6)
+BuildRequires:  cmake(Qt6Core)
+BuildRequires:  cmake(Qt6Gui)
+BuildRequires:  cmake(Qt6Multimedia)
+BuildRequires:  cmake(Qt6PrintSupport)
+BuildRequires:  cmake(Qt6SerialPort)
+BuildRequires:  cmake(Qt6WebSockets)
+BuildRequires:  cmake(Qt6Xml)
+BuildRequires:  pkgconfig(eigen3)
+BuildRequires:  pkgconfig(opus)
+BuildRequires:  pkgconfig(qcustomplot-qt6)
+BuildRequires:  pkgconfig(rtaudio)
 Requires:       hicolor-icon-theme
 
 %description
@@ -66,14 +53,10 @@
 loopback (windows), or hamlib-compatible rigctld server.
 
 %prep
-%autosetup -p1 -n %{name}-v%{version}
+%autosetup -p1
 
 %build
-%if 0%{with_qt6}
-%qmake6 \
-%else
-%qmake5 \
-%endif
+%{qmake6} \
        %{name}.pro \
        PREFIX=%{_prefix} \
        %{nil}
@@ -82,9 +65,6 @@
 %install
 %make_install INSTALL_ROOT=%{buildroot}
 
-#install desktop file
-%suse_update_desktop_file %{name} HamRadio
-
 %files
 %doc CHANGELOG CI-V.md CONTRIBUTING.md README.md WHATSNEW
 %license LICENSE

++++++ wfview-2.11-cachingqueue-const.patch ++++++
[   23s] In file included from /usr/include/qt6/QtCore/qdebug.h:42,
[   23s]                  from /usr/include/qt6/QtCore/qloggingcategory.h:9,
[   23s]                  from /usr/include/qt6/QtCore/QLoggingCategory:1,
[   23s]                  from logcategories.h:4,
[   23s]                  from cachingqueue.cpp:8:
[   23s] /usr/include/qt6/QtCore/qmap.h: In instantiation of ‘QMultiMap<Key, 
T>::size_type QMultiMap<Key, T>::remove(const Key&, const T&) [with Key = 
queuePriority; T = queueItem; size_type = long long int]’:
[   23s] cachingqueue.cpp:190:47:   required from here
[   23s]   190 |                         int count=queue.remove(prio,item);
[   23s]       |                                   ~~~~~~~~~~~~^~~~~~~~~~~
[   23s] /usr/include/qt6/QtCore/qmap.h:1168:34: error: passing ‘const 
queueItem’ as ‘this’ argument discards qualifiers [-fpermissive]
[   23s]  1168 |                 if (!(it->second == value))
[   23s]       |                      ~~~~~~~~~~~~^~~~~~~~~
[   23s] In file included from cachingqueue.cpp:9:
[   23s] cachingqueue.h:42:10: note:   in call to ‘bool 
queueItem::operator==(const queueItem&)’
[   23s]    42 |     bool operator==(const queueItem& lhs)
[   23s]       |          ^~~~~~~~

Index: wfview-2.11/cachingqueue.h
===================================================================
--- wfview-2.11.orig/cachingqueue.h
+++ wfview-2.11/cachingqueue.h
@@ -39,7 +39,7 @@ struct queueItem {
     uchar receiver;
     bool recurring;
     qint64 id = QDateTime::currentMSecsSinceEpoch();
-    bool operator==(const queueItem& lhs)
+    bool operator==(const queueItem& lhs) const
     {
         return (lhs.command == command && lhs.receiver == receiver && 
lhs.recurring == recurring);
     }

Reply via email to