From patchwork Sun Jul 3 16:20:44 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Romain Naour X-Patchwork-Id: 643780 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3rjFkf5c4zz9t0l for ; Mon, 4 Jul 2016 02:20:58 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=oHs4zLWY; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 2D5F989939; Sun, 3 Jul 2016 16:20:55 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lTDKLWA3v4j9; Sun, 3 Jul 2016 16:20:52 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id EBCDF898DD; Sun, 3 Jul 2016 16:20:51 +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 E8A0D1CE92F for ; Sun, 3 Jul 2016 16:20:50 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id D3DA627280 for ; Sun, 3 Jul 2016 16:20:50 +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 lZLlzrwFzH3t for ; Sun, 3 Jul 2016 16:20:49 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm0-f68.google.com (mail-wm0-f68.google.com [74.125.82.68]) by silver.osuosl.org (Postfix) with ESMTPS id E612F26A64 for ; Sun, 3 Jul 2016 16:20:48 +0000 (UTC) Received: by mail-wm0-f68.google.com with SMTP id c82so16447650wme.3 for ; Sun, 03 Jul 2016 09:20:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=dUF5Ga+Op1h6yHhpGvNx3Whb8XmAguW7KxlJ8Y2L78U=; b=oHs4zLWYo81fT47AkaQLe5WooF/cLqhfeQW5ph/UH1E79Fiyx4IWTVma1UY0oyrizK 3NlSxjc9lT92FkvQROCHeKlerkXDIK/dcD1AzXxaS5KUDB8XQT4OKUjCg2FeVgAdo/do JYdatEpjKqYGhVC7Z2Dd136P7VjkObs9ueWxqkoINLeUo5OSeHcv/stuvpTRae9yOt4S Arbw910dIhLhn+ULJRot3hl/BipEaO0m4bZ/tAC2HsXU1Wo2UNcfyQzSL9iBAE8g/T8v uhDMdDlTmx3cvFvrkioudb8NNbT+EJ4Vr+s9qTG+VqTmupfx4g5QO/ngsdbZc+z5FrHf LVBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=dUF5Ga+Op1h6yHhpGvNx3Whb8XmAguW7KxlJ8Y2L78U=; b=KDPTgGK2AFNKwPKGdPpjNRCTx/pq9Rl2/npjR7p1WBER1PNGtl2Vcf0bMER7aRBQ7U gP5N0ZSK5tbXnAkNnO4TlP7gatJ2WM+ovk0mg8e5CxRgwjAOBoFs8OSpDc7l1aww/h8H dxPC2LfxRaryyIrAXx8PmjOrUfn3OUMlrW5nDbKVKOFnlJfOirscNLyJ0lPAn9x+JNMC SYHcXOA3jdSftqeCIUbUMN9haZRPH0rkxxlaywoQ+/7VIuckUpYjUEBjV3sX4ijnuF9v OwdQbN6q8EmZABRb/r04FlJPFA4RUQWbPrZLmV/r3CSx0HSe2cT5ZSLnpFwFk2my8E59 EMOg== X-Gm-Message-State: ALyK8tLFYFfObyqOFKcQbUGZ1/mEZ7dfKHHcV3MMp4wezuR90ST+QA4H6FnpBLGfSwcu1w== X-Received: by 10.28.168.86 with SMTP id r83mr6601565wme.44.1467562847355; Sun, 03 Jul 2016 09:20:47 -0700 (PDT) Received: from atlas.home ([2a01:cb19:84c0:6b00:290:f5ff:fed8:79ac]) by smtp.gmail.com with ESMTPSA id rx9sm663534wjc.19.2016.07.03.09.20.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 03 Jul 2016 09:20:46 -0700 (PDT) From: Romain Naour To: buildroot@buildroot.org Date: Sun, 3 Jul 2016 18:20:44 +0200 Message-Id: <1467562844-8629-1-git-send-email-romain.naour@gmail.com> X-Mailer: git-send-email 2.5.5 Cc: Romain Naour Subject: [Buildroot] [PATCH] package/pulseaudio: needs gcc >= 4.8 X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" A toolchain with C++11 support is required since pulseaudio 9.0 [1] Propagate this new dependency on packages selecting pulseaudio. Fixes: http://autobuild.buildroot.net/results/d89/d897a94a8b6a52eba03d04c24536f554a7643000 [1] https://cgit.freedesktop.org/pulseaudio/pulseaudio/commit/?id=aa02e1654bcdfa0677e19ab9bb27b44dc8bf26b9 Signed-off-by: Romain Naour --- package/efl/Config.in | 1 + package/espeak/Config.in | 1 + package/gstreamer/gst-plugins-good/Config.in | 4 +++- package/gstreamer1/gst1-plugins-good/Config.in | 4 +++- package/mpd/Config.in | 3 ++- package/pulseaudio/Config.in | 6 ++++-- 6 files changed, 14 insertions(+), 5 deletions(-) diff --git a/package/efl/Config.in b/package/efl/Config.in index 4ab1ec4..6e77580 100644 --- a/package/efl/Config.in +++ b/package/efl/Config.in @@ -86,6 +86,7 @@ config BR2_PACKAGE_EFL_LIBSNDFILE config BR2_PACKAGE_EFL_PULSEAUDIO bool "Enable pulseaudio support (recommended)" + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # pulseaudio depends on BR2_TOOLCHAIN_HAS_SYNC_4 # pulseaudio -> json-c select BR2_PACKAGE_PULSEAUDIO default y diff --git a/package/espeak/Config.in b/package/espeak/Config.in index aed627a..b03ebb3 100644 --- a/package/espeak/Config.in +++ b/package/espeak/Config.in @@ -32,6 +32,7 @@ config BR2_PACKAGE_ESPEAK_AUDIO_BACKEND_ALSA config BR2_PACKAGE_ESPEAK_AUDIO_BACKEND_PULSEAUDIO bool "pulseaudio" + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # pulseaudio depends on BR2_TOOLCHAIN_HAS_SYNC_4 # pulseaudio -> json-c select BR2_PACKAGE_PULSEAUDIO diff --git a/package/gstreamer/gst-plugins-good/Config.in b/package/gstreamer/gst-plugins-good/Config.in index 65f74e8..0041de3 100644 --- a/package/gstreamer/gst-plugins-good/Config.in +++ b/package/gstreamer/gst-plugins-good/Config.in @@ -204,6 +204,7 @@ config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_PULSE depends on BR2_TOOLCHAIN_HAS_THREADS # pulseaudio depends on BR2_USE_MMU # pulseaudio depends on !BR2_STATIC_LIBS # pulseaudio + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # pulseaudio depends on BR2_TOOLCHAIN_HAS_SYNC_4 # pulseaudio -> json-c select BR2_PACKAGE_PULSEAUDIO bool "pulseaudio" @@ -211,7 +212,8 @@ config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_PULSE comment "pulseaudio support needs a toolchain w/ threads, dynamic library" depends on BR2_USE_MMU depends on BR2_TOOLCHAIN_HAS_SYNC_4 - depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS + depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS \ + || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_SOUPHTTPSRC bool "souphttpsrc (http client)" diff --git a/package/gstreamer1/gst1-plugins-good/Config.in b/package/gstreamer1/gst1-plugins-good/Config.in index 95318d9..4a4724c 100644 --- a/package/gstreamer1/gst1-plugins-good/Config.in +++ b/package/gstreamer1/gst1-plugins-good/Config.in @@ -319,6 +319,7 @@ config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_PULSE depends on BR2_TOOLCHAIN_HAS_THREADS # pulseaudio depends on BR2_USE_MMU # pulseaudio depends on !BR2_STATIC_LIBS # pulseaudio + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # pulseaudio depends on BR2_TOOLCHAIN_HAS_SYNC_4 # pulseaudio -> json-c select BR2_PACKAGE_PULSEAUDIO bool "pulseaudio" @@ -328,7 +329,8 @@ config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_PULSE comment "pulseaudio support needs a toolchain w/ threads, dynamic library" depends on BR2_USE_MMU depends on BR2_TOOLCHAIN_HAS_SYNC_4 - depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS + depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS \ + || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_SOUPHTTPSRC bool "souphttpsrc (http client)" diff --git a/package/mpd/Config.in b/package/mpd/Config.in index 2ea21fc..457f266 100644 --- a/package/mpd/Config.in +++ b/package/mpd/Config.in @@ -253,6 +253,7 @@ config BR2_PACKAGE_MPD_OSS config BR2_PACKAGE_MPD_PULSEAUDIO bool "pulseaudio" depends on !BR2_STATIC_LIBS # pulseaudio + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # pulseaudio depends on BR2_TOOLCHAIN_HAS_SYNC_4 # pulseaudio -> json-c select BR2_PACKAGE_PULSEAUDIO help @@ -260,7 +261,7 @@ config BR2_PACKAGE_MPD_PULSEAUDIO comment "pulseaudio support needs a toolchain w/ dynamic library" depends on BR2_TOOLCHAIN_HAS_SYNC_4 - depends on BR2_STATIC_LIBS + depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 comment "Miscellaneous plugins" diff --git a/package/pulseaudio/Config.in b/package/pulseaudio/Config.in index 20aa374..42cd3d5 100644 --- a/package/pulseaudio/Config.in +++ b/package/pulseaudio/Config.in @@ -3,6 +3,7 @@ config BR2_PACKAGE_PULSEAUDIO depends on BR2_USE_WCHAR depends on BR2_TOOLCHAIN_HAS_THREADS depends on !BR2_STATIC_LIBS + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11 depends on BR2_TOOLCHAIN_HAS_SYNC_4 # json-c select BR2_PACKAGE_LIBTOOL select BR2_PACKAGE_JSON_C @@ -31,7 +32,8 @@ config BR2_PACKAGE_PULSEAUDIO_DAEMON endif -comment "pulseaudio needs a toolchain w/ wchar, threads, dynamic library" +comment "pulseaudio needs a toolchain w/ wchar, threads, dynamic library, gcc >= 4.8" depends on BR2_USE_MMU depends on BR2_TOOLCHAIN_HAS_SYNC_4 - depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS + depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS \ + || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8