From 7bb91fa038614626cfeaf675d9444a31e57ccfbcde5007d3dbd2c54377e16b81 Mon Sep 17 00:00:00 2001 From: OBS User autobuild Date: Fri, 2 Apr 2010 22:20:58 +0000 Subject: [PATCH] Accepting request 36762 from multimedia:libs checked in (request 36762) OBS-URL: https://build.opensuse.org/request/show/36762 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ladspa?expand=0&rev=14 --- AMB-plugins-0.0.1.tar.bz2 | 3 + AMB-plugins-0.6.1.tar.bz2 | 3 - FIL-plugins-0.0.1.tar.bz2 | 3 + FIL-plugins-0.3.0.tar.bz2 | 3 - MCP-plugins-0.3.0.tar.bz2 | 3 + MCP-plugins-0.4.0.tar.bz2 | 3 - caps_0.4.2.tar.bz2 | 3 + caps_0.4.4.tar.bz2 | 3 - ladspa-devel.changes | 5 - ladspa-devel.spec | 11 +- ladspa.changes | 34 ------ ladspa.dif | 60 ++++------ ladspa.spec | 124 ++++++++++---------- ladspa_sdk-compile-fix.diff | 221 ++++++++++++++++++++++++++++++++++++ ladspa_sdk_1.12.tar.bz2 | 3 + ladspa_sdk_1.13.tar.bz2 | 3 - pvoc-0.1.10-gcc4-fix.diff | 32 ++++++ pvoc_0.1.10.tar.bz2 | 3 + pvoc_0.1.12.tar.bz2 | 3 - swh-configure-2.65.patch | 30 ----- swh-configure.patch | 30 ----- swh-libblo.dif | 12 -- tap-plugins-0.7.0.tar.bz2 | 3 + tap-plugins-0.7.1.tar.bz2 | 3 - tap-type-punning-fix.dif | 11 +- vocoder-ladspa-0.2.tar.bz2 | 3 + vocoder-ladspa-0.3.tar.bz2 | 3 - 27 files changed, 369 insertions(+), 249 deletions(-) create mode 100644 AMB-plugins-0.0.1.tar.bz2 delete mode 100644 AMB-plugins-0.6.1.tar.bz2 create mode 100644 FIL-plugins-0.0.1.tar.bz2 delete mode 100644 FIL-plugins-0.3.0.tar.bz2 create mode 100644 MCP-plugins-0.3.0.tar.bz2 delete mode 100644 MCP-plugins-0.4.0.tar.bz2 create mode 100644 caps_0.4.2.tar.bz2 delete mode 100644 caps_0.4.4.tar.bz2 create mode 100644 ladspa_sdk-compile-fix.diff create mode 100644 ladspa_sdk_1.12.tar.bz2 delete mode 100644 ladspa_sdk_1.13.tar.bz2 create mode 100644 pvoc-0.1.10-gcc4-fix.diff create mode 100644 pvoc_0.1.10.tar.bz2 delete mode 100644 pvoc_0.1.12.tar.bz2 delete mode 100644 swh-configure-2.65.patch delete mode 100644 swh-configure.patch delete mode 100644 swh-libblo.dif create mode 100644 tap-plugins-0.7.0.tar.bz2 delete mode 100644 tap-plugins-0.7.1.tar.bz2 create mode 100644 vocoder-ladspa-0.2.tar.bz2 delete mode 100644 vocoder-ladspa-0.3.tar.bz2 diff --git a/AMB-plugins-0.0.1.tar.bz2 b/AMB-plugins-0.0.1.tar.bz2 new file mode 100644 index 0000000..6e26972 --- /dev/null +++ b/AMB-plugins-0.0.1.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e64616274348d1b2c4a00cffcd8f30b3b649d26193a5a250d78167a479f37ed2 +size 19080 diff --git a/AMB-plugins-0.6.1.tar.bz2 b/AMB-plugins-0.6.1.tar.bz2 deleted file mode 100644 index c81e81a..0000000 --- a/AMB-plugins-0.6.1.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:bd42912c38f6ba8ce5b252ee216cfb59047d1708c57adf4bb7b7c7e6da62213d -size 27366 diff --git a/FIL-plugins-0.0.1.tar.bz2 b/FIL-plugins-0.0.1.tar.bz2 new file mode 100644 index 0000000..c93b57c --- /dev/null +++ b/FIL-plugins-0.0.1.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e0e58510d8c7ee58a24ce05e7a9f87bf32fcdeb7b19657191e0f059629805086 +size 16750 diff --git a/FIL-plugins-0.3.0.tar.bz2 b/FIL-plugins-0.3.0.tar.bz2 deleted file mode 100644 index 8c32a23..0000000 --- a/FIL-plugins-0.3.0.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1c0bf271211965f670a15a7783b4167307db77264ac1624a06e5667964da8ee9 -size 16833 diff --git a/MCP-plugins-0.3.0.tar.bz2 b/MCP-plugins-0.3.0.tar.bz2 new file mode 100644 index 0000000..142e41e --- /dev/null +++ b/MCP-plugins-0.3.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0e9251be296d247f5ed70906dc7f4d6ab098534fc1c15021bc09be370c123748 +size 23014 diff --git a/MCP-plugins-0.4.0.tar.bz2 b/MCP-plugins-0.4.0.tar.bz2 deleted file mode 100644 index 9e2b892..0000000 --- a/MCP-plugins-0.4.0.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6c5bba81251ea03538ac3978279fea4065342b4267b0cd023dafca8268c84919 -size 23637 diff --git a/caps_0.4.2.tar.bz2 b/caps_0.4.2.tar.bz2 new file mode 100644 index 0000000..8735f0f --- /dev/null +++ b/caps_0.4.2.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:daa154126376e4eb04909520fe0981b1f3f06b596cf968aea75227524094c418 +size 674270 diff --git a/caps_0.4.4.tar.bz2 b/caps_0.4.4.tar.bz2 deleted file mode 100644 index 13a5d6f..0000000 --- a/caps_0.4.4.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:cadb68b1266a629caee507b3fc521209cb8eff1da7b15716edac197c0f78a9e5 -size 691374 diff --git a/ladspa-devel.changes b/ladspa-devel.changes index 172f807..1b8163a 100644 --- a/ladspa-devel.changes +++ b/ladspa-devel.changes @@ -1,8 +1,3 @@ -------------------------------------------------------------------- -Thu Jan 21 07:27:40 UTC 2010 - davejplater@gmail.com - -- Update to 1.13 - ------------------------------------------------------------------- Wed Feb 13 13:50:30 CET 2008 - adrian@suse.de diff --git a/ladspa-devel.spec b/ladspa-devel.spec index 872d908..6a2439b 100644 --- a/ladspa-devel.spec +++ b/ladspa-devel.spec @@ -19,16 +19,15 @@ Name: ladspa-devel -Summary: Include Files mandatory for Development -Version: 1.13 -Release: 0 -License: LGPLv2.1+ +Summary: Include Files mandatory for Development. +Version: 1.12.code10.3 +Release: 106 +License: GPLv2+ Group: Development/Libraries/C and C++ -Source: ladspa_sdk_1.13.tar.bz2 +Source: ladspa_sdk_1.12.tar.bz2 Url: http://www.ladspa.org/ BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch -Provides: ladspa-devel > 1.12.code10.3.1 %description This package contains include files to develop LADSPA plugins. diff --git a/ladspa.changes b/ladspa.changes index a532af9..c233e23 100644 --- a/ladspa.changes +++ b/ladspa.changes @@ -1,37 +1,3 @@ -------------------------------------------------------------------- -Mon Mar 22 05:12:28 UTC 2010 - davejplater@gmail.com - -- Add swh-configure-2.65.patch for autoconf-2.65 build - -------------------------------------------------------------------- -Tue Jan 26 07:21:56 UTC 2010 - davejplater@gmail.com - -- Fixed swt lib build with swh-liblo.dif & swh-configure.patch - -------------------------------------------------------------------- -Fri Jan 22 08:52:05 UTC 2010 - davejplater@gmail.com - -- Update plugins to AMB-plugins-0.6.1, FIL-plugins-0.3.0, - MCP-plugins-0.4.0, caps_0.4.4, pvoc_0.1.12, tap-plugins-0.7.1 and - vocoder-ladspa-0.3. -- Fix tap-type-punning-fix.dif - -------------------------------------------------------------------- -Thu Jan 21 07:00:52 UTC 2010 - davejplater@gmail.com - -- Update to ladspa-1.13 -- Removed ladspa_sdk-compile-fix.diff and adapted ladspa.dif -- Moved examples directory to {_docdir}/{name}/examples -- Updated "License: LGPL2.1+" -- Version 1.13 - 6 Nov 2007 - - • Fix compile error in sine.cpp (GCC4). - • Fix typo in text output by analyseplugin. - • Extra usage text in analyseplugin and applyplugin. - • Replace strdup() with localStrdup() in sine.cpp to avoid malloc/new - mismatch. - • Remove "local" part from install directories. - ------------------------------------------------------------------- Wed Nov 25 13:58:09 UTC 2009 - mseben@novell.com diff --git a/ladspa.dif b/ladspa.dif index 4c2e735..2bee66a 100644 --- a/ladspa.dif +++ b/ladspa.dif @@ -1,8 +1,6 @@ -Index: ladspa_sdk/src/makefile -=================================================================== ---- ladspa_sdk/src/makefile.orig -+++ ladspa_sdk/src/makefile -@@ -27,6 +27,9 @@ PROGRAMS = ../bin/analyseplugin \ +--- ladspa_sdk/src/makefile ++++ ladspa_sdk/src/makefile 2002/05/07 10:59:53 +@@ -28,6 +28,9 @@ ../bin/listplugins CC = cc CPP = c++ @@ -12,20 +10,18 @@ Index: ladspa_sdk/src/makefile ############################################################################### # -@@ -59,7 +62,7 @@ test: /tmp/test.wav ../snd/noise.wav alw - @echo Test complete. +@@ -59,7 +62,7 @@ + play /tmp/test.wav install: targets -- -mkdirhier $(INSTALL_PLUGINS_DIR) -+ -$(MKDIRHIER) $(INSTALL_PLUGINS_DIR) - -mkdirhier $(INSTALL_INCLUDE_DIR) - -mkdirhier $(INSTALL_BINARY_DIR) +- -mkdirhier $(INSTALL_PLUGINS_DIR) \ ++ -$(MKDIRHIER) $(INSTALL_PLUGINS_DIR) \ + $(INSTALL_INCLUDE_DIR) \ + $(INSTALL_BINARY_DIR) cp ../plugins/* $(INSTALL_PLUGINS_DIR) -Index: ladspa_sdk/src/plugins/amp.c -=================================================================== ---- ladspa_sdk/src/plugins/amp.c.orig -+++ ladspa_sdk/src/plugins/amp.c -@@ -152,8 +152,8 @@ LADSPA_Descriptor * g_psStereoDescriptor +--- ladspa_sdk/src/plugins/amp.c ++++ ladspa_sdk/src/plugins/amp.c 2002/05/07 12:17:35 +@@ -152,8 +152,8 @@ /* _init() is called automatically when the plugin library is first loaded. */ @@ -36,7 +32,7 @@ Index: ladspa_sdk/src/plugins/amp.c char ** pcPortNames; LADSPA_PortDescriptor * piPortDescriptors; -@@ -335,8 +335,8 @@ deleteDescriptor(LADSPA_Descriptor * psD +@@ -333,8 +333,8 @@ /*****************************************************************************/ /* _fini() is called automatically when the library is unloaded. */ @@ -47,11 +43,9 @@ Index: ladspa_sdk/src/plugins/amp.c deleteDescriptor(g_psMonoDescriptor); deleteDescriptor(g_psStereoDescriptor); } -Index: ladspa_sdk/src/plugins/delay.c -=================================================================== ---- ladspa_sdk/src/plugins/delay.c.orig -+++ ladspa_sdk/src/plugins/delay.c -@@ -228,8 +228,8 @@ LADSPA_Descriptor * g_psDescriptor = NUL +--- ladspa_sdk/src/plugins/delay.c ++++ ladspa_sdk/src/plugins/delay.c 2002/05/07 12:17:09 +@@ -228,8 +228,8 @@ /* _init() is called automatically when the plugin library is first loaded. */ @@ -62,7 +56,7 @@ Index: ladspa_sdk/src/plugins/delay.c char ** pcPortNames; LADSPA_PortDescriptor * piPortDescriptors; -@@ -322,8 +322,8 @@ _init() { +@@ -318,8 +318,8 @@ /*****************************************************************************/ /* _fini() is called automatically when the library is unloaded. */ @@ -73,11 +67,9 @@ Index: ladspa_sdk/src/plugins/delay.c long lIndex; if (g_psDescriptor) { free((char *)g_psDescriptor->Label); -Index: ladspa_sdk/src/plugins/filter.c -=================================================================== ---- ladspa_sdk/src/plugins/filter.c.orig -+++ ladspa_sdk/src/plugins/filter.c -@@ -252,8 +252,8 @@ LADSPA_Descriptor * g_psHPFDescriptor = +--- ladspa_sdk/src/plugins/filter.c ++++ ladspa_sdk/src/plugins/filter.c 2002/05/07 12:17:53 +@@ -252,8 +252,8 @@ /* _init() is called automatically when the plugin library is first loaded. */ @@ -88,7 +80,7 @@ Index: ladspa_sdk/src/plugins/filter.c char ** pcPortNames; LADSPA_PortDescriptor * piPortDescriptors; -@@ -431,8 +431,8 @@ deleteDescriptor(LADSPA_Descriptor * psD +@@ -429,8 +429,8 @@ /*****************************************************************************/ /* _fini() is called automatically when the library is unloaded. */ @@ -99,11 +91,9 @@ Index: ladspa_sdk/src/plugins/filter.c deleteDescriptor(g_psLPFDescriptor); deleteDescriptor(g_psHPFDescriptor); } -Index: ladspa_sdk/src/plugins/noise.c -=================================================================== ---- ladspa_sdk/src/plugins/noise.c.orig -+++ ladspa_sdk/src/plugins/noise.c -@@ -142,8 +142,8 @@ LADSPA_Descriptor * g_psDescriptor; +--- ladspa_sdk/src/plugins/noise.c ++++ ladspa_sdk/src/plugins/noise.c 2002/05/07 12:18:09 +@@ -142,8 +142,8 @@ /* _init() is called automatically when the plugin library is first loaded. */ @@ -114,7 +104,7 @@ Index: ladspa_sdk/src/plugins/noise.c char ** pcPortNames; LADSPA_PortDescriptor * piPortDescriptors; -@@ -219,8 +219,8 @@ _init() { +@@ -217,8 +217,8 @@ /*****************************************************************************/ /* _fini() is called automatically when the library is unloaded. */ diff --git a/ladspa.spec b/ladspa.spec index 80a7d53..1ce3036 100644 --- a/ladspa.spec +++ b/ladspa.spec @@ -1,5 +1,5 @@ # -# spec file for package ladspa (Version 1.13.code10.3.1) +# spec file for package ladspa (Version 1.12.code10.3.1) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -19,32 +19,31 @@ Name: ladspa -BuildRequires: fdupes fftw-devel fftw3-devel flac-devel gcc-c++ ladspa-devel libsndfile-devel pkgconfig xorg-x11-util-devel -%define AMB_version 0.6.1 -%define FIL_version 0.3.0 -%define MCP_version 0.4.0 -%define REV_version 0.3.1 -%define VCO_version 0.3.0 -%define alienwah_version 1.13 -%define blepvco_version 0.1.0 -%define blop_version 0.2.8 -%define caps_version 0.4.4 -%define pvoc_version 0.1.12 -%define sooperlooper_version 0.93 +BuildRequires: fdupes fftw-devel fftw3-devel flac-devel gcc-c++ ladspa-devel libsndfile-devel pkgconfig %define swh_version 0.4.15 -%define tap_version 0.7.1 +%define vocoder_version 0.2 +%define alienwah_version 1.13 +%define sooperlooper_version 0.93 +%define blop_version 0.2.8 %define vcf_version 0.0.5 %define vlevel_version 0.5 -%define vocoder_version 0.3 +%define MCP_version 0.3.0 +%define REV_version 0.3.1 +%define VCO_version 0.3.0 +%define FIL_version 0.0.1 +%define AMB_version 0.0.1 +%define tap_version 0.7.0 +%define caps_version 0.4.2 +%define pvoc_version 0.1.10 +%define blepvco_version 0.1.0 Summary: The Linux Audio Developer's Simple Plug-In API -Version: 1.13 -Release: 0 -License: LGPLv2.1+ +Version: 1.12.code10.3.1 +Release: 120 +License: GPLv2+ Group: Development/Libraries/C and C++ AutoReq: on Autoprov: off -Provides: ladspa > 1.12.code10.3.1 -Source1: ladspa_sdk_1.13.tar.bz2 +Source1: ladspa_sdk_1.12.tar.bz2 Source2: cmt_src_1.15.tar.bz2 Source3: swh-plugins-%{swh_version}.tar.bz2 Source4: ladspa-swh.tex @@ -87,13 +86,8 @@ Patch15: swh-readonly.dif Patch16: pvoc-compile-fix.dif Patch17: swh-0.4.13-gcc4-fix.diff Patch18: sooperlooper-0.93-gcc4-fix.diff -Patch20: swh-libblo.dif -# swh-configure.patch changes for >= autoconf-2.65 in openSUSE 11.3 -%if %suse_version <= 1120 -Patch21: swh-configure.patch -%else -Patch21: swh-configure-2.65.patch -%endif +Patch20: pvoc-0.1.10-gcc4-fix.diff +Patch21: ladspa_sdk-compile-fix.diff Patch22: alienwah-compile-fix.diff Patch23: alienwah-float_complex.diff Patch25: pvoc-0.1.10-depend-copts-fix.diff @@ -132,19 +126,17 @@ Authors: # pvoc, caps, preamp, match, unmatched, super-60: # http://quitte.de/dsp/ # blepvco: http://home.jps.net/~musound/ -# +# %setup -q -c -n ladspa -T -a 1 -a 2 -a 3 -a 6 -a 7 -a 8 -a 9 -a 10 -a 11 -a 12 -a 13 -a 14 -a 15 -a 16 -a 17 -a 18 -a 19 -a 20 -a 21 -a 22 -a 23 -a 24 %patch +(cd ladspa_sdk +%patch21 +) (cd swh-plugins-%{swh_version} %patch1 %patch15 %patch17 %patch26 -p1 -%patch20 -p1 -touch config.rpath -./autogen.sh --prefix=%{_prefix} -%{?suse_update_config:%{suse_update_config -f}} -%patch21 -p 1 ) (cd cmt %patch2 @@ -161,7 +153,6 @@ touch config.rpath %patch6 %patch27 %patch28 -%{?suse_update_config:%{suse_update_config -f}} ) (cd vcf-%{vcf_version} %patch7 @@ -189,8 +180,11 @@ touch config.rpath ) (cd pvoc-%{pvoc_version} %patch16 +%patch20 %patch25 ) +# (cd caps-%{caps_version} +# ) %build # This package failed when testing with -Wl,-as-needed being default. @@ -198,101 +192,98 @@ touch config.rpath export SUSE_ASNEEDED=0 # LADSPA SDK cd ladspa_sdk/src -make CFLAGS="$RPM_OPT_FLAGS -fPIC -ggdb" targets +make CFLAGS="$RPM_OPT_FLAGS -fPIC" targets cd ../.. # CMT cd cmt/src -make CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -fPIC -ggdb" targets +make CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -fPIC" targets cd ../.. # SWH plugins cd swh-plugins-%{swh_version} -%if %suse_version <= 1100 autoreconf --install --force -%endif -#./autogen.sh --prefix=%{_prefix} --libdir=%{_libdir} -CFLAGS="$RPM_OPT_FLAGS -fPIC -ggdb -DPIC -fno-strict-aliasing" \ +CFLAGS="$RPM_OPT_FLAGS -fPIC -DPIC -fno-strict-aliasing" \ ./configure --prefix=%{_prefix} -make CFLAGS="$RPM_OPT_FLAGS -fPIC -ggdb -DPIC -fno-strict-aliasing" +make CFLAGS="$RPM_OPT_FLAGS -fPIC -DPIC -fno-strict-aliasing" cd .. # Vocoder cd vocoder-%{vocoder_version} -make CFLAGS="$RPM_OPT_FLAGS -fPIC -ggdb" +make CFLAGS="$RPM_OPT_FLAGS -fPIC" cd .. # Alien Wah cd alienwah-%{alienwah_version} -make CFLAGS="$RPM_OPT_FLAGS -fPIC -ggdb" +make CFLAGS="$RPM_OPT_FLAGS -fPIC" cd .. # Sooperlooper cd sooperlooper-%{sooperlooper_version} -make CFLAGS="$RPM_OPT_FLAGS -fPIC -ggdb" +make CFLAGS="$RPM_OPT_FLAGS -fPIC" cd .. # Blop cd blop-%{blop_version} -#autoreconf --install --force +autoreconf --install --force ./configure --prefix=%{_prefix} \ --with-ladspa-plugin-dir=%{_libdir}/ladspa -make CFLAGS="$RPM_OPT_FLAGS -DNO_DEBUG -DPIC -fPIC -ggdb" +make CFLAGS="$RPM_OPT_FLAGS -DNO_DEBUG -DPIC -fPIC" cd .. # VCF cd vcf-%{vcf_version} -make CFLAGS="$RPM_OPT_FLAGS -fPIC -ggdb" +make CFLAGS="$RPM_OPT_FLAGS -fPIC" cd .. # unmatched cd unmatched -make CFLAGS="$RPM_OPT_FLAGS -fPIC -ggdb" +make CFLAGS="$RPM_OPT_FLAGS -fPIC" cd .. # matched cd matched -make CFLAGS="$RPM_OPT_FLAGS -fPIC -ggdb" +make CFLAGS="$RPM_OPT_FLAGS -fPIC" cd .. # preamp cd preamp -make CFLAGS="$RPM_OPT_FLAGS -fPIC -ggdb -fno-strict-aliasing" \ - CXXFLAGS="$RPM_OPT_FLAGS -fPIC -ggdb -fno-strict-aliasing" +make CFLAGS="$RPM_OPT_FLAGS -fPIC -fno-strict-aliasing" \ + CXXFLAGS="$RPM_OPT_FLAGS -fPIC -fno-strict-aliasing" cd .. # MCP plugins cd MCP-plugins-%{MCP_version} -make CXXFLAGS="$RPM_OPT_FLAGS -fPIC -ggdb" +make CXXFLAGS="$RPM_OPT_FLAGS -fPIC" cd .. # REV plugins cd REV-plugins-%{REV_version} -make CXXFLAGS="$RPM_OPT_FLAGS -fPIC -ggdb" +make CXXFLAGS="$RPM_OPT_FLAGS -fPIC" cd .. # VCO plugins cd VCO-plugins-%{VCO_version} -make CXXFLAGS="$RPM_OPT_FLAGS -fPIC -ggdb" +make CXXFLAGS="$RPM_OPT_FLAGS -fPIC" cd .. # vlevel cd vlevel-%{vlevel_version} -make CXXFLAGS="$RPM_OPT_FLAGS -fPIC -ggdb" +make CXXFLAGS="$RPM_OPT_FLAGS -fPIC" cd .. # tap-plugins cd tap-plugins-%{tap_version} -make CFLAGS="$RPM_OPT_FLAGS -fPIC -ggdb -c" +make CFLAGS="$RPM_OPT_FLAGS -fPIC -c" cd .. # super-60 cd super-60 -make CFLAGS="$RPM_OPT_FLAGS -ggdb -fPIC" +make CFLAGS="$RPM_OPT_FLAGS -fPIC" cd .. # caps cd caps-%{caps_version} -make CFLAGS="$RPM_OPT_FLAGS -ggdb -fPIC" +make CFLAGS="$RPM_OPT_FLAGS -fPIC" cd .. # FIL plugins cd FIL-plugins-%{FIL_version} -make CXXFLAGS="$RPM_OPT_FLAGS -ggdb -fPIC" +make CXXFLAGS="$RPM_OPT_FLAGS -fPIC" cd .. # AMB plugins cd AMB-plugins-%{AMB_version} -make CXXFLAGS="$RPM_OPT_FLAGS -ggdb -fPIC" +make CXXFLAGS="$RPM_OPT_FLAGS -fPIC" cd .. # pvoc plugins cd pvoc-%{pvoc_version} -make OPTS="$RPM_OPT_FLAGS -ggdb -fPIC" +make OPTS="$RPM_OPT_FLAGS -fPIC" cd .. # blepvco cd blepvco-%{blepvco_version} -make CPPFLAGS="$RPM_OPT_FLAGS -ggdb -fPIC" +make CPPFLAGS="$RPM_OPT_FLAGS -fPIC" cd .. %install @@ -342,8 +333,7 @@ done mkdir -p "$RPM_BUILD_ROOT"%{_bindir} install -c -m 755 vlevel-%{vlevel_version}/vlevel-bin "$RPM_BUILD_ROOT"%{_bindir} # additional RDF files -mkdir -p $RPM_BUILD_ROOT%{_datadir}/ladspa/rdf -cp -p %{SOURCE30} $RPM_BUILD_ROOT%{_datadir}/ladspa/rdf +cp %{SOURCE30} $RPM_BUILD_ROOT%{_datadir}/ladspa/rdf cp tap-plugins-%{tap_version}/*.rdf $RPM_BUILD_ROOT%{_datadir}/ladspa/rdf # install documents mkdir -p $RPM_BUILD_ROOT%{_docdir}/%{name}/{cmt,swh,vcf} @@ -383,8 +373,8 @@ cp -av swh-plugins-%{swh_version}/gsm/README $RPM_BUILD_ROOT%{_docdir}/%{name}/s cp %{SOURCE4} %{SOURCE5} $RPM_BUILD_ROOT%{_docdir}/%{name}/swh cp %{SOURCE50} $RPM_BUILD_ROOT%{_docdir}/%{name}/vcf cp -av vlevel-%{vlevel_version}/docs $RPM_BUILD_ROOT%{_docdir}/%{name}/vlevel -mkdir -p $RPM_BUILD_ROOT%{_docdir}/%{name}/examples/vlevel -cp -av vlevel-%{vlevel_version}/utils/* $RPM_BUILD_ROOT%{_docdir}/%{name}/examples/vlevel +mkdir -p $RPM_BUILD_ROOT%{_docdir}/examples/vlevel +cp -av vlevel-%{vlevel_version}/utils/* $RPM_BUILD_ROOT%{_docdir}/examples/vlevel chmod 644 $RPM_BUILD_ROOT%{_docdir}/%{name}/cmt/plugins.html # remove incldue file (already in devel package) rm -f $RPM_BUILD_ROOT%{_includedir}/* @@ -397,7 +387,7 @@ rm -rf $RPM_BUILD_ROOT %files -f %{name}.lang %defattr(-,root,root) %doc %{_docdir}/%{name} -%doc %{_docdir}/%{name}/examples +%doc %{_docdir}/examples %{_libdir}/ladspa %{_bindir}/* %{_datadir}/ladspa diff --git a/ladspa_sdk-compile-fix.diff b/ladspa_sdk-compile-fix.diff new file mode 100644 index 0000000..c319b30 --- /dev/null +++ b/ladspa_sdk-compile-fix.diff @@ -0,0 +1,221 @@ +--- src/plugins/sine.cpp-dist 2005-10-04 16:29:44.000000000 +0200 ++++ src/plugins/sine.cpp 2005-10-05 12:13:25.000000000 +0200 +@@ -31,6 +31,8 @@ + #define OSC_AMPLITUDE 1 + #define OSC_OUTPUT 2 + ++namespace ladspa_sdk_sine { ++ + /*****************************************************************************/ + + /* Sine table size is given by (1<m_pfFrequency = DataLocation; +- break; +- case OSC_AMPLITUDE: +- ((SineOscillator *)Instance)->m_pfAmplitude = DataLocation; +- break; +- case OSC_OUTPUT: +- ((SineOscillator *)Instance)->m_pfOutput = DataLocation; +- break; +- } +- } ++ LADSPA_Data * DataLocation); ++ friend void activateSineOscillator(void * pvHandle); ++ friend void runSineOscillator_FreqAudio_AmpAudio(LADSPA_Handle Instance, ++ unsigned long SampleCount); ++ friend void runSineOscillator_FreqAudio_AmpCtrl(LADSPA_Handle Instance, ++ unsigned long SampleCount); ++ friend void runSineOscillator_FreqCtrl_AmpAudio(LADSPA_Handle Instance, ++ unsigned long SampleCount); ++ friend void runSineOscillator_FreqCtrl_AmpCtrl(LADSPA_Handle Instance, ++ unsigned long SampleCount); ++ friend void cleanupSineOscillator(void *pvHandle); + +- friend void activateSineOscillator(void * pvHandle) { +- ((SineOscillator *)pvHandle)->m_lPhase = 0; +- } ++}; + +- friend void runSineOscillator_FreqAudio_AmpAudio(LADSPA_Handle Instance, +- unsigned long SampleCount) { +- SineOscillator * poSineOscillator = (SineOscillator *)Instance; +- for (unsigned long lIndex = 0; lIndex < SampleCount; lIndex++) { +- /* Extract frequency at this point to guarantee inplace +- support. */ +- LADSPA_Data fFrequency +- = (poSineOscillator->m_pfFrequency[lIndex]); +- poSineOscillator->m_pfOutput[lIndex] +- = (g_pfSineTable[poSineOscillator->m_lPhase >> SINE_TABLE_SHIFT] +- * poSineOscillator->m_pfAmplitude[lIndex]); +- poSineOscillator->setPhaseStepFromFrequency(fFrequency); +- poSineOscillator->m_lPhase +- += poSineOscillator->m_lPhaseStep; +- } ++LADSPA_Handle instantiateSineOscillator(const LADSPA_Descriptor *, ++ unsigned long SampleRate) ++{ ++ return new SineOscillator(SampleRate); ++} ++ ++void connectPortToSineOscillator(LADSPA_Handle Instance, ++ unsigned long Port, ++ LADSPA_Data * DataLocation) ++{ ++ switch (Port) { ++ case OSC_FREQUENCY: ++ ((SineOscillator *)Instance)->m_pfFrequency = DataLocation; ++ break; ++ case OSC_AMPLITUDE: ++ ((SineOscillator *)Instance)->m_pfAmplitude = DataLocation; ++ break; ++ case OSC_OUTPUT: ++ ((SineOscillator *)Instance)->m_pfOutput = DataLocation; ++ break; + } ++} + +- friend void runSineOscillator_FreqAudio_AmpCtrl(LADSPA_Handle Instance, +- unsigned long SampleCount) { +- SineOscillator * poSineOscillator = (SineOscillator *)Instance; +- LADSPA_Data fAmplitude = *(poSineOscillator->m_pfAmplitude); +- for (unsigned long lIndex = 0; lIndex < SampleCount; lIndex++) { +- /* Extract frequency at this point to guarantee inplace +- support. */ +- LADSPA_Data fFrequency +- = (poSineOscillator->m_pfFrequency[lIndex]); +- poSineOscillator->m_pfOutput[lIndex] +- = (g_pfSineTable[poSineOscillator->m_lPhase >> SINE_TABLE_SHIFT] +- * fAmplitude); +- poSineOscillator->setPhaseStepFromFrequency(fFrequency); +- poSineOscillator->m_lPhase +- += poSineOscillator->m_lPhaseStep; +- } ++void activateSineOscillator(void * pvHandle) ++{ ++ ((SineOscillator *)pvHandle)->m_lPhase = 0; ++} ++ ++void runSineOscillator_FreqAudio_AmpAudio(LADSPA_Handle Instance, ++ unsigned long SampleCount) ++{ ++ SineOscillator * poSineOscillator = (SineOscillator *)Instance; ++ for (unsigned long lIndex = 0; lIndex < SampleCount; lIndex++) { ++ /* Extract frequency at this point to guarantee inplace ++ support. */ ++ LADSPA_Data fFrequency ++ = (poSineOscillator->m_pfFrequency[lIndex]); ++ poSineOscillator->m_pfOutput[lIndex] ++ = (g_pfSineTable[poSineOscillator->m_lPhase >> SINE_TABLE_SHIFT] ++ * poSineOscillator->m_pfAmplitude[lIndex]); ++ poSineOscillator->setPhaseStepFromFrequency(fFrequency); ++ poSineOscillator->m_lPhase ++ += poSineOscillator->m_lPhaseStep; + } ++} + +- friend void runSineOscillator_FreqCtrl_AmpAudio(LADSPA_Handle Instance, +- unsigned long SampleCount) { +- SineOscillator * poSineOscillator = (SineOscillator *)Instance; +- poSineOscillator->setPhaseStepFromFrequency +- (*(poSineOscillator->m_pfFrequency)); +- for (unsigned long lIndex = 0; lIndex < SampleCount; lIndex++) { +- poSineOscillator->m_pfOutput[lIndex] +- = (g_pfSineTable[poSineOscillator->m_lPhase >> SINE_TABLE_SHIFT] +- * poSineOscillator->m_pfAmplitude[lIndex]); +- poSineOscillator->m_lPhase +- += poSineOscillator->m_lPhaseStep; +- } ++void runSineOscillator_FreqAudio_AmpCtrl(LADSPA_Handle Instance, ++ unsigned long SampleCount) ++{ ++ SineOscillator * poSineOscillator = (SineOscillator *)Instance; ++ LADSPA_Data fAmplitude = *(poSineOscillator->m_pfAmplitude); ++ for (unsigned long lIndex = 0; lIndex < SampleCount; lIndex++) { ++ /* Extract frequency at this point to guarantee inplace ++ support. */ ++ LADSPA_Data fFrequency ++ = (poSineOscillator->m_pfFrequency[lIndex]); ++ poSineOscillator->m_pfOutput[lIndex] ++ = (g_pfSineTable[poSineOscillator->m_lPhase >> SINE_TABLE_SHIFT] ++ * fAmplitude); ++ poSineOscillator->setPhaseStepFromFrequency(fFrequency); ++ poSineOscillator->m_lPhase ++ += poSineOscillator->m_lPhaseStep; + } ++} + +- friend void runSineOscillator_FreqCtrl_AmpCtrl(LADSPA_Handle Instance, +- unsigned long SampleCount) { +- SineOscillator * poSineOscillator = (SineOscillator *)Instance; +- LADSPA_Data fAmplitude = *(poSineOscillator->m_pfAmplitude); +- poSineOscillator->setPhaseStepFromFrequency +- (*(poSineOscillator->m_pfFrequency)); +- for (unsigned long lIndex = 0; lIndex < SampleCount; lIndex++) { +- poSineOscillator->m_pfOutput[lIndex] +- = (g_pfSineTable[poSineOscillator->m_lPhase >> SINE_TABLE_SHIFT] +- * fAmplitude); +- poSineOscillator->m_lPhase +- += poSineOscillator->m_lPhaseStep; +- } ++void runSineOscillator_FreqCtrl_AmpAudio(LADSPA_Handle Instance, ++ unsigned long SampleCount) ++{ ++ SineOscillator * poSineOscillator = (SineOscillator *)Instance; ++ poSineOscillator->setPhaseStepFromFrequency ++ (*(poSineOscillator->m_pfFrequency)); ++ for (unsigned long lIndex = 0; lIndex < SampleCount; lIndex++) { ++ poSineOscillator->m_pfOutput[lIndex] ++ = (g_pfSineTable[poSineOscillator->m_lPhase >> SINE_TABLE_SHIFT] ++ * poSineOscillator->m_pfAmplitude[lIndex]); ++ poSineOscillator->m_lPhase ++ += poSineOscillator->m_lPhaseStep; + } ++} + +- friend void cleanupSineOscillator(void *pvHandle) { +- delete (SineOscillator *)pvHandle; ++void runSineOscillator_FreqCtrl_AmpCtrl(LADSPA_Handle Instance, ++ unsigned long SampleCount) ++{ ++ SineOscillator * poSineOscillator = (SineOscillator *)Instance; ++ LADSPA_Data fAmplitude = *(poSineOscillator->m_pfAmplitude); ++ poSineOscillator->setPhaseStepFromFrequency ++ (*(poSineOscillator->m_pfFrequency)); ++ for (unsigned long lIndex = 0; lIndex < SampleCount; lIndex++) { ++ poSineOscillator->m_pfOutput[lIndex] ++ = (g_pfSineTable[poSineOscillator->m_lPhase >> SINE_TABLE_SHIFT] ++ * fAmplitude); ++ poSineOscillator->m_lPhase ++ += poSineOscillator->m_lPhaseStep; + } ++} + +-}; ++void cleanupSineOscillator(void *pvHandle) ++{ ++ delete (SineOscillator *)pvHandle; ++} + + /*****************************************************************************/ + +@@ -368,4 +394,6 @@ + + /*****************************************************************************/ + ++} ++ + /* EOF */ diff --git a/ladspa_sdk_1.12.tar.bz2 b/ladspa_sdk_1.12.tar.bz2 new file mode 100644 index 0000000..9fc8957 --- /dev/null +++ b/ladspa_sdk_1.12.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a9a65c9c80ef178f9effe05217eff13ce7c51e87125d123de538b817108bcd0d +size 65275 diff --git a/ladspa_sdk_1.13.tar.bz2 b/ladspa_sdk_1.13.tar.bz2 deleted file mode 100644 index 68f4faa..0000000 --- a/ladspa_sdk_1.13.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ffdeae3f5130560224573e4f2536daeec6c8c9482e0066104421063799fa32e7 -size 65417 diff --git a/pvoc-0.1.10-gcc4-fix.diff b/pvoc-0.1.10-gcc4-fix.diff new file mode 100644 index 0000000..90b381b --- /dev/null +++ b/pvoc-0.1.10-gcc4-fix.diff @@ -0,0 +1,32 @@ +--- Plugins.cc-dist 2005-04-11 11:47:09.848541196 +0200 ++++ Plugins.cc 2005-04-11 11:48:10.464429484 +0200 +@@ -177,7 +177,8 @@ Exaggerate::port_info [] = + } + }; + +-Descriptor::Descriptor() ++template <> ++Descriptor::Descriptor() + { + UniqueID = 1791; + Label = "Exaggerate"; +@@ -345,7 +346,8 @@ Transpose::port_info [] = + } + }; + +-Descriptor::Descriptor() ++template <> ++Descriptor::Descriptor() + { + UniqueID = 1792; + Label = "Transpose"; +@@ -496,7 +498,8 @@ Accumulate::port_info [] = + } + }; + +-Descriptor::Descriptor() ++template <> ++Descriptor::Descriptor() + { + UniqueID = 1793; + Label = "Accumulate"; diff --git a/pvoc_0.1.10.tar.bz2 b/pvoc_0.1.10.tar.bz2 new file mode 100644 index 0000000..9c29b8a --- /dev/null +++ b/pvoc_0.1.10.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4ab20d2ea6415afef5a76e21ad004496f57ac0546016e2429bc43f951924acc2 +size 39828 diff --git a/pvoc_0.1.12.tar.bz2 b/pvoc_0.1.12.tar.bz2 deleted file mode 100644 index 132b12d..0000000 --- a/pvoc_0.1.12.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:cd35efa60fd7a55fc974a19efd8e800a53cbd606ff5a7205434bfebe9ae68e25 -size 39966 diff --git a/swh-configure-2.65.patch b/swh-configure-2.65.patch deleted file mode 100644 index c699674..0000000 --- a/swh-configure-2.65.patch +++ /dev/null @@ -1,30 +0,0 @@ -Index: swh-plugins-0.4.15/configure -=================================================================== ---- swh-plugins-0.4.15.orig/configure -+++ swh-plugins-0.4.15/configure -@@ -767,6 +767,7 @@ GMSGFMT - MSGFMT - GETTEXT_MACRO_VERSION - USE_NLS -+MKINSTALLDIRS - CPP - OTOOL64 - OTOOL -@@ -11223,6 +11224,17 @@ fi - - ALL_LINGUAS="en_GB" - -+ MKINSTALLDIRS= -+ if test -n "$ac_aux_dir"; then -+ case "$ac_aux_dir" in -+ /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;; -+ *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;; -+ esac -+ fi -+ if test -z "$MKINSTALLDIRS"; then -+ MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" -+ fi -+ - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 - $as_echo_n "checking whether NLS is requested... " >&6; } - # Check whether --enable-nls was given. diff --git a/swh-configure.patch b/swh-configure.patch deleted file mode 100644 index 22cc156..0000000 --- a/swh-configure.patch +++ /dev/null @@ -1,30 +0,0 @@ -Index: swh-plugins-0.4.15/configure -=================================================================== ---- swh-plugins-0.4.15.orig/configure -+++ swh-plugins-0.4.15/configure -@@ -811,6 +811,7 @@ GMSGFMT - MSGFMT - GETTEXT_MACRO_VERSION - USE_NLS -+MKINSTALLDIRS - CPP - OTOOL64 - OTOOL -@@ -12121,6 +12122,17 @@ fi - - ALL_LINGUAS="en_GB" - -+ MKINSTALLDIRS= -+ if test -n "$ac_aux_dir"; then -+ case "$ac_aux_dir" in -+ /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;; -+ *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;; -+ esac -+ fi -+ if test -z "$MKINSTALLDIRS"; then -+ MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" -+ fi -+ - { $as_echo "$as_me:$LINENO: checking whether NLS is requested" >&5 - $as_echo_n "checking whether NLS is requested... " >&6; } - # Check whether --enable-nls was given. diff --git a/swh-libblo.dif b/swh-libblo.dif deleted file mode 100644 index 76d77da..0000000 --- a/swh-libblo.dif +++ /dev/null @@ -1,12 +0,0 @@ -Index: swh-plugins-0.4.15/configure.in -=================================================================== ---- swh-plugins-0.4.15.orig/configure.in -+++ swh-plugins-0.4.15/configure.in -@@ -49,6 +50,7 @@ AC_PROG_LIBTOOL - - AC_LANG_C - AC_PROG_CC -+AM_PROG_CC_C_O - AC_REQUIRE_CPP - ALL_LINGUAS="en_GB" - AM_GNU_GETTEXT([external]) diff --git a/tap-plugins-0.7.0.tar.bz2 b/tap-plugins-0.7.0.tar.bz2 new file mode 100644 index 0000000..7f58f2a --- /dev/null +++ b/tap-plugins-0.7.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6d0e245e0fd70d9a3c9e18f7dcd5ca50b51ab394afbab780959da6af48aa3d84 +size 51422 diff --git a/tap-plugins-0.7.1.tar.bz2 b/tap-plugins-0.7.1.tar.bz2 deleted file mode 100644 index 3ee650c..0000000 --- a/tap-plugins-0.7.1.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d6c96dbbabb7a5c6360895db5aa95788ad2940fff1f9e851722dda70338012f5 -size 52129 diff --git a/tap-type-punning-fix.dif b/tap-type-punning-fix.dif index 0c3e612..6706c75 100644 --- a/tap-type-punning-fix.dif +++ b/tap-type-punning-fix.dif @@ -1,17 +1,16 @@ -Index: tap-plugins-0.7.1/tap_utils.h -=================================================================== ---- tap_utils.h +--- tap_utils.h-dist 2004-03-05 15:44:58.000000000 +0100 +++ tap_utils.h 2004-03-05 15:45:53.000000000 +0100 -@@ -95,6 +95,14 @@ for any bugs or malfunction. */ +@@ -92,7 +92,14 @@ #define LN_2_2 0.34657359f +-#define FLUSH_TO_ZERO(x) (((*(unsigned int*)&(x))&0x7f800000)==0)?0.0f:(x) +static inline float FLUSH_TO_ZERO(float fv) { + union { + float f; + int i; -+ } v; -+ v.f = fv; ++ } v; ++ v.f = fv; + return (v.i & 0x7f800000) == 0 ?0.0f : fv; +} #define LIMIT(v,l,u) ((v)<(l)?(l):((v)>(u)?(u):(v))) diff --git a/vocoder-ladspa-0.2.tar.bz2 b/vocoder-ladspa-0.2.tar.bz2 new file mode 100644 index 0000000..c3beb6d --- /dev/null +++ b/vocoder-ladspa-0.2.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:04d6698e4cf0f61d05cc9f104015040e3c1f568f91985515144146fea6ef78d9 +size 4665 diff --git a/vocoder-ladspa-0.3.tar.bz2 b/vocoder-ladspa-0.3.tar.bz2 deleted file mode 100644 index 9b11eaa..0000000 --- a/vocoder-ladspa-0.3.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e1a6a70b64b9d1fdd62c1eb6a1a2ba18113232b09cf3dedb1c326fc3e2b9db23 -size 4774