commit qpwgraph for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package qpwgraph for openSUSE:Factory checked in at 2022-10-23 16:33:08 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/qpwgraph (Old) and /work/SRC/openSUSE:Factory/.qpwgraph.new.2275 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "qpwgraph" Sun Oct 23 16:33:08 2022 rev:12 rq:1030553 version:0.3.7 Changes: -------- --- /work/SRC/openSUSE:Factory/qpwgraph/qpwgraph.changes 2022-09-25 15:36:04.159733664 +0200 +++ /work/SRC/openSUSE:Factory/.qpwgraph.new.2275/qpwgraph.changes 2022-10-23 16:33:22.719296919 +0200 @@ -1,0 +2,8 @@ +Sat Oct 22 19:35:23 UTC 2022 - Alexei Sorokin <sor.alexei@meowr.ru> + +- Update to version 0.3.7: + * Fix the system-tray icon tooltip to always reflect current + main window title, usually the current patchbay name. + * Make up visual immediate feedback connections. + +------------------------------------------------------------------- Old: ---- qpwgraph-v0.3.6.tar.bz2 New: ---- qpwgraph-v0.3.7.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ qpwgraph.spec ++++++ --- /var/tmp/diff_new_pack.TOwXW0/_old 2022-10-23 16:33:23.167298019 +0200 +++ /var/tmp/diff_new_pack.TOwXW0/_new 2022-10-23 16:33:23.171298029 +0200 @@ -17,7 +17,7 @@ Name: qpwgraph -Version: 0.3.6 +Version: 0.3.7 Release: 0 Summary: PipeWire Graph Qt GUI Interface License: GPL-2.0-or-later ++++++ qpwgraph-v0.3.6.tar.bz2 -> qpwgraph-v0.3.7.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qpwgraph-v0.3.6/.gitlab-ci.yml new/qpwgraph-v0.3.7/.gitlab-ci.yml --- old/qpwgraph-v0.3.6/.gitlab-ci.yml 2022-09-24 13:09:34.000000000 +0200 +++ new/qpwgraph-v0.3.7/.gitlab-ci.yml 2022-10-22 10:51:40.000000000 +0200 @@ -37,8 +37,8 @@ .fedora: variables: # Update this tag when you want to trigger a rebuild - FDO_DISTRIBUTION_TAG: '2022-04-12.0' - FDO_DISTRIBUTION_VERSION: '35' + FDO_DISTRIBUTION_TAG: '2022-10-14.1' + FDO_DISTRIBUTION_VERSION: '36' FDO_DISTRIBUTION_PACKAGES: >- gcc gcc-c++ @@ -54,8 +54,8 @@ .ubuntu: variables: # Update this tag when you want to trigger a rebuild - FDO_DISTRIBUTION_TAG: '2022-04-12.0' - FDO_DISTRIBUTION_VERSION: '21.10' + FDO_DISTRIBUTION_TAG: '2022-10-14.1' + FDO_DISTRIBUTION_VERSION: '22.04' FDO_DISTRIBUTION_PACKAGES: >- debhelper-compat gcc @@ -74,7 +74,6 @@ - echo "Building application..." - cmake -DCMAKE_INSTALL_PREFIX=$CI_PROJECT_DIR/usr/local -DCONFIG_QT6=OFF - -DCONFIG_ALSA_MIDI=ON -B build - cmake --build build - cmake --install build diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qpwgraph-v0.3.6/CMakeLists.txt new/qpwgraph-v0.3.7/CMakeLists.txt --- old/qpwgraph-v0.3.6/CMakeLists.txt 2022-09-24 13:09:34.000000000 +0200 +++ new/qpwgraph-v0.3.7/CMakeLists.txt 2022-10-22 10:51:40.000000000 +0200 @@ -1,7 +1,7 @@ cmake_minimum_required (VERSION 3.15) project(qpwgraph - VERSION 0.3.6 + VERSION 0.3.7 DESCRIPTION "A PipeWire Graph Qt GUI Interface" HOMEPAGE_URL "https://gitlab.freedesktop.org/rncbc/qpwgraph" LANGUAGES C CXX) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qpwgraph-v0.3.6/ChangeLog new/qpwgraph-v0.3.7/ChangeLog --- old/qpwgraph-v0.3.6/ChangeLog 2022-09-24 13:09:34.000000000 +0200 +++ new/qpwgraph-v0.3.7/ChangeLog 2022-10-22 10:51:40.000000000 +0200 @@ -2,6 +2,13 @@ -------------------------------------------- +0.3.7 2022-10-22 An autumn'22 release. + +- Fixed the system-tray icon tooltip to always reflect current + main window title, usually the current patchbay name. +- Make up visual immediate feedback connectlons. + + 0.3.6 2022-09-24 An early-autumn'22 release. - View / Repel Overlapping Nodes option added. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qpwgraph-v0.3.6/debian/changelog new/qpwgraph-v0.3.7/debian/changelog --- old/qpwgraph-v0.3.6/debian/changelog 1970-01-01 01:00:00.000000000 +0100 +++ new/qpwgraph-v0.3.7/debian/changelog 2022-10-22 10:51:40.000000000 +0200 @@ -0,0 +1,114 @@ +qpwgraph (0.3.7-19.1) unstable; urgency=low + + * An autumn'22 release. + + -- Rui Nuno Capela <rncbc@rncbc.org> Sat, 22 Oct 2022 12:00:00 +0100 + +qpwgraph (0.3.6-18.1) unstable; urgency=low + + * An early-autumn'22 release. + + -- Rui Nuno Capela <rncbc@rncbc.org> Sat, 24 Sep 2022 12:00:00 +0100 + +qpwgraph (0.3.5-17.1) unstable; urgency=low + + * A thirteenth beta release. + + -- Rui Nuno Capela <rncbc@rncbc.org> Sat, 20 Aug 2022 14:00:00 +0100 + +qpwgraph (0.3.4-16.1) unstable; urgency=low + + * A twelfth beta release. + + -- Rui Nuno Capela <rncbc@rncbc.org> Fri, 8 Jul 2022 18:00:00 +0100 + +qpwgraph (0.3.3-15.1) unstable; urgency=low + + * An eleventh beta release. + + -- Rui Nuno Capela <rncbc@rncbc.org> Wed, 6 Jul 2022 20:00:00 +0100 + +qpwgraph (0.3.2-14.1) unstable; urgency=low + + * A tenth beta release. + + -- Rui Nuno Capela <rncbc@rncbc.org> Mon, 13 Jun 2022 10:00:00 +0100 + +qpwgraph (0.3.1-13.1) unstable; urgency=low + + * A ninth beta release. + + -- Rui Nuno Capela <rncbc@rncbc.org> Sun, 29 May 2022 12:00:00 +0100 + +qpwgraph (0.3.0-12.1) unstable; urgency=low + + * An eighth beta release. + + -- Rui Nuno Capela <rncbc@rncbc.org> Sat, 21 May 2022 12:00:00 +0100 + +qpwgraph (0.2.6-11.1) unstable; urgency=low + + * A seventh beta release. + + -- Rui Nuno Capela <rncbc@rncbc.org> Sat, 23 Apr 2022 12:00:00 +0100 + +qpwgraph (0.2.5-10.1) unstable; urgency=low + + * A sixth beta release. + + -- Rui Nuno Capela <rncbc@rncbc.org> Wed, 6 Apr 2022 18:00:00 +0100 + +qpwgraph (0.2.4-9.1) unstable; urgency=low + + * A fifth beta release. + + -- Rui Nuno Capela <rncbc@rncbc.org> Sat, 19 Mar 2022 12:00:00 +0000 + +qpwgraph (0.2.3-8.1) unstable; urgency=low + + * A fourth beta release. + + -- Rui Nuno Capela <rncbc@rncbc.org> Sat, 12 Mar 2022 12:00:00 +0000 + +qpwgraph (0.2.2-7.1) unstable; urgency=low + + * A thrice beta than before. + + -- Rui Nuno Capela <rncbc@rncbc.org> Wed, 2 Mar 2022 18:00:00 +0000 + +qpwgraph (0.2.1-6.1) unstable; urgency=low + + * Just a second beta. + * Patchbay feature introduced. + + -- Rui Nuno Capela <rncbc@rncbc.org> Sat, 26 Feb 2022 12:00:00 +0000 + +qpwgraph (0.2.0-5.1) unstable; urgency=low + + * Enter first beta. + + -- Rui Nuno Capela <rncbc@rncbc.org> Sun, 16 Jan 2022 15:00:00 +0000 + +qpwgraph (0.1.3-4.2) unstable; urgency=low + + * A Winter'22 Release. + + -- Rui Nuno Capela <rncbc@rncbc.org> Thu, 13 Jan 2022 11:00:00 +0000 + +qpwgraph (0.1.2-3.1) unstable; urgency=low + + * One third alpha. + + -- Rui Nuno Capela <rncbc@rncbc.org> Sat, 1 Jan 2022 11:00:00 +0000 + +qpwgraph (0.1.1-2.1) unstable; urgency=low + + * One second alpha. + + -- Rui Nuno Capela <rncbc@rncbc.org> Sat, 18 Dec 2021 21:00:00 +0000 + +qpwgraph (0.1.0-1.1) unstable; urgency=low + + * One first alpha. + + -- Rui Nuno Capela <rncbc@rncbc.org> Mon, 6 Dec 2021 20:00:00 +0000 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qpwgraph-v0.3.6/debian/compat new/qpwgraph-v0.3.7/debian/compat --- old/qpwgraph-v0.3.6/debian/compat 1970-01-01 01:00:00.000000000 +0100 +++ new/qpwgraph-v0.3.7/debian/compat 2022-10-22 10:51:40.000000000 +0200 @@ -0,0 +1 @@ +11 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qpwgraph-v0.3.6/debian/control new/qpwgraph-v0.3.7/debian/control --- old/qpwgraph-v0.3.6/debian/control 1970-01-01 01:00:00.000000000 +0100 +++ new/qpwgraph-v0.3.7/debian/control 2022-10-22 10:51:40.000000000 +0200 @@ -0,0 +1,25 @@ +Source: qpwgraph +Section: contrib/sound +Priority: extra +Maintainer: Rui Nuno Capela <rncbc@rncbc.org> +Build-Depends: debhelper (>= 11), cmake, pkg-config, + build-essential, g++ (>= 8), g++-11 | g++-10 | g++-9 | g++-8, + qt6-base-dev (>= 6.1) | qtbase5-dev (>= 5.1), + qt6-base-dev-tools (>= 6.1) | qtbase5-dev-tools (>= 5.1), + qt6-tools-dev (>= 6.1) | qttools5-dev (>= 5.1), + qt6-tools-dev-tools (>= 6.1) | qttools5-dev-tools (>= 5.1), + qt6-l10n-tools (>= 6.1) | base-files (<< 12), + libqt6svg6-dev | libqt5svg5-dev, libgl-dev, + libasound2-dev, libpipewire-0.3-dev +Standards-Version: 3.9.7 + +Package: qpwgraph +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, + libqt6svg6 (>= 6.1) | libqt5svg5 (>= 5.1), + qt6-qpa-plugins | base-files (<< 12) +Description: A PipeWire Graph Qt GUI Interface + qpwgraph is a graph manager dedicated to PipeWire (https://pipewire.org), + using the Qt C++ framework (https://qt.io), based and pretty much like the + same of QjackCtl (https://qjackctl.sourceforge.io). + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qpwgraph-v0.3.6/debian/copyright new/qpwgraph-v0.3.7/debian/copyright --- old/qpwgraph-v0.3.6/debian/copyright 1970-01-01 01:00:00.000000000 +0100 +++ new/qpwgraph-v0.3.7/debian/copyright 2022-10-22 10:51:40.000000000 +0200 @@ -0,0 +1,33 @@ +This package was debianized by Rui Nuno Capela <rncbc@rncbc.org> on +Mon, 6 Dec 2021 20:00:00 +0000. + +It was downloaded from https://gitlab.freedesktop.org/rncbc/qpwgraph + +Upstream Author: Rui Nuno Capela <rncbc@rncbc.org> + +Copyright: + + Copyright (C) 2021-2022, rncbc aka Rui Nuno Capela. All rights reserved. + +License: + + This program is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License + as published by the Free Software Foundation; either version 2 + of the License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. + +The Debian packaging is (C) 2021-2022, Rui Nuno Capela <rncbc@rncbc.org> and +is licensed under the GPL, see above. + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qpwgraph-v0.3.6/debian/docs new/qpwgraph-v0.3.7/debian/docs --- old/qpwgraph-v0.3.6/debian/docs 1970-01-01 01:00:00.000000000 +0100 +++ new/qpwgraph-v0.3.7/debian/docs 2022-10-22 10:51:40.000000000 +0200 @@ -0,0 +1,3 @@ +README.md +LICENSE.md +ChangeLog diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qpwgraph-v0.3.6/debian/rules new/qpwgraph-v0.3.7/debian/rules --- old/qpwgraph-v0.3.6/debian/rules 1970-01-01 01:00:00.000000000 +0100 +++ new/qpwgraph-v0.3.7/debian/rules 2022-10-22 10:51:40.000000000 +0200 @@ -0,0 +1,16 @@ +#!/usr/bin/make -f + +export CXX_MAJOR_VERSION = $(shell g++ -dumpversion) +export CXX = $(shell \ + [ $(CXX_MAJOR_VERSION) -lt 8 ] && \ + echo "/usr/bin/g++-8" || \ + echo "/usr/bin/g++") + +%: + dh $@ + +override_dh_auto_configure: + # Add here commands to configure the package. + CXX=$(CXX) \ + cmake -DCMAKE_INSTALL_PREFIX=/usr -DCONFIG_ALSA_MIDI=ON . + # --- end custom part for configure diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qpwgraph-v0.3.6/rpm/qpwgraph.spec new/qpwgraph-v0.3.7/rpm/qpwgraph.spec --- old/qpwgraph-v0.3.6/rpm/qpwgraph.spec 1970-01-01 01:00:00.000000000 +0100 +++ new/qpwgraph-v0.3.7/rpm/qpwgraph.spec 2022-10-22 10:51:40.000000000 +0200 @@ -0,0 +1,178 @@ +# +# spec file for package qmidinet +# +# Copyright (C) 2021-2022, rncbc aka Rui Nuno Capela. All rights reserved. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + +%define name qpwgraph +%define version 0.3.7 +%define release 19.1 + +%define _prefix /usr + +%if %{defined fedora} +%define debug_package %{nil} +%endif + +%if 0%{?fedora_version} >= 34 || 0%{?suse_version} > 1500 +%define qt_major_version 6 +%else +%define qt_major_version 5 +%endif + +Summary: A PipeWire Graph Qt GUI Interface +Name: %{name} +Version: %{version} +Release: %{release} +License: GPL-2.0+ +Group: Productivity/Multimedia/Sound/Midi +Source0: %{name}-%{version}.tar.gz +URL: https://gitlab.freedesktop.org/rncbc/qpwgraph +Packager: rncbc.org + +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot + +BuildRequires: coreutils +BuildRequires: pkgconfig +BuildRequires: glibc-devel +BuildRequires: gcc-c++ +%if %{defined fedora} || 0%{?suse_version} > 1500 +BuildRequires: gcc-c++ >= 8 +%define CXX /usr/bin/g++ +%else +BuildRequires: gcc8-c++ >= 8 +%define CXX /usr/bin/g++-8 +%endif +%if %{defined fedora} +%if 0%{qt_major_version} == 6 +BuildRequires: qt6-qtbase-devel >= 6.1 +BuildRequires: qt6-qttools-devel +BuildRequires: qt6-qtwayland-devel +BuildRequires: qt6-qtsvg-devel +BuildRequires: qt6-linguist +%else +BuildRequires: qt5-qtbase-devel >= 5.1 +BuildRequires: qt5-qttools-devel +BuildRequires: qt5-qtwayland-devel +BuildRequires: qt5-qtsvg-devel +BuildRequires: qt5-linguist +%endif +BuildRequires: alsa-lib-devel +%else +%if 0%{qt_major_version} == 6 +BuildRequires: qt6-base-devel >= 6.1 +BuildRequires: qt6-tools-devel +BuildRequires: qt6-wayland-devel +BuildRequires: qt6-svg-devel +BuildRequires: qt6-linguist-devel +%else +BuildRequires: libqt5-qtbase-devel >= 5.1 +BuildRequires: libqt5-qttools-devel +BuildRequires: libqt5-qtwayland-devel +BuildRequires: libqt5-qtsvg-devel +BuildRequires: libqt5-linguist-devel +%endif +BuildRequires: alsa-devel +%endif +BuildRequires: pipewire-devel + +%if %{defined fedora} +BuildRequires: liblilv-0-0 libsratom-0-0 libsord-0-0 libserd-0-0 +%endif + +%description +qpwgraph is a graph manager dedicated for PipeWire (https://pipewire.org), +using the Qt C++ framework (https://qt.io), based and pretty much like the +same of QjackCtl (https://qjackctl.sourceforge.io). + +%prep +%setup -q + +%build +CXX=%{CXX} \ +cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} -DCONFIG_ALSA_MIDI=ON -Wno-dev -B build +cmake --build build %{?_smp_mflags} + +%install +DESTDIR="%{buildroot}" \ +cmake --install build + +%clean +[ -d "%{buildroot}" -a "%{buildroot}" != "/" ] && %__rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%doc README.md LICENSE.md ChangeLog +%dir %{_datadir}/applications +%dir %{_datadir}/icons/hicolor +%dir %{_datadir}/icons/hicolor/32x32 +%dir %{_datadir}/icons/hicolor/32x32/apps +%dir %{_datadir}/icons/hicolor/32x32/mimetypes +%dir %{_datadir}/icons/hicolor/scalable +%dir %{_datadir}/icons/hicolor/scalable/apps +%dir %{_datadir}/icons/hicolor/scalable/mimetypes +%dir %{_datadir}/metainfo +%dir %{_datadir}/man +%dir %{_datadir}/man/man1 +%{_bindir}/%{name} +%{_datadir}/applications/org.rncbc.%{name}.desktop +%{_datadir}/icons/hicolor/32x32/apps/org.rncbc.%{name}.png +%{_datadir}/icons/hicolor/scalable/apps/org.rncbc.%{name}.svg +%{_datadir}/metainfo/org.rncbc.%{name}.metainfo.xml +%{_datadir}/mime/packages/org.rncbc.%{name}.xml +%{_datadir}/icons/hicolor/32x32/mimetypes/org.rncbc.%{name}.application-x-%{name}*.png +%{_datadir}/icons/hicolor/scalable/mimetypes/org.rncbc.%{name}.application-x-%{name}*.svg +%{_datadir}/man/man1/%{name}.1.gz + + +%changelog +* Sat Oct 22 2022 Rui Nuno Capela <rncbc@rncbc.org> 0.3.7 +- An autumn'22 release. +* Sat Sep 24 2022 Rui Nuno Capela <rncbc@rncbc.org> 0.3.6 +- An early-autumn'22 release. +* Sat Aug 20 2022 Rui Nuno Capela <rncbc@rncbc.org> 0.3.5 +- A thirteenth beta release. +* Fri Jul 8 2022 Rui Nuno Capela <rncbc@rncbc.org> 0.3.4 +- A twelfth beta release. +* Wed Jul 6 2022 Rui Nuno Capela <rncbc@rncbc.org> 0.3.3 +- An eleventh beta release. +* Mon Jun 13 2022 Rui Nuno Capela <rncbc@rncbc.org> 0.3.2 +- A tenth beta release. +* Sun May 29 2022 Rui Nuno Capela <rncbc@rncbc.org> 0.3.1 +- A ninth beta release. +* Sat May 21 2022 Rui Nuno Capela <rncbc@rncbc.org> 0.3.0 +- An eighth beta release. +* Sat Apr 23 2022 Rui Nuno Capela <rncbc@rncbc.org> 0.2.6 +- A seventh beta release. +* Wed Apr 6 2022 Rui Nuno Capela <rncbc@rncbc.org> 0.2.5 +- A sixth beta release. +* Sat Mar 19 2022 Rui Nuno Capela <rncbc@rncbc.org> 0.2.4 +- A fifth beta release. +* Sat Mar 12 2022 Rui Nuno Capela <rncbc@rncbc.org> 0.2.3 +- A fourth beta release. +* Wed Mar 2 2022 Rui Nuno Capela <rncbc@rncbc.org> 0.2.2 +- A thrice beta than before. +* Sat Feb 26 2022 Rui Nuno Capela <rncbc@rncbc.org> 0.2.1 +- Just a second beta. +- Patchbay feature introduced. +* Sun Jan 16 2022 Rui Nuno Capela <rncbc@rncbc.org> 0.2.0 +- Enter first beta. +* Thu Jan 13 2022 Rui Nuno Capela <rncbc@rncbc.org> 0.1.3 +- A Winter'22 Release. +* Sat Jan 1 2022 Rui Nuno Capela <rncbc@rncbc.org> 0.1.2 +- One third alpha. +* Sat Dec 18 2021 Rui Nuno Capela <rncbc@rncbc.org> 0.1.1 +- One second alpha. +* Mon Dec 6 2021 Rui Nuno Capela <rncbc@rncbc.org> 0.1.0 +- One first alpha. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qpwgraph-v0.3.6/src/appdata/org.rncbc.qpwgraph.metainfo.xml new/qpwgraph-v0.3.7/src/appdata/org.rncbc.qpwgraph.metainfo.xml --- old/qpwgraph-v0.3.6/src/appdata/org.rncbc.qpwgraph.metainfo.xml 2022-09-24 13:09:34.000000000 +0200 +++ new/qpwgraph-v0.3.7/src/appdata/org.rncbc.qpwgraph.metainfo.xml 2022-10-22 10:51:40.000000000 +0200 @@ -37,7 +37,7 @@ <developer_name>rncbc aka. Rui Nuno Capela</developer_name> <update_contact>rncbc@rncbc.org</update_contact> <releases> - <release version="0.3.6" date="2022-09-24" urgency="low" /> + <release version="0.3.7" date="2022-10-22" urgency="low" /> </releases> <content_rating type="oars-1.0"/> </component> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qpwgraph-v0.3.6/src/qpwgraph_alsamidi.cpp new/qpwgraph-v0.3.7/src/qpwgraph_alsamidi.cpp --- old/qpwgraph-v0.3.6/src/qpwgraph_alsamidi.cpp 2022-09-24 13:09:34.000000000 +0200 +++ new/qpwgraph-v0.3.7/src/qpwgraph_alsamidi.cpp 2022-10-22 10:51:40.000000000 +0200 @@ -144,7 +144,7 @@ // ALSA port (dis)connection. void qpwgraph_alsamidi::connectPorts ( - qpwgraph_port *port1, qpwgraph_port *port2, bool connect ) + qpwgraph_port *port1, qpwgraph_port *port2, bool is_connect ) { if (m_seq == nullptr) return; @@ -172,7 +172,7 @@ #ifdef CONFIG_DEBUG qDebug("qpwgraph_alsamidi::connectPorts(%d:%d, %d:%d, %d)", - client_id1, port_id1, client_id2, port_id2, connect); + client_id1, port_id1, client_id2, port_id2, is_connect); #endif snd_seq_port_subscribe_t *seq_subs; @@ -188,7 +188,7 @@ seq_addr.port = port_id2; snd_seq_port_subscribe_set_dest(seq_subs, &seq_addr); - if (connect) { + if (is_connect) { snd_seq_subscribe_port(m_seq, seq_subs); } else { snd_seq_unsubscribe_port(m_seq, seq_subs); @@ -282,7 +282,7 @@ if (add_new && *port == nullptr && *node) { *port = (*node)->addPort(port_id, port_name, port_mode, port_type); - (*port)->updatePortTypeColors(canvas()); + (*port)->updatePortTypeColors(qpwgraph_sect::canvas()); qpwgraph_sect::addItem(*port); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qpwgraph-v0.3.6/src/qpwgraph_alsamidi.h new/qpwgraph-v0.3.7/src/qpwgraph_alsamidi.h --- old/qpwgraph-v0.3.6/src/qpwgraph_alsamidi.h 2022-09-24 13:09:34.000000000 +0200 +++ new/qpwgraph-v0.3.7/src/qpwgraph_alsamidi.h 2022-10-22 10:51:40.000000000 +0200 @@ -57,7 +57,7 @@ void close(); // ALSA port (dis)connection. - void connectPorts(qpwgraph_port *port1, qpwgraph_port *port2, bool connect); + void connectPorts(qpwgraph_port *port1, qpwgraph_port *port2, bool is_connect); // ALSA graph updaters. void updateItems(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qpwgraph-v0.3.6/src/qpwgraph_canvas.cpp new/qpwgraph-v0.3.7/src/qpwgraph_canvas.cpp --- old/qpwgraph-v0.3.6/src/qpwgraph_canvas.cpp 2022-09-24 13:09:34.000000000 +0200 +++ new/qpwgraph-v0.3.7/src/qpwgraph_canvas.cpp 2022-10-22 10:51:40.000000000 +0200 @@ -568,12 +568,13 @@ void qpwgraph_canvas::connectPorts ( qpwgraph_port *port1, qpwgraph_port *port2, bool is_connect ) { +#if 0 // Sure the sect will check to this instead...? const bool is_connected // already connected? = (port1->findConnect(port2) != nullptr); if (( is_connect && is_connected) || (!is_connect && !is_connected)) return; - +#endif if (port1->isOutput()) { m_commands->push( new qpwgraph_connect_command(this, port1, port2, is_connect)); @@ -808,9 +809,11 @@ && port1->portType() == port2->portType() && port1->findConnect(port2) == nullptr) { port2->setSelected(true); - #if 0 // Sure the sect will commit to this instead... + #if 1 // Sure the sect will commit to this instead...? m_connect->setPort2(port2); + m_connect->updatePortTypeColors(); m_connect->updatePathTo(port2->portPos()); + emit connected(m_connect); m_connect = nullptr; ++m_selected_nodes; #else @@ -825,9 +828,11 @@ } } // Done with the hovering connection... - m_connect->disconnect(); - delete m_connect; - m_connect = nullptr; + if (m_connect) { + m_connect->disconnect(); + delete m_connect; + m_connect = nullptr; + } } // Maybe some node(s) were moved... if (m_item && m_item->type() == qpwgraph_node::Type) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qpwgraph-v0.3.6/src/qpwgraph_canvas.h new/qpwgraph-v0.3.7/src/qpwgraph_canvas.h --- old/qpwgraph-v0.3.6/src/qpwgraph_canvas.h 2022-09-24 13:09:34.000000000 +0200 +++ new/qpwgraph-v0.3.7/src/qpwgraph_canvas.h 2022-10-22 10:51:40.000000000 +0200 @@ -167,6 +167,8 @@ void connected(qpwgraph_port *port1, qpwgraph_port *port2); void disconnected(qpwgraph_port *port1, qpwgraph_port *port2); + void connected(qpwgraph_connect *connect); + // Generic change notification. void changed(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qpwgraph-v0.3.6/src/qpwgraph_command.h new/qpwgraph-v0.3.7/src/qpwgraph_command.h --- old/qpwgraph-v0.3.6/src/qpwgraph_command.h 2022-09-24 13:09:34.000000000 +0200 +++ new/qpwgraph-v0.3.7/src/qpwgraph_command.h 2022-10-22 10:51:40.000000000 +0200 @@ -24,7 +24,7 @@ #include <QUndoCommand> -#include <qpwgraph_node.h> +#include "qpwgraph_node.h" // Forward decls. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qpwgraph-v0.3.6/src/qpwgraph_form.cpp new/qpwgraph-v0.3.7/src/qpwgraph_form.cpp --- old/qpwgraph-v0.3.6/src/qpwgraph_form.cpp 2022-09-24 13:09:34.000000000 +0200 +++ new/qpwgraph-v0.3.7/src/qpwgraph_form.cpp 2022-10-22 10:51:40.000000000 +0200 @@ -27,6 +27,8 @@ #include "qpwgraph_pipewire.h" #include "qpwgraph_alsamidi.h" +#include "qpwgraph_connect.h" + #include "qpwgraph_patchbay.h" #include "qpwgraph_systray.h" @@ -223,6 +225,10 @@ SLOT(disconnected(qpwgraph_port *, qpwgraph_port *))); QObject::connect(m_ui.graphCanvas, + SIGNAL(connected(qpwgraph_connect *)), + SLOT(connected(qpwgraph_connect *))); + + QObject::connect(m_ui.graphCanvas, SIGNAL(renamed(qpwgraph_item *, const QString&)), SLOT(renamed(qpwgraph_item *, const QString&))); @@ -1004,6 +1010,26 @@ } +void qpwgraph_form::connected ( qpwgraph_connect *connect ) +{ + qpwgraph_port *port1 = connect->port1(); + if (port1 == nullptr) + return; + + if (qpwgraph_pipewire::isPortType(port1->portType())) { + if (m_pipewire) + m_pipewire->addItem(connect, false); + } +#ifdef CONFIG_ALSA_MIDI + else + if (qpwgraph_alsamidi::isPortType(port1->portType())) { + if (m_alsamidi) + m_alsamidi->addItem(connect, false); + } +#endif +} + + // Item renaming slot. void qpwgraph_form::renamed ( qpwgraph_item *item, const QString& name ) { @@ -1085,6 +1111,9 @@ if (is_dirty) title += ' ' + tr("[modified]"); setWindowTitle(title); +#ifdef CONFIG_SYSTEM_TRAY + if (m_systray) m_systray->setToolTip(title); +#endif m_ui.patchbayExclusiveAction->setEnabled(is_activated); m_ui.patchbaySaveAction->setEnabled(is_dirty); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qpwgraph-v0.3.6/src/qpwgraph_form.h new/qpwgraph-v0.3.7/src/qpwgraph_form.h --- old/qpwgraph-v0.3.6/src/qpwgraph_form.h 2022-09-24 13:09:34.000000000 +0200 +++ new/qpwgraph-v0.3.7/src/qpwgraph_form.h 2022-10-22 10:51:40.000000000 +0200 @@ -35,6 +35,7 @@ class qpwgraph_item; class qpwgraph_port; +class qpwgraph_connect; class qpwgraph_systray; @@ -78,6 +79,8 @@ void connected(qpwgraph_port *port1, qpwgraph_port *port2); void disconnected(qpwgraph_port *port1, qpwgraph_port *port2); + void connected(qpwgraph_connect *connect); + // Item renaming slot. void renamed(qpwgraph_item *item, const QString& name); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qpwgraph-v0.3.6/src/qpwgraph_pipewire.cpp new/qpwgraph-v0.3.7/src/qpwgraph_pipewire.cpp --- old/qpwgraph-v0.3.6/src/qpwgraph_pipewire.cpp 2022-09-24 13:09:34.000000000 +0200 +++ new/qpwgraph-v0.3.7/src/qpwgraph_pipewire.cpp 2022-10-22 10:51:40.000000000 +0200 @@ -485,7 +485,7 @@ // PipeWire port (dis)connection. void qpwgraph_pipewire::connectPorts ( - qpwgraph_port *port1, qpwgraph_port *port2, bool connect ) + qpwgraph_port *port1, qpwgraph_port *port2, bool is_connect ) { if (m_data == nullptr) return; @@ -514,7 +514,7 @@ return; } - if (!connect) { + if (!is_connect) { // Disconnect ports... foreach (Link *link, p1->port_links) { if ((link->port1_id == p1->id) && @@ -656,7 +656,7 @@ if (add_new && *port == nullptr && *node) { *port = (*node)->addPort(port_id, p->port_name, port_mode, port_type); - (*port)->updatePortTypeColors(canvas()); + (*port)->updatePortTypeColors(qpwgraph_sect::canvas()); qpwgraph_sect::addItem(*port); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qpwgraph-v0.3.6/src/qpwgraph_pipewire.h new/qpwgraph-v0.3.7/src/qpwgraph_pipewire.h --- old/qpwgraph-v0.3.6/src/qpwgraph_pipewire.h 2022-09-24 13:09:34.000000000 +0200 +++ new/qpwgraph-v0.3.7/src/qpwgraph_pipewire.h 2022-10-22 10:51:40.000000000 +0200 @@ -53,7 +53,7 @@ void changedNotify(); // PipeWire port (dis)connection. - void connectPorts(qpwgraph_port *port1, qpwgraph_port *port2, bool connect); + void connectPorts(qpwgraph_port *port1, qpwgraph_port *port2, bool is_connect); // PipeWire graph updaters. void updateItems(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qpwgraph-v0.3.6/src/qpwgraph_sect.cpp new/qpwgraph-v0.3.7/src/qpwgraph_sect.cpp --- old/qpwgraph-v0.3.6/src/qpwgraph_sect.cpp 2022-09-24 13:09:34.000000000 +0200 +++ new/qpwgraph-v0.3.7/src/qpwgraph_sect.cpp 2022-10-22 10:51:40.000000000 +0200 @@ -1,7 +1,7 @@ // qpwgraph_sect.cpp // /**************************************************************************** - Copyright (C) 2021, rncbc aka Rui Nuno Capela. All rights reserved. + Copyright (C) 2021-2022, rncbc aka Rui Nuno Capela. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License @@ -43,9 +43,10 @@ // Generic sect/graph methods. -void qpwgraph_sect::addItem ( qpwgraph_item *item ) +void qpwgraph_sect::addItem ( qpwgraph_item *item, bool is_new ) { - m_canvas->addItem(item); + if (is_new) + m_canvas->addItem(item); if (item->type() == qpwgraph_connect::Type) { qpwgraph_connect *connect = static_cast<qpwgraph_connect *> (item); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qpwgraph-v0.3.6/src/qpwgraph_sect.h new/qpwgraph-v0.3.7/src/qpwgraph_sect.h --- old/qpwgraph-v0.3.6/src/qpwgraph_sect.h 2022-09-24 13:09:34.000000000 +0200 +++ new/qpwgraph-v0.3.7/src/qpwgraph_sect.h 2022-10-22 10:51:40.000000000 +0200 @@ -1,7 +1,7 @@ // qpwgraph_sect.h // /**************************************************************************** - Copyright (C) 2021, rncbc aka Rui Nuno Capela. All rights reserved. + Copyright (C) 2021-2022, rncbc aka Rui Nuno Capela. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License @@ -48,7 +48,7 @@ qpwgraph_canvas *canvas() const; // Generic sect/graph methods. - void addItem(qpwgraph_item *item); + void addItem(qpwgraph_item *item, bool is_new = true); void removeItem(qpwgraph_item *item); // Clean-up all un-marked items...
participants (1)
-
Source-Sync