2 Commits

Author SHA256 Message Date
7c6099e65f Accepting request 1298083 from multimedia:apps
OBS-URL: https://build.opensuse.org/request/show/1298083
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/audacity?expand=0&rev=131
2025-08-07 14:49:39 +00:00
7f4d12cc07 - Remove Use-full-function-prototypes-in-libnyquist.patch now upstream
- Update to 3.7.5
  * #8942 Windows on ARM support (Thanks, Vasanth K (@vask2108)
    and Linaro!)
  * #9121 FLAC importer now supports 32-bit PCM (Thanks,
    Dr. K. D. Murray (@kdm9)!)
  * #8851 Fixed crash when rendering spectrum view (Thanks,
    Hailey Somerville (@haileys)!)
  * #9097 Fixed lost focus when registration window was closed
  * #8932 Fixed crash on wav import (when audio file is up to 7 ms long)
  * #4444 Fixed crash when using Macro Wizard
  * #9100, #8890 Updated libopus to 1.5.2, updated libcurl to 8.12.1,
    updated libpng to 1.6.50

OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/audacity?expand=0&rev=249
2025-08-07 07:40:27 +00:00
5 changed files with 25 additions and 104 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:76d0867bb852bbaa3dff834804b0abf8208a763461187f0ae2a0d5a3ddf31df7
size 64004401

3
Audacity-3.7.5.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2520d9ff2e8f7d69d62e033b167eb6c53d1db89e89876689545769a2f8ef72ac
size 64123656

View File

@@ -1,97 +0,0 @@
From f2085f63327507c586ed8cb42c2ea15c16359129 Mon Sep 17 00:00:00 2001
From: Dmitry Makarenko <kryksyh@gmail.com>
Date: Sun, 15 Jun 2025 19:54:09 +0300
Subject: [PATCH] Use full function prototypes in libnyquist
Fixes compilation on GCC15.1
---
lib-src/libnyquist/nyquist/cmt/midifile.c | 40 ++---------------------
1 file changed, 2 insertions(+), 38 deletions(-)
diff --git a/lib-src/libnyquist/nyquist/cmt/midifile.c b/lib-src/libnyquist/nyquist/cmt/midifile.c
index 878441a5980f..01168bd7d044 100644
--- a/lib-src/libnyquist/nyquist/cmt/midifile.c
+++ b/lib-src/libnyquist/nyquist/cmt/midifile.c
@@ -23,12 +23,8 @@
#include "string.h"
#define MIDIFILE_ERROR -1
-
-#ifdef PROTOTYPES
#define NOARGS void
-#else
-#define NOARGS
-#endif
+
/* public stuff */
extern int abort_flag;
@@ -38,7 +34,6 @@ void (*Mf_starttrack)(NOARGS) = 0;
void (*Mf_endtrack)(NOARGS) = 0;
int (*Mf_getc)(NOARGS) = 0;
void (*Mf_eot)(NOARGS) = 0;
-#ifdef PROTOTYPES
void (*Mf_error)(char *) = 0;
void (*Mf_header)(int,int,int) = 0;
void (*Mf_on)(int,int,int) = 0;
@@ -58,27 +53,6 @@ void (*Mf_tempo)(int) = 0;
void (*Mf_keysig)(int,int) = 0;
void (*Mf_sqspecific)(int,char*) = 0;
void (*Mf_text)(int,int,char*) = 0;
-#else
-void (*Mf_error)() = 0;
-void (*Mf_header)() = 0;
-void (*Mf_on)() = 0;
-void (*Mf_off)() = 0;
-void (*Mf_pressure)() = 0;
-void (*Mf_controller)() = 0;
-void (*Mf_pitchbend)() = 0;
-void (*Mf_program)() = 0;
-void (*Mf_chanpressure)() = 0;
-void (*Mf_sysex)() = 0;
-void (*Mf_arbitrary)() = 0;
-void (*Mf_metamisc)() = 0;
-void (*Mf_seqnum)() = 0;
-void (*Mf_smpte)() = 0;
-void (*Mf_tempo)() = 0;
-void (*Mf_timesig)() = 0;
-void (*Mf_keysig)() = 0;
-void (*Mf_sqspecific)() = 0;
-void (*Mf_text)() = 0;
-#endif
int Mf_nomerge = 0; /* 1 => continue'ed system exclusives are */
/* not collapsed. */
@@ -100,7 +74,6 @@ static void sysex(NOARGS), msginit(NOARGS);
static int egetc(NOARGS);
static int msgleng(NOARGS);
-#ifdef PROTOTYPES
static int readmt(char*,int);
static long to32bit(int,int,int,int);
static int to16bit(int,int);
@@ -109,15 +82,6 @@ static void badbyte(int);
static void metaevent(int);
static void msgadd(int);
static void chanmessage(int,int,int);
-#else
-static long to32bit();
-static int to16bit();
-static void mferror();
-static void badbyte();
-static void metaevent();
-static void msgadd();
-static void chanmessage();
-#endif
static int midifile_error;
@@ -128,7 +92,7 @@ midifile() /* The only non-static function in this file. */
midifile_error = 0;
if ( Mf_getc == 0 ) {
- mferror("mf.h() called without setting Mf_getc");
+ mferror("mf.h() called without setting Mf_getc");
return;
}
ntrks = readheader();

View File

@@ -1,3 +1,21 @@
-------------------------------------------------------------------
Thu Aug 7 05:00:43 UTC 2025 - Konstantin Voinov <kv@kott.no-ip.biz>
- Remove Use-full-function-prototypes-in-libnyquist.patch now upstream
- Update to 3.7.5
* #8942 Windows on ARM support (Thanks, Vasanth K (@vask2108)
and Linaro!)
* #9121 FLAC importer now supports 32-bit PCM (Thanks,
Dr. K. D. Murray (@kdm9)!)
* #8851 Fixed crash when rendering spectrum view (Thanks,
Hailey Somerville (@haileys)!)
* #9097 Fixed lost focus when registration window was closed
* #8932 Fixed crash on wav import (when audio file is up to 7 ms long)
* #4444 Fixed crash when using Macro Wizard
* #9100, #8890 Updated libopus to 1.5.2, updated libcurl to 8.12.1,
updated libpng to 1.6.50
-------------------------------------------------------------------
Tue Jun 17 20:19:44 UTC 2025 - Konstantin Voinov <kv@kott.no-ip.biz>

View File

@@ -1,7 +1,9 @@
#
# spec file for package audacity
#
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
# Copyright (c) 2025 SUSE LLC and contributors
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +21,7 @@
%bcond_with vst3
Name: audacity
Version: 3.7.4
Version: 3.7.5
Release: 0
Summary: A Multi Track Digital Audio Editor
License: CC-BY-3.0 AND GPL-2.0-or-later AND GPL-3.0-only
@@ -36,7 +38,6 @@ Patch0: audacity-no_buildstamp.patch
# PATCH-FIX-UPSTREAM audacity-no_return_in_nonvoid.patch - Fix false positive errors Two new gcc10 ones ignoring assert
Patch1: audacity-no_return_in_nonvoid.patch
# PATCH-FIX-OPENSUSE vst-system-path.patch - search fo vsts in /usr/lib64 in x86_64 and ARM system
Patch2: Use-full-function-prototypes-in-libnyquist.patch
Patch3: lib64-plugins-default-path.patch
BuildRequires: cmake >= 3.16
BuildRequires: desktop-file-utils
@@ -126,7 +127,6 @@ physical memory size can be edited.
%setup -q -n %{name}-Audacity-%{version}
%patch -P 0 -p1
%patch -P 1 -p1
%patch -P 2 -p1
%ifarch x86_64 aarch64
%patch -P 3 -p1