commit lsp-plugins for openSUSE:Factory

Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package lsp-plugins for openSUSE:Factory checked in at 2022-06-29 16:01:44 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/lsp-plugins (Old) and /work/SRC/openSUSE:Factory/.lsp-plugins.new.1548 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "lsp-plugins" Wed Jun 29 16:01:44 2022 rev:17 rq:985692 version:1.2.2 Changes: -------- --- /work/SRC/openSUSE:Factory/lsp-plugins/lsp-plugins.changes 2022-05-05 23:07:13.517619608 +0200 +++ /work/SRC/openSUSE:Factory/.lsp-plugins.new.1548/lsp-plugins.changes 2022-06-29 16:02:57.064749917 +0200 @@ -1,0 +2,26 @@ +Tue Jun 28 23:23:00 UTC 2022 - Konstantin Voinov <kv@kott.no-ip.biz> + +- add upstream patch: + 02-Fixed-the-improper-use-of-nanosleep.patch +- fix build and vl2lint check: + 01-Append-CXXFLAGS.patch + +------------------------------------------------------------------- +Mon Jun 27 09:15:05 UTC 2022 - Konstantin Voinov <kv@kott.no-ip.biz> + +- Version 1.2.2 + + * Implemented Multiband Dynamic Processor plugin series. + * Changed donation methods. + * Added german translations (contributed by Johannes Guenther). + * Added pitch control for the sample in the Sampler and Multisampler + plugin series (contributed by Vitalius Kuchalskis). + * Added pitch control for the sample in the Trigger plugin series. + * Fixed plugin version tracking which didn't save the updated version + to the configuration file. + * Fixed improper configuration file import in JACK headless mode. + * Fixed segmentation fault error in JACK headless mode when JACK + connection was lost. + * Added window scaling button function for plugin window. + +------------------------------------------------------------------- Old: ---- lsp-plugins-1.2.1.tar.gz New: ---- 01-Append-CXXFLAGS.patch 02-Fixed-the-improper-use-of-nanosleep.patch lsp-plugins-1.2.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lsp-plugins.spec ++++++ --- /var/tmp/diff_new_pack.jO9U8a/_old 2022-06-29 16:02:57.520750523 +0200 +++ /var/tmp/diff_new_pack.jO9U8a/_new 2022-06-29 16:02:57.524750529 +0200 @@ -19,14 +19,18 @@ %ifarch %arm aarch64 %define _lto_cflags %{nil} %endif +%global _lto_cflags %{?_lto_cflags} -ffat-lto-objects + Name: lsp-plugins -Version: 1.2.1 +Version: 1.2.2 Release: 0 Summary: Linux Studio Plugins Project (Stand-alone) License: LGPL-3.0-or-later Group: Productivity/Multimedia/Sound/Utilities URL: https://lsp-plug.in/ Source0: https://github.com/sadko4u/lsp-plugins/releases/download/%{version}/%{name}-src-%{version}.tar.gz#/%{name}-%{version}.tar.gz +Patch1: 01-Append-CXXFLAGS.patch +Patch2: 02-Fixed-the-improper-use-of-nanosleep.patch BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: ladspa @@ -40,6 +44,7 @@ BuildRequires: pkgconfig(lv2) BuildRequires: pkgconfig(sndfile) BuildRequires: pkgconfig(x11) +BuildRequires: pkgconfig(xrandr) Requires: %{name}-common = %{version} %description @@ -118,6 +123,9 @@ %prep %setup -qn %{name} +%patch1 -p1 +%patch2 -d modules/lsp-runtime-lib -p1 + %build #export PREFIX="%{_prefix}" DOC_PATH="%{_docdir}" LIB_PATH="%{_libdir}" export CFLAGS="%{optflags}" CXXFLAGS="%{optflags}" ++++++ 01-Append-CXXFLAGS.patch ++++++ diff -ur lsp-plugins.orig/make/tools.mk lsp-plugins/make/tools.mk --- lsp-plugins.orig/make/tools.mk 2022-06-23 08:18:02.677549495 +1000 +++ lsp-plugins/make/tools.mk 2022-06-29 09:18:03.229839836 +1000 @@ -110,7 +110,7 @@ endif # Define flags for (cross) build -CFLAGS ?= \ +CFLAGS += \ $(CFLAGS_EXT) \ -fdata-sections \ -ffunction-sections \ @@ -120,7 +120,7 @@ CDEFS += -DLSP_INSTALL_PREFIX=\"$(PREFIX)\" -CXXFLAGS ?= \ +CXXFLAGS += \ $(CXXFLAGS_EXT) \ -std=c++98 \ -fno-exceptions \ ++++++ 02-Fixed-the-improper-use-of-nanosleep.patch ++++++ From dbc16bcfb151c0b1d24f40e51316f8e3f34bb7da Mon Sep 17 00:00:00 2001 From: sadko4u <sadko4u@gmail.com> Date: Fri, 24 Jun 2022 15:18:19 +0300 Subject: [PATCH] Fixed the improper use of nanosleep when introducing the sleep function. --- CHANGELOG | 1 + src/main/runtime/system.cpp | 31 +++++++++++++++++-------------- 2 files changed, 18 insertions(+), 14 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 798e4aa..c2ccbb6 100644 diff --git a/src/main/runtime/system.cpp b/src/main/runtime/system.cpp index 46aaaea..1ced834 100644 --- a/src/main/runtime/system.cpp +++ b/src/main/runtime/system.cpp @@ -389,24 +389,27 @@ namespace lsp struct timespec req, rem; req.tv_nsec = (delay % 1000) * 1000000; req.tv_sec = delay / 1000; + rem.tv_nsec = 0; + rem.tv_sec = 0; - while ((req.tv_nsec > 0) && (req.tv_sec > 0)) + while ((req.tv_nsec > 0) || (req.tv_sec > 0)) { - int res = ::nanosleep(&req, &rem); - if (res != 0) + // Perform nanosleep for the specific period of time. + // If function succeeded and waited the whole desired period + // of time, it should return 0. + if (::nanosleep(&req, &rem) == 0) + break; + + // If the sleep was interrupted, we need to update + // the remained number of time to sleep. + switch (errno) { - switch (errno) - { - case EFAULT: - case EINVAL: - return STATUS_UNKNOWN_ERR; - case EINTR: - default: - break; - } + case EINTR: + req = rem; + break; + default: + return STATUS_UNKNOWN_ERR; } - else - req = rem; } return STATUS_OK; ++++++ lsp-plugins-1.2.1.tar.gz -> lsp-plugins-1.2.2.tar.gz ++++++ /work/SRC/openSUSE:Factory/lsp-plugins/lsp-plugins-1.2.1.tar.gz /work/SRC/openSUSE:Factory/.lsp-plugins.new.1548/lsp-plugins-1.2.2.tar.gz differ: char 12, line 1
participants (1)
-
Source-Sync