Accepting request 481027 from home:plater
Update to 2.1.3 OBS-URL: https://build.opensuse.org/request/show/481027 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/audacity?expand=0&rev=96
This commit is contained in:
parent
022d52ce64
commit
d22ca099a0
3
Audacity-2.1.3.tar.gz
Normal file
3
Audacity-2.1.3.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:cb30870b93c7f6f90b2ec70807ab6dcd9c3a3a29015478ae7b19af46d63bbd86
|
||||||
|
size 24106855
|
@ -1,31 +0,0 @@
|
|||||||
Index: src/FFmpeg.h
|
|
||||||
===================================================================
|
|
||||||
--- src/FFmpeg.h.orig
|
|
||||||
+++ src/FFmpeg.h
|
|
||||||
@@ -689,7 +689,7 @@ extern "C" {
|
|
||||||
FFMPEG_FUNCTION_WITH_RETURN(
|
|
||||||
AVOutputFormat*,
|
|
||||||
av_oformat_next,
|
|
||||||
- (AVOutputFormat *f),
|
|
||||||
+ (const AVOutputFormat *f),
|
|
||||||
(f)
|
|
||||||
);
|
|
||||||
FFMPEG_FUNCTION_WITH_RETURN(
|
|
||||||
@@ -756,7 +756,7 @@ extern "C" {
|
|
||||||
FFMPEG_FUNCTION_WITH_RETURN(
|
|
||||||
int,
|
|
||||||
av_fifo_size,
|
|
||||||
- (AVFifoBuffer *f),
|
|
||||||
+ (const AVFifoBuffer *f),
|
|
||||||
(f)
|
|
||||||
);
|
|
||||||
FFMPEG_FUNCTION_WITH_RETURN(
|
|
||||||
@@ -802,7 +802,7 @@ extern "C" {
|
|
||||||
FFMPEG_FUNCTION_WITH_RETURN(
|
|
||||||
AVDictionaryEntry *,
|
|
||||||
av_dict_get,
|
|
||||||
- (AVDictionary *m, const char *key, const AVDictionaryEntry *prev, int flags),
|
|
||||||
+ (const AVDictionary *m, const char *key, const AVDictionaryEntry *prev, int flags),
|
|
||||||
(m, key, prev, flags)
|
|
||||||
);
|
|
||||||
FFMPEG_FUNCTION_WITH_RETURN(
|
|
@ -1,6 +1,8 @@
|
|||||||
--- a/lib-src/libnyquist/nyquist/xlisp/xlbfun.c
|
Index: lib-src/libnyquist/nyquist/xlisp/xlbfun.c
|
||||||
+++ b/lib-src/libnyquist/nyquist/xlisp/xlbfun.c
|
===================================================================
|
||||||
@@ -603,7 +603,10 @@
|
--- lib-src/libnyquist/nyquist/xlisp/xlbfun.c.orig 2017-03-03 21:27:17.000000000 +0200
|
||||||
|
+++ lib-src/libnyquist/nyquist/xlisp/xlbfun.c 2017-03-12 10:16:53.207654852 +0200
|
||||||
|
@@ -603,7 +603,10 @@ LVAL xcleanup(void)
|
||||||
{
|
{
|
||||||
xllastarg();
|
xllastarg();
|
||||||
xlcleanup();
|
xlcleanup();
|
||||||
@ -12,13 +14,15 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* xtoplevel - special form 'top-level' */
|
/* xtoplevel - special form 'top-level' */
|
||||||
--- a/src/PluginManager.h
|
Index: src/PluginManager.h
|
||||||
+++ b/src/PluginManager.h
|
===================================================================
|
||||||
@@ -161,7 +161,6 @@
|
--- src/PluginManager.h.orig 2017-03-03 21:27:17.000000000 +0200
|
||||||
|
+++ src/PluginManager.h 2017-03-12 10:16:53.207654852 +0200
|
||||||
|
@@ -167,7 +167,6 @@ typedef std::map<PluginID, PluginDescrip
|
||||||
|
|
||||||
typedef wxArrayString PluginIDList;
|
typedef wxArrayString PluginIDList;
|
||||||
|
|
||||||
-class ProviderMap;
|
-class ProviderMap;
|
||||||
class PluginRegistrationDialog;
|
class PluginRegistrationDialog;
|
||||||
|
|
||||||
class PluginManager : public PluginManagerInterface
|
class PluginManager final : public PluginManagerInterface
|
||||||
|
@ -1,35 +0,0 @@
|
|||||||
Index: src/effects/vamp/LoadVamp.cpp
|
|
||||||
===================================================================
|
|
||||||
--- src/effects/vamp/LoadVamp.cpp.orig
|
|
||||||
+++ src/effects/vamp/LoadVamp.cpp
|
|
||||||
@@ -266,7 +266,7 @@ Plugin *VampEffectsModule::FindPlugin(co
|
|
||||||
Plugin *vp = PluginLoader::getInstance()->loadPlugin(key, 48000); // rate doesn't matter here
|
|
||||||
if (!vp)
|
|
||||||
{
|
|
||||||
- return false;
|
|
||||||
+ return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
// We limit the listed plugin outputs to those whose results can
|
|
||||||
Index: src/import/ImportFLAC.cpp
|
|
||||||
===================================================================
|
|
||||||
--- src/import/ImportFLAC.cpp.orig
|
|
||||||
+++ src/import/ImportFLAC.cpp
|
|
||||||
@@ -296,7 +296,7 @@ ImportFileHandle *FLACImportPlugin::Open
|
|
||||||
int cnt;
|
|
||||||
wxFile binaryFile;
|
|
||||||
if (!binaryFile.Open(filename)) {
|
|
||||||
- return false; // File not found
|
|
||||||
+ return NULL; // File not found
|
|
||||||
}
|
|
||||||
|
|
||||||
#ifdef USE_LIBID3TAG
|
|
||||||
@@ -313,7 +313,7 @@ ImportFileHandle *FLACImportPlugin::Open
|
|
||||||
|
|
||||||
if (cnt == wxInvalidOffset || strncmp(buf, FLAC_HEADER, 4) != 0) {
|
|
||||||
// File is not a FLAC file
|
|
||||||
- return false;
|
|
||||||
+ return NULL;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Open the file for import
|
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:0df79fe0647a4cd68e46ad40d6e73d2f8eaae413b6d8b186ac036be3554d7e44
|
|
||||||
size 7233500
|
|
@ -1,27 +1,35 @@
|
|||||||
Index: lib-src/portaudio-v19/src/common/pa_front.c
|
|
||||||
===================================================================
|
|
||||||
--- lib-src/portaudio-v19/src/common/pa_front.c.orig
|
|
||||||
+++ lib-src/portaudio-v19/src/common/pa_front.c
|
|
||||||
@@ -78,7 +78,7 @@
|
|
||||||
|
|
||||||
|
|
||||||
#define PA_VERSION_ 1899
|
|
||||||
-#define PA_VERSION_TEXT_ "PortAudio V19-devel (built " __DATE__ " " __TIME__ ")"
|
|
||||||
+#define PA_VERSION_TEXT_ "PortAudio V19-devel"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Index: src/AboutDialog.cpp
|
Index: src/AboutDialog.cpp
|
||||||
===================================================================
|
===================================================================
|
||||||
--- src/AboutDialog.cpp.orig
|
--- src/AboutDialog.cpp.orig 2017-03-13 23:02:21.000000000 +0200
|
||||||
+++ src/AboutDialog.cpp
|
+++ src/AboutDialog.cpp 2017-03-18 16:42:02.355788390 +0200
|
||||||
@@ -520,9 +520,6 @@ void AboutDialog::PopulateInformationPag
|
@@ -59,7 +59,7 @@ hold information about one contributor t
|
||||||
informationStr += _("Build Information");
|
#ifdef REV_LONG
|
||||||
informationStr += wxT("</h3>\n<table>");
|
#define REV_IDENT wxString( "[[http://github.com/audacity/audacity/commit/" )+ REV_LONG + "|" + wxString( REV_LONG ).Left(6) + "]] of " + REV_TIME
|
||||||
|
#else
|
||||||
|
-#define REV_IDENT wxT("No revision identifier was provided")
|
||||||
|
+#define REV_IDENT wxT("Official openSUSE Build")
|
||||||
|
#endif
|
||||||
|
|
||||||
- // Current date
|
extern wxString FormatHtmlText( const wxString & Text );
|
||||||
- AddBuildinfoRow(&informationStr, _("Program build date: "), __TDATE__);
|
@@ -70,7 +70,7 @@ const wxString VerCheckArgs(){
|
||||||
-
|
#ifdef REV_LONG
|
||||||
// Uncomment the next two lines to test hyperlinks work from here.
|
result += wxString("&CommitId=")+wxString(REV_LONG).Left(6);
|
||||||
// AddBuildinfoRow(&informationStr, wxT("Link Test:"),
|
#endif
|
||||||
// wxT("<a href=\"https:web.audacityteam.org\">Click bait</a>") );
|
- result += wxString("&Time=") + wxString( __DATE__ ) + wxString( __TIME__ );
|
||||||
|
+ result += wxString("&Time=") + wxString( "17 March 2017" ) + wxString( "23:15" );
|
||||||
|
result.Replace(" ","");
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
Index: lib-src/portaudio-v19/qa/loopback/src/paqa.c
|
||||||
|
===================================================================
|
||||||
|
--- lib-src/portaudio-v19/qa/loopback/src/paqa.c.orig 2017-03-13 23:02:21.000000000 +0200
|
||||||
|
+++ lib-src/portaudio-v19/qa/loopback/src/paqa.c 2017-03-18 15:32:00.553429177 +0200
|
||||||
|
@@ -1460,7 +1460,7 @@ int main( int argc, char **argv )
|
||||||
|
int justMath = 0;
|
||||||
|
char *executableName = argv[0];
|
||||||
|
|
||||||
|
- printf("PortAudio LoopBack Test built " __DATE__ " at " __TIME__ "\n");
|
||||||
|
+ printf("PortAudio LoopBack Test built " "17 March 2017" " at " "23:15" "\n");
|
||||||
|
|
||||||
|
if( argc > 1 ){
|
||||||
|
printf("running with arguments:");
|
||||||
|
@ -1,3 +1,32 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Mar 18 13:53:54 UTC 2017 - davejplater@gmail.com
|
||||||
|
|
||||||
|
- Update to release 2.1.3
|
||||||
|
- Recreated audacity-no_buildstamp.patch with 2.1.3 release date
|
||||||
|
and time.
|
||||||
|
- Rebased audacity-fix-nonsense.patch
|
||||||
|
- Deleted audacity-ffmpeg.patch and audacity-gcc6.patch
|
||||||
|
- Upstream changes:
|
||||||
|
* Interface:
|
||||||
|
* Pinned option on waveform so waveform moves and
|
||||||
|
recording/playing head stays still.
|
||||||
|
* Timer Record options to save/export/exit after recording.
|
||||||
|
* Scrub Ruler and optional Scrub Toolbar.
|
||||||
|
* New shortcuts ALT+RIGHT and ALT+LEFT (move to labels without
|
||||||
|
editing).
|
||||||
|
* Effects:
|
||||||
|
* Effects no longer grayed out when paused.
|
||||||
|
* New Distortion effect (replaces Leveller).
|
||||||
|
* SBSMS (higher quality but slower) option on Change
|
||||||
|
Tempo/Change Pitch effects.
|
||||||
|
* New Rhythm Track generator (replaces Click Track).
|
||||||
|
* New Generator for Sample Data Import.
|
||||||
|
* Nyquist effects now significantly faster.
|
||||||
|
* Other Changes:
|
||||||
|
* Upgraded the PortAudio library to v19 rev r1966.
|
||||||
|
* Bug fixes:
|
||||||
|
* Over 60 bugs fixed, including five longstanding bugs.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jun 27 13:19:29 UTC 2016 - davejplater@gmail.com
|
Mon Jun 27 13:19:29 UTC 2016 - davejplater@gmail.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package audacity
|
# spec file for package audacity
|
||||||
#
|
#
|
||||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -19,48 +19,60 @@
|
|||||||
%bcond_with mad
|
%bcond_with mad
|
||||||
%bcond_with lame
|
%bcond_with lame
|
||||||
%bcond_with twolame
|
%bcond_with twolame
|
||||||
|
%bcond_without ffmpeg
|
||||||
|
|
||||||
Name: audacity
|
Name: audacity
|
||||||
Version: 2.1.2
|
Version: 2.1.3
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A Free, Cross-Platform Digital Audio Editor
|
Summary: A Free, Cross-Platform Digital Audio Editor
|
||||||
License: GPL-2.0+
|
License: GPL-2.0+
|
||||||
Group: Productivity/Multimedia/Sound/Editors and Convertors
|
Group: Productivity/Multimedia/Sound/Editors and Convertors
|
||||||
Url: http://audacityteam.org/
|
Url: http://audacityteam.org/
|
||||||
Source: %{name}-minsrc-%{version}.tar.xz
|
Source: https://github.com/audacity/audacity/archive/Audacity-%{version}.tar.gz
|
||||||
|
#Source: %%{name}-minsrc-%%{version}.tar.xz
|
||||||
Source1: %{name}-license-nyquist
|
Source1: %{name}-license-nyquist
|
||||||
Source2: %{name}-rpmlintrc
|
Source2: %{name}-rpmlintrc
|
||||||
# PATCH-FIX-OPENSUSE audacity-no_buildstamp.patch reddwarf@opensuse.org -- Remove the buildstamp.
|
# PATCH-FIX-OPENSUSE audacity-no_buildstamp.patch davejplater@gmail.com -- Remove the buildstamp.
|
||||||
Patch0: %{name}-no_buildstamp.patch
|
Patch0: %{name}-no_buildstamp.patch
|
||||||
# PATCH-FIX-OPENSUSE audacity-flac_assert.h.patch joerg.lorenzen@ki.tng.de -- Patch to fix build against libflac 1.3.0+.
|
# PATCH-FIX-OPENSUSE audacity-flac_assert.h.patch joerg.lorenzen@ki.tng.de -- Patch to fix build against libflac 1.3.0+.
|
||||||
Patch1: %{name}-flac_assert.h.patch
|
Patch1: %{name}-flac_assert.h.patch
|
||||||
# PATCH-FIX-UPSTREAM audacity-fix-nonsense.patch sor.alexei@meowr.ru -- Remove things that break build for no reason.
|
# PATCH-FIX-UPSTREAM audacity-fix-nonsense.patch sor.alexei@meowr.ru -- Remove things that break build for no reason.
|
||||||
Patch2: %{name}-fix-nonsense.patch
|
Patch2: %{name}-fix-nonsense.patch
|
||||||
# PATCH-FIX-UPSTREAM audacity-ffmpeg.patch reddwarf@opensuse.org -- Patch to compile with latest ffmpeg.
|
|
||||||
Patch3: %{name}-ffmpeg.patch
|
|
||||||
# PATCH-FIX-UPSTREAM audacity-gcc6.patch mliska@suse.cz -- Fix GCC6 warnings.
|
|
||||||
Patch5: %{name}-gcc6.patch
|
|
||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRequires: desktop-file-utils
|
BuildRequires: desktop-file-utils
|
||||||
|
#Audacity only builds with gcc >= 4.9
|
||||||
|
# WARNING: Anything built against wxWidgets with gcc >= 5 needs widgets built with relax-abi.diff
|
||||||
|
%if 0%{?suse_version} < 1330
|
||||||
|
BuildRequires: cpp5
|
||||||
|
BuildRequires: gcc5
|
||||||
|
BuildRequires: gcc5-c++
|
||||||
|
%else
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
|
%endif
|
||||||
BuildRequires: hicolor-icon-theme
|
BuildRequires: hicolor-icon-theme
|
||||||
BuildRequires: wxWidgets-3_0-nostl-devel
|
BuildRequires: wxWidgets-3_0-nostl-devel
|
||||||
BuildRequires: pkgconfig(alsa)
|
BuildRequires: pkgconfig(alsa)
|
||||||
BuildRequires: pkgconfig(expat)
|
BuildRequires: pkgconfig(expat)
|
||||||
BuildRequires: pkgconfig(flac)
|
BuildRequires: pkgconfig(flac) >= 1.3.1
|
||||||
BuildRequires: pkgconfig(flac++)
|
BuildRequires: pkgconfig(flac++)
|
||||||
BuildRequires: pkgconfig(gtk+-2.0) >= 2.4.0
|
BuildRequires: pkgconfig(gtk+-2.0) >= 2.4.0
|
||||||
BuildRequires: pkgconfig(id3tag)
|
BuildRequires: pkgconfig(id3tag)
|
||||||
BuildRequires: pkgconfig(jack)
|
BuildRequires: pkgconfig(jack)
|
||||||
|
%if %{with ffmpeg}
|
||||||
BuildRequires: pkgconfig(libavcodec) >= 51.53
|
BuildRequires: pkgconfig(libavcodec) >= 51.53
|
||||||
BuildRequires: pkgconfig(libavformat) >= 52.12
|
BuildRequires: pkgconfig(libavformat) >= 52.12
|
||||||
BuildRequires: pkgconfig(libavutil)
|
BuildRequires: pkgconfig(libavutil)
|
||||||
|
%endif
|
||||||
|
BuildRequires: pkgconfig(lilv-0) >= 0.16
|
||||||
|
BuildRequires: pkgconfig(lv2)
|
||||||
BuildRequires: pkgconfig(ogg)
|
BuildRequires: pkgconfig(ogg)
|
||||||
BuildRequires: pkgconfig(shared-mime-info)
|
BuildRequires: pkgconfig(shared-mime-info)
|
||||||
BuildRequires: pkgconfig(sndfile)
|
BuildRequires: pkgconfig(sndfile)
|
||||||
BuildRequires: pkgconfig(soundtouch)
|
BuildRequires: pkgconfig(soundtouch)
|
||||||
BuildRequires: pkgconfig(soxr)
|
BuildRequires: pkgconfig(soxr)
|
||||||
|
BuildRequires: pkgconfig(suil-0) >= 0.8.2
|
||||||
BuildRequires: pkgconfig(vamp-hostsdk)
|
BuildRequires: pkgconfig(vamp-hostsdk)
|
||||||
BuildRequires: pkgconfig(vorbis)
|
BuildRequires: pkgconfig(vorbis)
|
||||||
BuildRequires: pkgconfig(vorbisenc)
|
BuildRequires: pkgconfig(vorbisenc)
|
||||||
@ -92,12 +104,11 @@ than the physical memory size of your computer.
|
|||||||
%lang_package
|
%lang_package
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-minsrc-%{version}
|
%setup -q -n %{name}-Audacity-%{version}
|
||||||
%patch0
|
%patch0
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
%patch2 -p1
|
%patch2 -p0
|
||||||
%patch3
|
#%%patch5
|
||||||
%patch5
|
|
||||||
cp -f %{SOURCE1} LICENSE_NYQUIST.txt
|
cp -f %{SOURCE1} LICENSE_NYQUIST.txt
|
||||||
# Make sure we use the system versions.
|
# Make sure we use the system versions.
|
||||||
rm -rf lib-src/{expat,libvamp,libsoxr,ffmpeg}/
|
rm -rf lib-src/{expat,libvamp,libsoxr,ffmpeg}/
|
||||||
@ -106,13 +117,21 @@ rm -rf lib-src/lame/
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
%if 0%{?suse_version} < 1330
|
||||||
|
export CC=gcc-5
|
||||||
|
export CPP=cpp-5
|
||||||
|
export CXX=g++-5
|
||||||
|
%endif
|
||||||
export CFLAGS="%{optflags} -fno-strict-aliasing"
|
export CFLAGS="%{optflags} -fno-strict-aliasing"
|
||||||
export CXXFLAGS="$CFLAGS"
|
export CXXFLAGS="$CFLAGS -std=gnu++11"
|
||||||
aclocal -I m4
|
aclocal -I m4
|
||||||
autoconf
|
autoconf
|
||||||
%configure \
|
%configure \
|
||||||
%ifnarch %ix86 x86_64
|
%ifnarch %ix86 x86_64
|
||||||
--disable-sse \
|
--disable-sse \
|
||||||
|
%endif
|
||||||
|
%if %{with ffmpeg}
|
||||||
|
--with-ffmpeg=system \
|
||||||
%endif
|
%endif
|
||||||
--docdir=%{_docdir}/%{name}/
|
--docdir=%{_docdir}/%{name}/
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user