public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
From: "Alexander Kanavin" <alex.kanavin@gmail.com>
To: openembedded-core@lists.openembedded.org
Cc: Alexander Kanavin <alex.kanavin@gmail.com>
Subject: [PATCH 14/55] pulseaudio: update 14.2 -> 15.0
Date: Sun, 22 Aug 2021 14:50:22 +0200	[thread overview]
Message-ID: <20210822125103.310416-14-alex.kanavin@gmail.com> (raw)
In-Reply-To: <20210822125103.310416-1-alex.kanavin@gmail.com>

Drop backports.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
---
 .../pulseaudio/pulseaudio.inc                 |  2 +-
 ...-option-for-enabling-disabling-Valgr.patch | 67 -----------------
 ...check-if-NEON-code-can-be-compiled-o.patch | 71 -------------------
 ...{pulseaudio_14.2.bb => pulseaudio_15.0.bb} |  5 +-
 4 files changed, 2 insertions(+), 143 deletions(-)
 delete mode 100644 meta/recipes-multimedia/pulseaudio/pulseaudio/0001-build-sys-Add-an-option-for-enabling-disabling-Valgr.patch
 delete mode 100644 meta/recipes-multimedia/pulseaudio/pulseaudio/0001-build-sys-meson-check-if-NEON-code-can-be-compiled-o.patch
 rename meta/recipes-multimedia/pulseaudio/{pulseaudio_14.2.bb => pulseaudio_15.0.bb} (62%)

diff --git a/meta/recipes-multimedia/pulseaudio/pulseaudio.inc b/meta/recipes-multimedia/pulseaudio/pulseaudio.inc
index 2fb107797a..4a1456d407 100644
--- a/meta/recipes-multimedia/pulseaudio/pulseaudio.inc
+++ b/meta/recipes-multimedia/pulseaudio/pulseaudio.inc
@@ -108,7 +108,7 @@ PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez5'
                    "
 
 PACKAGECONFIG[dbus] = "-Ddbus=enabled,-Ddbus=disabled,dbus"
-PACKAGECONFIG[bluez5] = "-Dbluez5=true,-Dbluez5=false,bluez5 sbc"
+PACKAGECONFIG[bluez5] = "-Dbluez5=enabled,-Dbluez5=disabled,bluez5 sbc"
 PACKAGECONFIG[gsettings] = "-Dgsettings=enabled,-Dgsettings=disabled,glib-2.0-native glib-2.0"
 PACKAGECONFIG[ofono] = "-Dbluez5-ofono-headset=true,-Dbluez5-ofono-headset=false,ofono"
 PACKAGECONFIG[gtk] = "-Dgtk=enabled,-Dgtk=disabled,gtk+3"
diff --git a/meta/recipes-multimedia/pulseaudio/pulseaudio/0001-build-sys-Add-an-option-for-enabling-disabling-Valgr.patch b/meta/recipes-multimedia/pulseaudio/pulseaudio/0001-build-sys-Add-an-option-for-enabling-disabling-Valgr.patch
deleted file mode 100644
index d60a9a211f..0000000000
--- a/meta/recipes-multimedia/pulseaudio/pulseaudio/0001-build-sys-Add-an-option-for-enabling-disabling-Valgr.patch
+++ /dev/null
@@ -1,67 +0,0 @@
-From 6d202833a5ae241eeb648631cf95090c452198f9 Mon Sep 17 00:00:00 2001
-From: Tanu Kaskinen <tanuk@iki.fi>
-Date: Fri, 14 Feb 2020 07:29:33 +0200
-Subject: [PATCH] build-sys: Add an option for enabling/disabling Valgrind
-
-In OpenEmbedded the PulseAudio recipe currently disables Valgrind
-support by passing "ac_cv_header_valgrind_memcheck_h=no" to the
-configure script (this was added to make it deterministic whether
-Valgrdind support gets enabled or not). I'm converting the PulseAudio
-recipe to use Meson, and I needed an option to disable Valgrind.
-
-Upstream-Status: Backport
-
-Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
----
- meson.build       | 6 +++++-
- meson_options.txt | 3 +++
- 2 files changed, 8 insertions(+), 1 deletion(-)
-
-diff --git a/meson.build b/meson.build
-index 658eeee57..258962724 100644
---- a/meson.build
-+++ b/meson.build
-@@ -220,7 +220,6 @@ check_headers = [
-   'sys/un.h',
-   'sys/wait.h',
-   'syslog.h',
--  'valgrind/memcheck.h',
-   'xlocale.h',
- ]
- 
-@@ -231,6 +230,10 @@ foreach h : check_headers
-   endif
- endforeach
- 
-+if cc.has_header('valgrind/memcheck.h', required: get_option('valgrind'))
-+  cdata.set('HAVE_VALGRIND_MEMCHECK_H', 1)
-+endif
-+
- # FIXME: move this to the above set
- if cc.has_header('pthread.h')
-   cdata.set('HAVE_PTHREAD', 1)
-@@ -841,6 +844,7 @@ summary = [
-   'Enable SoXR (resampler):       @0@'.format(soxr_dep.found()),
-   'Enable WebRTC echo canceller:  @0@'.format(webrtc_dep.found()),
-   'Enable Gcov coverage:          @0@'.format(get_option('gcov')),
-+  'Enable Valgrind:               @0@'.format(cdata.has('HAVE_VALGRIND_MEMCHECK_H')),
-   'Enable man pages:              @0@'.format(get_option('man')),
-   'Enable unit tests:             @0@'.format(get_option('tests')),
-   '',
-diff --git a/meson_options.txt b/meson_options.txt
-index 824f24e08..115cc84af 100644
---- a/meson_options.txt
-+++ b/meson_options.txt
-@@ -138,6 +138,9 @@ option('systemd',
- option('udev',
-        type : 'feature', value : 'auto',
-        description : 'Optional udev support')
-+option('valgrind',
-+       type : 'feature', value : 'auto',
-+       description : 'Optional Valgrind support')
- option('x11',
-        type : 'feature', value : 'auto',
-        description : 'Optional X11 support')
--- 
-2.20.1
-
diff --git a/meta/recipes-multimedia/pulseaudio/pulseaudio/0001-build-sys-meson-check-if-NEON-code-can-be-compiled-o.patch b/meta/recipes-multimedia/pulseaudio/pulseaudio/0001-build-sys-meson-check-if-NEON-code-can-be-compiled-o.patch
deleted file mode 100644
index 5d9370fb16..0000000000
--- a/meta/recipes-multimedia/pulseaudio/pulseaudio/0001-build-sys-meson-check-if-NEON-code-can-be-compiled-o.patch
+++ /dev/null
@@ -1,71 +0,0 @@
-From 09f846fbdeb19193e778ce51baa77bd03c38372e Mon Sep 17 00:00:00 2001
-From: garrison <garrison@qemu15.qemu-network>
-Date: Fri, 4 Jun 2021 22:13:02 +0000
-Subject: [PATCH] build-sys: meson: check if NEON code can be compiled on arm
-
-When Meson SIMD module returns HAVE_NEON=1 on arm host, do extra compile check
-to verify compiler can actually handle NEON code.
-
-Related Meson issue #6361 https://github.com/mesonbuild/meson/issues/6361
-
-Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/574>
-
-Upstream-Status: Backport[https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/commit/6d2a49a6a1eacc2096d0d9473a074421c181ab56]
-
-Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
----
- src/pulsecore/meson.build | 41 +++++++++++++++++++++++++++++----------
- 1 file changed, 31 insertions(+), 10 deletions(-)
-
-diff --git a/src/pulsecore/meson.build b/src/pulsecore/meson.build
-index 99a702e..d0b7990 100644
---- a/src/pulsecore/meson.build
-+++ b/src/pulsecore/meson.build
-@@ -172,16 +172,37 @@ endif
- 
- # FIXME: SIMD support (ORC)
- simd = import('unstable-simd')
--libpulsecore_simd = simd.check('libpulsecore_simd',
--  mmx : ['remap_mmx.c', 'svolume_mmx.c'],
--  sse : ['remap_sse.c', 'sconv_sse.c', 'svolume_sse.c'],
--  neon : ['remap_neon.c', 'sconv_neon.c', 'mix_neon.c'],
--  c_args : [pa_c_args],
--  include_directories : [configinc, topinc],
--  implicit_include_directories : false,
--  compiler : cc)
--libpulsecore_simd_lib = libpulsecore_simd[0]
--cdata.merge_from(libpulsecore_simd[1])
-+simd_variants = [
-+  { 'mmx' : ['remap_mmx.c', 'svolume_mmx.c'] },
-+  { 'sse' : ['remap_sse.c', 'sconv_sse.c', 'svolume_sse.c'] },
-+  { 'neon' : ['remap_neon.c', 'sconv_neon.c', 'mix_neon.c'] },
-+]
-+
-+libpulsecore_simd_lib = []
-+
-+foreach simd_kwargs : simd_variants
-+
-+  if host_machine.cpu_family() == 'arm' and 'neon' in simd_kwargs
-+    if not cc.compiles('''
-+        #include <arm_neon.h>
-+        int main() {
-+            return sizeof(uint8x8_t) + sizeof(int32x4_t) + sizeof(float32x4_t);
-+        }
-+        ''', name : 'neon code')
-+      continue
-+    endif
-+  endif
-+
-+  libpulsecore_simd = simd.check('libpulsecore_simd',
-+    kwargs : simd_kwargs,
-+    c_args : [pa_c_args],
-+    include_directories : [configinc, topinc],
-+    implicit_include_directories : false,
-+    compiler : cc)
-+
-+  libpulsecore_simd_lib += libpulsecore_simd[0]
-+  cdata.merge_from(libpulsecore_simd[1])
-+endforeach
- 
- # FIXME: Implement Windows support
- #'mutex-win32.c',
diff --git a/meta/recipes-multimedia/pulseaudio/pulseaudio_14.2.bb b/meta/recipes-multimedia/pulseaudio/pulseaudio_15.0.bb
similarity index 62%
rename from meta/recipes-multimedia/pulseaudio/pulseaudio_14.2.bb
rename to meta/recipes-multimedia/pulseaudio/pulseaudio_15.0.bb
index a7ea8caccb..239d31810b 100644
--- a/meta/recipes-multimedia/pulseaudio/pulseaudio_14.2.bb
+++ b/meta/recipes-multimedia/pulseaudio/pulseaudio_15.0.bb
@@ -3,12 +3,9 @@ require pulseaudio.inc
 SRC_URI = "http://freedesktop.org/software/pulseaudio/releases/${BP}.tar.xz \
            file://0001-client-conf-Add-allow-autospawn-for-root.patch \
            file://0002-do-not-display-CLFAGS-to-improve-reproducibility-bui.patch \
-           file://0001-build-sys-Add-an-option-for-enabling-disabling-Valgr.patch \
            file://0001-meson-Check-for-__get_cpuid.patch \
            file://volatiles.04_pulse \
            file://0001-doxygen-meson.build-remove-dependency-on-doxygen-bin.patch \
-           file://0001-build-sys-meson-check-if-NEON-code-can-be-compiled-o.patch \
            "
-SRC_URI[md5sum] = "1efc916251910f1e9d4df7810e3e69f8"
-SRC_URI[sha256sum] = "75d3f7742c1ae449049a4c88900e454b8b350ecaa8c544f3488a2562a9ff66f1"
+SRC_URI[sha256sum] = "a40b887a3ba98cc26976eb11bdb6613988f145b19024d1b6555c6a03c9cba1a0"
 UPSTREAM_CHECK_REGEX = "pulseaudio-(?P<pver>\d+(\.(?!99)\d+)+)\.tar"
-- 
2.31.1


  parent reply	other threads:[~2021-08-22 12:51 UTC|newest]

Thread overview: 57+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-22 12:50 [PATCH 01/55] tcf-agent: fetching over git:// no longer works Alexander Kanavin
2021-08-22 12:50 ` [PATCH 02/55] binutils: do not build-depend on target flex/bison/zlib Alexander Kanavin
2021-08-22 13:06   ` [OE-core] " Richard Purdie
2021-08-22 13:51     ` Alexander Kanavin
2021-08-22 12:50 ` [PATCH 03/55] lighttpd: convert from autotools to meson Alexander Kanavin
2021-08-22 12:50 ` [PATCH 04/55] libxcrypt: upgrade 4.4.23 -> 4.4.25 Alexander Kanavin
2021-08-22 12:50 ` [PATCH 05/55] systemd: upgrade 249.1 -> 249.3 Alexander Kanavin
2021-08-22 12:50 ` [PATCH 06/55] python3-cython: upgrade 0.29.23 -> 0.29.24 Alexander Kanavin
2021-08-22 12:50 ` [PATCH 07/55] python3-numpy: upgrade 1.21.0 -> 1.21.2 Alexander Kanavin
2021-08-22 12:50 ` [PATCH 08/55] xeyes: upgrade 1.1.2 -> 1.2.0 Alexander Kanavin
2021-08-22 12:50 ` [PATCH 09/55] btrfs-tools: update 5.13 -> 5.13.1 Alexander Kanavin
2021-08-22 12:50 ` [PATCH 10/55] diffutils: update 3.7 -> 3.8 Alexander Kanavin
2021-08-22 12:50 ` [PATCH 11/55] mc: update 4.8.26 - > 4.8.27 Alexander Kanavin
2021-08-22 12:50 ` [PATCH 12/55] libsdl2: update 2.0.14 -> 2.0.16 Alexander Kanavin
2021-08-22 12:50 ` [PATCH 13/55] vulkan-samples: update to latest revision Alexander Kanavin
2021-08-22 12:50 ` Alexander Kanavin [this message]
2021-08-22 12:50 ` [PATCH 15/55] libjitterentropy: update 3.0.2 -> 3.1.0 Alexander Kanavin
2021-08-22 12:50 ` [PATCH 16/55] usbutils: upgrade 013 -> 014 Alexander Kanavin
2021-08-22 12:50 ` [PATCH 17/55] inetutils: upgrade 2.0 -> 2.1 Alexander Kanavin
2021-08-22 12:50 ` [PATCH 18/55] mobile-broadband-provider-info: upgrade 20201225 -> 20210805 Alexander Kanavin
2021-08-22 12:50 ` [PATCH 19/55] glib-networking: upgrade 2.68.1 -> 2.68.2 Alexander Kanavin
2021-08-22 12:50 ` [PATCH 20/55] e2fsprogs: upgrade 1.46.2 -> 1.46.4 Alexander Kanavin
2021-08-22 12:50 ` [PATCH 21/55] help2man: upgrade 1.48.3 -> 1.48.4 Alexander Kanavin
2021-08-22 12:50 ` [PATCH 22/55] libedit: upgrade 20210522-3.1 -> 20210714-3.1 Alexander Kanavin
2021-08-22 12:50 ` [PATCH 23/55] log4cplus: upgrade 2.0.6 -> 2.0.7 Alexander Kanavin
2021-08-22 12:50 ` [PATCH 24/55] mtools: upgrade 4.0.34 -> 4.0.35 Alexander Kanavin
2021-08-22 12:50 ` [PATCH 25/55] patchelf: upgrade 0.12 -> 0.13 Alexander Kanavin
2021-08-22 12:50 ` [PATCH 26/55] pkgconf: upgrade 1.7.4 -> 1.8.0 Alexander Kanavin
2021-08-22 12:50 ` [PATCH 27/55] python3-git: upgrade 3.1.18 -> 3.1.20 Alexander Kanavin
2021-08-22 12:50 ` [PATCH 28/55] python3-pip: upgrade 21.2.1 -> 21.2.4 Alexander Kanavin
2021-08-22 12:50 ` [PATCH 29/55] python3-pygments: upgrade 2.9.0 -> 2.10.0 Alexander Kanavin
2021-08-22 12:50 ` [PATCH 30/55] python3-setuptools: upgrade 57.1.0 -> 57.4.0 Alexander Kanavin
2021-08-22 12:50 ` [PATCH 31/55] squashfs-tools: upgrade 4.4 -> 4.5 Alexander Kanavin
2021-08-22 12:50 ` [PATCH 32/55] acpica: upgrade 20210331 -> 20210730 Alexander Kanavin
2021-08-22 12:50 ` [PATCH 33/55] libidn2: upgrade 2.3.1 -> 2.3.2 Alexander Kanavin
2021-08-22 12:50 ` [PATCH 34/55] stress-ng: upgrade 0.12.12 -> 0.13.00 Alexander Kanavin
2021-08-22 12:50 ` [PATCH 35/55] sudo: upgrade 1.9.7p1 -> 1.9.7p2 Alexander Kanavin
2021-08-22 12:50 ` [PATCH 36/55] epiphany: upgrade 40.2 -> 40.3 Alexander Kanavin
2021-08-22 12:50 ` [PATCH 37/55] libgudev: upgrade 236 -> 237 Alexander Kanavin
2021-08-22 12:50 ` [PATCH 38/55] libjpeg-turbo: upgrade 2.1.0 -> 2.1.1 Alexander Kanavin
2021-08-22 12:50 ` [PATCH 39/55] libepoxy: upgrade 1.5.8 -> 1.5.9 Alexander Kanavin
2021-08-22 12:50 ` [PATCH 40/55] mesa: upgrade 21.1.5 -> 21.2.1 Alexander Kanavin
2021-08-22 12:50 ` [PATCH 41/55] pango: upgrade 1.48.7 -> 1.48.9 Alexander Kanavin
2021-08-22 12:50 ` [PATCH 42/55] libinput: upgrade 1.18.0 -> 1.18.1 Alexander Kanavin
2021-08-22 12:50 ` [PATCH 43/55] libxfont2: upgrade 2.0.4 -> 2.0.5 Alexander Kanavin
2021-08-22 12:50 ` [PATCH 44/55] libxft: upgrade 2.3.3 -> 2.3.4 Alexander Kanavin
2021-08-22 12:50 ` [PATCH 45/55] xserver-xorg: upgrade 1.20.12 -> 1.20.13 Alexander Kanavin
2021-08-22 12:50 ` [PATCH 46/55] linux-firmware: upgrade 20210511 -> 20210818 Alexander Kanavin
2021-08-22 12:50 ` [PATCH 47/55] wireless-regdb: upgrade 2021.04.21 -> 2021.07.14 Alexander Kanavin
2021-08-22 12:50 ` [PATCH 48/55] libwebp: upgrade 1.2.0 -> 1.2.1 Alexander Kanavin
2021-08-22 12:50 ` [PATCH 49/55] webkitgtk: upgrade 2.32.2 -> 2.32.3 Alexander Kanavin
2021-08-22 12:50 ` [PATCH 50/55] boost: upgrade 1.76.0 -> 1.77.0 Alexander Kanavin
2021-08-22 12:50 ` [PATCH 51/55] diffoscope: upgrade 179 -> 181 Alexander Kanavin
2021-08-22 12:51 ` [PATCH 52/55] enchant2: upgrade 2.3.0 -> 2.3.1 Alexander Kanavin
2021-08-22 12:51 ` [PATCH 53/55] re2c: upgrade 2.1.1 -> 2.2 Alexander Kanavin
2021-08-22 12:51 ` [PATCH 54/55] rng-tools: upgrade 6.13 -> 6.14 Alexander Kanavin
2021-08-22 12:51 ` [PATCH 55/55] kea: backport a patch to fix build errors exposed by latest update batch Alexander Kanavin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210822125103.310416-14-alex.kanavin@gmail.com \
    --to=alex.kanavin@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox