summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2008-01-13 19:30:50 +0000
committerAlexis Ballier <aballier@gentoo.org>2008-01-13 19:30:50 +0000
commita21dd184538dc4ea1c5cab37904299ea9457361b (patch)
tree96e13b0eb668fdcb6a51cd56347b4dcb590fe0a4 /media-sound/audacity/files
parentBump to 8.0.15 for #204760 (diff)
downloadgentoo-2-a21dd184538dc4ea1c5cab37904299ea9457361b.tar.gz
gentoo-2-a21dd184538dc4ea1c5cab37904299ea9457361b.tar.bz2
gentoo-2-a21dd184538dc4ea1c5cab37904299ea9457361b.zip
remove unused version
(Portage version: 2.1.4)
Diffstat (limited to 'media-sound/audacity/files')
-rw-r--r--media-sound/audacity/files/audacity-1.3.3+flac-1.1.3.patch121
-rw-r--r--media-sound/audacity/files/audacity-1.3.3-gentoo.patchbin18178 -> 0 bytes
-rw-r--r--media-sound/audacity/files/digest-audacity-1.3.33
3 files changed, 0 insertions, 124 deletions
diff --git a/media-sound/audacity/files/audacity-1.3.3+flac-1.1.3.patch b/media-sound/audacity/files/audacity-1.3.3+flac-1.1.3.patch
deleted file mode 100644
index 11b1128c6cc8..000000000000
--- a/media-sound/audacity/files/audacity-1.3.3+flac-1.1.3.patch
+++ /dev/null
@@ -1,121 +0,0 @@
-diff -Naur audacity-src-1.3.3-beta.orig/acinclude.m4 audacity-src-1.3.3-beta/acinclude.m4
---- audacity-src-1.3.3-beta.orig/acinclude.m4 2007-05-18 13:56:02.000000000 +0900
-+++ audacity-src-1.3.3-beta/acinclude.m4 2007-05-19 13:37:01.000000000 +0900
-@@ -479,7 +479,7 @@
- dnl See if FLAC is installed in the system
-
- AC_CHECK_LIB(FLAC,
-- FLAC__file_decoder_new,
-+ FLAC__stream_decoder_new,
- lib_found="yes",
- lib_found="no",
- -lFLAC++ -lFLAC)
-diff -Naur audacity-src-1.3.3-beta.orig/src/export/ExportFLAC.cpp audacity-src-1.3.3-beta/src/export/ExportFLAC.cpp
---- audacity-src-1.3.3-beta.orig/src/export/ExportFLAC.cpp 2007-05-18 13:55:50.000000000 +0900
-+++ audacity-src-1.3.3-beta/src/export/ExportFLAC.cpp 2007-05-19 13:41:16.000000000 +0900
-@@ -145,6 +145,13 @@
-
- #define SAMPLES_PER_RUN 8192
-
-+/* FLACPP_API_VERSION_CURRENT is 6 for libFLAC++ from flac-1.1.3 (see <FLAC++/export.h>) */
-+#if !defined FLACPP_API_VERSION_CURRENT || FLACPP_API_VERSION_CURRENT < 6
-+#define LEGACY_FLAC
-+#else
-+#undef LEGACY_FLAC
-+#endif
-+
- static struct
- {
- bool do_exhaustive_model_search;
-@@ -229,7 +236,9 @@
- gPrefs->Read(wxT("/FileFormats/FLACBitDepth"), wxT("16"));
-
- FLAC::Encoder::File *encoder= new FLAC::Encoder::File();
-+#ifdef LEGACY_FLAC
- encoder->set_filename(OSFILENAME(fName));
-+#endif
- encoder->set_channels(numChannels);
- encoder->set_sample_rate(int(rate + 0.5));
-
-@@ -264,7 +273,11 @@
- encoder->set_rice_parameter_search_dist(flacLevels[levelPref].rice_parameter_search_dist);
- encoder->set_max_lpc_order(flacLevels[levelPref].max_lpc_order);
-
-+#ifdef LEGACY_FLAC
- encoder->init();
-+#else
-+ encoder->init(OSFILENAME(fName));
-+#endif
-
- int numWaveTracks;
- WaveTrack **waveTracks;
-@@ -343,7 +356,7 @@
- return new ExportFLAC();
- }
-
--#endif // USE_LIBVORBIS
-+#endif // USE_LIBFLAC
-
- // Indentation settings for Vim and Emacs and unique identifier for Arch, a
- // version control system. Please do not modify past this point.
-diff -Naur audacity-src-1.3.3-beta.orig/src/import/ImportFLAC.cpp audacity-src-1.3.3-beta/src/import/ImportFLAC.cpp
---- audacity-src-1.3.3-beta.orig/src/import/ImportFLAC.cpp 2007-05-18 13:55:53.000000000 +0900
-+++ audacity-src-1.3.3-beta/src/import/ImportFLAC.cpp 2007-05-19 13:37:01.000000000 +0900
-@@ -63,6 +63,13 @@
- #include "../WaveTrack.h"
- #include "ImportPlugin.h"
-
-+/* FLACPP_API_VERSION_CURRENT is 6 for libFLAC++ from flac-1.1.3 (see <FLAC++/export.h>) */
-+#if !defined FLACPP_API_VERSION_CURRENT || FLACPP_API_VERSION_CURRENT < 6
-+#define LEGACY_FLAC
-+#else
-+#undef LEGACY_FLAC
-+#endif
-+
- class FLACImportFileHandle;
-
- class MyFLACFile : public FLAC::Decoder::File
-@@ -273,6 +280,7 @@
-
- bool FLACImportFileHandle::Init()
- {
-+#ifdef LEGACY_FLAC
- bool success = mFile->set_filename(OSFILENAME(mName));
- if (!success) {
- return false;
-@@ -281,11 +289,23 @@
- if (state != FLAC__FILE_DECODER_OK) {
- return false;
- }
-+#else
-+ if (mFile->init(OSFILENAME(mName)) != FLAC__STREAM_DECODER_INIT_STATUS_OK) {
-+ return false;
-+ }
-+#endif
- mFile->process_until_end_of_metadata();
-+#ifdef LEGACY_FLAC
- state = mFile->get_state();
- if (state != FLAC__FILE_DECODER_OK) {
- return false;
- }
-+#else
-+ // not necessary to check state, error callback will catch errors, but here's how:
-+ if (mFile->get_state() > FLAC__STREAM_DECODER_READ_FRAME) {
-+ return false;
-+ }
-+#endif
- if (!mFile->is_valid() || mFile->get_was_error())
- {
- // This probably is not a FLAC file at all
-@@ -349,7 +369,11 @@
- mChannels[1]->SetTeamed(true);
- }
-
-+#ifdef LEGACY_FLAC
- mFile->process_until_end_of_file();
-+#else
-+ mFile->process_until_end_of_stream();
-+#endif
-
- *outTracks = new Track *[*outNumTracks];
- for(c = 0; c < *outNumTracks; c++) {
diff --git a/media-sound/audacity/files/audacity-1.3.3-gentoo.patch b/media-sound/audacity/files/audacity-1.3.3-gentoo.patch
deleted file mode 100644
index 76aa5684be9b..000000000000
--- a/media-sound/audacity/files/audacity-1.3.3-gentoo.patch
+++ /dev/null
Binary files differ
diff --git a/media-sound/audacity/files/digest-audacity-1.3.3 b/media-sound/audacity/files/digest-audacity-1.3.3
deleted file mode 100644
index 061f5cb2cc0e..000000000000
--- a/media-sound/audacity/files/digest-audacity-1.3.3
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 72a9e3239f3b5af63030a1e1b07e40e7 audacity-src-1.3.3.tar.gz 6649291
-RMD160 ca0099bd00af8c863834b56b64c26b6a54a9e8b0 audacity-src-1.3.3.tar.gz 6649291
-SHA256 9a3e58c3ce04e5b1d743891bc7af6a2a22f01e846111af560def6a6cb360729d audacity-src-1.3.3.tar.gz 6649291