Hello community, here is the log from the commit of package suil for openSUSE:Factory checked in at 2019-05-21 10:38:37 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/suil (Old) and /work/SRC/openSUSE:Factory/.suil.new.5148 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "suil" Tue May 21 10:38:37 2019 rev:4 rq:704184 version:0.10.2 Changes: -------- --- /work/SRC/openSUSE:Factory/suil/suil.changes 2018-02-20 17:54:38.515400641 +0100 +++ /work/SRC/openSUSE:Factory/.suil.new.5148/suil.changes 2019-05-21 10:38:55.267144116 +0200 @@ -1,0 +2,14 @@ +Sun May 19 12:43:29 UTC 2019 - Luigi Baldoni <[email protected]> + +- Update to version 0.10.2 + * Fix resizing and add idle and update rate support for Qt5 in + Gtk2 + * Fix various issues with Qt5 in Gtk2 + +- Use python3 for build + +- Added suil-wrong-cocoa-detection.patch + +- Spec cleanup + +------------------------------------------------------------------- Old: ---- suil-0.10.0.tar.bz2 New: ---- suil-0.10.2.tar.bz2 suil-wrong-cocoa-detection.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ suil.spec ++++++ --- /var/tmp/diff_new_pack.RvZK3H/_old 2019-05-21 10:38:56.023143626 +0200 +++ /var/tmp/diff_new_pack.RvZK3H/_new 2019-05-21 10:38:56.023143626 +0200 @@ -1,7 +1,7 @@ # # spec file for package suil # -# Copyright (c) 2018 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,7 +12,7 @@ # 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/ # @@ -29,20 +29,22 @@ support that toolkit. Name: suil -Version: 0.10.0 +Version: 0.10.2 Release: 0 Summary: Lightweight C library for loading and wrapping LV2 plugin UIs License: ISC Group: Development/Libraries/C and C++ -Url: https://drobilla.net/software/suil/ +URL: https://drobilla.net/software/suil/ Source: https://download.drobilla.net/suil-%{version}.tar.bz2 +# PATCH-FIX-UPSTREAM suil-wrong-cocoa-detection.patch +Patch0: suil-wrong-cocoa-detection.patch BuildRequires: gcc-c++ BuildRequires: gtk2-devel BuildRequires: gtk3-devel >= 3.14.0 BuildRequires: lv2-devel BuildRequires: pkgconfig -BuildRequires: python -BuildRequires: python-rdflib +BuildRequires: python3-base +BuildRequires: python3-rdflib BuildRequires: pkgconfig(Qt5Widgets) >= 5.1.0 %description @@ -58,7 +60,7 @@ %package devel Summary: Development files for the suil library Group: Development/Libraries/C and C++ -Requires: libsuil-0-0 == %{version} +Requires: libsuil-0-0 = %{version} Requires: pkgconfig %description devel @@ -68,7 +70,7 @@ Summary: Shared object for GTK2 hosts displaying Qt5 LV2 GUIs Group: System/Libraries Requires: gtk2-tools -Requires: libsuil-0-0 == %{version} +Requires: libsuil-0-0 = %{version} Supplements: packageand(gtk2:lv2) %description -n suil-plugin-gtk2-in-qt5 @@ -78,7 +80,7 @@ %package -n suil-plugin-qt5-in-gtk2 Summary: Shared object for Qt5 hosts displaying GTK2 LV2 GUIs Group: System/Libraries -Requires: libsuil-0-0 == %{version} +Requires: libsuil-0-0 = %{version} Requires: python-qt5 Supplements: packageand(libQt5Widgets5:lv2) @@ -89,7 +91,7 @@ %package -n suil-plugin-x11 Summary: Shared object for X11 LV2 GUIs Group: System/Libraries -Requires: libsuil-0-0 == %{version} +Requires: libsuil-0-0 = %{version} Supplements: packageand(libX116:lv2) %description -n suil-plugin-x11 @@ -100,10 +102,10 @@ Summary: Shared object for GTK2 hosts displaying X11 LV2 GUIs Group: System/Libraries Requires: gtk2-tools -Requires: libsuil-0-0 == %{version} +Requires: libsuil-0-0 = %{version} +Supplements: packageand(gtk2:lv2) Obsoletes: libsuil-x11-in-gtk2 < %{version} Provides: libsuil-x11-in-gtk2 = %{version} -Supplements: packageand(gtk2:lv2) %description -n suil-plugin-x11-in-gtk2 Module plugin for: @@ -113,7 +115,7 @@ Summary: Shared object for GTK3 hosts displaying X11 LV2 GUIs Group: System/Libraries Requires: gtk3-tools -Requires: libsuil-0-0 == %{version} +Requires: libsuil-0-0 = %{version} Supplements: packageand(gtk3:lv2) %description -n suil-plugin-x11-in-gtk3 @@ -123,7 +125,7 @@ %package -n suil-plugin-x11-in-qt5 Summary: Shared object for Qt5 hosts displaying X11 LV2 GUIs Group: System/Libraries -Requires: libsuil-0-0 == %{version} +Requires: libsuil-0-0 = %{version} Requires: python-qt5 Supplements: packageand(libQt5Widgets5:lv2) @@ -133,6 +135,10 @@ %prep %setup -q +%patch0 -p1 +# run waf with python 3 +find waflib -type f -name *.py -exec sed -i 's|/usr/bin/env python|%{_bindir}/python3|' {} \; +sed -i 's|/usr/bin/env python|%{_bindir}/python3|' wscript waf waflib/waf %build ./waf configure --prefix=%{_prefix} --libdir=%{_libdir} @@ -142,11 +148,11 @@ ./waf install --destdir=%{buildroot} %post -n libsuil-0-0 -p /sbin/ldconfig - %postun -n libsuil-0-0 -p /sbin/ldconfig %files devel -%defattr(-,root,root,-) +%license COPYING +%doc README.md %dir %{_includedir}/suil-0/ %dir %{_includedir}/suil-0/suil %{_libdir}/libsuil-0.so @@ -154,39 +160,39 @@ %{_libdir}/pkgconfig/suil-0.pc %files -n libsuil-0-0 -%defattr(-,root,root,-) -%doc COPYING README +%license COPYING +%doc README.md %dir %{_libdir}/suil-0 %{_libdir}/libsuil-0.so.* %files -n suil-plugin-gtk2-in-qt5 -%defattr(-,root,root,-) -%doc COPYING README +%license COPYING +%doc README.md %{_libdir}/suil-0/libsuil_gtk2_in_qt5.so %files -n suil-plugin-qt5-in-gtk2 -%defattr(-,root,root,-) -%doc COPYING README +%license COPYING +%doc README.md %{_libdir}/suil-0/libsuil_qt5_in_gtk2.so %files -n suil-plugin-x11 -%defattr(-,root,root,-) -%doc COPYING README +%license COPYING +%doc README.md %{_libdir}/suil-0/libsuil_x11.so %files -n suil-plugin-x11-in-gtk2 -%defattr(-,root,root,-) -%doc COPYING README +%license COPYING +%doc README.md %{_libdir}/suil-0/libsuil_x11_in_gtk2.so %files -n suil-plugin-x11-in-gtk3 -%defattr(-,root,root,-) -%doc COPYING README +%license COPYING +%doc README.md %{_libdir}/suil-0/libsuil_x11_in_gtk3.so %files -n suil-plugin-x11-in-qt5 -%defattr(-,root,root,-) -%doc COPYING README +%license COPYING +%doc README.md %{_libdir}/suil-0/libsuil_x11_in_qt5.so %changelog ++++++ suil-0.10.0.tar.bz2 -> suil-0.10.2.tar.bz2 ++++++ ++++ 43229 lines of diff (skipped) ++++++ suil-wrong-cocoa-detection.patch ++++++ diff --git a/wscript b/wscript index 89ab039..352e569 100644 --- a/wscript +++ b/wscript @@ -91,10 +91,6 @@ def configure(conf): if not conf.options.no_qt5: autowaf.check_pkg(conf, 'Qt5Widgets', uselib_store='QT5', atleast_version='5.1.0', mandatory=False) - if conf.check_cxx(header_name = 'QMacCocoaViewContainer', - uselib = 'QT5', - mandatory = False): - autowaf.define(conf, 'SUIL_WITH_COCOA_IN_QT5', 1) conf.check_cc(define_name = 'HAVE_LIBDL', lib = 'dl',
