Hello community, here is the log from the commit of package lv2 for openSUSE:Factory checked in at 2019-12-11 12:09:09 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/lv2 (Old) and /work/SRC/openSUSE:Factory/.lv2.new.4691 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "lv2" Wed Dec 11 12:09:09 2019 rev:15 rq:755049 version:1.16.0 Changes: -------- --- /work/SRC/openSUSE:Factory/lv2/lv2.changes 2018-07-13 10:20:39.902406223 +0200 +++ /work/SRC/openSUSE:Factory/.lv2.new.4691/lv2.changes 2019-12-11 12:09:28.968630373 +0100 @@ -1,0 +2,35 @@ +Sun Dec 8 09:36:46 UTC 2019 - Dave Plater <[email protected]> + +- Build Leap with python2 + +------------------------------------------------------------------- +Wed Dec 4 08:05:16 UTC 2019 - Dave Plater <[email protected]> + +- Update to release 1.16.0 +- Rebase lv2pkgconfig.patch, lv2core.pc is no longer built. +- Remove incorporated reproducible.patch. +- Use python3 +- Upstream changes: + *Aggressively deprecate uri-map and event extensions. + *Add lv2_validate utility. + *eg-midigate: Respond to "all notes off" MIDI message. + *eg-sampler: Add waveform display to UI. + *Add core/attributes.h utility header. + *Upgrade build system and fix building with Python 3.7. + *Install headers to simpler paths. + *Simplify use of lv2specgen. + *atom: Add lv2_atom_object_get_typed() for easy type-safe access. + to object properties. + *core: Add lv2:MIDIPlugin class. + *core: Rework port restrictions so that presets can be validated. + *midi: Fix incorrect range of midi:chunk. + *options: Relax range of opts:requiredOption and + opts:supportedOption + *patch: Add patch:context property. + *patch: Add patch:accept property. + *state: Add state:StateChanged for notification events. + *time: Clarify time:beat origin. + *units: Fix outdated port description in documentation. + *units: Remove overly restrictive domain from units:unit. + +------------------------------------------------------------------- Old: ---- lv2-1.14.0.tar.bz2 reproducible.patch New: ---- lv2-1.16.0.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lv2.spec ++++++ --- /var/tmp/diff_new_pack.mBMh9U/_old 2019-12-11 12:09:32.088629061 +0100 +++ /var/tmp/diff_new_pack.mBMh9U/_new 2019-12-11 12:09:32.092629059 +0100 @@ -1,7 +1,7 @@ # # spec file for package lv2 # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,19 +12,20 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # -# Documentation doesn't build for less than Tumbleweed -%if 0%{suse_version} > 1320 %define asciidocs 1 +# build Leap:15 with python2 it fails with 3 +%if 0%{?suse_version} > 1500 +%define _waf python3 waf %else -%define asciidocs 0 +%define _waf python2 waf %endif Name: lv2 -Version: 1.14.0 +Version: 1.16.0 Release: 0 Summary: Plugin standard for audio systems License: ISC @@ -34,10 +35,12 @@ Source1: lv2-rpmlintrc # Patch-Fix-Upstream lv2pkgconfig.patch [email protected] -- Add "/" to end of -I directory because otherwise pkg-config outputs nothing. Patch0: lv2pkgconfig.patch -# Patch-Fix-Upstream reproducible.patch bmwiedemann -Patch1: reproducible.patch BuildRequires: pkg-config +%if 0%{?suse_version} > 1500 +BuildRequires: python3-rdflib +%else BuildRequires: python-rdflib +%endif BuildRequires: pkgconfig(gtk+-2.0) >= 2.18.0 BuildRequires: pkgconfig(sndfile) >= 1.0.0 %if %{asciidocs} == 1 @@ -45,8 +48,12 @@ BuildRequires: asciidoc BuildRequires: doxygen BuildRequires: graphviz +%if 0%{?suse_version} > 1500 +BuildRequires: python3-Pygments +%else BuildRequires: python-Pygments %endif +%endif %description LV2 is a portable plugin standard for audio systems, similar in scope to LADSPA, @@ -169,13 +176,16 @@ %prep %setup -q -%patch0 -%patch1 -p1 +%autopatch -p1 %build +%if 0%{?suse_version} > 1500 +for i in `grep -rl "/usr/bin/env python"`;do sed -i '1s/^#!.*/#!\/usr\/bin\/python3/' ${i} ;done +%endif + export CFLAGS='%{optflags}' export CXXFLAGS='%{optflags}' -./waf configure -v \ +%_waf configure -v \ --prefix=%{_prefix} \ --lv2dir=%{_libdir}/%{name} \ --libdir=%{_libdir} \ @@ -185,17 +195,20 @@ %endif --debug -./waf %{?_smp_mflags} -vvv build +%_waf %{?_smp_mflags} -vvv build %install -./waf install --lv2dir=%{_libdir}/%{name} --destdir=%{buildroot} +%_waf install --lv2dir=%{_libdir}/%{name} --destdir=%{buildroot} %if %{asciidocs} == 1 mv -t . %{buildroot}%{_defaultdocdir}/lv2/lv2plug.in %endif +chmod 0755 %{buildroot}%{_bindir}/lv2_validate %files %defattr(0644,root,root,0755) -%doc COPYING NEWS README.md +%doc NEWS README.md +%license COPYING +%{_bindir}/lv2_validate %{_libdir}/lv2/ %exclude %{_libdir}/lv2/eg-amp.lv2/ %exclude %{_libdir}/lv2/eg-metro.lv2/ @@ -210,7 +223,6 @@ %{_includedir}/lv2.h %{_includedir}/lv2/ %{_libdir}/pkgconfig/lv2.pc -%{_libdir}/pkgconfig/lv2core.pc %files examples %defattr(0644,root,root,0755) ++++++ lv2-1.14.0.tar.bz2 -> lv2-1.16.0.tar.bz2 ++++++ ++++ 77381 lines of diff (skipped) ++++++ lv2pkgconfig.patch ++++++ --- /var/tmp/diff_new_pack.mBMh9U/_old 2019-12-11 12:09:32.448628910 +0100 +++ /var/tmp/diff_new_pack.mBMh9U/_new 2019-12-11 12:09:32.452628908 +0100 @@ -1,17 +1,7 @@ -Index: lv2/lv2plug.in/ns/lv2core/lv2core.pc.in +Index: lv2-1.16.0/lv2.pc.in =================================================================== ---- lv2/lv2plug.in/ns/lv2core/lv2core.pc.in.orig 2014-12-04 00:07:38.000000000 +0200 -+++ lv2/lv2plug.in/ns/lv2core/lv2core.pc.in 2017-03-12 13:33:58.384142906 +0200 -@@ -7,4 +7,4 @@ Name: lv2core - Version: @LV2CORE_VERSION@ - Description: An audio plugin interface specification. - Libs: --Cflags: -I${includedir} -+Cflags: -I${includedir}/ -Index: lv2.pc.in -=================================================================== ---- lv2.pc.in.orig 2014-12-04 00:07:38.000000000 +0200 -+++ lv2.pc.in 2017-03-12 13:35:21.026937142 +0200 +--- lv2-1.16.0.orig/lv2.pc.in 2018-09-04 01:06:23.000000000 +0200 ++++ lv2-1.16.0/lv2.pc.in 2019-12-04 09:42:44.128378371 +0200 @@ -4,4 +4,4 @@ includedir=@INCLUDEDIR@ Name: LV2 Version: @VERSION@
