forked from pool/sonic-visualiser
Compare commits
8 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 2218cc699e | |||
| 954d90ada0 | |||
| 5c625e8011 | |||
| 669458f4e0 | |||
| c93ff66a72 | |||
| 48491ae86c | |||
| 89087adb62 | |||
| a6c43fad15 |
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:88f479704e0faeff44fa49ef6ecf6abd9a45945f175d6ee99a00fac43f5857bb
|
||||
size 6583532
|
||||
3
sonic-visualiser-5.2.1.tar.gz
Normal file
3
sonic-visualiser-5.2.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2f338af0231e930539c5e5e04dac7c3384257866cc29fda112215f8c410898c9
|
||||
size 6597676
|
||||
61
sonic-visualiser-fix-atomic-arguments.patch
Normal file
61
sonic-visualiser-fix-atomic-arguments.patch
Normal file
@@ -0,0 +1,61 @@
|
||||
Только в sonic-visualiser-5.2.1: .cache
|
||||
diff -ur sonic-visualiser-5.2.1.orig/svcore/data/model/EditableDenseThreeDimensionalModel.cpp sonic-visualiser-5.2.1/svcore/data/model/EditableDenseThreeDimensionalModel.cpp
|
||||
--- sonic-visualiser-5.2.1.orig/svcore/data/model/EditableDenseThreeDimensionalModel.cpp 2025-03-21 07:36:49.000000000 -0700
|
||||
+++ sonic-visualiser-5.2.1/svcore/data/model/EditableDenseThreeDimensionalModel.cpp 2025-04-29 16:38:23.326799410 -0700
|
||||
@@ -458,10 +458,10 @@
|
||||
Model::toXml
|
||||
(out, indent,
|
||||
QString("type=\"dense\" dimensions=\"3\" windowSize=\"%1\" yBinCount=\"%2\" minimum=\"%3\" maximum=\"%4\" dataset=\"%5\" startFrame=\"%6\" %7")
|
||||
- .arg(m_resolution)
|
||||
- .arg(m_yBinCount)
|
||||
- .arg(m_minimum)
|
||||
- .arg(m_maximum)
|
||||
+ .arg(m_resolution.load())
|
||||
+ .arg(m_yBinCount.load())
|
||||
+ .arg(m_minimum.load())
|
||||
+ .arg(m_maximum.load())
|
||||
.arg(getExportId())
|
||||
.arg(m_startFrame)
|
||||
.arg(extraAttributes));
|
||||
diff -ur sonic-visualiser-5.2.1.orig/svcore/data/model/NoteModel.h sonic-visualiser-5.2.1/svcore/data/model/NoteModel.h
|
||||
--- sonic-visualiser-5.2.1.orig/svcore/data/model/NoteModel.h 2025-03-21 07:36:49.000000000 -0700
|
||||
+++ sonic-visualiser-5.2.1/svcore/data/model/NoteModel.h 2025-04-29 16:35:54.547939090 -0700
|
||||
@@ -403,8 +403,8 @@
|
||||
.arg(m_events.getExportId())
|
||||
.arg(m_subtype == FLEXI_NOTE ? "flexinote" : "note")
|
||||
.arg(m_valueQuantization)
|
||||
- .arg(m_valueMinimum)
|
||||
- .arg(m_valueMaximum)
|
||||
+ .arg(m_valueMinimum.load())
|
||||
+ .arg(m_valueMaximum.load())
|
||||
.arg(encodeEntities(m_units))
|
||||
.arg(extraAttributes));
|
||||
|
||||
diff -ur sonic-visualiser-5.2.1.orig/svcore/data/model/RegionModel.h sonic-visualiser-5.2.1/svcore/data/model/RegionModel.h
|
||||
--- sonic-visualiser-5.2.1.orig/svcore/data/model/RegionModel.h 2025-03-21 07:36:49.000000000 -0700
|
||||
+++ sonic-visualiser-5.2.1/svcore/data/model/RegionModel.h 2025-04-29 16:36:24.463181624 -0700
|
||||
@@ -335,8 +335,8 @@
|
||||
.arg(m_events.getExportId())
|
||||
.arg("region")
|
||||
.arg(m_valueQuantization)
|
||||
- .arg(m_valueMinimum)
|
||||
- .arg(m_valueMaximum)
|
||||
+ .arg(m_valueMinimum.load())
|
||||
+ .arg(m_valueMaximum.load())
|
||||
.arg(encodeEntities(m_units))
|
||||
.arg(extraAttributes));
|
||||
|
||||
diff -ur sonic-visualiser-5.2.1.orig/svcore/data/model/SparseTimeValueModel.h sonic-visualiser-5.2.1/svcore/data/model/SparseTimeValueModel.h
|
||||
--- sonic-visualiser-5.2.1.orig/svcore/data/model/SparseTimeValueModel.h 2025-03-21 07:36:49.000000000 -0700
|
||||
+++ sonic-visualiser-5.2.1/svcore/data/model/SparseTimeValueModel.h 2025-04-29 16:35:09.799808667 -0700
|
||||
@@ -342,8 +342,8 @@
|
||||
.arg("true") // always true after model reaches 100% -
|
||||
// subsequent events are always notified
|
||||
.arg(m_events.getExportId())
|
||||
- .arg(m_valueMinimum)
|
||||
- .arg(m_valueMaximum)
|
||||
+ .arg(m_valueMinimum.load())
|
||||
+ .arg(m_valueMaximum.load())
|
||||
.arg(encodeEntities(m_units))
|
||||
.arg(extraAttributes));
|
||||
|
||||
11
sonic-visualiser-svgui-qt6-fix.patch
Normal file
11
sonic-visualiser-svgui-qt6-fix.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
--- sonic-visualiser-5.2.1/svgui/view/Pane.cpp.orig 2025-12-25 22:35:01.218862220 -0800
|
||||
+++ sonic-visualiser-5.2.1/svgui/view/Pane.cpp 2025-12-25 22:35:12.332034644 -0800
|
||||
@@ -1423,7 +1423,7 @@
|
||||
if (m & Qt::GroupSwitchModifier) s << "GroupSwitch";
|
||||
m &= (~ (Qt::ShiftModifier | Qt::ControlModifier | Qt::AltModifier |
|
||||
Qt::MetaModifier | Qt::KeypadModifier | Qt::GroupSwitchModifier));
|
||||
- if (m) s << QString(" (residue %1)").arg(m);
|
||||
+ if (m) s << QString(" (residue %1)").arg(static_cast<int>(m));
|
||||
if (s.empty()) return "(none)";
|
||||
else return s.join(" | ");
|
||||
}
|
||||
@@ -1,3 +1,65 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 26 06:38:20 UTC 2025 - Konstantin Voinov <kv@kott.no-ip.biz>
|
||||
|
||||
- Add sonic-visualiser-svgui-qt6-fix.patch fixing build for TW and SR
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 29 23:53:13 UTC 2025 - Konstantin Voinov <kv@kott.no-ip.biz>
|
||||
|
||||
- Add sonic-visualiser-fix-atomic-arguments.patch fixing build errors.
|
||||
- Update to 5.2.1
|
||||
|
||||
* Fix hang on exporting an image or SVG during interactive use
|
||||
|
||||
* Fix failure to highlight some points on mouse-over when using a
|
||||
hi-dpi display
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 12 22:49:06 UTC 2025 - Konstantin Voinov <kv@kott.no-ip.biz>
|
||||
|
||||
- Update to 5.2
|
||||
- Fix gcc dependency for Leap 16 in spec
|
||||
|
||||
* On the Mac, substantially improve responsiveness during scrolling
|
||||
and zooming, with threaded paint and various perceptual changes.
|
||||
If threaded paint causes instability, it can be disabled by setting
|
||||
the SV_NO_THREADED_PAINT environment variable (to anything).
|
||||
(Sonic Visualiser was previously perceptually more sluggish on the
|
||||
Mac than on other platforms, where this change was not necessary)
|
||||
|
||||
* Fix habit of holding open the device microphone after recording
|
||||
|
||||
* Improve compatibility with Vamp plugins that return unexpectedly
|
||||
many values in features
|
||||
|
||||
* Improve compatibility with Vamp plugins that express units in
|
||||
variant forms such as "Hertz"
|
||||
|
||||
* Fix incorrect choice of UI language on systems with more than one
|
||||
of the supported languages configured, and on which English (that is
|
||||
not explicitly regionalised to en_US or en_GB) has a higher priority
|
||||
than any other supported language. Previously the first other
|
||||
matching language would have been used; now it will be English
|
||||
|
||||
* Fix tendency to pop up a progress dialog over the top of any user
|
||||
input needed when opening a file
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Oct 6 02:22:39 UTC 2024 - Konstantin Voinov <kv@kott.no-ip.biz>
|
||||
|
||||
- Update to 5.0.1
|
||||
|
||||
* Fix occasional crashes in the Mac package, caused by a Qt bug, by
|
||||
updating the version of Qt used when packaging
|
||||
|
||||
* Fix bug in Preferences that prevented some of the analysis settings
|
||||
from taking effect
|
||||
|
||||
* Fix failure to load some older 32-bit Windows Vamp plugins
|
||||
|
||||
* Update UI translation loading logic to better reflect system locale
|
||||
settings
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Sep 7 09:39:59 UTC 2024 - Konstantin Voinov <kv@kott.no-ip.biz>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package sonic-visualiser
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC and contributors
|
||||
# Copyright (c) 2016 Tom Mbrt <tom.mbrt@googlemail.com>
|
||||
# Copyright (c) 2012 Pascal Bleser <pascal.bleser@opensuse.org>
|
||||
# Copyright (c) 2011 Evstifeev Roman <someuniquename@gmail.com>
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
#%%define urlcode 2786
|
||||
Name: sonic-visualiser
|
||||
Version: 5.0
|
||||
Version: 5.2.1
|
||||
Release: 0
|
||||
Summary: A program for viewing and analysing contents of audio files
|
||||
License: GPL-2.0-or-later
|
||||
@@ -33,10 +33,12 @@ Source0: https://github.com/sonic-visualiser/sonic-visualiser/releases/do
|
||||
Source1: %{name}.xml
|
||||
# PATCH-FIX-OPENSUSE sonic-visualiser-system-dataquay.patch aloisio@gmx.com -- force use of system libdataquay
|
||||
Patch0: sonic-visualiser-system-dataquay.patch
|
||||
Patch1: sonic-visualiser-fix-atomic-arguments.patch
|
||||
Patch2: sonic-visualiser-svgui-qt6-fix.patch
|
||||
BuildRequires: capnproto
|
||||
BuildRequires: dssi
|
||||
BuildRequires: flac
|
||||
%if 0%{?is_opensuse} && 0%{?suse_version} <= 1600
|
||||
%if 0%{?is_opensuse} && 0%{?suse_version} <= 1560
|
||||
BuildRequires: gcc12
|
||||
BuildRequires: gcc12-c++
|
||||
%else
|
||||
@@ -131,6 +133,12 @@ With Sonic Visualiser you can:
|
||||
%patch -P 0 -p1
|
||||
%endif
|
||||
|
||||
%patch -P 1 -p1
|
||||
|
||||
%if 0%{?is_opensuse} && 0%{?suse_version} > 1600
|
||||
%patch -P 2 -p1
|
||||
%endif
|
||||
|
||||
# required with capnproto 0.7.0
|
||||
for x in *.pr* config* Makefile* ; do perl -i -p -e 's/c\+\+11/c++14/g' "$x" ; done
|
||||
|
||||
@@ -144,7 +152,7 @@ sed -e 's|/usr/lib/|/usr/%{_lib}/|g;s|/usr/local/lib/|/usr/local/%{_lib}/|g' \
|
||||
|
||||
%build
|
||||
export LC_ALL=en_US.UTF-8
|
||||
%if 0%{?is_opensuse} && 0%{?suse_version} <= 1600
|
||||
%if 0%{?is_opensuse} && 0%{?suse_version} <= 1560
|
||||
export CC=gcc-12 CXX=g++-12
|
||||
%endif
|
||||
%meson
|
||||
|
||||
Reference in New Issue
Block a user