From patchwork Wed Jan 27 21:25:26 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Petazzoni X-Patchwork-Id: 574435 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id 51AE3140CB3 for ; Thu, 28 Jan 2016 08:28:51 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 982A79363A; Wed, 27 Jan 2016 21:28:50 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4LH1GI4d+1Mc; Wed, 27 Jan 2016 21:28:50 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 0C134938DC; Wed, 27 Jan 2016 21:28:50 +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 9AD101BF848 for ; Wed, 27 Jan 2016 21:28:46 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 9308933376 for ; Wed, 27 Jan 2016 21:28:46 +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 RvR4uYtmkAal for ; Wed, 27 Jan 2016 21:28:44 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail.free-electrons.com (down.free-electrons.com [37.187.137.238]) by silver.osuosl.org (Postfix) with ESMTP id 6A32B31F21 for ; Wed, 27 Jan 2016 21:28:44 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 110) id 90CF71DCE; Wed, 27 Jan 2016 22:28:43 +0100 (CET) Received: from localhost (AToulouse-657-1-1059-93.w83-193.abo.wanadoo.fr [83.193.173.93]) by mail.free-electrons.com (Postfix) with ESMTPSA id 52AA52160; Wed, 27 Jan 2016 22:25:35 +0100 (CET) From: Thomas Petazzoni To: buildroot@uclibc.org Date: Wed, 27 Jan 2016 22:25:26 +0100 Message-Id: <1453929930-18215-5-git-send-email-thomas.petazzoni@free-electrons.com> X-Mailer: git-send-email 2.6.4 In-Reply-To: <1453929930-18215-1-git-send-email-thomas.petazzoni@free-electrons.com> References: <1453929930-18215-1-git-send-email-thomas.petazzoni@free-electrons.com> Cc: Thomas Petazzoni Subject: [Buildroot] [PATCH v2 4/8] vlc: remove dependency on C library 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" vlc uses which was not available in old uClibc versions. However, since we are removing support for uClibc 0.9.33, we can get rid of such dependency. In addition, is provided by musl, and therefore VLC can be enabled with this C library. Consequently, this commit completely removes any C library dependency for the vlc package. The only special case that needs to be handled is the Blackfin external toolchain from Analog Devices, which still uses an old uClibc version that doesn't provide . Signed-off-by: Thomas Petazzoni Tested-by: Romain Naour Reviewed-by: Romain Naour --- package/vlc/Config.in | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/package/vlc/Config.in b/package/vlc/Config.in index 03e85c3..cad21e2 100644 --- a/package/vlc/Config.in +++ b/package/vlc/Config.in @@ -5,12 +5,12 @@ endif config BR2_PACKAGE_VLC bool "vlc" - depends on (BR2_UCLIBC_VERSION_SNAPSHOT || BR2_UCLIBC_VERSION_NG || BR2_TOOLCHAIN_USES_GLIBC) # spawn.h depends on BR2_INSTALL_LIBSTDCPP depends on !BR2_STATIC_LIBS depends on BR2_USE_WCHAR depends on BR2_TOOLCHAIN_HAS_THREADS depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7 + depends on !BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX select BR2_PACKAGE_LIBVORBIS if BR2_PACKAGE_OPUS select BR2_PACKAGE_VLC_OPENCV_BACKEND if BR2_PACKAGE_OPENCV select BR2_PACKAGE_VLC_OPENCV3_BACKEND if BR2_PACKAGE_OPENCV3 @@ -32,7 +32,7 @@ config BR2_PACKAGE_VLC_OPENCV3_BACKEND select BR2_PACKAGE_OPENCV3_LIB_IMGPROC select BR2_PACKAGE_OPENCV3_LIB_OBJDETECT -comment "vlc needs a uclibc snapshot, uclibc-ng or (e)glibc toolchain w/ C++, dynamic library, wchar, threads, headers >= 3.7" - depends on !(BR2_UCLIBC_VERSION_SNAPSHOT || BR2_UCLIBC_VERSION_NG || BR2_TOOLCHAIN_USES_GLIBC) \ - || !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS || !BR2_USE_WCHAR \ +comment "vlc needs a toolchain w/ C++, dynamic library, wchar, threads, headers >= 3.7" + depends on !BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX + depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS || !BR2_USE_WCHAR \ || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7