SHA256
1
0
forked from pool/audacity
Alexei Sorokin 2016-04-24 21:43:01 +00:00 committed by Git OBS Bridge
parent e254405483
commit 91cc4a3fe7
3 changed files with 21 additions and 1 deletions

View File

@ -0,0 +1,11 @@
--- a/src/AudacityApp.cpp
+++ b/src/AudacityApp.cpp
@@ -1640,7 +1640,7 @@ bool AudacityApp::CreateSingleInstanceCh
mChecker = new wxSingleInstanceChecker();
#if defined(__UNIX__)
- wxString sockFile(defaultTempDir + wxT("/.audacity.sock"));
+ wxString sockFile(dir + wxT("/.audacity.sock"));
#endif
wxString runningTwoCopiesStr = _("Running two copies of Audacity simultaneously may cause\ndata loss or cause your system to crash.\n\n");

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Apr 24 21:35:43 UTC 2016 - sor.alexei@meowr.ru
- Add audacity-2.1.1-fix-tempdir.patch from upstream: fix usage of
custom temp directories (boo#976964).
-------------------------------------------------------------------
Sun Oct 25 11:08:54 UTC 2015 - sor.alexei@meowr.ru

View File

@ -1,7 +1,7 @@
#
# spec file for package audacity
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -39,6 +39,8 @@ Patch1: %{name}-flac_assert.h.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-2.1.1-fix-tempdir.patch boo#976964 -- Fix usage of custom temp directories (commit 2a6d423).
Patch4: %{name}-2.1.1-fix-tempdir.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: cmake
@ -97,6 +99,7 @@ than the physical memory size of your computer.
%patch1 -p1
%patch2 -p1
%patch3
%patch4 -p1
cp -f %{SOURCE1} LICENSE_NYQUIST.txt
# Make sure we use the system versions.
rm -rf lib-src/{expat,libvamp,libsoxr,ffmpeg}/