rpms/audacity/devel audacity-1.3.6-flac-import.patch, 1.1, 1.2 audacity-1.3.7-libdir.patch, 1.1, 1.2 audacity-1.3.7-libmp3lame-default.patch, 1.1, 1.2 audacity-1.3.7-portaudio-non-mmap-alsa.patch, 1.1, 1.2 audacity-1.3.7-repeat.patch, 1.1, 1.2 .cvsignore, 1.9, 1.10 audacity.spec, 1.69, 1.70 sources, 1.11, 1.12 audacity-1.3.4-libmp3lame-default.patch, 1.2, NONE audacity-1.3.5-flac-import.patch, 1.1, NONE audacity-1.3.5-fr.patch, 1.1, NONE audacity-1.3.5-libdir.patch, 1.1, NONE audacity-1.3.5-portaudio-non-mmap-alsa.patch, 1.1, NONE audacity-1.3.5-vamp2.patch, 1.2, NONE
Michael Schwendt
mschwendt at fedoraproject.org
Sat Feb 28 14:21:48 UTC 2009
Author: mschwendt
Update of /cvs/pkgs/rpms/audacity/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv30621
Modified Files:
.cvsignore audacity.spec sources
Added Files:
audacity-1.3.6-flac-import.patch audacity-1.3.7-libdir.patch
audacity-1.3.7-libmp3lame-default.patch
audacity-1.3.7-portaudio-non-mmap-alsa.patch
audacity-1.3.7-repeat.patch
Removed Files:
audacity-1.3.4-libmp3lame-default.patch
audacity-1.3.5-flac-import.patch audacity-1.3.5-fr.patch
audacity-1.3.5-libdir.patch
audacity-1.3.5-portaudio-non-mmap-alsa.patch
audacity-1.3.5-vamp2.patch
Log Message:
* Sat Feb 28 2009 Michael Schwendt <mschwendt at fedoraproject.org> - 1.3.7-0.3.beta
- upgrade to 1.3.7-beta pkg from test branch in Fedora cvs
audacity-1.3.6-flac-import.patch:
Index: audacity-1.3.6-flac-import.patch
===================================================================
RCS file: audacity-1.3.6-flac-import.patch
diff -N audacity-1.3.6-flac-import.patch
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ audacity-1.3.6-flac-import.patch 28 Feb 2009 14:21:17 -0000 1.2
@@ -0,0 +1,12 @@
+diff -Nur audacity-src-1.3.6-orig/src/import/ImportFLAC.cpp audacity-src-1.3.6/src/import/ImportFLAC.cpp
+--- audacity-src-1.3.6-orig/src/import/ImportFLAC.cpp 2008-10-25 14:14:27.000000000 +0200
++++ audacity-src-1.3.6/src/import/ImportFLAC.cpp 2008-11-05 00:15:33.000000000 +0100
+@@ -361,6 +361,8 @@
+ Tags *tags)
+ {
+ wxASSERT(mStreamInfoDone);
++ if (!mStreamInfoDone)
++ return eImportFailed;
+
+ CreateProgress();
+
audacity-1.3.7-libdir.patch:
Index: audacity-1.3.7-libdir.patch
===================================================================
RCS file: audacity-1.3.7-libdir.patch
diff -N audacity-1.3.7-libdir.patch
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ audacity-1.3.7-libdir.patch 28 Feb 2009 14:21:17 -0000 1.2
@@ -0,0 +1,12 @@
+diff -Nur audacity-src-1.3.6-orig/src/effects/ladspa/LoadLadspa.cpp audacity-src-1.3.6/src/effects/ladspa/LoadLadspa.cpp
+--- audacity-src-1.3.6-orig/src/effects/ladspa/LoadLadspa.cpp 2008-10-24 08:56:32.000000000 +0200
++++ audacity-src-1.3.6/src/effects/ladspa/LoadLadspa.cpp 2008-10-24 13:01:10.000000000 +0200
+@@ -279,7 +279,7 @@
+
+ #ifdef __WXGTK__
+ wxGetApp().AddUniquePathToPathList(wxT(INSTALL_PREFIX) wxT("/ladspa"), pathList);
+- wxGetApp().AddUniquePathToPathList(wxT("/usr/local/lib/ladspa"), pathList);
++ wxGetApp().AddUniquePathToPathList(wxT("/usr/local/__RPM_LIB__/ladspa"), pathList);
+ wxGetApp().AddUniquePathToPathList(wxT(LIBDIR) wxT("/ladspa"), pathList);
+ #endif
+
audacity-1.3.7-libmp3lame-default.patch:
Index: audacity-1.3.7-libmp3lame-default.patch
===================================================================
RCS file: audacity-1.3.7-libmp3lame-default.patch
diff -N audacity-1.3.7-libmp3lame-default.patch
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ audacity-1.3.7-libmp3lame-default.patch 28 Feb 2009 14:21:17 -0000 1.2
@@ -0,0 +1,12 @@
+diff -Nur audacity-src-1.3.7-orig/src/AudacityApp.cpp audacity-src-1.3.7/src/AudacityApp.cpp
+--- audacity-src-1.3.7-orig/src/AudacityApp.cpp 2009-01-27 21:50:58.000000000 +0100
++++ audacity-src-1.3.7/src/AudacityApp.cpp 2009-02-02 19:02:32.000000000 +0100
+@@ -766,6 +766,8 @@
+ return false;
+ }
+
++ gPrefs->Write(wxT("/MP3/MP3LibPath"),wxT("__RPM_LIBDIR__/libmp3lame.so.0"));
++
+ // More initialization
+ InitCleanSpeech();
+
audacity-1.3.7-portaudio-non-mmap-alsa.patch:
Index: audacity-1.3.7-portaudio-non-mmap-alsa.patch
===================================================================
RCS file: audacity-1.3.7-portaudio-non-mmap-alsa.patch
diff -N audacity-1.3.7-portaudio-non-mmap-alsa.patch
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ audacity-1.3.7-portaudio-non-mmap-alsa.patch 28 Feb 2009 14:21:17 -0000 1.2
@@ -0,0 +1,381 @@
+diff -Nur audacity-src-1.3.7-orig/lib-src/portaudio-v19/src/hostapi/alsa/pa_linux_alsa.c audacity-src-1.3.7/lib-src/portaudio-v19/src/hostapi/alsa/pa_linux_alsa.c
+--- audacity-src-1.3.7-orig/lib-src/portaudio-v19/src/hostapi/alsa/pa_linux_alsa.c 2009-01-27 21:51:40.000000000 +0100
++++ audacity-src-1.3.7/lib-src/portaudio-v19/src/hostapi/alsa/pa_linux_alsa.c 2009-02-02 19:08:22.000000000 +0100
+@@ -6,6 +6,7 @@
+ *
+ * Copyright (c) 2002 Joshua Haberman <joshua at haberman.com>
+ * Copyright (c) 2005-2007 Arve Knudsen <aknuds-1 at broadpark.no>
++ * Copyright (c) 2008 Kevin Kofler <kevin.kofler at chello.at>
+ *
+ * Based on the Open Source API proposed by Ross Bencina
+ * Copyright (c) 1999-2002 Ross Bencina, Phil Burk
+@@ -118,6 +119,8 @@
+ unsigned long framesPerBuffer;
+ int numUserChannels, numHostChannels;
+ int userInterleaved, hostInterleaved;
++ int canMmap;
++ void *nonMmapBuffer;
+ PaDeviceIndex device; /* Keep the device index */
+
+ snd_pcm_t *pcm;
+@@ -321,7 +324,7 @@
+ * and a suitable result returned. The device is closed before returning.
+ */
+ static PaError GropeDevice( snd_pcm_t* pcm, int isPlug, StreamDirection mode, int openBlocking,
+- PaAlsaDeviceInfo* devInfo, int* canMmap )
++ PaAlsaDeviceInfo* devInfo )
+ {
+ PaError result = paNoError;
+ snd_pcm_hw_params_t *hwParams;
+@@ -354,9 +357,6 @@
+ snd_pcm_hw_params_alloca( &hwParams );
+ snd_pcm_hw_params_any( pcm, hwParams );
+
+- *canMmap = snd_pcm_hw_params_test_access( pcm, hwParams, SND_PCM_ACCESS_MMAP_INTERLEAVED ) >= 0 ||
+- snd_pcm_hw_params_test_access( pcm, hwParams, SND_PCM_ACCESS_MMAP_NONINTERLEAVED ) >= 0;
+-
+ if( defaultSr >= 0 )
+ {
+ /* Could be that the device opened in one mode supports samplerates that the other mode wont have,
+@@ -566,7 +566,6 @@
+ PaError result = 0;
+ PaDeviceInfo *baseDeviceInfo = &devInfo->baseDeviceInfo;
+ snd_pcm_t *pcm;
+- int canMmap = -1;
+ PaUtilHostApiRepresentation *baseApi = &alsaApi->baseHostApiRep;
+
+ /* Zero fields */
+@@ -580,8 +579,7 @@
+ OpenPcm( &pcm, deviceName->alsaName, SND_PCM_STREAM_CAPTURE, blocking, 0 )
+ >= 0 )
+ {
+- if( GropeDevice( pcm, deviceName->isPlug, StreamDirection_In, blocking, devInfo,
+- &canMmap ) != paNoError )
++ if( GropeDevice( pcm, deviceName->isPlug, StreamDirection_In, blocking, devInfo ) != paNoError )
+ {
+ /* Error */
+ PA_DEBUG(("%s: Failed groping %s for capture\n", __FUNCTION__, deviceName->alsaName));
+@@ -594,8 +592,7 @@
+ OpenPcm( &pcm, deviceName->alsaName, SND_PCM_STREAM_PLAYBACK, blocking, 0 )
+ >= 0 )
+ {
+- if( GropeDevice( pcm, deviceName->isPlug, StreamDirection_Out, blocking, devInfo,
+- &canMmap ) != paNoError )
++ if( GropeDevice( pcm, deviceName->isPlug, StreamDirection_Out, blocking, devInfo ) != paNoError )
+ {
+ /* Error */
+ PA_DEBUG(("%s: Failed groping %s for playback\n", __FUNCTION__, deviceName->alsaName));
+@@ -603,12 +600,6 @@
+ }
+ }
+
+- if( 0 == canMmap )
+- {
+- PA_DEBUG(("%s: Device %s doesn't support mmap\n", __FUNCTION__, deviceName->alsaName));
+- goto end;
+- }
+-
+ baseDeviceInfo->structVersion = 2;
+ baseDeviceInfo->hostApi = alsaApi->hostApiIndex;
+ baseDeviceInfo->name = deviceName->name;
+@@ -1197,6 +1188,8 @@
+ self->hostInterleaved = self->userInterleaved = !(userSampleFormat & paNonInterleaved);
+ self->numUserChannels = params->channelCount;
+ self->streamDir = streamDir;
++ self->canMmap = 0;
++ self->nonMmapBuffer = NULL;
+
+ if( !callbackMode && !self->userInterleaved )
+ {
+@@ -1239,6 +1232,7 @@
+
+ PaError result = paNoError;
+ snd_pcm_access_t accessMode, alternateAccessMode;
++ snd_pcm_access_t rwAccessMode, alternateRwAccessMode;
+ int dir = 0;
+ snd_pcm_t *pcm = self->pcm;
+ double sr = *sampleRate;
+@@ -1258,32 +1252,40 @@
+ if( self->userInterleaved )
+ {
+ accessMode = SND_PCM_ACCESS_MMAP_INTERLEAVED;
++ rwAccessMode = SND_PCM_ACCESS_RW_INTERLEAVED;
+ alternateAccessMode = SND_PCM_ACCESS_MMAP_NONINTERLEAVED;
++ alternateRwAccessMode = SND_PCM_ACCESS_RW_NONINTERLEAVED;
+ }
+ else
+ {
+ accessMode = SND_PCM_ACCESS_MMAP_NONINTERLEAVED;
++ rwAccessMode = SND_PCM_ACCESS_RW_NONINTERLEAVED;
+ alternateAccessMode = SND_PCM_ACCESS_MMAP_INTERLEAVED;
++ alternateRwAccessMode = SND_PCM_ACCESS_RW_INTERLEAVED;
+ }
+ /* If requested access mode fails, try alternate mode */
++ self->canMmap = 1;
+ if( snd_pcm_hw_params_set_access( pcm, hwParams, accessMode ) < 0 )
+ {
+- int err = 0;
+- if( (err = snd_pcm_hw_params_set_access( pcm, hwParams, alternateAccessMode )) < 0)
++ if( snd_pcm_hw_params_set_access( pcm, hwParams, rwAccessMode ) >= 0 )
++ self->canMmap = 0;
++ else
+ {
+- result = paUnanticipatedHostError;
+- if( -EINVAL == err )
++ if( snd_pcm_hw_params_set_access( pcm, hwParams, alternateAccessMode ) < 0 )
+ {
+- PaUtil_SetLastHostErrorInfo( paALSA, err, "PA ALSA requires that a device supports mmap access" );
+- }
+- else
+- {
+- PaUtil_SetLastHostErrorInfo( paALSA, err, snd_strerror( err ) );
++ int err = 0;
++ if( (err = snd_pcm_hw_params_set_access( pcm, hwParams, alternateRwAccessMode )) >= 0)
++ self->canMmap = 0;
++ else
++ {
++ result = paUnanticipatedHostError;
++ PaUtil_SetLastHostErrorInfo( paALSA, err, snd_strerror( err ) );
++ goto error;
++ }
+ }
+- goto error;
++ /* Flip mode */
++ self->hostInterleaved = !self->userInterleaved;
+ }
+- /* Flip mode */
+- self->hostInterleaved = !self->userInterleaved;
+ }
+
+ ENSURE_( snd_pcm_hw_params_set_format( pcm, hwParams, self->nativeFormat ), paUnanticipatedHostError );
+@@ -1361,7 +1363,7 @@
+
+ ENSURE_( snd_pcm_sw_params_set_avail_min( self->pcm, swParams, self->framesPerBuffer ), paUnanticipatedHostError );
+ ENSURE_( snd_pcm_sw_params_set_xfer_align( self->pcm, swParams, 1 ), paUnanticipatedHostError );
+- ENSURE_( snd_pcm_sw_params_set_tstamp_mode( self->pcm, swParams, SND_PCM_TSTAMP_MMAP ), paUnanticipatedHostError );
++ ENSURE_( snd_pcm_sw_params_set_tstamp_mode( self->pcm, swParams, SND_PCM_TSTAMP_ENABLE ), paUnanticipatedHostError );
+
+ /* Set the parameters! */
+ ENSURE_( snd_pcm_sw_params( self->pcm, swParams ), paUnanticipatedHostError );
+@@ -1589,6 +1591,10 @@
+ }
+ }
+
++ /* non-mmap mode needs a reasonably-sized buffer or it'll stutter */
++ if( !self->canMmap && framesPerHostBuffer < 2048 )
++ framesPerHostBuffer = 2048;
++
+ assert( framesPerHostBuffer > 0 );
+ {
+ snd_pcm_uframes_t min = 0, max = 0;
+@@ -1831,12 +1837,13 @@
+ PA_UNLESS( framesPerHostBuffer != 0, paInternalError );
+ self->maxFramesPerHostBuffer = framesPerHostBuffer;
+
+- if( !accurate )
++ if( !self->playback.canMmap || !accurate )
+ {
+ /* Don't know the exact size per host buffer */
+ *hostBufferSizeMode = paUtilBoundedHostBufferSize;
+ /* Raise upper bound */
+- ++self->maxFramesPerHostBuffer;
++ if( !accurate )
++ ++self->maxFramesPerHostBuffer;
+ }
+
+ error:
+@@ -2059,9 +2066,11 @@
+ {
+ /* Buffer isn't primed, so prepare and silence */
+ ENSURE_( snd_pcm_prepare( stream->playback.pcm ), paUnanticipatedHostError );
+- SilenceBuffer( stream );
++ if( stream->playback.canMmap )
++ SilenceBuffer( stream );
+ }
+- ENSURE_( snd_pcm_start( stream->playback.pcm ), paUnanticipatedHostError );
++ if( stream->playback.canMmap )
++ ENSURE_( snd_pcm_start( stream->playback.pcm ), paUnanticipatedHostError );
+ }
+ else
+ ENSURE_( snd_pcm_prepare( stream->playback.pcm ), paUnanticipatedHostError );
+@@ -2390,6 +2399,7 @@
+ snd_pcm_status_t *st;
+ PaTime now = PaUtil_GetTime();
+ snd_timestamp_t t;
++ int errplayback = 0, errcapture = 0;
+
+ snd_pcm_status_alloca( &st );
+
+@@ -2400,6 +2410,7 @@
+ {
+ snd_pcm_status_get_trigger_tstamp( st, &t );
+ self->underrun = now * 1000 - ((PaTime) t.tv_sec * 1000 + (PaTime) t.tv_usec / 1000);
++ errplayback = snd_pcm_recover( self->playback.pcm, -EPIPE, 0 );
+ }
+ }
+ if( self->capture.pcm )
+@@ -2409,10 +2420,12 @@
+ {
+ snd_pcm_status_get_trigger_tstamp( st, &t );
+ self->overrun = now * 1000 - ((PaTime) t.tv_sec * 1000 + (PaTime) t.tv_usec / 1000);
++ errcapture = snd_pcm_recover( self->capture.pcm, -EPIPE, 0 );
+ }
+ }
+
+- PA_ENSURE( AlsaRestart( self ) );
++ if( errplayback || errcapture )
++ PA_ENSURE( AlsaRestart( self ) );
+
+ end:
+ return result;
+@@ -2563,7 +2576,7 @@
+ static PaError PaAlsaStreamComponent_EndProcessing( PaAlsaStreamComponent *self, unsigned long numFrames, int *xrun )
+ {
+ PaError result = paNoError;
+- int res;
++ int res = 0;
+
+ /* @concern FullDuplex It is possible that only one direction is marked ready after polling, and processed
+ * afterwards
+@@ -2571,7 +2584,34 @@
+ if( !self->ready )
+ goto end;
+
+- res = snd_pcm_mmap_commit( self->pcm, self->offset, numFrames );
++ if( !self->canMmap && StreamDirection_Out == self->streamDir )
++ {
++ /* Play sound */
++ if( self->hostInterleaved )
++ res = snd_pcm_writei( self->pcm, self->nonMmapBuffer, numFrames );
++ else
++ {
++ void *bufs[self->numHostChannels];
++ int bufsize = snd_pcm_format_size( self->nativeFormat, self->framesPerBuffer + 1 );
++ unsigned char *buffer = self->nonMmapBuffer;
++ int i;
++ for( i = 0; i < self->numHostChannels; ++i )
++ {
++ bufs[i] = buffer;
++ buffer += bufsize;
++ }
++ res = snd_pcm_writen( self->pcm, bufs, numFrames );
++ }
++ }
++
++ if( self->canMmap )
++ res = snd_pcm_mmap_commit( self->pcm, self->offset, numFrames );
++ else
++ {
++ free( self->nonMmapBuffer );
++ self->nonMmapBuffer = NULL;
++ }
++
+ if( res == -EPIPE || res == -ESTRPIPE )
+ {
+ *xrun = 1;
+@@ -2611,7 +2651,7 @@
+ if( self->hostInterleaved )
+ {
+ int swidth = snd_pcm_format_size( self->nativeFormat, 1 );
+- unsigned char *buffer = ExtractAddress( self->channelAreas, self->offset );
++ unsigned char *buffer = self->canMmap ? ExtractAddress( self->channelAreas, self->offset ) : self->nonMmapBuffer;
+
+ /* Start after the last user channel */
+ p = buffer + self->numUserChannels * swidth;
+@@ -2991,13 +3031,23 @@
+ goto end;
+ }
+
+- ENSURE_( snd_pcm_mmap_begin( self->pcm, &areas, &self->offset, numFrames ), paUnanticipatedHostError );
++ if( self->canMmap )
++ {
++ ENSURE_( snd_pcm_mmap_begin( self->pcm, &areas, &self->offset, numFrames ), paUnanticipatedHostError );
++ /* @concern ChannelAdaption Buffer address is recorded so we can do some channel adaption later */
++ self->channelAreas = (snd_pcm_channel_area_t *)areas;
++ }
++ else
++ {
++ free( self->nonMmapBuffer );
++ self->nonMmapBuffer = calloc( self->numHostChannels, snd_pcm_format_size( self->nativeFormat, self->framesPerBuffer + 1 ) );
++ }
+
+ if( self->hostInterleaved )
+ {
+ int swidth = snd_pcm_format_size( self->nativeFormat, 1 );
+
+- p = buffer = ExtractAddress( areas, self->offset );
++ p = buffer = self->canMmap ? ExtractAddress( areas, self->offset ) : self->nonMmapBuffer;
+ for( i = 0; i < self->numUserChannels; ++i )
+ {
+ /* We're setting the channels up to userChannels, but the stride will be hostChannels samples */
+@@ -3007,16 +3057,52 @@
+ }
+ else
+ {
+- for( i = 0; i < self->numUserChannels; ++i )
++ if( self->canMmap )
++ for( i = 0; i < self->numUserChannels; ++i )
++ {
++ area = areas + i;
++ buffer = ExtractAddress( area, self->offset );
++ setChannel( bp, i, buffer, 1 );
++ }
++ else
+ {
+- area = areas + i;
+- buffer = ExtractAddress( area, self->offset );
+- setChannel( bp, i, buffer, 1 );
++ int bufsize = snd_pcm_format_size( self->nativeFormat, self->framesPerBuffer + 1 );
++ buffer = self->nonMmapBuffer;
++ for( i = 0; i < self->numUserChannels; ++i )
++ {
++ setChannel( bp, i, buffer, 1 );
++ buffer += bufsize;
++ }
+ }
+ }
+
+- /* @concern ChannelAdaption Buffer address is recorded so we can do some channel adaption later */
+- self->channelAreas = (snd_pcm_channel_area_t *)areas;
++ if( !self->canMmap && StreamDirection_In == self->streamDir )
++ {
++ /* Read sound */
++ int res;
++ if( self->hostInterleaved )
++ res = snd_pcm_readi( self->pcm, self->nonMmapBuffer, *numFrames );
++ else
++ {
++ void *bufs[self->numHostChannels];
++ int bufsize = snd_pcm_format_size( self->nativeFormat, self->framesPerBuffer + 1 );
++ unsigned char *buffer = self->nonMmapBuffer;
++ int i;
++ for( i = 0; i < self->numHostChannels; ++i )
++ {
++ bufs[i] = buffer;
++ buffer += bufsize;
++ }
++ res = snd_pcm_readn( self->pcm, bufs, *numFrames );
++ }
++ if( res == -EPIPE || res == -ESTRPIPE )
++ {
++ *xrun = 1;
++ *numFrames = 0;
++ free( self->nonMmapBuffer );
++ self->nonMmapBuffer = NULL;
++ }
++ }
+
+ end:
+ error:
+diff -Nur audacity-src-1.3.7-orig/lib-src/portaudio-v19/src/os/unix/pa_unix_hostapis.c audacity-src-1.3.7/lib-src/portaudio-v19/src/os/unix/pa_unix_hostapis.c
+--- audacity-src-1.3.7-orig/lib-src/portaudio-v19/src/os/unix/pa_unix_hostapis.c 2009-01-27 21:51:40.000000000 +0100
++++ audacity-src-1.3.7/lib-src/portaudio-v19/src/os/unix/pa_unix_hostapis.c 2009-02-02 19:08:22.000000000 +0100
+@@ -103,4 +103,8 @@
+ 0 /* NULL terminated array */
+ };
+
++#if defined(PA_USE_OSS) && defined(PA_USE_ALSA)
++int paDefaultHostApiIndex = 1;
++#else
+ int paDefaultHostApiIndex = 0;
++#endif
audacity-1.3.7-repeat.patch:
Index: audacity-1.3.7-repeat.patch
===================================================================
RCS file: audacity-1.3.7-repeat.patch
diff -N audacity-1.3.7-repeat.patch
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ audacity-1.3.7-repeat.patch 28 Feb 2009 14:21:17 -0000 1.2
@@ -0,0 +1,12 @@
+diff -Nur audacity-src-1.3.7-orig/src/effects/Repeat.cpp audacity-src-1.3.7/src/effects/Repeat.cpp
+--- audacity-src-1.3.7-orig/src/effects/Repeat.cpp 2009-01-27 21:50:58.000000000 +0100
++++ audacity-src-1.3.7/src/effects/Repeat.cpp 2009-02-19 15:18:42.000000000 +0100
+@@ -192,7 +192,7 @@
+ void RepeatDialog::PopulateOrExchange(ShuttleGui & S)
+ {
+ wxTextValidator vld(wxFILTER_INCLUDE_CHAR_LIST);
+- vld.SetIncludes(wxArrayString(12, numbers));
++ vld.SetIncludes(wxArrayString(10, numbers));
+
+ S.StartHorizontalLay(wxCENTER, false);
+ {
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/audacity/devel/.cvsignore,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- .cvsignore 15 May 2008 19:31:29 -0000 1.9
+++ .cvsignore 28 Feb 2009 14:21:16 -0000 1.10
@@ -1 +1 @@
-audacity-src-1.3.5.tar.bz2
+audacity-minsrc-1.3.7.tar.bz2
Index: audacity.spec
===================================================================
RCS file: /cvs/pkgs/rpms/audacity/devel/audacity.spec,v
retrieving revision 1.69
retrieving revision 1.70
diff -u -r1.69 -r1.70
--- audacity.spec 24 Feb 2009 03:07:49 -0000 1.69
+++ audacity.spec 28 Feb 2009 14:21:17 -0000 1.70
@@ -1,26 +1,25 @@
# Compile options:
# --with mp3 : enable mp3 support
-%define tartopdir audacity-src-1.3.5-beta
+%define tartopdir audacity-src-1.3.7
Name: audacity
-Version: 1.3.5
-Release: 0.13.beta%{?dist}
+Version: 1.3.7
+Release: 0.3.beta%{?dist}
Summary: Multitrack audio editor
Group: Applications/Multimedia
License: GPLv2
URL: http://audacity.sourceforge.net
-Source0: http://downloads.sf.net/sourceforge/audacity/audacity-src-1.3.5.tar.bz2
+Source0: http://downloads.sf.net/sourceforge/audacity/audacity-minsrc-1.3.7.tar.bz2
Source1: audacity.png
Source2: audacity.desktop
-Patch1: audacity-1.3.4-libmp3lame-default.patch
-Patch2: audacity-1.3.5-libdir.patch
-Patch3: audacity-1.3.5-fr.patch
-Patch4: audacity-1.3.5-flac-import.patch
-Patch5: audacity-1.3.5-vamp2.patch
-Patch6: audacity-1.3.5-portaudio-non-mmap-alsa.patch
+Patch1: audacity-1.3.7-libmp3lame-default.patch
+Patch2: audacity-1.3.7-libdir.patch
+Patch3: audacity-1.3.6-flac-import.patch
+Patch4: audacity-1.3.7-portaudio-non-mmap-alsa.patch
+Patch5: audacity-1.3.7-repeat.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: alsa-lib-devel
@@ -57,17 +56,16 @@
# Substitute hardcoded library paths.
%patch1 -p1
%patch2 -p1
-for i in src/effects/ladspa/LoadLadspa.cpp src/export/ExportMP3.cpp src/AudacityApp.cpp
+for i in src/effects/ladspa/LoadLadspa.cpp src/AudacityApp.cpp
do
sed -i -e 's!__RPM_LIBDIR__!%{_libdir}!g' $i
sed -i -e 's!__RPM_LIB__!%{_lib}!g' $i
done
grep -q -s __RPM_LIB * -R && exit 1
-%patch3 -p1 -b .fr
-%patch4 -p1 -b .dumb-flac-import
-%patch5 -p1 -b .vamp2
-%patch6 -p1 -b .portaudio-non-mmap-alsa
+%patch3 -p1 -b .dumb-flac-import
+%patch4 -p1 -b .pa-non-mmap-alsa
+%patch5 -p1 -b .repeat
# Substitute occurences of "libmp3lame.so" with "libmp3lame.so.0".
for i in locale/*.po src/export/ExportMP3.cpp
@@ -88,6 +86,7 @@
--with-id3tag=system \
--with-expat=system \
--with-soundtouch=system \
+ --without-ffmpeg \
%{?_with_mp3:--with-libmad=system}
# _smp_mflags cause problems
make
@@ -138,6 +137,9 @@
%changelog
+* Sat Feb 28 2009 Michael Schwendt <mschwendt at fedoraproject.org> - 1.3.7-0.3.beta
+- upgrade to 1.3.7-beta pkg from test branch in Fedora cvs
+
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.3.5-0.13.beta
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/audacity/devel/sources,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- sources 15 May 2008 19:31:29 -0000 1.11
+++ sources 28 Feb 2009 14:21:17 -0000 1.12
@@ -1 +1 @@
-b15503c331e7145942fa0e4b27760d61 audacity-src-1.3.5.tar.bz2
+7dcbcd8ed417413fd824d446001058d9 audacity-minsrc-1.3.7.tar.bz2
--- audacity-1.3.4-libmp3lame-default.patch DELETED ---
--- audacity-1.3.5-flac-import.patch DELETED ---
--- audacity-1.3.5-fr.patch DELETED ---
--- audacity-1.3.5-libdir.patch DELETED ---
--- audacity-1.3.5-portaudio-non-mmap-alsa.patch DELETED ---
--- audacity-1.3.5-vamp2.patch DELETED ---
More information about the fedora-extras-commits
mailing list