2008-03-18 Brian Cameron <
[email protected]>
* SFEswh-plugins.spec: Add package to build LADSPA plugins.
* patches/swh-plugins-01-nowall.diff,
patches/swh-plugins-02-fixinline.diff: Patches needed to build.
* SFEaudacity.spec: Add SFEswh-plugins as a required module.
--- a/ChangeLog Tue Mar 18 07:56:00 2008 +0000
+++ b/ChangeLog Tue Mar 18 07:59:24 2008 +0000
@@ -1,3 +1,10 @@
+2008-03-18 Brian Cameron <[email protected]>
+
+ * SFEswh-plugins.spec: Add package to build LADSPA plugins.
+ * patches/swh-plugins-01-nowall.diff,
+ patches/swh-plugins-02-fixinline.diff: Patches needed to build.
+ * SFEaudacity.spec: Add SFEswh-plugins as a required module.
+
2008-03-18 Brian Cameron <[email protected]>
* SFEaudacity.spec: Bump to
@@ -19,7 +26,7 @@
* SFEpysqlite.spec: change the download URL
* SFEwbxml.spec: libexpat has been moved to /usr/lib
- changing the LDFLAG and CFLAG to find libexpat.so
+ changing the LDFLAG and CFLAG to find libexpat.so
2008-03-17 Laszlo (Laca) Peter <[email protected]>
--- a/SFEaudacity.spec Tue Mar 18 07:56:00 2008 +0000
+++ b/SFEaudacity.spec Tue Mar 18 07:59:24 2008 +0000
@@ -50,6 +50,7 @@
Requires: SFEportaudio
BuildRequires: SFEladspa-devel
Requires: SFEladspa
+Requires: SFEswh-plugins
BuildRequires: SFEsoundtouch-devel
Requires: SFEsoundtouch
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/SFEswh-plugins.spec Tue Mar 18 07:59:24 2008 +0000
@@ -0,0 +1,74 @@
+#
+# spec file for package SFEswh-plugins
+#
+# includes module(s): swh-plugins
+#
+
+%include Solaris.inc
+Name: SFEswh-plugins
+Summary: LADSPA plugins
+URL: http://plugin.org.uk/
+Version: 0.4.15
+Source: http://plugin.org.uk/releases/%{version}/swh-plugins-%{version}.tar.gz
+Patch1: swh-plugins-01-nowall.diff
+Patch2: swh-plugins-02-fixinline.diff
+SUNW_BaseDir: %{_basedir}
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+
+%include default-depend.inc
+
+BuildRequires: SFEladspa-devel
+Requires: SFEladspa
+BuildRequires: SFEfftw-devel
+Requires: SFEfftw
+
+%prep
+%setup -q -n swh-plugins-%version
+
+%patch1 -p1
+%patch2 -p1
+
+touch NEWS README AUTHORS ChangeLog COPYING
+
+%build
+export ACLOCAL_FLAGS="-I %{_datadir}/aclocal -I ."
+export CFLAGS="%optflags"
+#export CXXFLAGS="%cxx_optflags -lCrun -lCstd"
+export LDFLAGS="%_ldflags"
+export CFLAGS="%optflags"
+
+libtoolize -f -c
+aclocal $ACLOCAL_FLAGS -I .
+autoconf -f
+autoheader
+automake -a -c -f
+
+./configure --prefix=%{_prefix} \
+ --bindir=%{_bindir} \
+ --datadir=%{_datadir} \
+ --libdir=%{_libdir} \
+ --mandir=%{_mandir}
+
+make
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr (-, root, bin)
+%dir %attr (0755, root, sys) %{_datadir}
+%dir %attr (0755, root, bin) %{_libdir}
+%dir %attr (0755, root, bin) %dir %{_libdir}
+%dir %attr (0755, root, bin) %dir %{_libdir}/ladspa
+%{_libdir}/ladspa/lib*.so*
+%dir %attr (0755, root, sys) %{_datadir}
+%dir %attr (0755, root, other) %dir %{_datadir}/ladspa
+%{_datadir}/ladspa/*
+
+%changelog
+* Mon Mar 17 2008 - [email protected]
+- Created with version 0.4.15
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/patches/swh-plugins-01-nowall.diff Tue Mar 18 07:59:24 2008 +0000
@@ -0,0 +1,20 @@
+--- swh-plugins-0.4.15/configure.in-orig 2008-03-18 03:20:22.695032000 -0500
++++ swh-plugins-0.4.15/configure.in 2008-03-18 03:20:39.149695000 -0500
+@@ -104,14 +104,14 @@ else
+ if test ${build_cpu} = "powerpc64"; then MACHINE=""; fi
+ if test ${build_cpu} = "x86_64"; then MACHINE=""; fi
+
+- CFLAGS="$CFLAGS -Wall -O3 -fomit-frame-pointer -fstrength-reduce -funroll-loops -ffast-math -fPIC -DPIC ${MACHINE} ${USE_SSE} ${DARWIN_CFLAGS}"
++ CFLAGS="$CFLAGS -xO3 -fomit-frame-pointer -fstrength-reduce -funroll-loops -ffast-math -fPIC -DPIC ${MACHINE} ${USE_SSE} ${DARWIN_CFLAGS}"
+
+ dnl For Intel's C compiler use:
+ dnl CC="icc"
+- dnl CFLAGS="$CFLAGS -O2 -rcd -tpp6 -xiMK -KPIC -DPIC"
++ dnl CFLAGS="$CFLAGS -xO2 -rcd -tpp6 -xiMK -KPIC -DPIC"
+
+ dnl For debugging use:
+- dnl CFLAGS="$CFLAGS -Wall -g -ffast-math -fPIC -DPIC"
++ dnl CFLAGS="$CFLAGS -g -ffast-math -fPIC -DPIC"
+ fi
+
+ AC_PROG_LD
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/patches/swh-plugins-02-fixinline.diff Tue Mar 18 07:59:24 2008 +0000
@@ -0,0 +1,11 @@
+--- swh-plugins-0.4.15/imp_1199.c-orig 2008-03-18 03:31:02.059525000 -0500
++++ swh-plugins-0.4.15/imp_1199.c 2008-03-18 03:31:14.276697000 -0500
+@@ -70,7 +70,7 @@ inline void impulse2freq(int id, float *
+ fft_plan plan_rc[IMPULSES],
+ plan_cr[IMPULSES];
+
+-static fftw_real *real_in, *real_out, *comp_in, *comp_out;
++extern fftw_real *real_in, *real_out, *comp_in, *comp_out;
+
+ unsigned int fft_length[IMPULSES];
+