SHA256
1
0
forked from pool/audacity
OBS User unknown 2007-05-31 19:42:43 +00:00 committed by Git OBS Bridge
commit 7ddcedab99
17 changed files with 914 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

View File

@ -0,0 +1,26 @@
--- lib-src/libsndfile/acinclude.m4
+++ lib-src/libsndfile/acinclude.m4
@@ -254,7 +254,6 @@
fi
)
-]
if test $ac_cv_c_byte_order = big ; then
ac_cv_c_big_endian=1
@@ -273,6 +272,7 @@
AC_MSG_WARN([[*****************************************************************]])
fi
+]
)# AC_C_FIND_ENDIAN
--- lib-src/soundtouch/Makefile.am
+++ lib-src/soundtouch/Makefile.am
@@ -66,5 +66,4 @@
# flag to aclocal where to find m4 macros for tests
-ACLOCAL_AMFLAGS = -I config/m4

View File

@ -0,0 +1,32 @@
--- lib-src/allegro/Makefile.in
+++ lib-src/allegro/Makefile.in
@@ -3,7 +3,6 @@
CCC = @CXX@
srcdir=@srcdir@
-CFLAGS = -g -O
CPPOBJ = \
allegro.cpp.o \
allegrord.cpp.o \
--- lib-src/libnyquist/Makefile.in
+++ lib-src/libnyquist/Makefile.in
@@ -6,7 +6,7 @@
INCL = -Inyqsrc -Itran -Ixlisp -Icmt -Isys -Isnd -Ifft
CC = @CC@
-override CFLAGS += -g -DCMTSTUFF -O2 -DEXT $(INCL)
+CFLAGS += -DCMTSTUFF -DEXT $(INCL)
LN = $(CC)
LFLAGS = -lm
--- lib-src/libnyquist/misc/Makefile
+++ lib-src/libnyquist/misc/Makefile
@@ -9,7 +9,7 @@
# the unix path gets us switches.h:
# the cmt path gets us swlogic.h:
-CFLAGS = -g -I../sys -I../cmt
+CFLAGS += -I../sys -I../cmt
# Directory info:
BINPATH = .

View File

@ -0,0 +1,53 @@
--- lib-src/libnyquist/xlisp/xlisp.h
+++ lib-src/libnyquist/xlisp/xlisp.h
@@ -147,14 +147,13 @@
/* Linux on Pentium */
#ifdef __linux__
-#ifdef __i386__
-#define LINUX_INTEL
-#endif
-#endif
-
-#ifdef LINUX_INTEL
+#include <endian.h>
+#if __BYTE_ORDER == __BIG_ENDIAN
+#define XL_BIG_ENDIAN
+#else
#define XL_LITTLE_ENDIAN
#endif
+#endif
/* default important definitions */
#ifndef NNODES
--- lib-src/libnyquist/sys/switches.h
+++ lib-src/libnyquist/sys/switches.h
@@ -22,12 +22,13 @@
#define READLINE 1
-#if i386
-#define XL_LITTLE_ENDIAN 1
-#elif __i386__
-#define XL_LITTLE_ENDIAN 1
-#else
+#if !defined(XL_BIG_ENDIAN) && !defined(XL_LITTLE_ENDIAN)
+#include <endian.h>
+#if __BYTE_ORDER == __BIG_ENDIAN
#define XL_BIG_ENDIAN 1
+#else
+#define XL_LITTLE_ENDIAN 1
+#endif
#endif
#undef USE_RAND
--- lib-src/libnyquist/snd/sndlinux.c
+++ lib-src/libnyquist/snd/sndlinux.c
@@ -1,6 +1,7 @@
#include <fcntl.h>
#include <stdio.h>
#include <sys/stat.h>
+#include <unistd.h>
#include "snd.h"
#include "sndfileio.h"

122
audacity-1.3.3-flac.patch Normal file
View File

@ -0,0 +1,122 @@
--- acinclude.m4
+++ acinclude.m4
@@ -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)
--- configure
+++ configure
@@ -4316,9 +4316,9 @@
fi;
- 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
@@ -4336,11 +4336,11 @@
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
-char FLAC__file_decoder_new ();
+char FLAC__stream_decoder_init_file ();
int
main ()
{
-FLAC__file_decoder_new ();
+FLAC__stream_decoder_init_file ();
;
return 0;
}
@@ -4367,20 +4367,20 @@
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 conftest.err conftest.$ac_objext \
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"
--- src/import/ImportFLAC.cpp
+++ src/import/ImportFLAC.cpp
@@ -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++) {
--- src/export/ExportFLAC.cpp
+++ src/export/ExportFLAC.cpp
@@ -229,7 +229,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));
@@ -264,7 +263,7 @@
encoder->set_rice_parameter_search_dist(flacLevels[levelPref].rice_parameter_search_dist);
encoder->set_max_lpc_order(flacLevels[levelPref].max_lpc_order);
- encoder->init();
+ encoder->init(OSFILENAME(fName));
int numWaveTracks;
WaveTrack **waveTracks;

View File

@ -0,0 +1,44 @@
--- src/TrackArtist.cpp
+++ src/TrackArtist.cpp
@@ -374,7 +374,7 @@
dc->SetBrush(blackKeyBrush);
int fontSize = 10;
-#ifdef __WXMSW__
+#if defined(__WXMSW__) || defined(__WXGTK__) || defined(__WXGTK20__)
fontSize = 8;
#endif
--- src/TrackPanel.cpp
+++ src/TrackPanel.cpp
@@ -266,7 +266,7 @@
void SetLabelFont(wxDC * dc)
{
int fontSize = 10;
-#if defined __WXMSW__ || __WXGTK__
+#if defined(__WXMSW__) || defined(__WXGTK__) || defined(__WXGTK20__)
fontSize = 8;
#endif
--- src/widgets/ASlider.cpp
+++ src/widgets/ASlider.cpp
@@ -42,7 +42,7 @@
#include <iostream>
-#if defined __WXMSW__
+#if defined __WXMSW__ || defined(__WXGTK__) || defined(__WXGTK20__)
const int sliderFontSize = 10;
#else
const int sliderFontSize = 12;
--- src/widgets/Ruler.cpp
+++ src/widgets/Ruler.cpp
@@ -42,7 +42,7 @@
// often.
int fontSize = 10;
-#ifdef __WXMSW__
+#if defined(__WXMSW__) || defined(__WXGTK__) || defined(__WXGTK20__)
fontSize = 8;
#endif

View File

@ -0,0 +1,22 @@
--- lib-src/soundtouch/source/SoundTouch/Makefile.am
+++ lib-src/soundtouch/source/SoundTouch/Makefile.am
@@ -35,7 +35,7 @@
# ??? test for -fcheck-new in configure.ac
# other compiler flags to add
-AM_CXXFLAGS=-O3 -msse -fcheck-new -I../../include
+AM_CXXFLAGS=-O3 -fcheck-new -I../../include
# other linking flags to add
#libSoundTouch_la_LIBADD=
--- lib-src/soundtouch/source/SoundTouch/Makefile.in
+++ lib-src/soundtouch/source/SoundTouch/Makefile.in
@@ -197,7 +197,7 @@
# ??? test for -fcheck-new in configure.ac
# other compiler flags to add
-AM_CXXFLAGS = -O3 -msse -fcheck-new -I../../include
+AM_CXXFLAGS = -O3 -fcheck-new -I../../include
all: all-am
.SUFFIXES:

View File

@ -0,0 +1,24 @@
--- configure.in
+++ configure.in
@@ -389,9 +389,5 @@
AC_DEFINE(USE_PORTAUDIO_V19, 1,
[Define if PortAudio v19 is being used (instead of v18)])
- BUILDLIBS="$BUILDLIBS portaudio-v19/lib/libportaudio.a"
- EXTRAOBJS="$EXTRAOBJS ../lib-src/portaudio-v19/lib/libportaudio.a"
- CXXFLAGS="-I\$(top_srcdir)/lib-src/portaudio-v19/include $CXXFLAGS"
-
AC_CONFIG_SUBDIRS([lib-src/portaudio-v19])
@@ -544,5 +540,11 @@
LIBS="$LIBS -lasound"
fi
+
+ dnl BUILDLIBS="$BUILDLIBS portaudio-v19/lib/libportaudio.a"
+ dnl EXTRAOBJS="$EXTRAOBJS ../lib-src/portaudio-v19/lib/libportaudio.a"
+ dnl CXXFLAGS="-I../lib-src/portaudio-v19/pa_common $CXXFLAGS"
+ LIBS="$LIBS -lportaudio"
+
PKG_CHECK_MODULES(JACK, jack, have_jack=yes, have_jack=no)
if [[ $have_jack = "yes" ]] ; then
LIBS="$LIBS $JACK_LIBS"

View File

@ -0,0 +1,37 @@
--- lib-src/libnyquist/xlisp/xlbfun.c
+++ lib-src/libnyquist/xlisp/xlbfun.c
@@ -603,6 +603,7 @@
{
xllastarg();
xlcleanup();
+ return (NIL);
}
/* xtoplevel - special form 'top-level' */
@@ -610,6 +611,7 @@
{
xllastarg();
xltoplevel();
+ return (NIL);
}
/* xcontinue - special form 'continue' */
@@ -617,6 +619,7 @@
{
xllastarg();
xlcontinue();
+ return (NIL);
}
/* xevalhook - eval hook function */
--- lib-src/libnyquist/xlisp/xlread.c
+++ lib-src/libnyquist/xlisp/xlread.c
@@ -240,6 +240,8 @@
/* handle illegal characters */
else
xlerror("illegal character",cvfixnum((FIXTYPE)ch));
+
+ return (FALSE);
}
/* rmhash - read macro for '#' */

View File

@ -0,0 +1,11 @@
--- lib-src/libnyquist/nyqsrc/fft.c
+++ lib-src/libnyquist/nyqsrc/fft.c
@@ -177,7 +177,7 @@
temp_fft[i + len] = 0.0F;
}
/* perform the fft: */
- fftnf(1, (const int *) &len, temp_fft, temp_fft + len, 1, -1.0);
+ fftnf(1, &len, temp_fft, temp_fft + len, 1, -1.0);
setelement(result, 0, cvflonum(temp_fft[0]));
for (i = 2; i < len; i += 2) {
setelement(result, i - 1, cvflonum(temp_fft[i / 2] * 2));

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0a4541ef80551d5967ab891968181badf314c06acaf38b93b5353fdb1cefa5dd
size 4751328

258
audacity.changes Normal file
View File

@ -0,0 +1,258 @@
-------------------------------------------------------------------
Tue May 29 19:30:09 CEST 2007 - prusnak@suse.cz
- updated to 1.3.3
* added collapse/expand tracks
* multiple clips per track
* added selection bar
* improved label tracks
* better performance with large projects
* added transcription toolbar
* improved accessibility for the visually impaired
* added auto-save and automatic crash recovery
* added batch processing
* metadata may be added to OGG files
* EQ effect responsiveness improved
* new Auto Duck effect
* DTMF tone generator
- dropped obsoleted patches:
* ambigous.patch
* overflow-fix.patch (included in update)
* qualification.patch (included in update)
* wx-compat.patch
- added patches:
* flac.patch - adjust for new FLAC 1.1.4 API
* nosse.patch - don't try to use SSE on non-x86 archs
-------------------------------------------------------------------
Fri Apr 20 11:51:15 CEST 2007 - schwab@suse.de
- Fix quoting in autoconf macros.
-------------------------------------------------------------------
Thu Aug 10 16:28:26 CEST 2006 - anosek@suse.cz
- fixed build with new version of autotools (audacity-build.patch)
-------------------------------------------------------------------
Sun Feb 19 09:52:14 CET 2006 - stbinner@suse.de
- add GenericName to .desktop file
-------------------------------------------------------------------
Wed Feb 15 18:59:57 CET 2006 - sbrabec@suse.cz
- Build with portaudio19 (#151210).
-------------------------------------------------------------------
Mon Jan 30 07:19:10 CET 2006 - aj@suse.de
- Further fix to BuildRequires.
-------------------------------------------------------------------
Sun Jan 29 16:54:58 CET 2006 - aj@suse.de
- Fix buildrequires.
-------------------------------------------------------------------
Wed Jan 25 21:34:31 CET 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
-------------------------------------------------------------------
Fri Dec 16 14:50:46 CET 2005 - sbrabec@suse.cz
- Returned back required wx-compat patch.
-------------------------------------------------------------------
Wed Dec 7 19:05:44 CET 2005 - sbrabec@suse.cz
- Updated to version 1.2.4b.
-------------------------------------------------------------------
Wed Nov 9 19:51:11 CET 2005 - sbrabec@suse.cz
- Strict aliasing fix.
-------------------------------------------------------------------
Tue Oct 25 17:25:26 CEST 2005 - sbrabec@suse.cz
- Fixed extra qualification.
- Build with correct CFLAGS.
- Fixed random return values.
-------------------------------------------------------------------
Fri Oct 14 15:07:20 CEST 2005 - sbrabec@suse.cz
- Disabled mad support.
-------------------------------------------------------------------
Fri Apr 15 14:50:23 CEST 2005 - mcihar@suse.de
- add SDL-devel-packages because of wxGTK
-------------------------------------------------------------------
Thu Feb 17 15:19:39 CET 2005 - hvogel@suse.de
- mark as nosrc
-------------------------------------------------------------------
Tue Nov 23 02:15:35 CET 2004 - ro@suse.de
- fix build with current wxGTK
-------------------------------------------------------------------
Mon Nov 22 13:15:10 CET 2004 - mcihar@suse.cz
- update to 1.2.3
-------------------------------------------------------------------
Mon Sep 06 17:48:06 CEST 2004 - mcihar@suse.cz
-fix build on 64-bit arches
-------------------------------------------------------------------
Fri Sep 03 16:33:41 CEST 2004 - mcihar@suse.cz
- update to 1.2.2
-------------------------------------------------------------------
Thu Aug 5 13:25:33 CEST 2004 - tiwai@suse.de
- updated to version 1.2.1.
- using wxGTK-compat library.
-------------------------------------------------------------------
Sun Mar 28 15:39:10 CEST 2004 - tiwai@suse.de
- fixed the segfault at the start up (bug #34313)
- fixed the size of fonts for wxGTK with GTK-2.
- fixed possible buffer overflows.
- build with portaudio-v18, v19 seems problematic.
-------------------------------------------------------------------
Fri Mar 5 16:36:57 CET 2004 - tiwai@suse.de
- updated to version 1.2.0 final.
-------------------------------------------------------------------
Mon Feb 16 14:58:02 CET 2004 - tiwai@suse.de
- updated to version 1.2.0-pre4.
-------------------------------------------------------------------
Thu Jan 22 11:59:40 CET 2004 - tiwai@suse.de
- fixed the build with the latest autoconf.
-------------------------------------------------------------------
Wed Jan 14 14:45:46 CET 2004 - tiwai@suse.de
- updated to version 1.2.0-pre3.
- use portaudio v19 (shared lib).
-------------------------------------------------------------------
Tue Jan 13 18:16:45 CET 2004 - tiwai@suse.de
- fixed the neededforbuild for the latest wxGTK with gtk2.
-------------------------------------------------------------------
Sat Jan 10 11:39:57 CET 2004 - adrian@suse.de
- build as user
-------------------------------------------------------------------
Mon Sep 15 15:56:07 CEST 2003 - tiwai@suse.de
- added desktop icon.
-------------------------------------------------------------------
Sun Sep 14 22:26:12 CEST 2003 - adrian@suse.de
- add AudioVideoEditing Category
-------------------------------------------------------------------
Fri Aug 29 12:59:19 CEST 2003 - tiwai@suse.de
- fixed the bug of WAVE display.
-------------------------------------------------------------------
Thu Aug 14 17:05:23 CEST 2003 - tiwai@suse.de
- added desktop file.
-------------------------------------------------------------------
Mon Aug 11 14:47:37 CEST 2003 - tiwai@suse.de
- updated to version 1.2.0-pre1.
- help file is installed under /usr/share/audacity.
-------------------------------------------------------------------
Thu Jul 3 19:47:02 CEST 2003 - tiwai@suse.de
- fixed neededforbuild for the recent update of mad.
-------------------------------------------------------------------
Tue May 27 00:30:03 CEST 2003 - ro@suse.de
- removed unpackaged files from buildroot
-------------------------------------------------------------------
Thu Mar 27 16:08:54 CET 2003 - tiwai@suse.de
- updated to version 1.1.3.
linked with libFLAC and libsamplerate.
-------------------------------------------------------------------
Tue Nov 26 11:52:46 CET 2002 - tiwai@suse.de
- updated to version 1.1.1.
- build with the system libsndfile since now audacity supports
libsndfile 1.0.
- enabled nyquist support.
-------------------------------------------------------------------
Fri Aug 30 18:24:55 CEST 2002 - tiwai@suse.de
- updated to version 1.1.0 cvs 2002.08.30.
the 1.1.0 tarball version has a major bug regarding to project
file management (bug #18662). this version fixes the problem.
also, this one includes a help text, which wasn't there.
-------------------------------------------------------------------
Wed Jul 24 13:24:00 CEST 2002 - tiwai@suse.de
- updated to version 1.1.0.
-------------------------------------------------------------------
Mon Jul 1 15:49:58 CEST 2002 - tiwai@suse.de
- updated to the stable version 1.0.0-2.
-------------------------------------------------------------------
Wed Apr 17 13:15:10 CEST 2002 - tiwai@suse.de
- fixed build with gcc-3.1.
-------------------------------------------------------------------
Wed Apr 10 01:26:13 CEST 2002 - ro@suse.de
- work around autoconf problem: first AC_CHECK_HEADER
apparently has to be outside of an if ... fi block
-------------------------------------------------------------------
Fri Feb 1 00:26:14 CET 2002 - ro@suse.de
- changed neededforbuild <libpng> to <libpng-devel-packages>
-------------------------------------------------------------------
Fri Jan 25 14:51:04 CET 2002 - ro@suse.de
- added libpng,libjpeg,libtiff to neededforbuild
-------------------------------------------------------------------
Thu Jan 24 12:11:15 CET 2002 - tiwai@suse.de
- initial package version: 0.98.
- built with the shared id3lib.

7
audacity.desktop Normal file
View File

@ -0,0 +1,7 @@
[Desktop Entry]
Type=Application
Name=Audacity
GenericName=Audio Editor
Comment=A free, cross-platform digital audio editor
Exec=audacity
Icon=audacity

3
audacity.png Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c098ef1fb21d2fe04defd6be639665060f7c8ea46980690d50dcc187a679c28e
size 1746

248
audacity.spec Normal file
View File

@ -0,0 +1,248 @@
#
# spec file for package audacity (Version 1.3.3)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: audacity
BuildRequires: SDL-devel flac-devel gcc-c++ glib-devel id3lib-devel libid3tag-devel libmspack-devel libsamplerate-devel libsndfile-devel libtiff-devel libvorbis-devel mad-devel unixODBC-devel update-desktop-files wxGTK-devel zip
# build with local portaudio for now
# BuildRequires: portaudio-devel
%define DISTRIBUTABLE 1
Summary: A Free, Cross-Platform Digital Audio Editor
Version: 1.3.3
Release: 1
License: GNU General Public License (GPL)
Group: Productivity/Multimedia/Sound/Editors and Convertors
BuildRoot: %{_tmppath}/%{name}-%{version}-build
URL: http://audacity.sourceforge.net/
Source: %{name}-src-%{version}.tar.bz2
Source1: %{name}.desktop
Source2: %{name}.png
Patch0: %{name}-%{version}-build.patch
Patch1: %{name}-%{version}-cflags.patch
Patch2: %{name}-%{version}-endian-fix.patch
Patch3: %{name}-%{version}-font-fix.patch
Patch4: %{name}-%{version}-portaudio-shlib.patch
Patch5: %{name}-%{version}-retval.patch
Patch6: %{name}-%{version}-strict-aliasing.patch
Patch7: %{name}-%{version}-nosse.patch
Patch8: %{name}-%{version}-flac.patch
%description
Audacity is a program that manipulates digital audio wave forms. In
addition to recording sounds directly from within the program, it
imports many sound file formats, including WAV, AIFF, AU, IRCAM, MP,
and Ogg Vorbis. With Audacity, you can edit wave data larger than the
physical memory size of your computer.
Authors:
--------
Dominic Mazzoni <dominic@minorninth.com>
Roger Dannenberg <rbd+@cs.cmu.edu>
Jason Cohen <cohen3+@andrew.cmu.edu>
Robert Leidle <rfl+@andrew.cmu.edu>
Mark Tomlinson <marktoml@hotmail.com>
Joshua Haberman <joshua@haberman.com>
Nasca Octavian Paul <paulnasca@email.ro>
Logan Lewis <proxima@proxc.com>
Matt Brubeck <mbrubeck@hmc.edu>
Mark Phillips <mitb@totaldeath.com>
Tony Oetzmann <airon@epost.de>
Harvey Lubin <agrapha@agrapha.com>
Tom Woodhams <tom@imaginemedia.co.uk>
%prep
%setup -q -n %{name}-src-%{version}-beta
%patch0
%patch1
%patch2
%patch3
# build with local portaudio for now
# %patch4
%patch5
%patch6
%ifarch ia64 ppc ppc64 s390 s390x
# remove -msse from Makefiles
%patch7
%endif
%patch8
%build
%{?suse_update_config:%{suse_update_config -f . lib-src/*/.}}
export AUTOMAKE="automake --foreign"
autoreconf -f -i
cd lib-src/portaudio-v19
autoreconf -f -i
cd ../..
%configure \
--enable-unicode \
--with-vorbis=system \
%if %DISTRIBUTABLE
--without-libmad \
%else
--with-libmad=system \
%endif
--with-libsndfile=system \
--with-flac=system \
--with-id3tag=system \
--with-libsamplerate=system \
--with-portaudio=v19
make
%install
make DESTDIR=$RPM_BUILD_ROOT install
%suse_update_desktop_file -i audacity Applications AudioVideo AudioVideoEditing
install -d -m755 $RPM_BUILD_ROOT%{_datadir}/pixmaps
install -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/pixmaps
# we will add docs later in %files section
rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/audacity
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc LICENSE.txt README.txt
%doc %{_mandir}/man?/*
%{_bindir}/audacity
%{_datadir}/audacity
%{_datadir}/applications/*.desktop
%{_datadir}/pixmaps/*.png
%{_datadir}/mime/packages/audacity.xml
%changelog
* Tue May 29 2007 - prusnak@suse.cz
- updated to 1.3.3
* added collapse/expand tracks
* multiple clips per track
* added selection bar
* improved label tracks
* better performance with large projects
* added transcription toolbar
* improved accessibility for the visually impaired
* added auto-save and automatic crash recovery
* added batch processing
* metadata may be added to OGG files
* EQ effect responsiveness improved
* new Auto Duck effect
* DTMF tone generator
- dropped obsoleted patches:
* ambigous.patch
* overflow-fix.patch (included in update)
* qualification.patch (included in update)
* wx-compat.patch
- added patches:
* flac.patch - adjust for new FLAC 1.1.4 API
* nosse.patch - don't try to use SSE on non-x86 archs
* Fri Apr 20 2007 - schwab@suse.de
- Fix quoting in autoconf macros.
* Thu Aug 10 2006 - anosek@suse.cz
- fixed build with new version of autotools (audacity-build.patch)
* Sun Feb 19 2006 - stbinner@suse.de
- add GenericName to .desktop file
* Wed Feb 15 2006 - sbrabec@suse.cz
- Build with portaudio19 (#151210).
* Mon Jan 30 2006 - aj@suse.de
- Further fix to BuildRequires.
* Sun Jan 29 2006 - aj@suse.de
- Fix buildrequires.
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Fri Dec 16 2005 - sbrabec@suse.cz
- Returned back required wx-compat patch.
* Wed Dec 07 2005 - sbrabec@suse.cz
- Updated to version 1.2.4b.
* Wed Nov 09 2005 - sbrabec@suse.cz
- Strict aliasing fix.
* Tue Oct 25 2005 - sbrabec@suse.cz
- Fixed extra qualification.
- Build with correct CFLAGS.
- Fixed random return values.
* Fri Oct 14 2005 - sbrabec@suse.cz
- Disabled mad support.
* Fri Apr 15 2005 - mcihar@suse.de
- add SDL-devel-packages because of wxGTK
* Thu Feb 17 2005 - hvogel@suse.de
- mark as nosrc
* Tue Nov 23 2004 - ro@suse.de
- fix build with current wxGTK
* Mon Nov 22 2004 - mcihar@suse.cz
- update to 1.2.3
* Mon Sep 06 2004 - mcihar@suse.cz
-fix build on 64-bit arches
* Fri Sep 03 2004 - mcihar@suse.cz
- update to 1.2.2
* Thu Aug 05 2004 - tiwai@suse.de
- updated to version 1.2.1.
- using wxGTK-compat library.
* Sun Mar 28 2004 - tiwai@suse.de
- fixed the segfault at the start up (bug #34313)
- fixed the size of fonts for wxGTK with GTK-2.
- fixed possible buffer overflows.
- build with portaudio-v18, v19 seems problematic.
* Fri Mar 05 2004 - tiwai@suse.de
- updated to version 1.2.0 final.
* Mon Feb 16 2004 - tiwai@suse.de
- updated to version 1.2.0-pre4.
* Thu Jan 22 2004 - tiwai@suse.de
- fixed the build with the latest autoconf.
* Wed Jan 14 2004 - tiwai@suse.de
- updated to version 1.2.0-pre3.
- use portaudio v19 (shared lib).
* Tue Jan 13 2004 - tiwai@suse.de
- fixed the neededforbuild for the latest wxGTK with gtk2.
* Sat Jan 10 2004 - adrian@suse.de
- build as user
* Mon Sep 15 2003 - tiwai@suse.de
- added desktop icon.
* Sun Sep 14 2003 - adrian@suse.de
- add AudioVideoEditing Category
* Fri Aug 29 2003 - tiwai@suse.de
- fixed the bug of WAVE display.
* Thu Aug 14 2003 - tiwai@suse.de
- added desktop file.
* Mon Aug 11 2003 - tiwai@suse.de
- updated to version 1.2.0-pre1.
- help file is installed under /usr/share/audacity.
* Thu Jul 03 2003 - tiwai@suse.de
- fixed neededforbuild for the recent update of mad.
* Tue May 27 2003 - ro@suse.de
- removed unpackaged files from buildroot
* Thu Mar 27 2003 - tiwai@suse.de
- updated to version 1.1.3.
linked with libFLAC and libsamplerate.
* Tue Nov 26 2002 - tiwai@suse.de
- updated to version 1.1.1.
- build with the system libsndfile since now audacity supports
libsndfile 1.0.
- enabled nyquist support.
* Fri Aug 30 2002 - tiwai@suse.de
- updated to version 1.1.0 cvs 2002.08.30.
the 1.1.0 tarball version has a major bug regarding to project
file management (bug #18662). this version fixes the problem.
also, this one includes a help text, which wasn't there.
* Wed Jul 24 2002 - tiwai@suse.de
- updated to version 1.1.0.
* Mon Jul 01 2002 - tiwai@suse.de
- updated to the stable version 1.0.0-2.
* Wed Apr 17 2002 - tiwai@suse.de
- fixed build with gcc-3.1.
* Wed Apr 10 2002 - ro@suse.de
- work around autoconf problem: first AC_CHECK_HEADER
apparently has to be outside of an if ... fi block
* Fri Feb 01 2002 - ro@suse.de
- changed neededforbuild <libpng> to <libpng-devel-packages>
* Fri Jan 25 2002 - ro@suse.de
- added libpng,libjpeg,libtiff to neededforbuild
* Thu Jan 24 2002 - tiwai@suse.de
- initial package version: 0.98.
- built with the shared id3lib.

0
ready Normal file
View File