Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package stk for openSUSE:Factory checked in at 2022-10-16 16:09:20 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/stk (Old) and /work/SRC/openSUSE:Factory/.stk.new.2275 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "stk" Sun Oct 16 16:09:20 2022 rev:11 rq:1011222 version:4.6.2 Changes: -------- --- /work/SRC/openSUSE:Factory/stk/stk.changes 2015-12-24 12:17:37.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.stk.new.2275/stk.changes 2022-10-16 16:09:25.070783131 +0200 @@ -1,0 +2,28 @@ +Sun Oct 16 07:28:10 UTC 2022 - Christophe Giboudeaux <christo...@krop.fr> + +- Avoid conflict between the new data subpackage and the + pre-4.6.2 library + +------------------------------------------------------------------- +Tue Oct 11 07:04:32 UTC 2022 - Christophe Giboudeaux <christo...@krop.fr> + +- Replace precheckin_cripple_tarball.sh with a _service file +- Update to 4.6.2. Changes since 4.6.1: + * bug fixes in LentPitShift and Granulate classes + * Makefile fixes + * miscellaneous bug fixes + * updated versions of RtAudio, RtMidi and ASIO SDK files + Check ReleaseNotes.txt for older changes. +- Add patches: + * 0001-Don-t-ignore-supplied-CXXFLAGS.patch + * 0002-Fix-the-library-soname.patch + +------------------------------------------------------------------- +Tue Oct 11 06:53:16 UTC 2022 - Jan Engelhardt <jeng...@inai.de> + +- Trim description for size. +- Split data files off shlib package to complete SLPP. +- Rename devel package to just %name-devel, which is what most + our packages do. + +------------------------------------------------------------------- Old: ---- precheckin_cripple_tarball.sh stk-4.5.0-crippled.tar.gz stk-4.5.0.tar.gz New: ---- 0001-Don-t-ignore-supplied-CXXFLAGS.patch 0002-Fix-the-library-soname.patch _service stk-4.6.2.tar.xz stk-rpmlintrc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ stk.spec ++++++ --- /var/tmp/diff_new_pack.rGFdi0/_old 2022-10-16 16:09:26.530786555 +0200 +++ /var/tmp/diff_new_pack.rGFdi0/_new 2022-10-16 16:09:26.538786574 +0200 @@ -1,7 +1,7 @@ # # spec file for package stk # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,96 +12,98 @@ # 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/ # -%bcond_without distributable - -%define soname 4 - +# Upstream chose to update the soname with each version +# https://github.com/thestk/stk/issues/89 +%define soname %{version} Name: stk -Version: 4.5.0 +Version: 4.6.2 Release: 0 Summary: Synthesis ToolKit in C++ License: MIT -Group: System/Libraries -Url: http://ccrma.stanford.edu/software/stk/ -%if %{with distributable} -Source0: stk-%{version}-crippled.tar.gz -%else -Source0: http://ccrma.stanford.edu/software/stk/release/stk-%{version}.tar.gz -%endif -Source1: precheckin_cripple_tarball.sh -BuildRoot: %{_tmppath}/%{name}-%{version}-build +Group: Development/Libraries/C and C++ +URL: https://ccrma.stanford.edu/software/stk/ +Source0: %{name}-%{version}.tar.xz +Source99: stk-rpmlintrc +# PATCH-FIX-UPSTREAM -- Don't ignore provided compiler flags +Patch0: 0001-Don-t-ignore-supplied-CXXFLAGS.patch +# PATCH-FIX-UPSTREAM +Patch1: 0002-Fix-the-library-soname.patch +BuildRequires: autoconf BuildRequires: automake +BuildRequires: doxygen BuildRequires: gcc-c++ +BuildRequires: pkgconfig BuildRequires: pkgconfig(alsa) BuildRequires: pkgconfig(jack) %description -The Synthesis ToolKit in C++ (STK) is a set of open source audio -signal processing and algorithmic synthesis classes written in the C++ -programming language. STK was designed to facilitate rapid development -of music synthesis and audio processing software, with an emphasis on -cross-platform functionality, realtime control, ease of use, and -educational example code. The Synthesis ToolKit is extremely portable -(it's mostly platform-independent C and C++ code), and it's completely -user-extensible (all source included, no unusual libraries, and no -hidden drivers). We like to think that this increases the chances that -our programs will still work in another 5-10 years. In fact, the -ToolKit has been working continuously for about 10 years now. STK -currently runs with realtime support (audio and MIDI) on Linux, -Macintosh OS X, and Windows computer platforms. Generic, non-realtime -support has been tested under NeXTStep, Sun, and other platforms and -should work with any standard C++ compiler. +The Synthesis ToolKit in C++ (STK) is a set of audio signal +processing and algorithmic synthesis classes. STK facilitates +development of music synthesis and audio processing software, +focusing on realtime control and example code. STK is +user-extensible. %package -n libstk%{soname} Summary: Synthesis ToolKit in C++ Group: System/Libraries +Requires: %{name}-data %description -n libstk%{soname} -The Synthesis ToolKit in C++ (STK) is a set of open source audio -signal processing and algorithmic synthesis classes written in the C++ -programming language. STK was designed to facilitate rapid development -of music synthesis and audio processing software, with an emphasis on -cross-platform functionality, realtime control, ease of use, and -educational example code. The Synthesis ToolKit is extremely portable -(it's mostly platform-independent C and C++ code), and it's completely -user-extensible (all source included, no unusual libraries, and no -hidden drivers). We like to think that this increases the chances that -our programs will still work in another 5-10 years. In fact, the -ToolKit has been working continuously for about 10 years now. STK -currently runs with realtime support (audio and MIDI) on Linux, -Macintosh OS X, and Windows computer platforms. Generic, non-realtime -support has been tested under NeXTStep, Sun, and other platforms and -should work with any standard C++ compiler. +The Synthesis ToolKit in C++ (STK) is a set of audio signal +processing and algorithmic synthesis classes. STK facilitates +development of music synthesis and audio processing software, +focusing on realtime control and example code. STK is +user-extensible. + +%package data +Summary: Data files for STK, a music synthesis library +BuildArch: noarch +# data were split to a subpackage before the 4.6.2 update +Conflicts: libstk4 < 4.6.2 + +%description data +Data files for STK. -%package -n libstk-devel -Summary: Development files for stk +%package devel +Summary: Development files for STK, a music synthesis library Group: Development/Libraries/C and C++ Requires: libstk%{soname} = %{version} +Provides: libstk-devel = %{version}-%{release} +Obsoletes: libstk-devel < %{version}-%{release} -%description -n libstk-devel +%description devel The libstk-devel package contains libraries and header files for developing applications that use stk. %prep -%setup0 -q -%if 0%{?suse_version} >= 1220 -#This is needed as apcupsd doesn't recognize ppc64 correctly -cp /usr/share/automake-*/config.* config/ -%endif -sed -i 's/CXXFLAGS="$cxxflag"/CXXFLAGS="$CXXFLAGS $cxxflag"/' configure +%autosetup -p1 %build -# I don't version the rawwaves directory because apps seems to expect it this way -%configure --prefix=/ --with-jack --with-alsa \ +autoreconf -fiv + +%configure \ + --disable-static \ + --enable-shared \ + --with-jack \ + --with-alsa \ RAWWAVE_PATH=%{_datadir}/stk/rawwaves/ -make %{?_smp_mflags} -C src + +%make_build + +pushd doc/doxygen +doxygen +popd %install %make_install + +# E: shared-library-not-executable +chmod +x %{buildroot}%{_libdir}/libstk-%{soname}.so + mkdir -p %{buildroot}%{_datadir}/stk/rawwaves/ cp -p rawwaves/*.raw %{buildroot}%{_datadir}/stk/rawwaves/ @@ -110,16 +112,16 @@ %postun -n libstk%{soname} -p /sbin/ldconfig %files -n libstk%{soname} -%defattr(-,root,root,-) -%doc README.md LICENSE -%{_libdir}/libstk.so.%{soname}* -# If it's not going to be versioned SLPP doesn't really matter. WTF!! I don't really know if they correctly version the library since they ignored my message in the mailing list... +%doc README.md %doc doc/{README-Linux,ReleaseNotes,SKINI}.txt +%license LICENSE +%{_libdir}/libstk-%{soname}.so + +%files data %{_datadir}/stk -%files -n libstk-devel -%defattr(-,root,root,-) -%doc doc/* +%files devel +%doc doc/hierarchy.txt doc/html %{_libdir}/libstk.so -%{_includedir}/stk +%{_includedir}/stk/ %changelog ++++++ 0001-Don-t-ignore-supplied-CXXFLAGS.patch ++++++ >From 03647551ef194d1e987185a7ec1cfb567daf5eab Mon Sep 17 00:00:00 2001 From: Christophe Giboudeaux <christo...@krop.fr> Date: Tue, 11 Oct 2022 10:28:21 +0200 Subject: [PATCH 1/2] Don't ignore supplied CXXFLAGS --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 4d2e1ea..31486e9 100644 --- a/configure.ac +++ b/configure.ac @@ -104,7 +104,7 @@ fi CPPFLAGS="$CPPFLAGS $cppflag" # For debugging and optimization ... overwrite default because it has both -g and -O2 -CXXFLAGS="$cxxflag" +CXXFLAGS="$cxxflag $CXXFLAGS" # Check compiler and use -Wall if gnu. if [test $GXX = "yes" ;] then -- 2.37.3 ++++++ 0002-Fix-the-library-soname.patch ++++++ >From cd6a36955f37f91fd5f44e7695c4df799ec26c95 Mon Sep 17 00:00:00 2001 From: Christophe Giboudeaux <christo...@krop.fr> Date: Tue, 11 Oct 2022 10:36:27 +0200 Subject: [PATCH 2/2] Fix the library soname It shouldn't contain '.so' --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 31486e9..0d29ef4 100644 --- a/configure.ac +++ b/configure.ac @@ -119,7 +119,7 @@ basesharedname="libstk-\$(RELEASE)" AC_SUBST( sharedlib, ["libstk.so"] ) AC_SUBST( sharedname, [${basesharedname}.so] ) -AC_SUBST( libflags, ["-shared -Wl,-soname,${basesharedname}.so -o $sharedname"] ) +AC_SUBST( libflags, ["-shared -Wl,-soname,${basesharedname} -o $sharedname"] ) case $host in *-apple*) AC_SUBST( sharedlib, ["libstk.dylib"] ) -- 2.37.3 ++++++ _service ++++++ <services> <service name="tar_scm" mode="disabled"> <param name="scm">git</param> <param name="url">https://github.com/thestk/stk</param> <param name="revision">4.6.2</param> <param name="versionformat">@PARENT_TAG@</param> <!-- Patent issue (boo#761147) --> <param name="exclude">/include/BeeThree.h</param> <param name="exclude">/include/BlowHole.h</param> <param name="exclude">/include/Bowed.h</param> <param name="exclude">/include/Brass.h</param> <param name="exclude">/include/Clarinet.h</param> <param name="exclude">/include/FM.h</param> <param name="exclude">/include/FMVoices.h</param> <param name="exclude">/include/Flute.h</param> <param name="exclude">/include/HevyMetl.h</param> <param name="exclude">/include/Mandolin.h</param> <param name="exclude">/include/Mesh2D.h</param> <param name="exclude">/include/PercFlut.h</param> <param name="exclude">/include/Plucked.h</param> <param name="exclude">/include/Rhodey.h</param> <param name="exclude">/include/Saxofony.h</param> <param name="exclude">/include/Sitar.h</param> <param name="exclude">/include/StifKarp.h</param> <param name="exclude">/include/TubeBell.h</param> <param name="exclude">/include/Twang.h</param> <param name="exclude">/include/Wurley.h</param> <param name="exclude">/projects/ragamatic/Drone.cpp</param> <param name="exclude">/projects/ragamatic/Drone.h</param> <param name="exclude">/src/BeeThree.cpp</param> <param name="exclude">/src/BlowHole.cpp</param> <param name="exclude">/src/Bowed.cpp</param> <param name="exclude">/src/Brass.cpp</param> <param name="exclude">/src/Clarinet.cpp</param> <param name="exclude">/src/FM.cpp</param> <param name="exclude">/src/FMVoices.cpp</param> <param name="exclude">/src/Flute.cpp</param> <param name="exclude">/src/Guitar.cpp</param> <param name="exclude">/src/HevyMetl.cpp</param> <param name="exclude">/src/Mandolin.cpp</param> <param name="exclude">/src/Mesh2D.cpp</param> <param name="exclude">/src/PercFlut.cpp</param> <param name="exclude">/src/Plucked.cpp</param> <param name="exclude">/src/Plucked.cpp</param> <param name="exclude">/src/Rhodey.cpp</param> <param name="exclude">/src/Saxofony.cpp</param> <param name="exclude">/src/Sitar.cpp</param> <param name="exclude">/src/StifKarp.cpp</param> <param name="exclude">/src/TubeBell.cpp</param> <param name="exclude">/src/Twang.cpp</param> <param name="exclude">/src/Wurley.cpp</param> <param name="exclude">/src/include/soundcard.h</param> </service> <service name="recompress" mode="disabled"> <param name="file">*.tar</param> <param name="compression">xz</param> </service> <service name="set_version" mode="disabled"/> </services> ++++++ stk-rpmlintrc ++++++ # Only Leap 15 complains about the soname addFilter("shlib-policy-name-error .*")