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-10-16 16:10:03 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/lsp-plugins (Old) and /work/SRC/openSUSE:Factory/.lsp-plugins.new.2275 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "lsp-plugins" Sun Oct 16 16:10:03 2022 rev:19 rq:1011223 version:1.2.3 Changes: -------- --- /work/SRC/openSUSE:Factory/lsp-plugins/lsp-plugins.changes 2022-09-12 19:08:39.878606558 +0200 +++ /work/SRC/openSUSE:Factory/.lsp-plugins.new.2275/lsp-plugins.changes 2022-10-16 16:10:05.826878694 +0200 @@ -1,0 +2,6 @@ +Sat Oct 15 11:05:04 UTC 2022 - Fabio Pesari <[email protected]> + +- Add fix-xorg-high-cpu-usage.patch from upstream devel branch + to fix lsp-plugins#272 + +------------------------------------------------------------------- New: ---- fix-xorg-high-cpu-usage.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lsp-plugins.spec ++++++ --- /var/tmp/diff_new_pack.BTapqx/_old 2022-10-16 16:10:06.594880494 +0200 +++ /var/tmp/diff_new_pack.BTapqx/_new 2022-10-16 16:10:06.602880513 +0200 @@ -29,6 +29,8 @@ 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 +# PATCH-FIX-UPSTREAM https://github.com/sadko4u/lsp-plugins/issues/272#issuecomment-1242442228 +Patch0: fix-xorg-high-cpu-usage.patch BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: ladspa @@ -120,6 +122,7 @@ %prep %setup -qn %{name} +%autopatch -p1 %build #export PREFIX="%{_prefix}" DOC_PATH="%{_docdir}" LIB_PATH="%{_libdir}" ++++++ fix-xorg-high-cpu-usage.patch ++++++ diff -wru lsp-plugins/modules/lsp-tk-lib/src/main/widgets/containers/Window.cpp lsp-plugins.fix/modules/lsp-tk-lib/src/main/widgets/containers/Window.cpp --- lsp-plugins/modules/lsp-tk-lib/src/main/widgets/containers/Window.cpp 2022-09-06 22:55:51.824549179 +0200 +++ lsp-plugins.fix/modules/lsp-tk-lib/src/main/widgets/containers/Window.cpp 2022-10-15 08:08:24.683979691 +0200 @@ -300,15 +300,20 @@ size_t flags = nFlags; - s->begin(); + ws::ISurface *bs = get_surface(s); + bs->begin(); { ws::rectangle_t xr; xr.nLeft = 0; xr.nTop = 0; xr.nWidth = sSize.nWidth; xr.nHeight = sSize.nHeight; - render(s, &xr, flags); + render(bs, &xr, flags); } + bs->end(); + + s->begin(); + s->draw(bs, 0.0f, 0.0f, 1.0f, 1.0f, 0.0f); s->end(); commit_redraw();
