From patchwork Fri Jul 28 14:28:25 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?Q2zDqW1lbnQgQsWTc2No?= X-Patchwork-Id: 4496 Delivered-To: ffmpegpatchwork@gmail.com Received: by 10.103.1.76 with SMTP id 73csp429875vsb; Fri, 28 Jul 2017 07:28:38 -0700 (PDT) X-Received: by 10.28.37.193 with SMTP id l184mr6373837wml.24.1501252118229; Fri, 28 Jul 2017 07:28:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1501252118; cv=none; d=google.com; s=arc-20160816; b=eiCrqNNG7Pm4Wq4IDE1Upp9GBUkkU6EIzxmyndlD5RKAuoyKlow2QxjVb/MFY0mhiv 2zvTYZdZmEsMs40uhNmyhZ7aLRmREZkLbpqTmiJk2elFvjFp+HgQfuR19JTdeILIiTS4 PdWbDUm+gl+Auqiq/eDvQAz8S+L6t2zplWKcrcEI04CMmP/6ojvOBpuDjAq8DB4DQ4Qu EmmScKk89OkHR7Zrrr0Noeulg6M6oC6j8n1/bD54aC76O94HGPUfgXrpXdCqRNLquJHt 29DVi6BOABt0cYYA42Z7KXr99W00f8hSUb2No4U1N0LRKWnp6CjCNErGEMQsqROGGSv7 yh5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:reply-to:list-subscribe:list-help:list-post :list-archive:list-unsubscribe:list-id:precedence:subject:user-agent :in-reply-to:mime-version:references:mail-followup-to:message-id:to :from:date:domainkey-signature:dkim-signature:delivered-to :arc-authentication-results; bh=SdlJGVtGXiZjd0dgRWTe/T0Ptsi4HmOv5HB3F3AdI68=; b=MbFOOeS3UwPyhAySWarpvJebXyUHnVqFK9MBoRkda1LfRtU1w7ymBEjdoDsnOp//si u5oCiXl0Z7ZXrp/Rl4TFbnI03rTU7aYFFHsB+2G9TDTlRK52LMWP9Ryp2nbvf3DV+Ti9 qicz1B5sysXENjW+3AWFhyi8kMEPZ+A4Hi7n8syeQvO2J4wTXmmo1VaU1/K6kbHIJm7L n7l/Uhw0MIt/09GHPAuRuAH1BBUZ1WkvUN6AJykQZUXoCSm0EyBmAXfogbpU6K8EAojg lQfiqdb7D/koA35zNQEWoVJ3+Pec3YNhairVt1qOPf/ZoIT3DsH1A8+z+y2AFYWlyift 515A== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@pkh.me header.b=H3hz1LjV; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id n128si3554398wmn.122.2017.07.28.07.28.36; Fri, 28 Jul 2017 07:28:38 -0700 (PDT) Received-SPF: pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) client-ip=79.124.17.100; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@pkh.me header.b=H3hz1LjV; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id B90F9689B64; Fri, 28 Jul 2017 17:28:32 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from golem.pkh.me (LStLambert-657-1-117-164.w92-154.abo.wanadoo.fr [92.154.28.164]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id E70A1689AA2 for ; Fri, 28 Jul 2017 17:28:25 +0300 (EEST) Received: from golem.pkh.me (localhost.localdomain [127.0.0.1]) by golem.pkh.me (OpenSMTPD) with ESMTP id e772f2d4 for ; Fri, 28 Jul 2017 14:28:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pkh.me; h=date:from:to :subject:message-id:references:mime-version:content-type :in-reply-to; s=selector1; bh=zakNINoQyrWawRXgQk7qkT23FNA=; b=H3 hz1LjVeTDJAmZ58ytRGYudIOvq67uFhcPKPdXxlgS6/WAK71SVUvaMs4iJUs+DSs qknVq+JFkYCNeOLSMyBSRdnaIsM1Ubec0X1YgbhKw+RKBvRUXWh3/mKMPNbHWo9l 2pPchhqqu9EYfzlQvcrWTYZc4WksAYqAhx5nbVr3gzp5rYQwxL/1Cp/1Yun20er6 4zhEcFwCcP2zKrq4wep9atRTHiy3Shf/3RV6fGgC4HZ4+rt3KtFNH+QCBAXVk7xa Ses4aky3xUGhYdgW1uP72KM0Xze7siHjmxktIuMDSUu4MlXvsC3KrGmlL+1SyAdg pm3VN5tK+e12DPr5gkgg== DomainKey-Signature: a=rsa-sha1; c=nofws; d=pkh.me; h=date:from:to :subject:message-id:references:mime-version:content-type :in-reply-to; q=dns; s=selector1; b=f2KkffKE1C/VDWHdLNs+CqQeosPC fPpKFpLkyYP3LPqBOhigQSGtJqHQzeW36wExvtQBVmnuwh8aKkucC20rwx94yaCm z15hHJvvdOGt8ppPFklSyPlSKQp92lJlfDPYgGyU+BBfeUiv7D0VFR1HAYJNlnUV vTWqfiYf5DT8sZ6tF5Q8h1stT2KjCz8Mk9RXPdWQEw0xguef3KpBOKvnNJNt63o/ zlYUzYHjvKyK4HQFVLk0Xn6k0LJkdqoM2F2Odwnyend9ceO1VOOickrJCibdPsRK aWzNMjmJ8mnidNJPZlS/Jmbf1OaOteDGnNnF/66S+gm/SK1P2y+dW44pqQ== Received: from golem.pkh.me (localhost.localdomain [127.0.0.1]) by golem.pkh.me (OpenSMTPD) with ESMTPSA id 84dacc72 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for ; Fri, 28 Jul 2017 14:28:26 +0000 (UTC) Date: Fri, 28 Jul 2017 16:28:25 +0200 From: =?utf-8?B?Q2zDqW1lbnQgQsWTc2No?= To: ffmpeg-devel@ffmpeg.org Message-ID: <20170728142825.GB22239@golem.pkh.me> Mail-Followup-To: ffmpeg-devel@ffmpeg.org References: <20170728115145.23169-1-u@pkh.me> <20170728115145.23169-9-u@pkh.me> MIME-Version: 1.0 In-Reply-To: <20170728115145.23169-9-u@pkh.me> User-Agent: Mutt/1.8.3 (2017-05-23) Subject: Re: [FFmpeg-devel] [PATCH 8/8 v2] build: add --disable-autodetect switch X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" On Fri, Jul 28, 2017 at 01:51:45PM +0200, Clément Bœsch wrote: > From: Clément Bœsch > > --- > Changelog | 1 + > configure | 6 ++++-- > 2 files changed, 5 insertions(+), 2 deletions(-) > new version attached, fixing link problems. I still have some stuff I'd like to drop though: ☭ ldd ./ffmpeg linux-vdso.so.1 (0x00007ffce3bc9000) libjack.so.0 => /usr/lib/libjack.so.0 (0x00007f4f96965000) libasound.so.2 => /usr/lib/libasound.so.2 (0x00007f4f96655000) libm.so.6 => /usr/lib/libm.so.6 (0x00007f4f96343000) libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007f4f96125000) libc.so.6 => /usr/lib/libc.so.6 (0x00007f4f95d7f000) libdb-5.3.so => /usr/lib/libdb-5.3.so (0x00007f4f959c0000) libdl.so.2 => /usr/lib/libdl.so.2 (0x00007f4f957bc000) librt.so.1 => /usr/lib/librt.so.1 (0x00007f4f955b4000) /lib64/ld-linux-x86-64.so.2 (0x00007f4f96b86000) typically jack and asound. Maybe some others. From a6000be09142b1a086256dba93ecb17998099c7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20B=C5=93sch?= Date: Fri, 28 Jul 2017 13:44:07 +0200 Subject: [PATCH 8/8] build: add --disable-autodetect switch --- Changelog | 1 + configure | 12 ++++++++++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/Changelog b/Changelog index 187ae7950a..50409118e6 100644 --- a/Changelog +++ b/Changelog @@ -29,6 +29,7 @@ version : - limiter video filter - libvmaf video filter - Dolby E decoder and SMPTE 337M demuxer +- add --disable-autodetect build switch version 3.3: - CrystalHD decoder moved to new decode API diff --git a/configure b/configure index fa1b1d334a..4a4c36be34 100755 --- a/configure +++ b/configure @@ -109,6 +109,7 @@ Configuration options: --enable-gray enable full grayscale support (slower color) --disable-swscale-alpha disable alpha channel support in swscale --disable-all disable building components, libraries and programs + --disable-autodetect disable automatically detected external libraries [no] Program options: --disable-programs do not build command line programs @@ -1683,6 +1684,7 @@ CONFIG_LIST=" $LIBRARY_LIST $PROGRAM_LIST $SUBSYSTEM_LIST + autodetect fontconfig memory_poisoning neon_clobber_test @@ -3579,13 +3581,19 @@ for e in $env; do eval "export $e" done +if disabled autodetect; then + disable_weak $EXTERNAL_AUTODETECT_LIBRARY_LIST + disable_weak $HWACCEL_AUTODETECT_LIBRARY_LIST +fi # Mark specifically enabled, but normally autodetected libraries as requested. for lib in $AUTODETECT_LIBS; do enabled $lib && request $lib done #TODO: switch to $AUTODETECT_LIBS when $THREADS_LIST is supported the same way -enable_weak $EXTERNAL_AUTODETECT_LIBRARY_LIST -enable_weak $HWACCEL_AUTODETECT_LIBRARY_LIST +if ! disabled autodetect; then + enable_weak $EXTERNAL_AUTODETECT_LIBRARY_LIST + enable_weak $HWACCEL_AUTODETECT_LIBRARY_LIST +fi disabled logging && logfile=/dev/null -- 2.13.3