From 745661b7ba5b8518203990034499029d41101943aad2a70b33d9ca55ed11177f Mon Sep 17 00:00:00 2001 From: Antonio Larrosa Date: Tue, 5 Mar 2024 17:40:05 +0000 Subject: [PATCH 1/2] Accepting request 1154981 from home:alarrosa:branches:multimedia:libs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - version update to 0.4.38 0.4.38 ====== - x86: account for XSAVE when checking for AVX support, fixing usage on hardened linux kernels where AVX support has been disabled (L. E. Segovia) - neon: Use the real intrinsics for divf and sqrtf (L. E. Segovia) - orc.m4 for autotools is no longer shipped. If anyone still uses it they can copy it into their source tree (Tim-Philipp Müller) OBS-URL: https://build.opensuse.org/request/show/1154981 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/orc?expand=0&rev=85 --- orc-0.4.37.tar.xz | 3 --- orc-0.4.38.tar.xz | 3 +++ orc.changes | 14 ++++++++++++++ orc.spec | 3 +-- 4 files changed, 18 insertions(+), 5 deletions(-) delete mode 100644 orc-0.4.37.tar.xz create mode 100644 orc-0.4.38.tar.xz diff --git a/orc-0.4.37.tar.xz b/orc-0.4.37.tar.xz deleted file mode 100644 index dafd34d..0000000 --- a/orc-0.4.37.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:85638c0d447d989cd0d7e03406adbfbc380e67db2a622a4727a0ce3d440b2974 -size 228520 diff --git a/orc-0.4.38.tar.xz b/orc-0.4.38.tar.xz new file mode 100644 index 0000000..e515255 --- /dev/null +++ b/orc-0.4.38.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a55a98d4772567aa3faed8fb84d540c3db77eaba16d3e2e10b044fbc9228668d +size 227152 diff --git a/orc.changes b/orc.changes index 25b63e1..abf8330 100644 --- a/orc.changes +++ b/orc.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Tue Mar 5 07:06:08 UTC 2024 - Antonio Larrosa + +- version update to 0.4.38 + 0.4.38 + ====== + - x86: account for XSAVE when checking for AVX support, fixing + usage on hardened linux kernels where AVX support has been + disabled (L. E. Segovia) + - neon: Use the real intrinsics for divf and sqrtf + (L. E. Segovia) + - orc.m4 for autotools is no longer shipped. If anyone still uses + it they can copy it into their source tree (Tim-Philipp Müller) + ------------------------------------------------------------------- Thu Feb 15 09:26:15 UTC 2024 - pgajdos@suse.com diff --git a/orc.spec b/orc.spec index 3397ef8..34a00b7 100644 --- a/orc.spec +++ b/orc.spec @@ -18,7 +18,7 @@ Name: orc -Version: 0.4.37 +Version: 0.4.38 Release: 0 Summary: The Oil Runtime Compiler License: BSD-3-Clause @@ -83,7 +83,6 @@ arithmetic operations. %{_includedir}/orc-0.4/ %{_libdir}/*.so %{_libdir}/pkgconfig/orc-0.4.pc -%{_datadir}/aclocal/orc.m4 %files doc %dir %{_datadir}/gtk-doc From 64b32eda9601113754edcf0e61ef5362e1d0449f11b5dee8a64c706dfdb3fb43 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Wed, 6 Mar 2024 16:48:45 +0000 Subject: [PATCH 2/2] Accepting request 1155569 from home:alarrosa:branches:multimedia:libs - Backport patch from SLE - Add relax-tests.patch to increase test timeouts to 2 minutes, also limit the max value for memcpy_speed.c test bsc#1130085 - Enable tests OBS-URL: https://build.opensuse.org/request/show/1155569 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/orc?expand=0&rev=86 --- orc.changes | 8 ++++++++ orc.spec | 13 +++++++++++-- relax-tests.patch | 35 +++++++++++++++++++++++++++++++++++ 3 files changed, 54 insertions(+), 2 deletions(-) create mode 100644 relax-tests.patch diff --git a/orc.changes b/orc.changes index abf8330..4ed77e1 100644 --- a/orc.changes +++ b/orc.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Wed Mar 6 13:10:24 UTC 2024 - Antonio Larrosa + +- Backport patch from SLE +- Add relax-tests.patch to increase test timeouts to 2 minutes, + also limit the max value for memcpy_speed.c test bsc#1130085 +- Enable tests + ------------------------------------------------------------------- Tue Mar 5 07:06:08 UTC 2024 - Antonio Larrosa diff --git a/orc.spec b/orc.spec index 34a00b7..255ee49 100644 --- a/orc.spec +++ b/orc.spec @@ -26,6 +26,7 @@ Group: Productivity/Multimedia/Other URL: https://gitlab.freedesktop.org/gstreamer/orc Source: https://gstreamer.freedesktop.org/src/orc/%{name}-%{version}.tar.xz Source99: baselibs.conf +Patch0: relax-tests.patch BuildRequires: gtk-doc >= 1.12 BuildRequires: meson >= 0.47.0 BuildRequires: pkgconfig @@ -66,14 +67,22 @@ arithmetic operations. %build %meson \ - -Dorc-test=disabled \ + -Dorc-test=enabled \ -Dexamples=disabled \ - -Dtests=disabled \ + -Dtests=enabled \ %{nil} %meson_build %install %meson_install +rm %{buildroot}%{_bindir}/orc-bugreport +rm %{buildroot}%{_libdir}/pkgconfig/orc-test-0.4.pc + +%check +# Disable testsuite for almost all arches, it's only stable on x86_64 +%ifnarch aarch64 %{arm} %{ix86} ppc64le +%meson_test +%endif %post -n liborc-0_4-0 -p /sbin/ldconfig %postun -n liborc-0_4-0 -p /sbin/ldconfig diff --git a/relax-tests.patch b/relax-tests.patch new file mode 100644 index 0000000..281cc5d --- /dev/null +++ b/relax-tests.patch @@ -0,0 +1,35 @@ +Index: orc-orc-0.4.28/testsuite/memcpy_speed.c +=================================================================== +--- orc-orc-0.4.28.orig/testsuite/memcpy_speed.c ++++ orc-orc-0.4.28/testsuite/memcpy_speed.c +@@ -102,6 +102,10 @@ main(int argc, char *argv[]) + max = 140; + } + ++ /* There is a pathological slow down for max > 150 or so ++ so set a lower value. */ ++ max = 140; ++ + for(i=0;i