Hello community, here is the log from the commit of package vamp-plugin-sdk for openSUSE:Factory checked in at Thu May 26 11:53:45 CEST 2011.
-------- --- vamp-plugin-sdk/vamp-plugin-sdk.changes 2009-07-10 14:52:56.000000000 +0200 +++ /mounts/work_src_done/STABLE/vamp-plugin-sdk/vamp-plugin-sdk.changes 2011-05-23 03:55:24.000000000 +0200 @@ -1,0 +2,18 @@ +Mon May 23 00:07:02 UTC 2011 - [email protected] + +- Update to version 2.2.1, split libs into libvamp-hostsdk3 and + libvamp-sdk2 sub packages and moved binaries into main package. +- Enabled api doc build and generate man pages with help2man. +- Upstream changes : + *Add ProcessTimestampMethod to PluginInputDomainAdapter, + offering the ability to decide how data buffering and + timestamping works for frequency-domain plugins (whose process + timestamps have to be at the centre of each processing block + rather than the start) + *Make PluginBufferingAdapter take into account any timestamp + shift introduced by a PluginInputDomainAdapter that it wraps. + *Fix crash in PluginAdapter when plugin library getDescriptor + fails on plugin construction. + *Add plugin skeleton files as starting point for new developers. + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- vamp-plugin-sdk-2.0-gcc44.patch vamp-plugin-sdk-2.0.tar.bz2 New: ---- baselibs.conf vamp-plugin-sdk-2.2.1.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ vamp-plugin-sdk.spec ++++++ --- /var/tmp/diff_new_pack.C1hjHC/_old 2011-05-26 11:47:54.000000000 +0200 +++ /var/tmp/diff_new_pack.C1hjHC/_new 2011-05-26 11:47:54.000000000 +0200 @@ -1,7 +1,7 @@ # -# spec file for package vamp-plugin-sdk (Version 2.0) +# spec file for package vamp-plugin-sdk # -# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,41 +19,64 @@ Name: vamp-plugin-sdk -Version: 2.0 +Version: 2.2.1 Release: 1 Summary: An API for audio analysis and feature extraction plugins -Group: System Environment/Libraries -License: BSD +Group: Productivity/Multimedia/Sound/Utilities +License: MIT Url: http://www.vamp-plugins.org/ -Source: %{name}-%{version}.tar.bz2 +Source0: http://downloads.sourceforge.net/vamp/%{name}-%{version}.tar.bz2 +Source1: baselibs.conf Patch0: %{name}-2.0-libdir.patch -Patch1: %{name}-2.0-gcc44.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: gcc-c++ libsndfile-devel pkg-config -#Requires: +BuildRequires: doxygen fdupes graphviz help2man %description Vamp is an API for C and C++ plugins that process sampled audio data to produce descriptive output (measurements or semantic observations). +%package -n libvamp-hostsdk3 + + +Summary: Library for Vamp audio analysis plugin hosts +Group: System/Libraries + +%description -n libvamp-hostsdk3 +Vamp is an API for C and C++ plugins that process sampled audio data +to produce descriptive output (measurements or semantic observations). + +%package -n libvamp-sdk2 + + +Summary: Library for Vamp audio analysis plugins +Group: System/Libraries + +%description -n libvamp-sdk2 +Vamp is an API for C and C++ plugins that process sampled audio data +to produce descriptive output (measurements or semantic observations). + %package devel -License: BSD + + Summary: Development files for %{name} -Group: Development/Libraries +Group: Development/Libraries/C and C++ Requires: %{name} = %{version}-%{release} +Requires: libvamp-hostsdk3 = %{version}-%{release} +Requires: libvamp-sdk2 = %{version}-%{release} Requires: pkgconfig %description devel -The %{name}-devel package contains libraries and header files for -developing applications that use %{name}. +The vamp-plugin-sdk-devel package contains documentation examples and +header files for developing applications that use vamp-plugin-sdk. %prep -%setup -q -%patch0 -p1 -b .libdir -%patch1 -p1 -b .gcc44 +%setup -q -n %{name}-v%{version} +%patch0 -b .libdir sed -i 's|/lib/vamp|/%{_lib}/vamp|g' src/vamp-hostsdk/PluginHostAdapter.cpp sed -i 's|/lib/|/%{_lib}/|g' src/vamp-hostsdk/PluginLoader.cpp +%define buildir %{_builddir}/%{name}-v%{version} %build %configure @@ -62,11 +85,44 @@ %install # fix libdir find . -name '*.pc.in' -exec sed -i 's|/lib|/%{_lib}|' {} ';' -make install DESTDIR=$RPM_BUILD_ROOT #INSTALL_PREFIX=%{_prefix} LIB=/%{_lib} -find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' +# The #INSTALL_PREFIX +make install DESTDIR=%{buildroot} +#INSTALL_PREFIX=%%{_prefix} LIB=/%%{_lib} +find %{buildroot} -name '*.la' -exec rm -f {} ';' +find %{buildroot} -name '*.a' -exec rm -f {} ';' +# Build api html docs +doxygen -u build/Doxyfile +doxygen build/Doxyfile +pushd doc/html +rm ftv2pnode.png && ln -s ftv2plastnode.png ftv2pnode.png +rm ftv2mlastnode.png && ln -s ftv2mnode.png ftv2mlastnode.png +rm ftv2doc.png && ln -s ftv2link.png ftv2doc.png +rm ftv2vertline.png && ln -s ftv2lastnode.png ftv2vertline.png +rm ftv2node.png && ln -s ftv2lastnode.png ftv2node.png +rm ftv2blank.png && ln -s ftv2lastnode.png ftv2blank.png +popd +# Build refman.pdf +#pushd latex && make all +#popd + +%if 0%{?suse_version} >= 1140 +# Generate man pages with help2man +mkdir -p %{buildroot}%{_mandir}/man1 +pushd %{buildroot}%{_mandir}/man1 +cp -v %{buildroot}%{_bindir}/* ./ +help2man -N --no-discard-stderr \ + -o vamp-rdf-template-generator.1 \ + ./vamp-rdf-template-generator +help2man -N --no-discard-stderr \ + -o vamp-simple-host.1 \ + ./vamp-simple-host +rm vamp-simple-host vamp-rdf-template-generator +popd +%endif + # create Makefile for examples cd examples -echo CXXFLAGS=$RPM_OPT_FLAGS -fpic >> Makefile +echo CXXFLAGS=%{optflags} -fpic >> Makefile echo bundle: `ls *.o` >> Makefile echo -e "\t"g++ \$\(CXXFLAGS\) -shared -Wl,-Bsymbolic \ -o vamp-example-plugins.so \ @@ -79,24 +135,45 @@ make clean %clean -rm -rf $RPM_BUILD_ROOT +rm -rf %{buildroot} + +%post -n libvamp-hostsdk3 -p /sbin/ldconfig -%post -p /sbin/ldconfig +%postun -n libvamp-hostsdk3 -p /sbin/ldconfig -%postun -p /sbin/ldconfig +%post -n libvamp-sdk2 -p /sbin/ldconfig + +%postun -n libvamp-sdk2 -p /sbin/ldconfig + +%files -n libvamp-hostsdk3 +%defattr(-,root,root,-) +%{_libdir}/libvamp-hostsdk.so.3* + +%files -n libvamp-sdk2 +%defattr(-,root,root,-) +%{_libdir}/libvamp-sdk.so.2* %files %defattr(-,root,root,-) %doc COPYING README -%exclude %{_libdir}/*.a -%{_libdir}/*.so.* +%{_bindir}/vamp-rdf-template-generator +%{_bindir}/vamp-simple-host +%if 0%{?suse_version} >= 1140 +%{_mandir}/man1/vamp-rdf-template-generator.1.gz +%{_mandir}/man1/vamp-simple-host.1.gz +%endif +%dir %{_libdir}/vamp %{_libdir}/vamp %files devel %defattr(-,root,root,-) -%doc examples -%{_bindir}/vamp-* -%{_includedir}/* +%doc rdf/doc doc/html examples +%dir %{_includedir}/vamp +%dir %{_includedir}/vamp-hostsdk +%dir %{_includedir}/vamp-sdk +%{_includedir}/vamp/* +%{_includedir}/vamp-hostsdk/* +%{_includedir}/vamp-sdk/* %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc ++++++ baselibs.conf ++++++ libvamp-sdk2 libvamp-hostsdk3 ++++++ vamp-plugin-sdk-2.0-libdir.patch ++++++ --- /var/tmp/diff_new_pack.C1hjHC/_old 2011-05-26 11:47:54.000000000 +0200 +++ /var/tmp/diff_new_pack.C1hjHC/_new 2011-05-26 11:47:54.000000000 +0200 @@ -1,22 +1,24 @@ ---- vamp-plugin-sdk-2.0/Makefile.in.libdir 2008-12-01 06:48:41.000000000 -0500 -+++ vamp-plugin-sdk-2.0/Makefile.in 2008-12-14 17:04:13.000000000 -0500 -@@ -71,8 +71,8 @@ - INSTALL_API_HEADERS := $(INSTALL_PREFIX)/include/vamp - INSTALL_SDK_HEADERS := $(INSTALL_PREFIX)/include/vamp-sdk - INSTALL_HOSTSDK_HEADERS := $(INSTALL_PREFIX)/include/vamp-hostsdk --INSTALL_SDK_LIBS := $(INSTALL_PREFIX)/lib --INSTALL_PLUGINS := $(INSTALL_PREFIX)/lib/vamp -+INSTALL_SDK_LIBS := @libdir@ -+INSTALL_PLUGINS := $(INSTALL_SDK_LIBS)/vamp - INSTALL_BINARIES := $(INSTALL_PREFIX)/bin +Index: Makefile.in +=================================================================== +--- Makefile.in.orig 2011-04-05 14:30:52.000000000 +0200 ++++ Makefile.in 2011-05-23 01:14:43.139988531 +0200 +@@ -71,8 +71,8 @@ INSTALL_PREFIX = @prefix@ + INSTALL_API_HEADERS = $(INSTALL_PREFIX)/include/vamp + INSTALL_SDK_HEADERS = $(INSTALL_PREFIX)/include/vamp-sdk + INSTALL_HOSTSDK_HEADERS = $(INSTALL_PREFIX)/include/vamp-hostsdk +-INSTALL_SDK_LIBS = $(INSTALL_PREFIX)/lib +-INSTALL_PLUGINS = $(INSTALL_PREFIX)/lib/vamp ++INSTALL_SDK_LIBS = @libdir@ ++INSTALL_PLUGINS = $(INSTALL_SDK_LIBS)/vamp + INSTALL_BINARIES = $(INSTALL_PREFIX)/bin - INSTALL_SDK_LIBNAME := libvamp-sdk.so.2.0.0 -@@ -87,7 +87,7 @@ - INSTALL_HOSTSDK_STATIC := libvamp-hostsdk.a - INSTALL_HOSTSDK_LA := libvamp-hostsdk.la + INSTALL_SDK_LIBNAME = libvamp-sdk.so.2.2.0 +@@ -87,7 +87,7 @@ INSTALL_HOSTSDK_LINK_DEV = libvamp-host + INSTALL_HOSTSDK_STATIC = libvamp-hostsdk.a + INSTALL_HOSTSDK_LA = libvamp-hostsdk.la --INSTALL_PKGCONFIG := $(INSTALL_PREFIX)/lib/pkgconfig -+INSTALL_PKGCONFIG := $(INSTALL_SDK_LIBS)/pkgconfig +-INSTALL_PKGCONFIG = $(INSTALL_PREFIX)/lib/pkgconfig ++INSTALL_PKGCONFIG = $(INSTALL_SDK_LIBS)/pkgconfig # Flags required to tell the compiler to create a dynamically loadable object # ++++++ vamp-plugin-sdk-2.0.tar.bz2 -> vamp-plugin-sdk-2.2.1.tar.bz2 ++++++ ++++ 11840 lines of diff (skipped) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
