rpms/audacity/devel audacity-1.3.2-FLAC.patch, NONE, 1.1.4.1 audacity-1.3.2-destdir.patch, 1.1.4.1, 1.1.4.2 audacity-1.3.2-exportmp3.patch, NONE, 1.1.4.1 audacity-1.3.2-fr.patch, NONE, 1.1.4.1 audacity-1.3.2-gcc43.patch, NONE, 1.1.2.1 audacity-1.3.2-jack-api-109.patch, NONE, 1.1.2.1 audacity-1.3.2-libdir.patch, NONE, 1.1.2.1 audacity-1.3.2-resample.patch, NONE, 1.1.4.1 audacity-1.3.4-expat2.patch, NONE, 1.1.2.1 audacity-1.3.4-gcc43.patch, NONE, 1.1.2.1 audacity-1.3.4-jack-api-109.patch, NONE, 1.1.2.1 audacity-1.3.4-languages.patch, NONE, 1.1.2.1 audacity-1.3.4-libdir.patch, NONE, 1.1.2.1 .cvsignore, 1.8.2.1.2.2, 1.8.2.1.2.3 audacity.spec, 1.35.2.5.2.5, 1.35.2.5.2.6 sources, 1.10.2.1.2.2, 1.10.2.1.2.3
Michael Schwendt (mschwendt)
fedora-extras-commits at redhat.com
Fri Mar 21 23:14:37 UTC 2008
- Previous message (by thread): rpms/ocaml-facile/devel ocaml-facile.spec,1.1,1.2
- Next message (by thread): rpms/ocaml-facile/F-7 .cvsignore, 1.2, NONE facile-1.1-makefile-fixes.patch, 1.1, NONE ocaml-facile.spec, 1.2, NONE sources, 1.2, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: mschwendt
Update of /cvs/pkgs/rpms/audacity/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv21519
Modified Files:
Tag: audacity-1_3_4-test
.cvsignore audacity.spec sources
Added Files:
Tag: audacity-1_3_4-test
audacity-1.3.2-FLAC.patch audacity-1.3.2-destdir.patch
audacity-1.3.2-exportmp3.patch audacity-1.3.2-fr.patch
audacity-1.3.2-gcc43.patch audacity-1.3.2-jack-api-109.patch
audacity-1.3.2-libdir.patch audacity-1.3.2-resample.patch
audacity-1.3.4-expat2.patch audacity-1.3.4-gcc43.patch
audacity-1.3.4-jack-api-109.patch
audacity-1.3.4-languages.patch audacity-1.3.4-libdir.patch
Log Message:
merge with devel pkg and import two-in-one package
audacity-1.3.2-FLAC.patch:
--- NEW FILE audacity-1.3.2-FLAC.patch ---
diff -Nur audacity-src-1.3.2-beta-orig/configure audacity-src-1.3.2-beta/configure
--- audacity-src-1.3.2-beta-orig/configure 2006-10-29 01:05:36.000000000 +0200
+++ audacity-src-1.3.2-beta/configure 2007-02-24 03:12:59.000000000 +0100
@@ -5162,9 +5162,9 @@
- { echo "$as_me:$LINENO: checking for FLAC__file_decoder_new in -lFLAC" >&5
-echo $ECHO_N "checking for FLAC__file_decoder_new in -lFLAC... $ECHO_C" >&6; }
-if test "${ac_cv_lib_FLAC_FLAC__file_decoder_new+set}" = set; then
+ { echo "$as_me:$LINENO: checking for FLAC__stream_decoder_init_file in -lFLAC" >&5
+echo $ECHO_N "checking for FLAC__stream_decoder_init_file in -lFLAC... $ECHO_C" >&6; }
+if test "${ac_cv_lib_FLAC_FLAC__stream_decoder_init_file+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
@@ -5182,11 +5182,11 @@
#ifdef __cplusplus
extern "C"
#endif
-char FLAC__file_decoder_new ();
+char FLAC__stream_decoder_init_file ();
int
main ()
{
-return FLAC__file_decoder_new ();
+return FLAC__stream_decoder_init_file ();
;
return 0;
}
@@ -5225,21 +5225,21 @@
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
- ac_cv_lib_FLAC_FLAC__file_decoder_new=yes
+ ac_cv_lib_FLAC_FLAC__stream_decoder_init_file=yes
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- ac_cv_lib_FLAC_FLAC__file_decoder_new=no
+ ac_cv_lib_FLAC_FLAC__stream_decoder_init_file=no
fi
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_FLAC_FLAC__file_decoder_new" >&5
-echo "${ECHO_T}$ac_cv_lib_FLAC_FLAC__file_decoder_new" >&6; }
-if test $ac_cv_lib_FLAC_FLAC__file_decoder_new = yes; then
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_FLAC_FLAC__stream_decoder_init_file" >&5
+echo "${ECHO_T}$ac_cv_lib_FLAC_FLAC__stream_decoder_init_file" >&6; }
+if test $ac_cv_lib_FLAC_FLAC__stream_decoder_init_file = yes; then
lib_found="yes"
else
lib_found="no"
diff -Nur audacity-src-1.3.2-beta-orig/src/export/ExportFLAC.cpp audacity-src-1.3.2-beta/src/export/ExportFLAC.cpp
--- audacity-src-1.3.2-beta-orig/src/export/ExportFLAC.cpp 2006-10-29 01:05:27.000000000 +0200
+++ audacity-src-1.3.2-beta/src/export/ExportFLAC.cpp 2007-02-24 03:09:44.000000000 +0100
@@ -58,7 +58,6 @@
gPrefs->Read(wxT("/FileFormats/FLACBitDepth"), wxT("16"));
FLAC::Encoder::File *encoder= new FLAC::Encoder::File();
- encoder->set_filename(OSFILENAME(fName));
encoder->set_channels(numChannels);
encoder->set_sample_rate(int(rate + 0.5));
@@ -72,7 +71,7 @@
format=int16Sample;
encoder->set_bits_per_sample(16);
}
- encoder->init();
+ encoder->init(OSFILENAME(fName));
int numWaveTracks;
WaveTrack **waveTracks;
diff -Nur audacity-src-1.3.2-beta-orig/src/import/ImportFLAC.cpp audacity-src-1.3.2-beta/src/import/ImportFLAC.cpp
--- audacity-src-1.3.2-beta-orig/src/import/ImportFLAC.cpp 2006-10-29 01:05:28.000000000 +0200
+++ audacity-src-1.3.2-beta/src/import/ImportFLAC.cpp 2007-02-24 03:04:04.000000000 +0100
@@ -264,19 +264,15 @@
bool FLACImportFileHandle::Init()
{
- bool success = mFile->set_filename(OSFILENAME(mName));
- if (!success) {
- return false;
- }
- FLAC::Decoder::File::State state = mFile->init();
- if (state != FLAC__FILE_DECODER_OK) {
+ FLAC__StreamDecoderInitStatus state = mFile->init(OSFILENAME(mName));
+ if (state != FLAC__STREAM_DECODER_INIT_STATUS_OK) {
return false;
}
mFile->process_until_end_of_metadata();
- state = mFile->get_state();
- if (state != FLAC__FILE_DECODER_OK) {
- return false;
- }
+ // FLAC__StreamDecoderState decstate = mFile->get_state();
+ // if (state != FLAC__STREAM_DECODER_FILE_DECODER_OK) {
+ // return false;
+ // }
if (!mFile->is_valid() || mFile->get_was_error())
{
// This probably is not a FLAC file at all
@@ -340,7 +336,7 @@
mChannels[1]->SetTeamed(true);
}
- mFile->process_until_end_of_file();
+ mFile->process_until_end_of_stream();
*outTracks = new Track *[*outNumTracks];
for(c = 0; c < *outNumTracks; c++) {
audacity-1.3.2-destdir.patch:
Index: audacity-1.3.2-destdir.patch
===================================================================
RCS file: audacity-1.3.2-destdir.patch
diff -N audacity-1.3.2-destdir.patch
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ audacity-1.3.2-destdir.patch 21 Mar 2008 23:13:47 -0000 1.1.4.2
@@ -0,0 +1,11 @@
+--- audacity-src-1.3.2-beta/locale/Makefile.in.destdir 2007-01-05 21:48:15.000000000 +0100
++++ audacity-src-1.3.2-beta/locale/Makefile.in 2007-01-05 21:48:29.000000000 +0100
+@@ -17,7 +17,7 @@
+ INSTALL=@INSTALL@
+ AUDACITY_NAME=@AUDACITY_NAME@
+ ifdef DESTDIR
+- INSTALL_PATH=$(top_srcdir)/$(DESTDIR)
++ INSTALL_PATH=$(DESTDIR)
+ else
+ INSTALL_PATH=
+ endif
audacity-1.3.2-exportmp3.patch:
--- NEW FILE audacity-1.3.2-exportmp3.patch ---
diff -Nur audacity-src-1.3.2-beta-orig/src/export/ExportMP3.cpp audacity-src-1.3.2-beta/src/export/ExportMP3.cpp
--- audacity-src-1.3.2-beta-orig/src/export/ExportMP3.cpp 2006-10-29 01:05:27.000000000 +0200
+++ audacity-src-1.3.2-beta/src/export/ExportMP3.cpp 2007-02-24 01:29:37.000000000 +0100
@@ -370,7 +370,7 @@
lame_set_num_channels(mGF, channels);
lame_set_in_samplerate(mGF, sampleRate);
- lame_set_out_samplerate(mGF, sampleRate);
+ lame_set_out_samplerate(mGF, 0);
lame_init_params(mGF);
audacity-1.3.2-fr.patch:
--- NEW FILE audacity-1.3.2-fr.patch ---
diff -Nur audacity-src-1.3.2-beta-orig/locale/fr.po audacity-src-1.3.2-beta/locale/fr.po
--- audacity-src-1.3.2-beta-orig/locale/fr.po 2006-10-29 01:06:02.000000000 +0200
+++ audacity-src-1.3.2-beta/locale/fr.po 2007-02-15 23:28:47.000000000 +0100
@@ -17,7 +17,7 @@
"Max spike width (higher is more sensitive)"
msgstr ""
"\n"
-"Largeur maximum du pic (la sensibilit augmente avec la largeur)"
+"Largeur maximum du pic (la sensibilité augmente avec la largeur)"
#: ../src/Menus.cpp:3703
msgid ""
@@ -34,11 +34,11 @@
msgstr ""
"\n"
" \n"
-"Slectionnez le seuil (la sensibilit diminue avec le seuil)"
+"Sélectionnez le seuil (la sensibilité diminue avec le seuil)"
#: ../src/widgets/AButton.cpp:181
msgid " (disabled)"
-msgstr " (dsactiv)"
+msgstr " (désactivé)"
#: ../src/import/Import.cpp:86
msgid ""
@@ -82,14 +82,14 @@
"\n"
"It has been removed from the history list."
msgstr ""
-"%s n'existe pas et ne peut tre ouvert.\n"
+"%s n'existe pas et ne peut être ouvert.\n"
"\n"
-"Il a t retir de l'historique."
+"Il a été retiré de l'historique."
#: ../src/AudacityApp.cpp:279 ../src/Project.cpp:1891
#, c-format
msgid "%s is already open in another window."
-msgstr "%s est dj ouvert dans une autre fentre."
+msgstr "%s est déjà ouvert dans une autre fenêtre."
# i18n-hint: This is the pattern for filenames that are created
# when a file needs to be backed up to a different name. For
@@ -111,7 +111,7 @@
#: ../src/Menus.cpp:328
msgid "&All\tCtrl+A"
-msgstr "&Tout slectionner\tCtrl+A"
+msgstr "&Tout sélectionner\tCtrl+A"
#: ../src/Menus.cpp:563
msgid "&Analyze"
@@ -127,7 +127,7 @@
#: ../src/Menus.cpp:603
msgid "&Contents..."
-msgstr "&Table des matires..."
+msgstr "&Table des matières..."
#: ../src/Menus.cpp:294
msgid "&Copy\tCtrl+C"
@@ -153,7 +153,7 @@
#: ../src/Menus.cpp:751
#, c-format
msgid "&Export Selection As %s..."
-msgstr "&Exporter la slection en %s..."
+msgstr "&Exporter la sélection en %s..."
#: ../src/Menus.cpp:148
msgid "&File"
@@ -161,11 +161,11 @@
#: ../src/Menus.cpp:410
msgid "&Fit in Window\tCtrl+F"
-msgstr "&Adapter la fentre\tCtrl+F"
+msgstr "&Adapter à la fenêtre\tCtrl+F"
#: ../src/Menus.cpp:504
msgid "&Generate"
-msgstr "&Gnrer"
+msgstr "&Générer"
#: ../src/Menus.cpp:598 ../src/Menus.cpp:601
msgid "&Help"
@@ -205,11 +205,11 @@
#: ../src/AudacityApp.cpp:532 ../src/Menus.cpp:387
#, fuzzy
msgid "&Preferences...\tCtrl+,"
-msgstr "&Prfrences...\tCtrl+P"
+msgstr "&Préférences...\tCtrl+P"
#: ../src/Menus.cpp:391
msgid "&Preferences...\tCtrl+P"
-msgstr "&Prfrences...\tCtrl+P"
+msgstr "&Préférences...\tCtrl+P"
#: ../src/Menus.cpp:436
msgid "&Project"
@@ -238,7 +238,7 @@
#: ../src/Menus.cpp:299
msgid "&Trim\tCtrl+T"
-msgstr "&Ne garder que la slection\tCtrl+T"
+msgstr "&Ne garder que la sélection\tCtrl+T"
#: ../src/Menus.cpp:271
msgid "&Undo\tCtrl+Z"
@@ -259,7 +259,7 @@
#: ../src/Menus.cpp:412
msgid "&Zoom to Selection\tCtrl+E"
-msgstr "&Zoomer sur la slection\tCtrl+E"
+msgstr "&Zoomer sur la sélection\tCtrl+E"
#: ../src/TrackPanel.cpp:4847
msgid "'left' channel"
@@ -278,7 +278,7 @@
"(Not all combinations of headers\n"
"and encodings are possible.)"
msgstr ""
-"(Les combinaison d'entte\n"
+"(Les combinaison d'entête\n"
"et d'encodage ne sont pas\n"
"toutes possibles."
@@ -328,19 +328,19 @@
#: ../src/prefs/GUIPrefs.cpp:391
msgid "-145 dB (PCM range of 24 bit samples)"
-msgstr "-145 dB (amplitude PCM en chantillonnage 24 bits)"
+msgstr "-145 dB (amplitude PCM en échantillonnage 24 bits)"
#: ../src/prefs/GUIPrefs.cpp:383
msgid "-36 dB (shallow range for high-amplitude editing)"
-msgstr "-36 dB (pour dition de grande amplitude)"
+msgstr "-36 dB (pour édition de grande amplitude)"
#: ../src/prefs/GUIPrefs.cpp:385
msgid "-48 dB (PCM range of 8 bit samples)"
-msgstr "-48 dB (amplitude PCM en chantillonnage 8 bits)"
+msgstr "-48 dB (amplitude PCM en échantillonnage 8 bits)"
#: ../src/prefs/GUIPrefs.cpp:387
msgid "-96 dB (PCM range of 16 bit samples)"
-msgstr "-96 dB (amplitude PCM en chantillonnage 16 bits)"
+msgstr "-96 dB (amplitude PCM en échantillonnage 16 bits)"
#: ../src/effects/ChangeLength.cpp:113 ../src/effects/ChangeLength.cpp:127
#: ../src/effects/ChangeLength.cpp:162
@@ -357,19 +357,19 @@
#: ../src/prefs/AudioIOPrefs.cpp:235
msgid "2 (Stereo)"
-msgstr "2 (Stro)"
+msgstr "2 (Stéréo)"
#: ../src/import/ImportRaw.cpp:361
msgid "2 Channels (Stereo)"
-msgstr "2 Canaux (Stro)"
+msgstr "2 Canaux (Stéréo)"
#: ../src/prefs/SpectrumPrefs.cpp:44
msgid "256 - default"
-msgstr "256 - par dfaut"
+msgstr "256 - par défaut"
#: ../src/prefs/SpectrumPrefs.cpp:48
msgid "4096 - most narrowband"
-msgstr "4096 - bande plus troite"
+msgstr "4096 - bande plus étroite"
#: ../src/prefs/SpectrumPrefs.cpp:39
#, fuzzy
@@ -382,7 +382,7 @@
#: ../src/AboutDialog.cpp:186
msgid "A Free Digital Audio Editor"
-msgstr "Un diteur audio numrique libre"
+msgstr "Un éditeur audio numérique libre"
#: ../src/AboutDialog.cpp:100
msgid "About Audacity..."
@@ -400,7 +400,7 @@
#: ../src/TranscriptionToolBar.cpp:246
#, fuzzy
msgid "Add Label"
-msgstr "Marqueur ajout"
+msgstr "Marqueur ajouté"
#: ../src/Menus.cpp:495
msgid "Add Label At Playback Position\tCtrl+M"
@@ -408,16 +408,16 @@
#: ../src/Menus.cpp:494
msgid "Add Label At Selection\tCtrl+B"
-msgstr "Ajouter un marqueur la slection\tCtrl+B"
+msgstr "Ajouter un marqueur à la sélection\tCtrl+B"
[...3345 lines suppressed...]
#~ msgid "Recording time remaining: %d minutes"
-#~ msgstr "Dure d'enregistrement restante : %d minutes"
+#~ msgstr "Durée d'enregistrement restante : %d minutes"
#~ msgid "Recording time remaining: %d seconds"
-#~ msgstr "Dure d'enregistrement restante : %d secondes"
+#~ msgstr "Durée d'enregistrement restante : %d secondes"
#~ msgid "Selection: %.3lf - %.3lf (%.3lf NTSC frames) %s"
-#~ msgstr "Slection : %.3lf - %.3lf (%.3lf images NTSC) %s"
+#~ msgstr "Sélection : %.3lf - %.3lf (%.3lf images NTSC) %s"
#~ msgid "Selection: %.3lf - %.3lf (%.3lf PAL frames) %s"
-#~ msgstr "Slection : %.3lf - %.3lf (%.3lf images PAL) %s"
+#~ msgstr "Sélection : %.3lf - %.3lf (%.3lf images PAL) %s"
#~ msgid "Selection: %.3lf - %.3lf (%.3lf film frames) %s"
-#~ msgstr "Slection : %.3lf - %.3lf (%.3lf film) %s"
+#~ msgstr "Sélection : %.3lf - %.3lf (%.3lf film) %s"
#~ msgid ""
#~ "Selection: %02i:%02i:%06.3lf - %02i:%02i:%06.3lf (%02i:%02i:%06.3lf cdda "
#~ "min:sec:frames) %s"
#~ msgstr ""
-#~ "Slection : %02i:%02i:%06.3lf - %02i:%02i:%06.3lf (%02i:%02i:%06.3lf cdda "
+#~ "Sélection : %02i:%02i:%06.3lf - %02i:%02i:%06.3lf (%02i:%02i:%06.3lf cdda "
#~ "min:sec:trames) %s"
#~ msgid ""
#~ "Selection: %1i:%02i:%02i:%06.3lf - %1i:%02i:%02i:%06.3lf (%1i:%02i:%02i:%"
#~ "06.3lf NTSC drop-frame h:mm:ss:ff) (%.3lf NTSC frames) %s"
#~ msgstr ""
-#~ "Slection : %1i:%02i:%02i:%06.3lf - %1i:%02i:%02i:%06.3lf (%1i:%02i:%02i:%"
+#~ "Sélection : %1i:%02i:%02i:%06.3lf - %1i:%02i:%02i:%06.3lf (%1i:%02i:%02i:%"
#~ "06.3lf NTSC drop-frame h:mm:ss:ii) (%.3lf images NTSC) %s"
#~ msgid ""
#~ "Selection: %1i:%02i:%02i:%06.3lf - %1i:%02i:%02i:%06.3lf (%1i:%02i:%02i:%"
#~ "06.3lf NTSC non-drop-frame h:mm:ss:ff) (%.3lf NTSC frames) %s"
#~ msgstr ""
-#~ "Slection : %1i:%02i:%02i:%06.3lf - %1i:%02i:%02i:%06.3lf (%1i:%02i:%02i:%"
+#~ "Sélection : %1i:%02i:%02i:%06.3lf - %1i:%02i:%02i:%06.3lf (%1i:%02i:%02i:%"
#~ "06.3lf NTSC non-drop-frame h:mm:ss:ii) (%.3lf images NTSC) %s"
#~ msgid ""
#~ "Selection: %1i:%02i:%02i:%06.3lf - %1i:%02i:%02i:%06.3lf (%1i:%02i:%02i:%"
#~ "06.3lf PAL h:mm:ss:ff) (%.3lf PAL frames) %s"
#~ msgstr ""
-#~ "Slection : %1i:%02i:%02i:%06.3lf - %1i:%02i:%02i:%06.3lf (%1i:%02i:%02i:%"
+#~ "Sélection : %1i:%02i:%02i:%06.3lf - %1i:%02i:%02i:%06.3lf (%1i:%02i:%02i:%"
#~ "06.3lf PAL h:mm:ss:ff) (%.3lf images PAL) %s"
#~ msgid ""
#~ "Selection: %1i:%02i:%02i:%06.3lf - %1i:%02i:%02i:%06.3lf (%1i:%02i:%02i:%"
#~ "06.3lf film h:mm:ss:ff) (%.3lf film frames) %s"
#~ msgstr ""
-#~ "Slection : %1i:%02i:%02i:%06.3lf - %1i:%02i:%02i:%06.3lf (%1i:%02i:%02i:%"
+#~ "Sélection : %1i:%02i:%02i:%06.3lf - %1i:%02i:%02i:%06.3lf (%1i:%02i:%02i:%"
#~ "06.3lf film h:mm:ss:ff) (%.3lf film) %s"
#~ msgid ""
#~ "Selection: %1i:%02i:%09.6f - %1i:%02i:%09.6f (%1i:%02i:%09.6f hr:min:"
#~ "sec) %s"
#~ msgstr ""
-#~ "Slection : %1i:%02i:%09.6f - %1i:%02i:%09.6f (%1i:%02i:%09.6f h:min:"
+#~ "Sélection : %1i:%02i:%09.6f - %1i:%02i:%09.6f (%1i:%02i:%09.6f h:min:"
#~ "sec) %s"
#~ msgid ""
#~ "Selection: %i+%04i - %i+%04i (%i+%04i cdda sectors+bytes) [Snap-To "
#~ "Samples]"
#~ msgstr ""
-#~ "Slection : %i+%04i - %i+%04i (%i+%04i cdda secteurs+octets) "
-#~ "[ l'chantillon prs]"
+#~ "Sélection : %i+%04i - %i+%04i (%i+%04i cdda secteurs+octets) "
+#~ "[à l'échantillon près]"
#~ msgid ""
#~ "Selection: %i+%04i - %i+%04i (%i+%04i cdda sectors+bytes) [Snap-To "
#~ "Samples] Change Project Rate to 44100 for cdda"
#~ msgstr ""
-#~ "Slection: %i+%04i - %i+%04i (%i+%04i cdda secteurs+octets) "
-#~ "[ l'chantillon prs] Change l'chantillonnage du projet 44100 pour CDDA"
+#~ "Sélection: %i+%04i - %i+%04i (%i+%04i cdda secteurs+octets) "
+#~ "[à l'échantillon près] Change l'échantillonnage du projet à 44100 pour CDDA"
#~ msgid "Selection: %i+%i - %i+%i (%i+%i sec+samples) [Snap-To Samples]"
#~ msgstr ""
-#~ "Slection: %i+%i - %i+%i (%i+%i sec+chantillons) [ l'chantillon prs]"
+#~ "Sélection: %i+%i - %i+%i (%i+%i sec+échantillons) [à l'échantillon près]"
#~ msgid ""
#~ "Selection: %i:%02i+%i - %i:%02i+%i (%i:%02i+%i min:sec+samples) [Snap-"
#~ "To Samples]"
#~ msgstr ""
-#~ "Slection: %i:%02i+%i - %i:%02i+%i (%i:%02i+%i min:sec+chantillons) "
-#~ "[ l'chantillon prs]"
+#~ "Sélection: %i:%02i+%i - %i:%02i+%i (%i:%02i+%i min:sec+échantillons) "
+#~ "[à l'échantillon près]"
#~ msgid "Selection: %i:%09.6f - %i:%09.6f (%i:%09.6f min:sec) %s"
-#~ msgstr "Slection : %i:%09.6f - %i:%09.6f (%i:%09.6f min:sec) %s"
+#~ msgstr "Sélection : %i:%09.6f - %i:%09.6f (%i:%09.6f min:sec) %s"
#~ msgid ""
#~ "Selection: %i:%09.6lf - %i:%09.6lf (%i:%09.6lf min:sec) [Snap-To "
#~ "Samples]"
#~ msgstr ""
-#~ "Slection : %i:%09.6lf - %i:%09.6lf (%i:%09.6lf min:sec) [ l'chantillon "
-#~ "prs]"
+#~ "Sélection : %i:%09.6lf - %i:%09.6lf (%i:%09.6lf min:sec) [à l'échantillon "
+#~ "près]"
#~ msgid "Selection: %lf - %lf (%lf sec) %s"
-#~ msgstr "Slection : %lf - %lf (%lf sec) %s"
+#~ msgstr "Sélection : %lf - %lf (%lf sec) %s"
#~ msgid "Selection: %lf - %lf (%lf sec) [Snap-To Samples]"
-#~ msgstr "Slection : %lf - %lf (%lf sec) [ l'chantillon prs]"
+#~ msgstr "Sélection : %lf - %lf (%lf sec) [à l'échantillon près]"
#~ msgid "Selection: %li - %li (%li samples) [Snap-To Samples]"
-#~ msgstr "Slection : %li - %li (%li chantillons) [ l'chantillon prs]"
+#~ msgstr "Sélection : %li - %li (%li échantillons) [à l'échantillon près]"
#~ msgid "Set Selection Format"
-#~ msgstr "Choisir un format de slection "
+#~ msgstr "Choisir un format de sélection "
#~ msgid ""
#~ "The VU meters will now be disabled.\n"
@@ -6106,9 +6106,9 @@
#~ "To enable them again, open the Preferences dialog and click on the "
#~ "Interface tab."
#~ msgstr ""
-#~ "Les VU mtres vont tre dsactivs.\n"
+#~ "Les VU mètres vont être désactivés.\n"
#~ "\n"
-#~ "Pour les ractiver, ouvrez la bote de dialogue Prfrences et cliquez sur "
+#~ "Pour les réactiver, ouvrez la boîte de dialogue Préférences et cliquez sur "
#~ "l'onglet Interface."
#~ msgid ""
@@ -6118,21 +6118,21 @@
#~ "into an existing project. To open a project file,\n"
#~ "select Open from the File menu.\n"
#~ msgstr ""
-#~ "Le fichier slectionn est un projet Audacity.\n"
+#~ "Le fichier sélectionné est un projet Audacity.\n"
#~ "\n"
-#~ "Seuls les fichiers audio peuvent tre imports dans un projet existant,\n"
+#~ "Seuls les fichiers audio peuvent être importés dans un projet existant,\n"
#~ "pas les fichiers Projets. Pour ouvrir un fichier Projet,\n"
#~ "faites Ouvrir dans le menu Fichier.\n"
#~ msgid "Time shift sequence"
-#~ msgstr "Squence de calage temporel"
+#~ msgstr "Séquence de calage temporel"
# i18n-hint: This snap-to string will appear in the status bar.
#~ msgid "[Snap-To Off]"
-#~ msgstr "[Slection libre]"
+#~ msgstr "[Sélection libre]"
#~ msgid "[Snap-To On]"
-#~ msgstr "[Slection par bloc]"
+#~ msgstr "[Sélection par bloc]"
# i18n-hint: fps is "frames per second",
# cdda is "Compact Disc Digital Audio - don't translate
@@ -6143,7 +6143,7 @@
# A "sector" is a technical term - don't translate unless you're sure
# you know the correct term.
#~ msgid "cdda sectors+bytes (snap to samples)"
-#~ msgstr "CDDA secteurs+octets ( l'chantillon prs)"
+#~ msgstr "CDDA secteurs+octets (à l'échantillon près)"
#~ msgid "film h:mm:ss:ff 24 fps"
#~ msgstr "film h:mm:ss:ii 24 i/s"
@@ -6155,16 +6155,16 @@
#~ msgstr "min:sec"
#~ msgid "min:sec+samples (snap to samples)"
-#~ msgstr "min:sec+chantillons ( l'chantillon prs)"
+#~ msgstr "min:sec+échantillons (à l'échantillon près)"
#~ msgid "samples (snap to samples)"
-#~ msgstr "chantillons ( l'chantillon prs)"
+#~ msgstr "échantillons (à l'échantillon près)"
#~ msgid "sec"
#~ msgstr "sec"
#~ msgid "sec (snap to samples)"
-#~ msgstr "sec ( l'chantillon prs)"
+#~ msgstr "sec (à l'échantillon près)"
#~ msgid "sec+samples (snap to samples)"
-#~ msgstr "sec+chantillons ( l'chantillon prs)"
+#~ msgstr "sec+échantillons (à l'échantillon près)"
audacity-1.3.2-gcc43.patch:
--- NEW FILE audacity-1.3.2-gcc43.patch ---
diff -Nur audacity-src-1.3.2-beta-orig/lib-src/soundtouch/include/soundtouch_config.h.in audacity-src-1.3.2-beta/lib-src/soundtouch/include/soundtouch_config.h.in
--- audacity-src-1.3.2-beta-orig/lib-src/soundtouch/include/soundtouch_config.h.in 2006-10-29 01:06:01.000000000 +0200
+++ audacity-src-1.3.2-beta/lib-src/soundtouch/include/soundtouch_config.h.in 2008-01-03 16:53:06.000000000 +0100
@@ -43,24 +43,6 @@
/* Use Integer as Sample type */
#undef INTEGER_SAMPLES
-/* Name of package */
-#undef PACKAGE
-
-/* Define to the address where bug reports for this package should be sent. */
-#undef PACKAGE_BUGREPORT
-
-/* Define to the full name of this package. */
-#undef PACKAGE_NAME
-
-/* Define to the full name and version of this package. */
-#undef PACKAGE_STRING
-
-/* Define to the one symbol short name of this package. */
-#undef PACKAGE_TARNAME
-
-/* Define to the version of this package. */
-#undef PACKAGE_VERSION
-
/* Define as the return type of signal handlers (`int' or `void'). */
#undef RETSIGTYPE
diff -Nur audacity-src-1.3.2-beta-orig/lib-src/soundtouch/source/example/SoundStretch/WavFile.cpp audacity-src-1.3.2-beta/lib-src/soundtouch/source/example/SoundStretch/WavFile.cpp
--- audacity-src-1.3.2-beta-orig/lib-src/soundtouch/source/example/SoundStretch/WavFile.cpp 2006-10-29 01:06:00.000000000 +0200
+++ audacity-src-1.3.2-beta/lib-src/soundtouch/source/example/SoundStretch/WavFile.cpp 2008-01-03 15:53:25.000000000 +0100
@@ -48,6 +48,7 @@
#include <stdio.h>
#include <stdexcept>
#include <string>
+#include <cstring>
#include <assert.h>
#include <limits.h>
audacity-1.3.2-jack-api-109.patch:
--- NEW FILE audacity-1.3.2-jack-api-109.patch ---
diff -Nur audacity-src-1.3.2-beta-orig/lib-src/portaudio-v19/src/hostapi/jack/pa_jack.c audacity-src-1.3.2-beta/lib-src/portaudio-v19/src/hostapi/jack/pa_jack.c
--- audacity-src-1.3.2-beta-orig/lib-src/portaudio-v19/src/hostapi/jack/pa_jack.c 2006-10-29 01:05:49.000000000 +0200
+++ audacity-src-1.3.2-beta/lib-src/portaudio-v19/src/hostapi/jack/pa_jack.c 2008-02-11 01:13:04.000000000 +0100
@@ -1669,27 +1669,19 @@
{
for( i = 0; i < stream->num_incoming_connections; i++ )
{
- UNLESS( !jack_port_lock( stream->jack_client, stream->local_input_ports[i] ),
- paUnanticipatedHostError );
if( jack_port_connected( stream->local_input_ports[i] ) )
{
UNLESS( !jack_port_disconnect( stream->jack_client, stream->local_input_ports[i] ),
paUnanticipatedHostError );
}
- UNLESS( !jack_port_unlock( stream->jack_client, stream->local_input_ports[i] ),
- paUnanticipatedHostError );
}
for( i = 0; i < stream->num_outgoing_connections; i++ )
{
- UNLESS( !jack_port_lock( stream->jack_client, stream->local_output_ports[i] ),
- paUnanticipatedHostError );
if( jack_port_connected( stream->local_output_ports[i] ) )
{
UNLESS( !jack_port_disconnect( stream->jack_client, stream->local_output_ports[i] ),
paUnanticipatedHostError );
}
- UNLESS( !jack_port_unlock( stream->jack_client, stream->local_output_ports[i] ),
- paUnanticipatedHostError );
}
}
audacity-1.3.2-libdir.patch:
--- NEW FILE audacity-1.3.2-libdir.patch ---
diff -Nur audacity-src-1.3.2-beta-orig/src/effects/ladspa/LoadLadspa.cpp audacity-src-1.3.2-beta/src/effects/ladspa/LoadLadspa.cpp
--- audacity-src-1.3.2-beta-orig/src/effects/ladspa/LoadLadspa.cpp 2006-10-29 01:05:27.000000000 +0200
+++ audacity-src-1.3.2-beta/src/effects/ladspa/LoadLadspa.cpp 2008-02-10 22:00:53.000000000 +0100
@@ -86,8 +86,8 @@
#ifdef __WXGTK__
wxGetApp().AddUniquePathToPathList(wxT(INSTALL_PREFIX) wxT("/ladspa"), pathList);
- wxGetApp().AddUniquePathToPathList(wxT("/usr/local/lib/ladspa"), pathList);
- wxGetApp().AddUniquePathToPathList(wxT("/usr/lib/ladspa"), pathList);
+ wxGetApp().AddUniquePathToPathList(wxT("/usr/local/__RPM_LIB__/ladspa"), pathList);
+ wxGetApp().AddUniquePathToPathList(wxT("__RPM_LIBDIR__/ladspa"), pathList);
#endif
#ifdef __WXMAC__
diff -Nur audacity-src-1.3.2-beta-orig/src/export/ExportMP3.cpp audacity-src-1.3.2-beta/src/export/ExportMP3.cpp
--- audacity-src-1.3.2-beta-orig/src/export/ExportMP3.cpp 2006-10-29 01:05:27.000000000 +0200
+++ audacity-src-1.3.2-beta/src/export/ExportMP3.cpp 2008-02-10 21:58:51.000000000 +0100
@@ -258,7 +258,7 @@
wxString GetLibraryPath()
{
- return wxT("/usr/lib");
+ return wxT("__RPM_LIBDIR__");
}
wxString GetLibraryName()
audacity-1.3.2-resample.patch:
--- NEW FILE audacity-1.3.2-resample.patch ---
diff -Nur audacity-src-1.3.2-beta-orig/configure audacity-src-1.3.2-beta/configure
--- audacity-src-1.3.2-beta-orig/configure 2006-10-29 01:05:36.000000000 +0200
+++ audacity-src-1.3.2-beta/configure 2007-02-18 21:07:34.000000000 +0100
@@ -6079,7 +6079,7 @@
fi
- if false ; then
+ if true ; then
cat >>confdefs.h <<\_ACEOF
#define USE_LIBSAMPLERATE 1
diff -Nur audacity-src-1.3.2-beta-orig/src/Resample.cpp audacity-src-1.3.2-beta/src/Resample.cpp
--- audacity-src-1.3.2-beta-orig/src/Resample.cpp 2006-10-29 01:05:28.000000000 +0200
+++ audacity-src-1.3.2-beta/src/Resample.cpp 2007-02-18 21:07:23.000000000 +0100
@@ -137,7 +137,7 @@
wxString Resample::GetMethodName(int index)
{
- return wxString(src_get_name(index));
+ return wxString(wxString::FromAscii(src_get_name(index)));
}
int Resample::GetFastMethod()
audacity-1.3.4-expat2.patch:
--- NEW FILE audacity-1.3.4-expat2.patch ---
diff -Nur audacity-src-1.3.2-beta-orig/src/xml/XMLFileReader.cpp audacity-src-1.3.2-beta/src/xml/XMLFileReader.cpp
--- audacity-src-1.3.2-beta-orig/src/xml/XMLFileReader.cpp 2006-10-29 01:05:26.000000000 +0200
+++ audacity-src-1.3.2-beta/src/xml/XMLFileReader.cpp 2007-08-28 12:11:08.000000000 +0200
@@ -61,9 +61,9 @@
size_t len = fread(buffer, 1, bufferSize, theXMLFile.fp());
done = (len < bufferSize);
if (!XML_Parse(mParser, buffer, len, done)) {
- mErrorStr.Printf(_("Error: %hs at line %d"),
+ mErrorStr.Printf(_("Error: %hs at line %lu"),
XML_ErrorString(XML_GetErrorCode(mParser)),
- XML_GetCurrentLineNumber(mParser));
+ (long unsigned int)XML_GetCurrentLineNumber(mParser));
theXMLFile.Close();
return false;
}
audacity-1.3.4-gcc43.patch:
--- NEW FILE audacity-1.3.4-gcc43.patch ---
diff -Nur audacity-src-1.3.2-beta-orig/lib-src/soundtouch/include/soundtouch_config.h.in audacity-src-1.3.2-beta/lib-src/soundtouch/include/soundtouch_config.h.in
--- audacity-src-1.3.2-beta-orig/lib-src/soundtouch/include/soundtouch_config.h.in 2006-10-29 01:06:01.000000000 +0200
+++ audacity-src-1.3.2-beta/lib-src/soundtouch/include/soundtouch_config.h.in 2008-01-03 16:53:06.000000000 +0100
@@ -43,24 +43,6 @@
/* Use Integer as Sample type */
#undef INTEGER_SAMPLES
-/* Name of package */
-#undef PACKAGE
-
-/* Define to the address where bug reports for this package should be sent. */
-#undef PACKAGE_BUGREPORT
-
-/* Define to the full name of this package. */
-#undef PACKAGE_NAME
-
-/* Define to the full name and version of this package. */
-#undef PACKAGE_STRING
-
-/* Define to the one symbol short name of this package. */
-#undef PACKAGE_TARNAME
-
-/* Define to the version of this package. */
-#undef PACKAGE_VERSION
-
/* Define as the return type of signal handlers (`int' or `void'). */
#undef RETSIGTYPE
diff -Nur audacity-src-1.3.2-beta-orig/lib-src/soundtouch/source/example/SoundStretch/WavFile.cpp audacity-src-1.3.2-beta/lib-src/soundtouch/source/example/SoundStretch/WavFile.cpp
--- audacity-src-1.3.2-beta-orig/lib-src/soundtouch/source/example/SoundStretch/WavFile.cpp 2006-10-29 01:06:00.000000000 +0200
+++ audacity-src-1.3.2-beta/lib-src/soundtouch/source/example/SoundStretch/WavFile.cpp 2008-01-03 15:53:25.000000000 +0100
@@ -48,6 +48,7 @@
#include <stdio.h>
#include <stdexcept>
#include <string>
+#include <cstring>
#include <assert.h>
#include <limits.h>
audacity-1.3.4-jack-api-109.patch:
--- NEW FILE audacity-1.3.4-jack-api-109.patch ---
diff -Nur audacity-src-1.3.2-beta-orig/lib-src/portaudio-v19/src/hostapi/jack/pa_jack.c audacity-src-1.3.2-beta/lib-src/portaudio-v19/src/hostapi/jack/pa_jack.c
--- audacity-src-1.3.2-beta-orig/lib-src/portaudio-v19/src/hostapi/jack/pa_jack.c 2006-10-29 01:05:49.000000000 +0200
+++ audacity-src-1.3.2-beta/lib-src/portaudio-v19/src/hostapi/jack/pa_jack.c 2008-02-11 01:13:04.000000000 +0100
@@ -1669,27 +1669,19 @@
{
for( i = 0; i < stream->num_incoming_connections; i++ )
{
- UNLESS( !jack_port_lock( stream->jack_client, stream->local_input_ports[i] ),
- paUnanticipatedHostError );
if( jack_port_connected( stream->local_input_ports[i] ) )
{
UNLESS( !jack_port_disconnect( stream->jack_client, stream->local_input_ports[i] ),
paUnanticipatedHostError );
}
- UNLESS( !jack_port_unlock( stream->jack_client, stream->local_input_ports[i] ),
- paUnanticipatedHostError );
}
for( i = 0; i < stream->num_outgoing_connections; i++ )
{
- UNLESS( !jack_port_lock( stream->jack_client, stream->local_output_ports[i] ),
- paUnanticipatedHostError );
if( jack_port_connected( stream->local_output_ports[i] ) )
{
UNLESS( !jack_port_disconnect( stream->jack_client, stream->local_output_ports[i] ),
paUnanticipatedHostError );
}
- UNLESS( !jack_port_unlock( stream->jack_client, stream->local_output_ports[i] ),
- paUnanticipatedHostError );
}
}
audacity-1.3.4-languages.patch:
--- NEW FILE audacity-1.3.4-languages.patch ---
diff -Nur audacity-src-1.3.2-beta-orig/src/Languages.cpp audacity-src-1.3.2-beta/src/Languages.cpp
--- audacity-src-1.3.2-beta-orig/src/Languages.cpp 2006-10-29 01:05:28.000000000 +0200
+++ audacity-src-1.3.2-beta/src/Languages.cpp 2007-02-15 22:57:51.000000000 +0100
@@ -14,9 +14,9 @@
Figure out what translations are installed and return a list
of language codes (like "es", "fr", or "pt-br") and corresponding
- language names (like "Español", "Français", and "Português").
+ language names (like "Español", "Français", and "Português").
We use our own list of translations of language names (i.e.
- "Français" instead of "French") but we fallback on the language
+ "Français" instead of "French") but we fallback on the language
name in wxWindows if we don't have it listed.
This code is designed to work well with all of the current
audacity-1.3.4-libdir.patch:
--- NEW FILE audacity-1.3.4-libdir.patch ---
diff -Nur audacity-src-1.3.4-beta-orig/src/effects/ladspa/LoadLadspa.cpp audacity-src-1.3.4-beta/src/effects/ladspa/LoadLadspa.cpp
--- audacity-src-1.3.4-beta-orig/src/effects/ladspa/LoadLadspa.cpp 2008-01-23 18:32:52.000000000 +0100
+++ audacity-src-1.3.4-beta/src/effects/ladspa/LoadLadspa.cpp 2008-03-21 23:21:45.000000000 +0100
@@ -92,8 +92,8 @@
#ifdef __WXGTK__
wxGetApp().AddUniquePathToPathList(wxT(INSTALL_PREFIX) wxT("/ladspa"), pathList);
- wxGetApp().AddUniquePathToPathList(wxT("/usr/local/lib/ladspa"), pathList);
- wxGetApp().AddUniquePathToPathList(wxT("/usr/lib/ladspa"), pathList);
+ wxGetApp().AddUniquePathToPathList(wxT("/usr/local/__RPM_LIB__/ladspa"), pathList);
+ wxGetApp().AddUniquePathToPathList(wxT("__RPM_LIBDIR__/ladspa"), pathList);
#endif
#ifdef __WXMAC__
diff -Nur audacity-src-1.3.4-beta-orig/src/export/ExportMP3.cpp audacity-src-1.3.4-beta/src/export/ExportMP3.cpp
--- audacity-src-1.3.4-beta-orig/src/export/ExportMP3.cpp 2008-01-23 18:32:52.000000000 +0100
+++ audacity-src-1.3.4-beta/src/export/ExportMP3.cpp 2008-03-21 23:21:00.000000000 +0100
@@ -1552,7 +1552,7 @@
wxString GetLibraryPath()
{
- return wxT("/usr/lib");
+ return wxT("__RPM_LIBDIR__");
}
wxString GetLibraryName()
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/audacity/devel/.cvsignore,v
retrieving revision 1.8.2.1.2.2
retrieving revision 1.8.2.1.2.3
diff -u -r1.8.2.1.2.2 -r1.8.2.1.2.3
--- .cvsignore 23 Jan 2008 19:27:05 -0000 1.8.2.1.2.2
+++ .cvsignore 21 Mar 2008 23:13:47 -0000 1.8.2.1.2.3
@@ -1 +1,2 @@
audacity-1.3.4-20080123cvs.tar.bz2
+audacity-src-1.3.2.tar.gz
Index: audacity.spec
===================================================================
RCS file: /cvs/pkgs/rpms/audacity/devel/audacity.spec,v
retrieving revision 1.35.2.5.2.5
retrieving revision 1.35.2.5.2.6
diff -u -r1.35.2.5.2.5 -r1.35.2.5.2.6
--- audacity.spec 23 Jan 2008 19:41:12 -0000 1.35.2.5.2.5
+++ audacity.spec 21 Mar 2008 23:13:47 -0000 1.35.2.5.2.6
@@ -1,44 +1,69 @@
-Name: audacity
-Version: 1.3.4
-#Release: 0.2%{?dist}
-Release: 0.4.20080123cvs%{?dist}
-Summary: A multitrack audio editor
-
-Group: Applications/Multimedia
-License: GPLv2
-URL: http://audacity.sourceforge.net
-#Source: http://dl.sf.net/sourceforge/audacity/audacity-src-%{version}.tar.bz2
+# Compile options:
+# --with mp3 : enable mp3 support
+
+Name: audacity
+Version: 1.3.4
+Release: 0.5.20080123cvs%{?dist}
+Summary: Multitrack audio editor
+Group: Applications/Multimedia
+License: GPLv2
+URL: http://audacity.sourceforge.net
+
+# for post 1.3.4-beta snapshot
# cvs -d:pserver:anonymous at audacity.cvs.sourceforge.net:/cvsroot/audacity checkout audacity
-Source: audacity-1.3.4-20080123cvs.tar.bz2
-Source1: audacity.png
+Source0: audacity-1.3.4-20080123cvs.tar.bz2
+Source1: audacity.png
+Source2: audacity.desktop
+
+Patch1: audacity-1.3.4-languages.patch
+Patch2: audacity-1.3.4-expat2.patch
+Patch3: audacity-1.3.4-gcc43.patch
+Patch4: audacity-1.3.4-libdir.patch
+Patch5: audacity-1.3.4-jack-api-109.patch
+
+# for 1.3.2-beta
+Source100: http://dl.sf.net/sourceforge/audacity/audacity-src-1.3.2.tar.gz
+Source101: audacity13.desktop
+
# iconv on src/Languages.cpp (ISO Latin-1 to UTF-8)
-Patch1: audacity-1.3.2-languages.patch
-Patch2: audacity-1.3.2-expat2.patch
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires: alsa-lib-devel
-BuildRequires: desktop-file-utils
-BuildRequires: expat-devel
-BuildRequires: flac-devel
-BuildRequires: gettext
-BuildRequires: jack-audio-connection-kit-devel
-BuildRequires: ladspa-devel
-BuildRequires: libid3tag-devel
-BuildRequires: libogg-devel
-BuildRequires: libsamplerate-devel
-BuildRequires: libsndfile-devel
-BuildRequires: libvorbis-devel
-BuildRequires: soundtouch-devel
-BuildRequires: wxGTK2-devel
-#BuildRequires: compat-wxGTK26-devel
-BuildRequires: zip
-BuildRequires: zlib-devel
+Patch101: audacity-1.3.2-languages.patch
+# iconv on locale/fr.po (MAC to ISO Latin-1)
+Patch102: audacity-1.3.2-fr.patch
+Patch103: audacity-1.3.2-exportmp3.patch
+Patch104: audacity-1.3.2-destdir.patch
+Patch105: audacity-1.3.2-resample.patch
+Patch106: audacity-1.3.2-FLAC.patch
+Patch107: audacity-1.3.2-expat2.patch
+Patch108: audacity-1.3.2-gcc43.patch
+Patch109: audacity-1.3.2-libdir.patch
+Patch110: audacity-1.3.2-jack-api-109.patch
+
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildRequires: alsa-lib-devel
+BuildRequires: desktop-file-utils
+BuildRequires: expat-devel
+BuildRequires: flac-devel
+BuildRequires: gettext
+BuildRequires: jack-audio-connection-kit-devel
+BuildRequires: ladspa-devel
+BuildRequires: libid3tag-devel
+BuildRequires: libogg-devel
+BuildRequires: libsamplerate-devel
+BuildRequires: libsndfile-devel
+BuildRequires: libvorbis-devel
+BuildRequires: soundtouch-devel
+BuildRequires: zip
+BuildRequires: zlib-devel
%{?_with_mp3:BuildRequires: libmad-devel}
-Requires(post): shared-mime-info, desktop-file-utils
-Requires(postun): shared-mime-info, desktop-file-utils
+# for 1.3.4-beta
+BuildRequires: wxGTK2-devel
-# Compile options:
-# --with mp3 : enable mp3 support
+# for 1.3.2-beta
+BuildRequires: compat-wxGTK26-devel
+
+Requires(post): shared-mime-info, desktop-file-utils
+Requires(postun): shared-mime-info, desktop-file-utils
%description
@@ -50,11 +75,27 @@
Linux/*BSD, MacOS, and Windows.
%prep
-%setup -q -n %{name}-src-%{version}-beta
+%setup -q -a 100 -c
+
+###
+### 1.3.4-beta
+###
+
+cd audacity-src-1.3.4-beta
%patch1 -p1 -b .languages
%patch2 -p1 -b .expat2
+%patch3 -p1 -b .gcc43
+# Substitute hardcoded library paths.
+%patch4 -p1
+for i in src/effects/ladspa/LoadLadspa.cpp src/export/ExportMP3.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
-#autoreconf
+# F9 devel only
+%patch5 -p1 -b .jack-api
# Substitute occurences of "libmp3lame.so" with "libmp3lame.so.0".
for i in locale/*.po src/export/ExportMP3.cpp
@@ -62,54 +103,108 @@
sed -i -e 's!libmp3lame.so\([^.]\)!libmp3lame.so.0\1!g' $i
done
-# Substitute hardcoded /usr/lib paths.
-for i in src/AudacityApp.cpp src/export/ExportMP3.cpp
+cd -
+
+
+###
+### 1.3.2-beta
+###
+
+cd audacity-src-1.3.2-beta
+%patch101 -p1 -b .languages
+%patch102 -p1 -b .fr
+%patch103 -p1 -b .exportmp3
+%patch104 -p1 -b .destdir
+%patch105 -p1 -b .resample
+%patch106 -p1 -b .FLAC
+%patch107 -p1 -b .expat2
+%patch108 -p1 -b .gcc43
+# Substitute hardcoded library paths.
+%patch109 -p1
+for i in src/effects/ladspa/LoadLadspa.cpp src/export/ExportMP3.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
+
+# F9 devel only
+%patch110 -p1 -b .jack-api
+
+# Substitute occurences of "libmp3lame.so" with "libmp3lame.so.0".
+for i in help/wxhelp/audacity.hhk help/wxhelp/exportmp3.htm locale/*.po src/export/ExportMP3.cpp
do
- sed -i -e 's!/usr/lib!%{_libdir}!g' $i
+ sed -i -e 's!libmp3lame.so\([^.]\)!libmp3lame.so.0\1!g' $i
done
-# Not in >= 1.3.4-beta.
-#%ifnarch %{ix86} x86_64
-#sed -i -e 's!-msse!!' lib-src/soundtouch/source/SoundTouch/Makefile.*
-#%endif
+%ifnarch %{ix86} x86_64
+sed -i -e 's!-msse!!' lib-src/soundtouch/source/SoundTouch/Makefile.*
+%endif
# for wxGTK26-compat
-#sed -i -e 's!wx-config!wx-2.6-config!g' configure
+sed -i -e 's!wx-config!wx-2.6-config!g' configure
+
+cd -
%build
-%configure --with-help --with-libsndfile=system --without-libresample --with-libsamplerate=system --with-libflac=system --with-ladspa --with-vorbis=system --with-id3tag=system --with-expat=system %{?_with_mp3:--with-libmad=system} --with-soundtouch=system
+cd audacity-src-1.3.4-beta
+%configure \
+ --with-help \
+ --with-libsndfile=system \
+ --without-libresample \
+ --with-libsamplerate=system \
+ --with-libflac=system \
+ --with-ladspa \
+ --with-vorbis=system \
+ --with-id3tag=system \
+ --with-expat=system \
+ --with-soundtouch=system \
+ %{?_with_mp3:--with-libmad=system}
+# _smp_mflags cause problems
+make
+cd -
+
+cd audacity-src-1.3.2-beta
+%configure \
+ --with-help \
+ --with-libsndfile=system \
+ --without-libresample \
+ --with-libsamplerate=system \
+ --with-libflac=system \
+ --with-ladspa \
+ --with-vorbis=system \
+ --with-id3tag=system \
+ --with-expat=system \
+ --program-suffix=13 \
+ %{?_with_mp3:--with-libmad=system}
+# _smp_mflags cause problems
make
+cd -
%install
rm -rf ${RPM_BUILD_ROOT}
-make DESTDIR=${RPM_BUILD_ROOT} install
+
mkdir -p $RPM_BUILD_ROOT%{_datadir}/pixmaps
cp %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/pixmaps
-cat > audacity.desktop <<EOF
-[Desktop Entry]
-Name=Audacity
-GenericName=Sound editor
-Type=Application
-Exec=audacity
-Icon=audacity.png
-Terminal=false
-Comment=A multitrack audio editor
-Encoding=UTF-8
-MimeType=audio/x-wav;application/ogg;audio/x-aiff;audio/x-aiffc;audio/x-aifc;audio/basic;application/x-audacity-project;
-StartupWMClass=Audacity
-EOF
-rm -f $RPM_BUILD_ROOT%{_datadir}/applications/*
+cd audacity-src-1.3.4-beta
+make DESTDIR=${RPM_BUILD_ROOT} install
+cd -
+%{find_lang} %{name}
+
+cd audacity-src-1.3.2-beta
+make DESTDIR=${RPM_BUILD_ROOT} install
+cd -
+%{find_lang} %{name}13
+cat %{name}13.lang >> %{name}.lang
+
+rm -f $RPM_BUILD_ROOT%{_datadir}/applications/*.desktop
desktop-file-install \
--vendor fedora \
- --add-category GNOME \
- --add-category AudioVideo \
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
- audacity.desktop
-
-%{find_lang} %{name}
+ %{SOURCE2} %{SOURCE101}
%clean
@@ -130,8 +225,10 @@
%files -f %{name}.lang
%defattr(-,root,root,-)
-%{_bindir}/*
-%{_datadir}/audacity
+%{_bindir}/%{name}
+%{_bindir}/%{name}13
+%{_datadir}/%{name}/
+%{_datadir}/%{name}13/
%{_mandir}/man*/*
%{_datadir}/applications/*
%{_datadir}/pixmaps/*
@@ -140,25 +237,32 @@
%changelog
-* Wed Jan 23 2008 Michael Schwendt <mschwendt at fedoraproject.org> - 1.3.4-0.4.20080123cvs
-- update to cvs
+* Fri Mar 21 2008 Michael Schwendt <mschwendt at fedoraproject.org> - 1.3.4-0.5.20080123cvs
+- package the old 1.3.2-beta and a post 1.3.4-beta snapshot in the
+ same package -- users may stick to the older one, but please help
+ with evaluating the newer one
+- merge packaging changes from my 1.3.3/1.3.4 test packages:
+- build newer release with wxGTK 2.8.x
+- BR soundtouch-devel and --with-soundtouch=system
+- drop obsolete patches: resample, mp3 export, destdir, FLAC, fr
-* Fri Jan 11 2008 Michael Schwendt <mschwendt at fedoraproject.org> - 1.3.4-0.3.20080111cvs
-- update to cvs (post 1.3.4-beta), it's supposed to improve PA v19 e.g.
+* Sun Feb 10 2008 Michael Schwendt <mschwendt at fedoraproject.org> - 1.3.2-19
+- patch for JACK 0.109.0 API changes (jack_port_lock/unlock removal).
+- rebuilt for GCC 4.3 as requested by Fedora Release Engineering
+- subst _libdir in ladspa plugin loader
-* Mon Nov 19 2007 Michael Schwendt <mschwendt at fedoraproject.org> - 1.3.4-0.2
-- update to 1.3.4-beta release
-- patch ImportMP3.cpp to make it build
-
-* Thu Nov 8 2007 Michael Schwendt <mschwendt at fedoraproject.org> - 1.3.4-0.1.20071108cvs
-- update to cvs (pre 1.3.4-beta)
-
-* Mon May 21 2007 Michael Schwendt <mschwendt at fedoraproject.org> - 1.3.3-0.1.beta
-- update to 1.3.3 beta
-- now build with wxGTK2 2.8.x
-- BR soundtouch-devel and --with-soundtouch=system
-- resample patch is obsolete
-- upstream has rewritten the mp3 export completely
+* Thu Jan 3 2008 Michael Schwendt <mschwendt at fedoraproject.org> - 1.3.2-18
+- Patch for GCC 4.3.0 C++.
+
+* Fri Nov 16 2007 Michael Schwendt <mschwendt at fedoraproject.org> - 1.3.2-17
+- rebuilt for FLAC 1.1.4 -> 1.2.x upgrade, which broke FLAC import
+
+* Tue Aug 28 2007 Michael Schwendt <mschwendt at fedoraproject.org> - 1.3.2-16
+- rebuilt for new expat (#195888)
+
+* Tue Aug 21 2007 Michael Schwendt <mschwendt at fedoraproject.org> - 1.3.2-15
+- rebuild per request on fedora-devel-list
+- clarify licence (GPLv2)
* Mon Mar 5 2007 Michael Schwendt <mschwendt at fedoraproject.org>
- add umask 022 to scriptlets
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/audacity/devel/sources,v
retrieving revision 1.10.2.1.2.2
retrieving revision 1.10.2.1.2.3
diff -u -r1.10.2.1.2.2 -r1.10.2.1.2.3
--- sources 23 Jan 2008 19:27:05 -0000 1.10.2.1.2.2
+++ sources 21 Mar 2008 23:13:47 -0000 1.10.2.1.2.3
@@ -1 +1,2 @@
65868316707d7229c8a03e7adf684bf5 audacity-1.3.4-20080123cvs.tar.bz2
+bf63673140254f1283dfd55b61ff2422 audacity-src-1.3.2.tar.gz
- Previous message (by thread): rpms/ocaml-facile/devel ocaml-facile.spec,1.1,1.2
- Next message (by thread): rpms/ocaml-facile/F-7 .cvsignore, 1.2, NONE facile-1.1-makefile-fixes.patch, 1.1, NONE ocaml-facile.spec, 1.2, NONE sources, 1.2, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list