From patchwork Tue Jan 12 22:28:07 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?J=C3=B6rg_Krause?= X-Patchwork-Id: 1425494 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.137; helo=fraxinus.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=embedded.rocks Authentication-Results: ozlabs.org; dkim=fail reason="key not found in DNS" header.d=embedded.rocks header.i=@embedded.rocks header.a=rsa-sha256 header.s=default header.b=koosea71; dkim-atps=neutral Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4DFmPS1MnQz9sW4 for ; Wed, 13 Jan 2021 10:05:00 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 4B8F786166; Tue, 12 Jan 2021 22:28:21 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4Kkaxuf25mZr; Tue, 12 Jan 2021 22:28:20 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 51F4184E8C; Tue, 12 Jan 2021 22:28:20 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 414271BF29F for ; Tue, 12 Jan 2021 22:28:19 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 312FD203E9 for ; Tue, 12 Jan 2021 22:28:19 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eGekEi65Iwmf for ; Tue, 12 Jan 2021 22:28:17 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mout02.posteo.de (mout02.posteo.de [185.67.36.142]) by silver.osuosl.org (Postfix) with ESMTPS id A45331FEBF for ; Tue, 12 Jan 2021 22:28:16 +0000 (UTC) Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 8C5FB2400FC for ; Tue, 12 Jan 2021 23:28:14 +0100 (CET) Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4DFlb20p8Zz9rxR for ; Tue, 12 Jan 2021 23:28:14 +0100 (CET) Authentication-Results: mail.embedded.rocks (amavisd-new); dkim=pass reason="pass (just generated, assumed good)" header.d=embedded.rocks DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=embedded.rocks; h=content-transfer-encoding:content-type:content-type :mime-version:x-mailer:message-id:date:date:subject:subject:from :from:received:received; s=default; t=1610490492; x=1611095293; bh=uXF19aw81iH0Yle3D4oZ8wZdAWJIIAerUf/8QC/nOvM=; b=koosea71VumP LZZW8gTYvnMwagqgjb730MMt1B5hvpicFej3HZUODEM5QNmUf10l+OK+W9YzlwVT kjSmqof/xiT8+9caIZb2qvxQbQApgTSXosARGI6rDggJ5VCZv8cnR95a9x9TED78 Uzj0D3U7F4uNX2IPvZjKLdU8Cfy1u7QyonRjOhWamEBIdRuNMhGxL6/2PfLnEU3S XfUXnmO6i5vQswCUXztGTJ+i/NmrTHZUF9WSHoYLWKRh2YfntO5/sei27n1Vvs5b TMt9JGWV20FzPVpTW27eYmmJwGuZ+9Dx+b+RDCgXBQFXsscY1KSpoYC+8sqT2Mxl Fj7B77h2yQ== Received: from mail.embedded.rocks ([127.0.0.1]) by localhost (mail.embedded.rocks [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id fw67v-QTU1Fz; Tue, 12 Jan 2021 23:28:12 +0100 (CET) Received: from nzxt.localdomain (business-176-095-158-210.static.arcor-ip.net [176.95.158.210]) (Authenticated sender: joerg.krause@embedded.rocks) by mail.embedded.rocks (Postfix) with ESMTPSA; Tue, 12 Jan 2021 23:28:12 +0100 (CET) From: =?utf-8?q?J=C3=B6rg_Krause?= To: buildroot@buildroot.org Date: Tue, 12 Jan 2021 23:28:07 +0100 Message-Id: <20210112222807.1649810-1-joerg.krause@embedded.rocks> X-Mailer: git-send-email 2.30.0 MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/1] package/bluez-alsa: bump to version 3.0.0 X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Drop upstream patch which is included in the new version. Add additional config option `--enable-a2dpconf` to build small (13 kB) utility `a2dpconf` which does not depend on any external dependencies. Signed-off-by: Jörg Krause --- .../0001-fix-build-issue-with-gcc-10.patch | 140 ------------------ package/bluez-alsa/bluez-alsa.hash | 2 +- package/bluez-alsa/bluez-alsa.mk | 3 +- 3 files changed, 3 insertions(+), 142 deletions(-) delete mode 100644 package/bluez-alsa/0001-fix-build-issue-with-gcc-10.patch diff --git a/package/bluez-alsa/0001-fix-build-issue-with-gcc-10.patch b/package/bluez-alsa/0001-fix-build-issue-with-gcc-10.patch deleted file mode 100644 index b0b1f72721..0000000000 --- a/package/bluez-alsa/0001-fix-build-issue-with-gcc-10.patch +++ /dev/null @@ -1,140 +0,0 @@ -From 72324e9415d2757a5f0f028865f841de70e1d0c4 Mon Sep 17 00:00:00 2001 -From: Heiko Thiery -Date: Sun, 12 Jul 2020 14:18:09 +0200 -Subject: [PATCH] fix build issue with gcc 10 - -This patch is created on top of tagged version v2.1.0. -An upstream fix commit [1] for this issue is already in upstream master but -does not apply on current used version in buildroot. - -[1] https://github.com/Arkq/bluez-alsa/commit/30a23dd7ce9b00c702fa48545f6b03038f9e17c6 - -Signed-off-by: Heiko Thiery -[Fabrice: also update src/ofono-iface.h] -Signed-off-by: Fabrice Fontaine ---- - src/bluealsa-dbus.c | 4 ++++ - src/bluealsa-iface.c | 2 ++ - src/bluealsa-iface.h | 4 ---- - src/bluealsa.c | 3 +++ - src/bluez-a2dp.h | 3 --- - src/bluez-iface.h | 3 --- - src/bluez.c | 3 +++ - 7 files changed, 12 insertions(+), 10 deletions(-) - -diff --git a/src/bluealsa-dbus.c b/src/bluealsa-dbus.c -index 5e748e3..4c9cd3d 100644 ---- a/src/bluealsa-dbus.c -+++ b/src/bluealsa-dbus.c -@@ -33,6 +33,10 @@ - #include "shared/defs.h" - #include "shared/log.h" - -+extern const GDBusInterfaceInfo bluealsa_iface_manager; -+extern const GDBusInterfaceInfo bluealsa_iface_pcm; -+extern const GDBusInterfaceInfo bluealsa_iface_rfcomm; -+ - static GVariant *ba_variant_new_device_path(const struct ba_device *d) { - return g_variant_new_object_path(d->bluez_dbus_path); - } -diff --git a/src/bluealsa-iface.c b/src/bluealsa-iface.c -index 71810c7..55b79c9 100644 ---- a/src/bluealsa-iface.c -+++ b/src/bluealsa-iface.c -@@ -10,6 +10,8 @@ - - #include "bluealsa-iface.h" - -+#define BLUEALAS_IFACE_C -+ - static const GDBusArgInfo arg_codec = { - -1, "codec", "q", NULL - }; -diff --git a/src/bluealsa-iface.h b/src/bluealsa-iface.h -index 262fb76..4f3e85b 100644 ---- a/src/bluealsa-iface.h -+++ b/src/bluealsa-iface.h -@@ -32,8 +32,4 @@ - #define BLUEALSA_RFCOMM_MODE_HSP_AG "HSP-AG" - #define BLUEALSA_RFCOMM_MODE_HSP_HS "HSP-HS" - --const GDBusInterfaceInfo bluealsa_iface_manager; --const GDBusInterfaceInfo bluealsa_iface_pcm; --const GDBusInterfaceInfo bluealsa_iface_rfcomm; -- - #endif -diff --git a/src/bluealsa.c b/src/bluealsa.c -index 929f9ed..690c407 100644 ---- a/src/bluealsa.c -+++ b/src/bluealsa.c -@@ -20,6 +20,9 @@ - #include "bluez-a2dp.h" - #include "hfp.h" - -+/* NULL-terminated list of available A2DP codecs */ -+extern const struct bluez_a2dp_codec **bluez_a2dp_codecs; -+ - /* Initialize global configuration variable. */ - struct ba_config config = { - -diff --git a/src/bluez-a2dp.h b/src/bluez-a2dp.h -index 7c0e33b..127dbd9 100644 ---- a/src/bluez-a2dp.h -+++ b/src/bluez-a2dp.h -@@ -57,7 +57,4 @@ struct bluez_a2dp_codec { - size_t samplings_size; - }; - --/* NULL-terminated list of available A2DP codecs */ --const struct bluez_a2dp_codec **bluez_a2dp_codecs; -- - #endif -diff --git a/src/bluez-iface.h b/src/bluez-iface.h -index 34269c5..250267e 100644 ---- a/src/bluez-iface.h -+++ b/src/bluez-iface.h -@@ -27,7 +27,4 @@ - #define BLUEZ_TRANSPORT_STATE_PENDING "pending" - #define BLUEZ_TRANSPORT_STATE_ACTIVE "active" - --const GDBusInterfaceInfo bluez_iface_endpoint; --const GDBusInterfaceInfo bluez_iface_profile; -- - #endif -diff --git a/src/bluez.c b/src/bluez.c -index cfdbff8..190101e 100644 ---- a/src/bluez.c -+++ b/src/bluez.c -@@ -45,6 +45,9 @@ - # define G_DBUS_ERROR_UNKNOWN_OBJECT G_DBUS_ERROR_FAILED - #endif - -+extern const GDBusInterfaceInfo bluez_iface_endpoint; -+extern const GDBusInterfaceInfo bluez_iface_profile; -+ - /** - * Structure describing registered D-Bus object. */ - struct dbus_object_data { - diff --git a/src/ofono-iface.h b/src/ofono-iface.h -index d5a6715..d5b9065 100644 ---- a/src/ofono-iface.h -+++ b/src/ofono-iface.h -@@ -1,6 +1,6 @@ - /* - * BlueALSA - ofono-iface.h -- * Copyright (c) 2016-2019 Arkadiusz Bokowy -+ * Copyright (c) 2016-2020 Arkadiusz Bokowy - * 2018 Thierry Bultel - * - * This file is a part of bluez-alsa. -@@ -27,6 +27,6 @@ - #define OFONO_AUDIO_CODEC_CVSD 0x01 - #define OFONO_AUDIO_CODEC_MSBC 0x02 - --const GDBusInterfaceInfo ofono_iface_hf_audio_agent; -+extern const GDBusInterfaceInfo ofono_iface_hf_audio_agent; - - #endif --- -2.20.1 - diff --git a/package/bluez-alsa/bluez-alsa.hash b/package/bluez-alsa/bluez-alsa.hash index 603a501d4f..6be93bc045 100644 --- a/package/bluez-alsa/bluez-alsa.hash +++ b/package/bluez-alsa/bluez-alsa.hash @@ -1,3 +1,3 @@ # Locally calculated: -sha256 6459f70e47e70b4c04a85acf148381e6c8a2e86bd638aff21870afc6c14b85b0 bluez-alsa-2.1.0.tar.gz +sha256 8b9bc36be922c10c6628ddf84b13dfadfeb3ab0bcf72bad842c66f3120abc6b2 bluez-alsa-3.0.0.tar.gz sha256 60253922a459245128c34eb379cbda7c76936636d4c10edc576663a0f560dd4d LICENSE diff --git a/package/bluez-alsa/bluez-alsa.mk b/package/bluez-alsa/bluez-alsa.mk index d5cb3ed67b..9262a7f66b 100644 --- a/package/bluez-alsa/bluez-alsa.mk +++ b/package/bluez-alsa/bluez-alsa.mk @@ -4,7 +4,7 @@ # ################################################################################ -BLUEZ_ALSA_VERSION = 2.1.0 +BLUEZ_ALSA_VERSION = 3.0.0 BLUEZ_ALSA_SITE = $(call github,Arkq,bluez-alsa,v$(BLUEZ_ALSA_VERSION)) BLUEZ_ALSA_LICENSE = MIT BLUEZ_ALSA_LICENSE_FILES = LICENSE @@ -14,6 +14,7 @@ BLUEZ_ALSA_DEPENDENCIES = alsa-lib bluez5_utils libglib2 sbc host-pkgconf BLUEZ_ALSA_AUTORECONF = YES BLUEZ_ALSA_CONF_OPTS = \ + --enable-a2dpconf \ --enable-aplay \ --disable-debug-time \ --with-alsaplugindir=/usr/lib/alsa-lib \