Hello community, here is the log from the commit of package libinstpatch for openSUSE:Factory checked in at 2019-12-05 17:33:26 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libinstpatch (Old) and /work/SRC/openSUSE:Factory/.libinstpatch.new.4691 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libinstpatch" Thu Dec 5 17:33:26 2019 rev:3 rq:743867 version:1.1.0 Changes: -------- --- /work/SRC/openSUSE:Factory/libinstpatch/libinstpatch.changes 2019-01-08 12:31:22.744082539 +0100 +++ /work/SRC/openSUSE:Factory/.libinstpatch.new.4691/libinstpatch.changes 2019-12-05 17:33:31.781455054 +0100 @@ -1,0 +2,27 @@ +Tue Oct 29 15:23:50 UTC 2019 - Joël Krähemann <[email protected]> + +- update libinstpatch-cmake-fixes.patch to fix soname in + libinstpatch-1.0.pc + +------------------------------------------------------------------- +Sat Oct 19 13:13:12 UTC 2019 - Tom Mbrt <[email protected]> + +- Update to 1.1.0: + * SOVERSION was bumped + * libinstpatch's license was changed from GPL-2.0 to LGPL-2.1 + * the AutoTools build system has been replaced by CMake + * preliminary support for Spectralis (SLI) soundbanks was added + * libsndfile is now required + * an incorrect mutex unlock caused a deadlock when entering + ipatch_base_get_file() with different threads + * incorrect copying DLS2 objects was fixed + * build issues on Windows were fixed + * various other minor bugs were addressed +- Update libinstpatch-cmake-fixes.patch to the current code base +- Remove the following patches, because they were fixed upstream: + * 0001-Fix-improper-GValue-type-assignments-in-ipatch_dls2_.patch + * 0002-fix-incorrect-usage-of-g_value_set_flags.patch + * 0003-missing-mutex-unlock.patch + * 0004-more-locking-issues.patch + +------------------------------------------------------------------- Old: ---- 0001-Fix-improper-GValue-type-assignments-in-ipatch_dls2_.patch 0002-fix-incorrect-usage-of-g_value_set_flags.patch 0003-missing-mutex-unlock.patch 0004-more-locking-issues.patch libinstpatch-1.0.0+svn386.tar.bz2 libinstpatch-snapshot.sh New: ---- libinstpatch-1.1.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libinstpatch.spec ++++++ --- /var/tmp/diff_new_pack.eKXy42/_old 2019-12-05 17:33:32.721454921 +0100 +++ /var/tmp/diff_new_pack.eKXy42/_new 2019-12-05 17:33:32.725454921 +0100 @@ -1,7 +1,7 @@ # # spec file for package libinstpatch # -# 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,28 +12,22 @@ # 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/ # Name: libinstpatch -Version: 1.0.0 +Version: 1.1.0 Release: 0 Summary: MIDI instrument patch library -License: LGPL-2.1 AND GPL-2.0 AND GPL-2.0+ +License: LGPL-2.1-only Group: Development/Libraries/C and C++ Url: http://www.swamiproject.org/ # Fetch source via # sh libinstpatch-snapshot.sh latest -Source0: libinstpatch-%{version}+svn386.tar.bz2 -# script to download sources and make tarball from svn -Source1: libinstpatch-snapshot.sh +Source0: libinstpatch-%{version}.tar.gz # .pc file fixes. Patch sent upstream via their mailing list Patch0: libinstpatch-cmake-fixes.patch -Patch1: 0001-Fix-improper-GValue-type-assignments-in-ipatch_dls2_.patch -Patch2: 0002-fix-incorrect-usage-of-g_value_set_flags.patch -Patch3: 0003-missing-mutex-unlock.patch -Patch4: 0004-more-locking-issues.patch BuildRequires: cmake BuildRequires: pkgconfig BuildRequires: pkgconfig(glib-2.0) @@ -43,11 +37,11 @@ libInstPatch is a library for processing digital sample based MIDI instrument "patch" files. -%package -n libinstpatch-1_0-0 +%package -n libinstpatch-1_0-1 Summary: Libinstpatch library Group: System/Libraries -%description -n libinstpatch-1_0-0 +%description -n libinstpatch-1_0-1 libInstPatch stands for lib-Instrument-Patch and is a library for processing digital sample based MIDI instrument "patch" files. The types of files libInstPatch supports are used for creating instrument sounds for wavetable @@ -59,18 +53,14 @@ %package devel Summary: Development package for %{name} Group: Development/Languages/C and C++ -Requires: libinstpatch-1_0-0 = %{version} +Requires: libinstpatch-1_0-1 = %{version} %description devel This package includes the header files for %{name}. %prep %setup -q -%patch0 -p1 -b .pkgconfig -%patch1 -p2 -%patch2 -p2 -%patch3 -p2 -%patch4 -p2 +%patch0 -p1 -b .pkgconfig -F24 %build %cmake @@ -79,17 +69,17 @@ %install %cmake_install -%post -n libinstpatch-1_0-0 -p /sbin/ldconfig -%postun -n libinstpatch-1_0-0 -p /sbin/ldconfig +%post -n libinstpatch-1_0-1 -p /sbin/ldconfig +%postun -n libinstpatch-1_0-1 -p /sbin/ldconfig -%files -n libinstpatch-1_0-0 +%files -n libinstpatch-1_0-1 %defattr(-,root,root) %doc COPYING %{_libdir}/%{name}*.so.* %files devel %defattr(-,root,root) -%doc AUTHORS ChangeLog NEWS README +%doc AUTHORS ChangeLog README.md %doc examples/create_sf2.c %{_includedir}/%{name}* %{_libdir}/%{name}*.so ++++++ libinstpatch-cmake-fixes.patch ++++++ --- /var/tmp/diff_new_pack.eKXy42/_old 2019-12-05 17:33:32.737454919 +0100 +++ /var/tmp/diff_new_pack.eKXy42/_new 2019-12-05 17:33:32.737454919 +0100 @@ -1,21 +1,53 @@ -diff -rupN libinstpatch-1.0.0.old/CMakeLists.txt libinstpatch-1.0.0/CMakeLists.txt ---- libinstpatch-1.0.0.old/CMakeLists.txt 2010-11-08 18:12:26.000000000 -0500 -+++ libinstpatch-1.0.0/CMakeLists.txt 2011-08-06 14:40:44.000000000 -0400 -@@ -144,14 +144,14 @@ configure_file ( ${CMAKE_SOURCE_DIR}/lib - if ( UNIX OR MINGW ) - # pkg-config support +Index: libinstpatch-1.1.0/CMakeLists.txt +=================================================================== +--- libinstpatch-1.1.0.orig/CMakeLists.txt ++++ libinstpatch-1.1.0/CMakeLists.txt +@@ -176,19 +176,19 @@ set (INSTPATCH_INSTALL_TARGET "libinstpa + # pkg-config support + if ( UNIX OR MINGW OR WIN32) set ( prefix "${CMAKE_INSTALL_PREFIX}" ) - set ( exec_prefix "\${prefix}" ) +- set ( libdir "\${exec_prefix}/${LIB_INSTALL_DIR}${LIB_SUFFIX}" ) +- set ( includedir "\${prefix}/${INCLUDE_INSTALL_DIR}/${INSTPATCH_INSTALL_TARGET}" ) + set ( exec_prefix "${CMAKE_INSTALL_PREFIX}" ) - if (LIB_INSTALL_DIR STREQUAL ${CMAKE_INSTALL_PREFIX}/lib) - set(LIBINSTPATCH_INSTALL_DIR ${LIB_INSTALL_DIR}${LIB_SUFFIX}) - else (LIB_INSTALL_DIR STREQUAL ${CMAKE_INSTALL_PREFIX}/lib) - set(LIBINSTPATCH_INSTALL_DIR ${LIB_INSTALL_DIR}) - endif (LIB_INSTALL_DIR STREQUAL ${CMAKE_INSTALL_PREFIX}/lib) -- set ( libdir "\${exec_prefix}/${LIBINSTPATCH_INSTALL_DIR}" ) -- set ( includedir "\${prefix}/${INCLUDE_INSTALL_DIR}" ) -+ set ( libdir "${LIBINSTPATCH_INSTALL_DIR}" ) -+ set ( includedir "${INCLUDE_INSTALL_DIR}" ) - configure_file ( libinstpatch-1.0.pc.in ++ set ( libdir "${LIB_INSTALL_DIR}" ) ++ set ( includedir "${INCLUDE_INSTALL_DIR}/${INSTPATCH_INSTALL_TARGET}" ) + # stamp library name with version current value (for Windows only) + if(MINGW OR WIN32) + set ( lib_output_name ${INSTPATCH_INSTALL_TARGET} ) + else(MINGW OR WIN32) +- set ( lib_output_name instpatch ) ++ set ( lib_output_name instpatch-1.0 ) + endif(MINGW OR WIN32) + configure_file ( libinstpatch-1.0.pc.in ${CMAKE_BINARY_DIR}/libinstpatch-1.0.pc IMMEDIATE @ONLY ) install ( FILES ${CMAKE_BINARY_DIR}/libinstpatch-1.0.pc +- DESTINATION ${LIB_INSTALL_DIR}${LIB_SUFFIX}/pkgconfig ) ++ DESTINATION ${LIB_INSTALL_DIR}/pkgconfig ) + endif ( UNIX OR MINGW OR WIN32) + + # Extra targets for Unix build environments +Index: libinstpatch-1.1.0/libinstpatch/CMakeLists.txt +=================================================================== +--- libinstpatch-1.1.0.orig/libinstpatch/CMakeLists.txt ++++ libinstpatch-1.1.0/libinstpatch/CMakeLists.txt +@@ -353,7 +353,7 @@ else( MINGW OR WIN32 ) + set_target_properties ( libinstpatch + PROPERTIES + PREFIX "" +- OUTPUT_NAME "libinstpatch" ++ OUTPUT_NAME "libinstpatch-1.0" + VERSION ${LIB_VERSION_INFO} + SOVERSION ${LIB_VERSION_CURRENT} + ) +@@ -366,8 +366,8 @@ endif ( IPATCH_CPPFLAGS ) + + install ( TARGETS libinstpatch + RUNTIME DESTINATION ${BIN_INSTALL_DIR} +- LIBRARY DESTINATION ${LIB_INSTALL_DIR}${LIB_SUFFIX} +- ARCHIVE DESTINATION ${LIB_INSTALL_DIR}${LIB_SUFFIX} ++ LIBRARY DESTINATION ${LIB_INSTALL_DIR} ++ ARCHIVE DESTINATION ${LIB_INSTALL_DIR} + FRAMEWORK DESTINATION ${FRAMEWORK_INSTALL_DIR} + BUNDLE DESTINATION ${BUNDLE_INSTALL_DIR} + )
