SHA256
1
0
forked from pool/lilv

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
This commit is contained in:
Dave Plater 2014-07-16 15:31:10 +00:00 committed by Git OBS Bridge
parent dea7483b83
commit a24409085f
5 changed files with 28 additions and 56 deletions

View File

@ -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)

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cfb39d89d964159ea20590b8f8613dfbe5df5539c962566475efc4eb6764b9b5
size 175273

3
lilv-0.18.0.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:55995dd966df233337d80ff59c7b2a7ed0df56e82ec06d179feb518f00733ccd
size 201334

View File

@ -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

View File

@ -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} \