rpms/audacity/F-8 audacity-1.3.4-gcc43.patch, NONE, 1.1 audacity-1.3.4-libdir.patch, NONE, 1.1 audacity-1.3.4-libmp3lame-default.patch, NONE, 1.1 audacity-1.3.5-fr.patch, NONE, 1.1 audacity.desktop, NONE, 1.1 .cvsignore, 1.8, 1.9 audacity.spec, 1.41, 1.42 sources, 1.10, 1.11 audacity-1.3.2-CVE-2007-6061.patch, 1.1, NONE audacity-1.3.2-FLAC.patch, 1.1, NONE audacity-1.3.2-allegro-cflags.patch, 1.1, NONE audacity-1.3.2-destdir.patch, 1.1, NONE audacity-1.3.2-expat2.patch, 1.1, NONE audacity-1.3.2-exportmp3.patch, 1.1, NONE audacity-1.3.2-fr.patch, 1.1, NONE audacity-1.3.2-gcc43.patch, 1.1, NONE audacity-1.3.2-jack-api-109.patch, 1.1, NONE audacity-1.3.2-languages.patch, 1.1, NONE audacity-1.3.2-libdir.patch, 1.1, NONE audacity-1.3.2-resample.patch, 1.1, NONE audacity-1.3.2-soundtouch-cxxflags.patch, 1.1, NONE
Michael Schwendt (mschwendt)
fedora-extras-commits at redhat.com
Mon Jun 9 10:19:44 UTC 2008
- Previous message (by thread): rpms/sound-juicer/devel .cvsignore, 1.44, 1.45 sound-juicer.spec, 1.96, 1.97 sources, 1.46, 1.47 sj-handle-uris.patch, 1.1, NONE sound-juicer-2.20.0-profile-editing.patch, 1.1, NONE x-content.patch, 1.1, NONE
- Next message (by thread): rpms/audacity/F-8 audacity.spec,1.42,1.43
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: mschwendt
Update of /cvs/pkgs/rpms/audacity/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv1868
Modified Files:
.cvsignore audacity.spec sources
Added Files:
audacity-1.3.4-gcc43.patch audacity-1.3.4-libdir.patch
audacity-1.3.4-libmp3lame-default.patch
audacity-1.3.5-fr.patch audacity.desktop
Removed Files:
audacity-1.3.2-CVE-2007-6061.patch audacity-1.3.2-FLAC.patch
audacity-1.3.2-allegro-cflags.patch
audacity-1.3.2-destdir.patch audacity-1.3.2-expat2.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-languages.patch audacity-1.3.2-libdir.patch
audacity-1.3.2-resample.patch
audacity-1.3.2-soundtouch-cxxflags.patch
Log Message:
sync with F-9 for updates-testing
audacity-1.3.4-gcc43.patch:
--- NEW FILE audacity-1.3.4-gcc43.patch ---
diff -Nur audacity-src-1.3.4-beta-orig/lib-src/libvamp/vamp-sdk/hostext/PluginLoader.cpp audacity-src-1.3.4-beta/lib-src/libvamp/vamp-sdk/hostext/PluginLoader.cpp
--- audacity-src-1.3.4-beta-orig/lib-src/libvamp/vamp-sdk/hostext/PluginLoader.cpp 2008-01-23 18:32:54.000000000 +0100
+++ audacity-src-1.3.4-beta/lib-src/libvamp/vamp-sdk/hostext/PluginLoader.cpp 2008-03-22 01:43:07.000000000 +0100
@@ -41,6 +41,7 @@
#include <fstream>
#include <cctype> // tolower
+#include <cstring>
#ifdef _WIN32
diff -Nur audacity-src-1.3.4-beta-orig/lib-src/libvamp/vamp-sdk/PluginAdapter.cpp audacity-src-1.3.4-beta/lib-src/libvamp/vamp-sdk/PluginAdapter.cpp
--- audacity-src-1.3.4-beta-orig/lib-src/libvamp/vamp-sdk/PluginAdapter.cpp 2008-01-23 18:32:54.000000000 +0100
+++ audacity-src-1.3.4-beta/lib-src/libvamp/vamp-sdk/PluginAdapter.cpp 2008-03-22 01:13:09.000000000 +0100
@@ -36,6 +36,10 @@
#include "PluginAdapter.h"
+#include <cstdlib>
+#include <cstring>
+using namespace std;
+
//#define DEBUG_PLUGIN_ADAPTER 1
diff -Nur audacity-src-1.3.4-beta-orig/lib-src/libvamp/vamp-sdk/PluginHostAdapter.cpp audacity-src-1.3.4-beta/lib-src/libvamp/vamp-sdk/PluginHostAdapter.cpp
--- audacity-src-1.3.4-beta-orig/lib-src/libvamp/vamp-sdk/PluginHostAdapter.cpp 2008-01-23 18:32:54.000000000 +0100
+++ audacity-src-1.3.4-beta/lib-src/libvamp/vamp-sdk/PluginHostAdapter.cpp 2008-03-22 01:27:20.000000000 +0100
@@ -36,6 +36,9 @@
#include "PluginHostAdapter.h"
+#include <cstdlib>
+
+
namespace Vamp
{
@@ -63,7 +66,7 @@
std::vector<std::string> path;
std::string envPath;
- char *cpath = getenv("VAMP_PATH");
+ char *cpath = std::getenv("VAMP_PATH");
if (cpath) envPath = cpath;
#ifdef _WIN32
@@ -80,7 +83,7 @@
if (envPath == "") {
envPath = DEFAULT_VAMP_PATH;
- char *chome = getenv("HOME");
+ char *chome = std::getenv("HOME");
if (chome) {
std::string home(chome);
std::string::size_type f;
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.5-beta-orig/lib-src/libvamp/vamp-sdk/PluginHostAdapter.cpp audacity-src-1.3.5-beta/lib-src/libvamp/vamp-sdk/PluginHostAdapter.cpp
--- audacity-src-1.3.5-beta-orig/lib-src/libvamp/vamp-sdk/PluginHostAdapter.cpp 2008-05-07 23:19:58.000000000 +0200
+++ audacity-src-1.3.5-beta/lib-src/libvamp/vamp-sdk/PluginHostAdapter.cpp 2008-05-11 20:56:59.000000000 +0200
@@ -75,7 +75,7 @@
#ifdef __APPLE__
#define DEFAULT_VAMP_PATH "$HOME/Library/Audio/Plug-Ins/Vamp:/Library/Audio/Plug-Ins/Vamp"
#else
-#define DEFAULT_VAMP_PATH "$HOME/vamp:$HOME/.vamp:/usr/local/lib/vamp:/usr/lib/vamp"
+#define DEFAULT_VAMP_PATH "$HOME/vamp:$HOME/.vamp:/usr/local/__RPM_LIB__/vamp:__RPM_LIBDIR__/vamp"
#endif
#endif
audacity-1.3.4-libmp3lame-default.patch:
--- NEW FILE audacity-1.3.4-libmp3lame-default.patch ---
diff -Nur audacity-src-1.3.4-beta-orig/src/AudacityApp.cpp audacity-src-1.3.4-beta/src/AudacityApp.cpp
--- audacity-src-1.3.4-beta-orig/src/AudacityApp.cpp 2008-01-23 18:32:52.000000000 +0100
+++ audacity-src-1.3.4-beta/src/AudacityApp.cpp 2008-04-12 16:40:33.000000000 +0200
@@ -726,6 +726,8 @@
return false;
}
+ gPrefs->Write(wxT("/MP3/MP3LibPath"),wxT("__RPM_LIBDIR__/libmp3lame.so.0"));
+
// More initialization
InitCleanSpeech();
audacity-1.3.5-fr.patch:
--- NEW FILE audacity-1.3.5-fr.patch ---
diff -Nur audacity-src-1.3.5-beta-orig/locale/fr.po audacity-src-1.3.5-beta/locale/fr.po
--- audacity-src-1.3.5-beta-orig/locale/fr.po 2008-05-07 23:20:10.000000000 +0200
+++ audacity-src-1.3.5-beta/locale/fr.po 2008-06-08 22:13:18.000000000 +0200
@@ -2831,7 +2831,7 @@
#: Project.cpp:1746
msgid "Audacity projects|*.aup|"
-msgstr "Projets Audacity (*.aup)|*.aup"
+msgstr "Projets Audacity (*.aup)|*.aup|"
#: Project.cpp:1799
#: Project.cpp:2186
--- NEW FILE audacity.desktop ---
[Desktop Entry]
Name=Audacity
GenericName=Sound editor
Type=Application
Exec=audacity
Icon=audacity
Terminal=false
Comment=A multitrack audio editor
MimeType=audio/x-wav;application/ogg;audio/x-aiff;audio/x-aiffc;audio/x-aifc;audio/basic;application/x-audacity-project;
Categories=AudioVideo;GNOME;
StartupWMClass=Audacity
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/audacity/F-8/.cvsignore,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- .cvsignore 23 Feb 2007 22:01:51 -0000 1.8
+++ .cvsignore 9 Jun 2008 10:18:48 -0000 1.9
@@ -1 +1 @@
-audacity-src-1.3.2.tar.gz
+audacity-src-1.3.5.tar.bz2
Index: audacity.spec
===================================================================
RCS file: /cvs/pkgs/rpms/audacity/F-8/audacity.spec,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -r1.41 -r1.42
--- audacity.spec 3 May 2008 07:07:38 -0000 1.41
+++ audacity.spec 9 Jun 2008 10:18:48 -0000 1.42
@@ -1,52 +1,44 @@
-Name: audacity
-Version: 1.3.2
-Release: 21%{?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.gz
-Source1: audacity.png
-# iconv on src/Languages.cpp (ISO Latin-1 to UTF-8)
-Patch1: audacity-1.3.2-languages.patch
-# iconv on locale/fr.po (MAC to ISO Latin-1)
-Patch2: audacity-1.3.2-fr.patch
-Patch3: audacity-1.3.2-exportmp3.patch
-Patch4: audacity-1.3.2-destdir.patch
-Patch5: audacity-1.3.2-resample.patch
-Patch6: audacity-1.3.2-FLAC.patch
-Patch7: audacity-1.3.2-expat2.patch
-Patch8: audacity-1.3.2-gcc43.patch
-Patch9: audacity-1.3.2-libdir.patch
-Patch10: audacity-1.3.2-jack-api-109.patch
-Patch11: audacity-1.3.2-soundtouch-cxxflags.patch
-Patch12: audacity-1.3.2-allegro-cflags.patch
-Patch13: audacity-1.3.2-CVE-2007-6061.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: compat-wxGTK26-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
-
# Compile options:
# --with mp3 : enable mp3 support
+%define tartopdir audacity-src-1.3.5-beta
+
+Name: audacity
+Version: 1.3.5
+Release: 0.5.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
+Source1: audacity.png
+Source2: audacity.desktop
+
+Patch1: audacity-1.3.4-libmp3lame-default.patch
+Patch2: audacity-1.3.4-libdir.patch
+Patch3: audacity-1.3.4-gcc43.patch
+Patch4: audacity-1.3.5-fr.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
+BuildRequires: wxGTK2-devel
+%{?_with_mp3:BuildRequires: libmad-devel}
+
%description
Audacity is a cross-platform multitrack audio editor. It allows you to
@@ -57,79 +49,60 @@
Linux/*BSD, MacOS, and Windows.
%prep
-%setup -q -n %{name}-src-%{version}-beta
-%patch1 -p1 -b .languages
-%patch2 -p1 -b .fr
-%patch3 -p1 -b .exportmp3
-%patch4 -p1 -b .destdir
-%patch5 -p1 -b .resample
-%patch6 -p1 -b .FLAC
-%patch7 -p1 -b .expat2
-%patch8 -p1 -b .gcc43
+%setup -q -n %{tartopdir}
# Substitute hardcoded library paths.
-%patch9 -p1
-for i in src/effects/ladspa/LoadLadspa.cpp src/export/ExportMP3.cpp
+%patch1 -p1
+%patch2 -p1
+for i in src/effects/ladspa/LoadLadspa.cpp src/export/ExportMP3.cpp src/AudacityApp.cpp lib-src/libvamp/vamp-sdk/PluginHostAdapter.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
-%if 0%{?fedora} > 8
-%patch10 -p1 -b .jack-api
-%endif
-%patch11 -p1 -b .soundtouch-cxxflags
-%patch12 -p1 -b .allegro-cflags
-%patch13 -p1 -b .CVE-2007-6061
+%patch3 -p1 -b .gcc43
+%patch4 -p1 -b .fr
# 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
+for i in locale/*.po src/export/ExportMP3.cpp
do
sed -i -e 's!libmp3lame.so\([^.]\)!libmp3lame.so.0\1!g' $i
done
-%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
-
%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}
+%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
%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/*
+make DESTDIR=${RPM_BUILD_ROOT} install
+
+%{find_lang} %{name}
+
+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}
%clean
@@ -138,20 +111,20 @@
%post
umask 022
-%{_bindir}/update-mime-database %{_datadir}/mime > /dev/null 2>&1 || :
-%{_bindir}/update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
+update-mime-database %{_datadir}/mime &> /dev/null || :
+update-desktop-database &> /dev/null || :
%postun
umask 022
-%{_bindir}/update-mime-database %{_datadir}/mime > /dev/null 2>&1 || :
-%{_bindir}/update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
+update-mime-database %{_datadir}/mime &> /dev/null || :
+update-desktop-database &> /dev/null || :
%files -f %{name}.lang
%defattr(-,root,root,-)
-%{_bindir}/*
-%{_datadir}/audacity
+%{_bindir}/%{name}
+%{_datadir}/%{name}/
%{_mandir}/man*/*
%{_datadir}/applications/*
%{_datadir}/pixmaps/*
@@ -160,9 +133,40 @@
%changelog
-* Sat May 3 2008 Michael Schwendt <mschwendt at fedoraproject.org> - 1.3.2-21
+* Sun Jun 8 2008 Michael Schwendt <mschwendt at fedoraproject.org> - 1.3.5-0.5.beta
+- fix bad fr.po that makes Fichier>Open dialog too wide
+
+* Thu May 15 2008 Michael Schwendt <mschwendt at fedoraproject.org> - 1.3.5-0.4.beta
+- desktop-file: drop deprecated Encoding, drop Icon file extension
+
+* Thu May 15 2008 Michael Schwendt <mschwendt at fedoraproject.org> - 1.3.5-0.3.beta
+- merge 1.3.5-beta from test branch
+
+* Fri May 9 2008 Michael Schwendt <mschwendt at fedoraproject.org> - 1.3.5-0.2.beta
+- update to 1.3.5-beta
+- expat2 patch merged upstream
+- scriptlets: run update-desktop-database without path
+- drop scriptlet dependencies
+
+* Mon May 5 2008 Michael Schwendt <mschwendt at fedoraproject.org> - 1.3.5-0.1.rc3.20080505cvs
+- update to 1.3.5-rc3 cvs snapshot
+- ExportMP3.cpp libdir patch obsolete
+
+* Sat May 3 2008 Michael Schwendt <mschwendt at fedoraproject.org> - 1.3.4-0.7.20080123cvs
- check ownership of temporary files directory (#436260) (CVE-2007-6061)
+* Sat Apr 12 2008 Michael Schwendt <mschwendt at fedoraproject.org> - 1.3.4-0.6.20080123cvs
+- set a default location for libmp3lame.so.0 again
+
+* 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 Mar 21 2008 Michael Schwendt <mschwendt at fedoraproject.org> - 1.3.2-20
- make soundtouch and allegro build with RPM optflags
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/audacity/F-8/sources,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- sources 23 Feb 2007 22:01:51 -0000 1.10
+++ sources 9 Jun 2008 10:18:48 -0000 1.11
@@ -1 +1 @@
-bf63673140254f1283dfd55b61ff2422 audacity-src-1.3.2.tar.gz
+b15503c331e7145942fa0e4b27760d61 audacity-src-1.3.5.tar.bz2
--- audacity-1.3.2-CVE-2007-6061.patch DELETED ---
--- audacity-1.3.2-FLAC.patch DELETED ---
--- audacity-1.3.2-allegro-cflags.patch DELETED ---
--- audacity-1.3.2-destdir.patch DELETED ---
--- audacity-1.3.2-expat2.patch DELETED ---
--- audacity-1.3.2-exportmp3.patch DELETED ---
--- audacity-1.3.2-fr.patch DELETED ---
--- audacity-1.3.2-gcc43.patch DELETED ---
--- audacity-1.3.2-jack-api-109.patch DELETED ---
--- audacity-1.3.2-languages.patch DELETED ---
--- audacity-1.3.2-libdir.patch DELETED ---
--- audacity-1.3.2-resample.patch DELETED ---
--- audacity-1.3.2-soundtouch-cxxflags.patch DELETED ---
- Previous message (by thread): rpms/sound-juicer/devel .cvsignore, 1.44, 1.45 sound-juicer.spec, 1.96, 1.97 sources, 1.46, 1.47 sj-handle-uris.patch, 1.1, NONE sound-juicer-2.20.0-profile-editing.patch, 1.1, NONE x-content.patch, 1.1, NONE
- Next message (by thread): rpms/audacity/F-8 audacity.spec,1.42,1.43
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list