From a24409085fee35620a769a938944efbe61a7d7a9d86489349b939c0026aa8b1f Mon Sep 17 00:00:00 2001 From: Dave Plater Date: Wed, 16 Jul 2014 15:31:10 +0000 Subject: [PATCH 1/2] Accepting request 240896 from home:RedDwarf:branches:multimedia:libs - Update to 0.18.0 * Allow lilv_state_restore() to be used without passing an instance, for restoring port values via a callback only * Fix unlikely memory leak in lilv_plugin_instantiate() * Support denoting latency ports with lv2:designation lv2:latency * Allow passing NULL port_class to lilv_plugin_get_port_by_designation * Call GetProcAddress with correct calling convention on Windows * Add support for running plugins from Python by Kaspar Emanuel * Clean up after test suite so multiple runs are successful * Add lilv_port_get_node() for using world query functions with ports * lv2info: Don't display invalid control maxes and defaults (patch from Robin Gareus) * lilvmm.hpp: Add wrappers for UI API OBS-URL: https://build.opensuse.org/request/show/240896 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/lilv?expand=0&rev=10 --- lilv-0.16.0-python_bindings.patch | 44 ------------------------------- lilv-0.16.0.tar.bz2 | 3 --- lilv-0.18.0.tar.bz2 | 3 +++ lilv.changes | 17 ++++++++++++ lilv.spec | 17 ++++++------ 5 files changed, 28 insertions(+), 56 deletions(-) delete mode 100644 lilv-0.16.0-python_bindings.patch delete mode 100644 lilv-0.16.0.tar.bz2 create mode 100644 lilv-0.18.0.tar.bz2 diff --git a/lilv-0.16.0-python_bindings.patch b/lilv-0.16.0-python_bindings.patch deleted file mode 100644 index f8f335c..0000000 --- a/lilv-0.16.0-python_bindings.patch +++ /dev/null @@ -1,44 +0,0 @@ -Index: lilv/lilvmm.hpp -=================================================================== ---- lilv/lilvmm.hpp (revision 5091) -+++ lilv/lilvmm.hpp (revision 5092) -@@ -49,6 +49,11 @@ - return lilv_ ## prefix ## _ ## name(me, a1, a2); \ - } - -+#define LILV_WRAP3(RT, prefix, name, T1, a1, T2, a2, T3, a3) \ -+ inline RT name(T1 a1, T2 a2, T3 a3) { \ -+ return lilv_ ## prefix ## _ ## name(me, a1, a2, a3); \ -+ } -+ - #define LILV_WRAP2_VOID(prefix, name, T1, a1, T2, a2) \ - inline void name(T1 a1, T2 a2) { lilv_ ## prefix ## _ ## name(me, a1, a2); } - -@@ -139,6 +144,27 @@ - LILV_WRAP0(Node, nodes, get_first); - }; - -+struct UI { -+ inline UI(const LilvUI* c_obj) : me(c_obj) {} -+ LILV_WRAP_CONVERSION(const LilvUI); -+ -+ LILV_WRAP0(const LilvNode*, ui, get_uri); -+ LILV_WRAP0(const LilvNode*, ui, get_bundle_uri); -+ LILV_WRAP0(const LilvNode*, ui, get_binary_uri); -+ LILV_WRAP0(const LilvNodes*, ui, get_classes); -+ /*LILV_WRAP3(bool, ui, is_supported, -+ LilvUISupportedFunc, supported_func, -+ const LilvNode*, container_type, -+ const LilvNode**, ui_type);*/ -+ LILV_WRAP1(bool, ui, is_a, const LilvNode*, class_uri); -+ -+ const LilvUI* me; -+}; -+ -+struct UIs { -+ LILV_WRAP_COLL(UIs, UI, uis); -+}; -+ - struct Port { - inline Port(const LilvPlugin* p, const LilvPort* c_obj) - : parent(p), me(c_obj) diff --git a/lilv-0.16.0.tar.bz2 b/lilv-0.16.0.tar.bz2 deleted file mode 100644 index a195dd9..0000000 --- a/lilv-0.16.0.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:cfb39d89d964159ea20590b8f8613dfbe5df5539c962566475efc4eb6764b9b5 -size 175273 diff --git a/lilv-0.18.0.tar.bz2 b/lilv-0.18.0.tar.bz2 new file mode 100644 index 0000000..7ec17cb --- /dev/null +++ b/lilv-0.18.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:55995dd966df233337d80ff59c7b2a7ed0df56e82ec06d179feb518f00733ccd +size 201334 diff --git a/lilv.changes b/lilv.changes index 75b533c..5115194 100644 --- a/lilv.changes +++ b/lilv.changes @@ -1,3 +1,20 @@ +------------------------------------------------------------------- +Fri Jul 11 17:10:16 UTC 2014 - reddwarf@opensuse.org + +- Update to 0.18.0 + * Allow lilv_state_restore() to be used without passing an instance, + for restoring port values via a callback only + * Fix unlikely memory leak in lilv_plugin_instantiate() + * Support denoting latency ports with lv2:designation lv2:latency + * Allow passing NULL port_class to lilv_plugin_get_port_by_designation + * Call GetProcAddress with correct calling convention on Windows + * Add support for running plugins from Python by Kaspar Emanuel + * Clean up after test suite so multiple runs are successful + * Add lilv_port_get_node() for using world query functions with ports + * lv2info: Don't display invalid control maxes and defaults + (patch from Robin Gareus) + * lilvmm.hpp: Add wrappers for UI API + ------------------------------------------------------------------- Thu Sep 5 21:06:32 UTC 2013 - reddwarf@opensuse.org diff --git a/lilv.spec b/lilv.spec index 3241afa..a68a904 100644 --- a/lilv.spec +++ b/lilv.spec @@ -1,7 +1,7 @@ # # spec file for package lilv # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 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,25 +19,24 @@ %define soname 0 Name: lilv -Version: 0.16.0 +Version: 0.18.0 Release: 0 Summary: A C library to make the use of LV2 plugins as simple as possible License: ISC Group: System/Libraries Url: http://drobilla.net/software/lilv/ Source0: http://download.drobilla.net/lilv-%{version}.tar.bz2 -# From upstream SVN, remove with next version -Patch0: lilv-0.16.0-python_bindings.patch BuildRequires: doxygen BuildRequires: gcc-c++ BuildRequires: graphviz BuildRequires: pkg-config BuildRequires: python-devel +BuildRequires: python-numpy-devel BuildRequires: swig -BuildRequires: pkgconfig(lv2) >= 1.0.0 +BuildRequires: pkgconfig(lv2) >= 1.8.0 BuildRequires: pkgconfig(serd-0) >= 0.14.0 BuildRequires: pkgconfig(sord-0) >= 0.12.0 -BuildRequires: pkgconfig(sratom-0) >= 0.2.0 +BuildRequires: pkgconfig(sratom-0) >= 0.4.0 %description A C library to make the use of LV2 plugins as simple as possible for applications. @@ -66,11 +65,11 @@ Python bindings for lilv. %prep %setup -q -%patch0 %build -export CFLAGS='%{optflags}' -export CXXFLAGS='%{optflags}' +# TODO: The numpy path here is a hack. Check how to properly fix it. +export CFLAGS='%{optflags} -I%{python_sitearch}/numpy/core/include/' +export CXXFLAGS='%{optflags} -I%{python_sitearch}/numpy/core/include/' ./waf configure \ --prefix=%{_prefix} \ --libdir=%{_libdir} \ From 4672b385057221c921885e0c432ce6c319cb86558f83309619ad34e9b503216c Mon Sep 17 00:00:00 2001 From: Cristian Morales Vega Date: Fri, 18 Jul 2014 08:36:56 +0000 Subject: [PATCH 2/2] - lilv-0.16.0-python_bindings.patch removed OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/lilv?expand=0&rev=11 --- lilv.changes | 1 + 1 file changed, 1 insertion(+) diff --git a/lilv.changes b/lilv.changes index 5115194..e09e47e 100644 --- a/lilv.changes +++ b/lilv.changes @@ -14,6 +14,7 @@ Fri Jul 11 17:10:16 UTC 2014 - reddwarf@opensuse.org * lv2info: Don't display invalid control maxes and defaults (patch from Robin Gareus) * lilvmm.hpp: Add wrappers for UI API +- lilv-0.16.0-python_bindings.patch removed ------------------------------------------------------------------- Thu Sep 5 21:06:32 UTC 2013 - reddwarf@opensuse.org