sonic-visualiser: update to 3.2.1

This commit is contained in:
newbluemoon 2019-01-09 08:08:22 +01:00 committed by maxice8
parent 75d1e15906
commit 45303b724f
2 changed files with 3 additions and 47 deletions

View file

@ -1,44 +0,0 @@
Source: upstream
https://code.soundsoftware.ac.uk/projects/svapp/repository/revisions/fffb78793ca7
https://code.soundsoftware.ac.uk/projects/svapp/repository/revisions/f54722b34c3a
diff -r f54722b34c3a -r fffb78793ca7 framework/MainWindowBase.cpp
--- svapp/framework/MainWindowBase.cpp
+++ svapp/framework/MainWindowBase.cpp
@@ -277,8 +277,8 @@
connect(m_viewManager, SIGNAL(viewCentreFrameChanged(View *, sv_frame_t)),
this, SLOT(viewCentreFrameChanged(View *, sv_frame_t)));
- connect(m_viewManager, SIGNAL(viewZoomLevelChanged(View *, int, bool)),
- this, SLOT(viewZoomLevelChanged(View *, int, bool)));
+ connect(m_viewManager, SIGNAL(viewZoomLevelChanged(View *, ZoomLevel, bool)),
+ this, SLOT(viewZoomLevelChanged(View *, ZoomLevel, bool)));
connect(Preferences::getInstance(),
SIGNAL(propertyChanged(PropertyContainer::PropertyName)),
diff -r 109a1dd59f45 -r f54722b34c3a framework/MainWindowBase.cpp
--- svapp/framework/MainWindowBase.cpp
+++ svapp/framework/MainWindowBase.cpp
@@ -328,14 +328,16 @@
delete m_viewManager;
delete m_midiInput;
- disconnect(m_oscQueueStarter, 0, 0, 0);
- m_oscQueueStarter->wait(1000);
- if (m_oscQueueStarter->isRunning()) {
- m_oscQueueStarter->terminate();
+ if (m_oscQueueStarter) {
+ disconnect(m_oscQueueStarter, 0, 0, 0);
m_oscQueueStarter->wait(1000);
+ if (m_oscQueueStarter->isRunning()) {
+ m_oscQueueStarter->terminate();
+ m_oscQueueStarter->wait(1000);
+ }
+ delete m_oscQueueStarter;
+ delete m_oscQueue;
}
- delete m_oscQueueStarter;
- delete m_oscQueue;
Profiles::getInstance()->dump();
}

View file

@ -1,6 +1,6 @@
# Template file for 'sonic-visualiser'
pkgname=sonic-visualiser
version=3.2
version=3.2.1
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config capnproto-devel"
@ -13,8 +13,8 @@ maintainer="newbluemoon <blaumolch@mailbox.org>"
license="GPL-2.0-or-later"
homepage="https://www.sonicvisualiser.org/"
changelog="https://code.soundsoftware.ac.uk/projects/sonic-visualiser/repository/entry/CHANGELOG"
distfiles="https://code.soundsoftware.ac.uk/attachments/download/2420/${pkgname}-${version}.tar.gz"
checksum=55f9a5b431b2340c232b87840cce845a762bcc152002e4f679c91ecd46c61293
distfiles="https://code.soundsoftware.ac.uk/attachments/download/2434/${pkgname}-${version}.tar.gz"
checksum=e79955e4e50c6149dff527655061c8e2fb95929e9d8baed12cf7a920d1cc3a42
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-qmake qt5-svg-devel"