From patchwork Wed Jun 5 11:09:01 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sebastian Wick X-Patchwork-Id: 102203 X-Patchwork-Delegate: hverkuil@xs4all.nl Received: from ny.mirrors.kernel.org ([147.75.199.223]) by linuxtv.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1sEoWC-000269-0p for patchwork@linuxtv.org; Wed, 05 Jun 2024 11:09:24 +0000 Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 102721C21B32 for ; Wed, 5 Jun 2024 11:09:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 065601922F3; Wed, 5 Jun 2024 11:09:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="ffAS1vBu" X-Original-To: linux-media@vger.kernel.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 388B71946D3 for ; Wed, 5 Jun 2024 11:09:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717585756; cv=none; b=mHP3+nBKndVN154e+1iyc7zK9n0faefB736OzQ+wQ4y0yUC5yAufWkDwUmBDoSuabcqI1bN97L8pMo1z2aq0C5XsCbsToyKoFCNRnolj/fmpDLYzVfVwEMrA1E6RVf4zFKVV3wVK1VJYLCj6rOz6X0wn0YIH8iWjFtEO+ffkXdE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717585756; c=relaxed/simple; bh=8Xx1ouwwexCtSNH14UOczjxunvtAa6ek+PdnfDHEF/o=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=f4FGU8ICLFruN/jfMtbjT73qQt/lMz6qJdo1TxAtC5ik+Y5z1YXQ1U8OodG3wYhWXyC+3j17KcmkWGChnSU4Mbo0AUx5r6Q6m+tb9yxtHbZtfAy5AOSALlYhKYfwpHvQYxDESduiYVnJKQaQpHQ4nztxkQqMITwK0se4M85da3E= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=ffAS1vBu; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1717585754; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=tncC1Ez6NP/HHqgcRSeNYywzHgA1laaS8gNo9KdTqbI=; b=ffAS1vBu5hYs3pR8XqtgAaDaNR0K5lcK7L82Gk4mUvZOwaGJlcUyhnzLO2GzO+sCNi5IZR vI5O5006SvqDxcUNcLAZFn2kNvs0qqwmSS8pFnEl0EYMzvoR0basouXpd80gjCWwdq4ajn BwZFAV2Ujtz9E6lo4EwUz3sv/anE/Wg= Received: from mail-qk1-f197.google.com (mail-qk1-f197.google.com [209.85.222.197]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-651-sKZnt866ND2m4CtqHN9HhA-1; Wed, 05 Jun 2024 07:09:12 -0400 X-MC-Unique: sKZnt866ND2m4CtqHN9HhA-1 Received: by mail-qk1-f197.google.com with SMTP id af79cd13be357-7951f93b044so100750385a.1 for ; Wed, 05 Jun 2024 04:09:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717585751; x=1718190551; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=tncC1Ez6NP/HHqgcRSeNYywzHgA1laaS8gNo9KdTqbI=; b=K6+wFx6BDMdzBUG16Kvs6LsiRVho6B35tJ5z1yPRC5/cvkq+7cpBDg9Y1FQTj6fCMn jPHeOO3iWCoRvcFT0f7klZKD3xFrTxa41FBxaZX0tqJHWj43loFm6akXvsZmLyX9EhNx mGddWCUN1dRRD+C2sks91NrmNJXqJD7i/5ErAXWT47qYpiyGoMd0Ei2JdqaYwkPiro+N KFxKnL72Fr+UE6abkQAgSc46aO/1TsGW14+e37u1EMeFtSHqniI8XCqEQwtRom1UDqtk IyeFUsHS/0QRRDALemnqv8Dd2nj1BYoaRmlaiywUbXgfOehv1aOagHwWqHRfyLGBitwm zWRw== X-Gm-Message-State: AOJu0Yy22uFtZ2WcG9ilPmFBrTL2WBGqzjj10aOO5IBtSMBIq0Ts07Dy WaMJRWoqlxsa1u2CSOv28naxEE+GXyy4CufmNBg65A6N22P7sDwUsYoogwsR1+Vu6qICH3C+xPN oGp6fj22/JL5TYrbratOilSg0eL6XDzYbOfUG9KptJ1puB0kvMvQ0tnZVShDR0g96SsnIlgIsYz B6Q0rWczKYo97RJEQxCKio2DRXZKQjiYlZghMTEg+XuieU5zahaO8gtLc= X-Received: by 2002:a05:6214:3da1:b0:6ad:9cc3:4e0a with SMTP id 6a1803df08f44-6b030a86602mr22245826d6.58.1717585750907; Wed, 05 Jun 2024 04:09:10 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEeUoMOpT6N8jHTEiIoA//pq3/H+gTrcVWJpuhNcN7bglDP9qYU60nE4P/hUHBHlVwZ55aOKQ== X-Received: by 2002:a05:6214:3da1:b0:6ad:9cc3:4e0a with SMTP id 6a1803df08f44-6b030a86602mr22245676d6.58.1717585750445; Wed, 05 Jun 2024 04:09:10 -0700 (PDT) Received: from toolbox.redhat.com ([2001:9e8:89ab:ee00:9c20:c1a3:e856:8e0e]) by smtp.gmail.com with ESMTPSA id d75a77b69052e-44004d1d721sm41751251cf.76.2024.06.05.04.09.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jun 2024 04:09:10 -0700 (PDT) From: Sebastian Wick To: linux-media@vger.kernel.org Cc: Hans Verkuil Subject: [PATCH 1/3] edid-decode: build: compile with -Wno-variadic-macros Date: Wed, 5 Jun 2024 13:09:01 +0200 Message-ID: <20240605110907.621053-1-sebastian.wick@redhat.com> X-Mailer: git-send-email 2.45.0 Precedence: bulk X-Mailing-List: linux-media@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-LSpam-Score: -3.6 (---) X-LSpam-Report: No, score=-3.6 required=5.0 tests=ARC_SIGNED=0.001,ARC_VALID=-0.1,BAYES_00=-1.9,DKIMWL_WL_HIGH=-1,DKIM_SIGNED=0.1,DKIM_VALID=-0.1,DKIM_VALID_AU=-0.1,DMARC_PASS=-0.001,HEADER_FROM_DIFFERENT_DOMAINS=0.5,MAILING_LIST_MULTI=-1,SPF_HELO_NONE=0.001,SPF_PASS=-0.001 autolearn=ham autolearn_force=no Signed-off-by: Sebastian Wick --- meson.build | 1 + 1 file changed, 1 insertion(+) diff --git ./meson.build ../meson.build index ca57652..80f810f 100644 --- ./meson.build +++ ../meson.build @@ -7,6 +7,7 @@ edid_decode_args = [ '-Wno-missing-field-initializers', '-Wno-unused-parameter', '-Wimplicit-fallthrough', + '-Wno-variadic-macros', ] edid_decode_link_args = [] From patchwork Wed Jun 5 11:09:02 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sebastian Wick X-Patchwork-Id: 102205 X-Patchwork-Delegate: hverkuil@xs4all.nl Received: from sv.mirrors.kernel.org ([139.178.88.99]) by linuxtv.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1sEoWL-00026v-12 for patchwork@linuxtv.org; Wed, 05 Jun 2024 11:09:33 +0000 Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id CF9EA282B19 for ; Wed, 5 Jun 2024 11:09:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 14CB9192B78; Wed, 5 Jun 2024 11:09:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="BfwyfXZ7" X-Original-To: linux-media@vger.kernel.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5CC1A19149B for ; Wed, 5 Jun 2024 11:09:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717585757; cv=none; b=eoGnwbXQLyZNgthj9C3iw0R+4KOaQrKkIYZo/IU3Ejz+1bguw16jbE6VfbfkgenCeoFoVNPFeWVVY2liLkfI61pJ/aGd/2CUAbDsoVvNejfH3mVJ64SUSC7za+BmB8EfiYo6ZEqlAwNlIrfm5vP42sxfceh9abrjo5c358ekEss= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717585757; c=relaxed/simple; bh=NfhTMeeFZ0gdnrW8NaC8fVPJp5q34DVNef9uCbb6ZUE=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=RLpZhJs9c+kLYqNl3lO+7ZhkQU2PGA9vCcmC6oWK9gTBMZMXRk3Bqs4TIsCJ1akrCxTLqtQtmJ8/LCtGNUgX5zEABqYepPNSi8rkB/+dxK15zqFO5x39sCKDrtjeC1TmXInBZNXc+RQ4Li2EJg2AGLCgmPD4qdMpGI9YgF2Pcaw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=BfwyfXZ7; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1717585755; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=mfaWYxcmiaPvF0UmOwWEXRvpz9w/dNWmHf2Berf4sEE=; b=BfwyfXZ7Vlo7phwPL9+K2HDn+ObOhR9nsbbCFMpCAlR+Am2Tiwbc+y/2o09FDoibfMPdLH QQICz5HT1xIbIXryBAAZmjFRMs53pfKOC4UN3A2+ekgKIKoOgXuNU4nQT7KBXVfMN5Vqln NEmK4w1+JPrOAuiIb3oAJ793V7yxdps= Received: from mail-qt1-f198.google.com (mail-qt1-f198.google.com [209.85.160.198]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-663-GEg4YfAyP4uZfIr0GbYYBw-1; Wed, 05 Jun 2024 07:09:14 -0400 X-MC-Unique: GEg4YfAyP4uZfIr0GbYYBw-1 Received: by mail-qt1-f198.google.com with SMTP id d75a77b69052e-44029d337c6so11415841cf.3 for ; Wed, 05 Jun 2024 04:09:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717585753; x=1718190553; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=mfaWYxcmiaPvF0UmOwWEXRvpz9w/dNWmHf2Berf4sEE=; b=Z0/5QBHU8+z++MBvC5osJjAE1BB7DH62p5sk2nxH9dSekYUWSQFUCS0BxPHydrNIh4 7P0NzCN5k9SWiceTCPk2jsZT48V9+hVaiiH7PekuxxX9zqntU2GgKWVMWq229n7HzGF6 DcYyuAhsvF6RQYdtBFJfRh7wNfZAG/KT1N4ueSc41FCu44pShJXCuYmcbODTaqM5i6V5 1VPrk06amjG3twDnCXocCBXseCE2vlg6sf8P12LkwxPBhoEDL1AvV5warXagI/qU8wXZ 5BbEekOXLSMgOemfBmtjGHyHOwRAdKVgzYPwNGtxuI1hxGJxgpMSTIU+PbjPiL918nn6 OkXg== X-Gm-Message-State: AOJu0Yxy1XlYELVyUui8BsdS3RLgPIElut8jNV3xPp9tYV9t56fKuYKv MgK8oJmM5KsPuLT2gHPoJVdK07dIBzgnW2mkbKZHyOvYfzea8esBPZaMwegWR7Tu3Ytg/GkC9lc rcIH4RMVCYwT/L97srCff1a9CpL5VLJIBARbw8o/+zG8qcmnvrr38ftcMaL5u3+3xsxBFgGxzVS m0R5EaQXaoSxYyjKjU4a62JoiZlyyn7IEt4O+GSvDQOj0Ffu/7GwwNYFE= X-Received: by 2002:ac8:5a86:0:b0:440:287b:3479 with SMTP id d75a77b69052e-4402b57eccamr26780731cf.14.1717585752797; Wed, 05 Jun 2024 04:09:12 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEaf+a29T7/X8vZO9pY//Ui1jK3hJqHedOajgnXJR9AeLGRiV9HpcseLKJ+CvCi09tfOVqLzQ== X-Received: by 2002:ac8:5a86:0:b0:440:287b:3479 with SMTP id d75a77b69052e-4402b57eccamr26780411cf.14.1717585752227; Wed, 05 Jun 2024 04:09:12 -0700 (PDT) Received: from toolbox.redhat.com ([2001:9e8:89ab:ee00:9c20:c1a3:e856:8e0e]) by smtp.gmail.com with ESMTPSA id d75a77b69052e-44004d1d721sm41751251cf.76.2024.06.05.04.09.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jun 2024 04:09:11 -0700 (PDT) From: Sebastian Wick To: linux-media@vger.kernel.org Cc: Hans Verkuil Subject: [PATCH 2/3] edid-decode: build: Move sources to its own variable and fix formatting Date: Wed, 5 Jun 2024 13:09:02 +0200 Message-ID: <20240605110907.621053-2-sebastian.wick@redhat.com> X-Mailer: git-send-email 2.45.0 In-Reply-To: <20240605110907.621053-1-sebastian.wick@redhat.com> References: <20240605110907.621053-1-sebastian.wick@redhat.com> Precedence: bulk X-Mailing-List: linux-media@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-LSpam-Score: -4.4 (----) X-LSpam-Report: No, score=-4.4 required=5.0 tests=ARC_SIGNED=0.001,ARC_VALID=-0.1,BAYES_00=-1.9,DKIMWL_WL_HIGH=-1,DKIM_SIGNED=0.1,DKIM_VALID=-0.1,DKIM_VALID_AU=-0.1,DMARC_PASS=-0.001,HEADER_FROM_DIFFERENT_DOMAINS=0.5,MAILING_LIST_MULTI=-1,RCVD_IN_DNSWL_MED=-2.3,RCVD_IN_SORBS_WEB=1.5,SPF_HELO_NONE=0.001,SPF_PASS=-0.001 autolearn=ham autolearn_force=no Signed-off-by: Sebastian Wick --- meson.build | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git ./meson.build ../meson.build index 80f810f..e61d544 100644 --- ./meson.build +++ ../meson.build @@ -47,8 +47,7 @@ if target_machine.system() == 'emscripten' endforeach endif -edid_decode = executable( - 'edid-decode', +edid_decode_sources = [ 'calc-gtf-cvt.cpp', 'calc-ovt.cpp', 'edid-decode.cpp', @@ -58,9 +57,14 @@ edid_decode = executable( 'parse-displayid-block.cpp', 'parse-ls-ext-block.cpp', 'parse-vtb-ext-block.cpp', - cpp_args : edid_decode_args, +] + +edid_decode = executable( + 'edid-decode', + sources: edid_decode_sources, + cpp_args: edid_decode_args, link_args: edid_decode_link_args, - install : true, + install: true, ) install_man('edid-decode.1') \ No newline at end of file From patchwork Wed Jun 5 11:09:03 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sebastian Wick X-Patchwork-Id: 102206 X-Patchwork-Delegate: hverkuil@xs4all.nl Received: from am.mirrors.kernel.org ([147.75.80.249]) by linuxtv.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1sEoWc-000286-0l for patchwork@linuxtv.org; Wed, 05 Jun 2024 11:09:50 +0000 Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id D2CD41F228EB for ; Wed, 5 Jun 2024 11:09:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 17DE4192B92; Wed, 5 Jun 2024 11:09:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="F2joNWnH" X-Original-To: linux-media@vger.kernel.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3E0A7192B7E for ; Wed, 5 Jun 2024 11:09:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717585759; cv=none; b=mouX7iKycD6vrSRexqV5k9MH7O9jHHkgPxJ9UI8tif7kYlpsYXgxZ96JzmT9UDgdqX21v9LqcAP2nsT6fkEawkv+FIRZYXPEfO762pXD44/j7qGa/BPA4AP5LVOrPlbzdZGLiVC1ufWruuRq12wNJaTt9OuZXfbKZpjD8WHfhyU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717585759; c=relaxed/simple; bh=iImGoKeFjJfWzgVTBUsLo958ohMslXbCGsb7K9S05tU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=Pkfi8Ddn9RuNlyOh0+FDfMRmR5R2qS8g9vIB8jm+mvSoF9GHZKO231uRvY9Tqyj5a0GeI9nID3MPKaoXEVYGbhs6RtQzR0RkrHhcTenXoS5u+aF3zbGXXHkLRJOKlJUa5XB+3SI7IuxuQ/x3IYq/Lbw+qto9lDLQ92nNWzyfffQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=F2joNWnH; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1717585757; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=lV7Ow1TdzpOe7xTt5RFUvyWpCObgZAo3DQb2a1qFqI8=; b=F2joNWnHoIsDd2jQqgO7SUv6qdEJ1CAel3VCUBPire3FxRBImeU822rKig/x50OIPcpJ2q bp37mP5Zsf6rDRNi1rvj3myDsxYohbN3ggbVpQXxW5AxmUXT9SgWibKonhqenVmX9yIhSe z1keORqSddo9bLJdzIeiE43oP0yKBLs= Received: from mail-qt1-f199.google.com (mail-qt1-f199.google.com [209.85.160.199]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-558-1GIAo8BHMJiuW_zTny7Xtg-1; Wed, 05 Jun 2024 07:09:16 -0400 X-MC-Unique: 1GIAo8BHMJiuW_zTny7Xtg-1 Received: by mail-qt1-f199.google.com with SMTP id d75a77b69052e-43fb0a1c81eso60848221cf.3 for ; Wed, 05 Jun 2024 04:09:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717585755; x=1718190555; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=lV7Ow1TdzpOe7xTt5RFUvyWpCObgZAo3DQb2a1qFqI8=; b=FKE3Q4H5enmnsVc7tSWpkxmkNwdmNZcKjGLDv2qazQuFkGNwJmm8wIsmvGOEr9QTur LVGIef6b6IqFCtQ07iscuT8ZAruiSM0oheq76l4y2MYYEfAZZK+BxyAh4Vc18FfY0cFj dp9e27paI1xqOC7ofXCdPRqQm19Cg2AIWMxklCFoylyLsVqlzMg1JDroVwNCcDYLKzw4 pO9vjPlZBlhlx5Z+eI7+frib4FGgN3NDprFUUx0plBeLS+tx8rKTohtRKQ2KwFV5ItzX p3wu0MLxxYJag9SnDg+VoP/O5SW7iwRKJFQtp03PAI4UJO6k6LUhEQKw5doAUKUoJ2V9 ywnA== X-Gm-Message-State: AOJu0YxU437MOoWlRYbvbW0ALIkEca3kOaa60JjsbFh8X7BeBmFOdOna 4Y6BIKe14VzpT9uun0lyDaKQbO8Mcdh/77BEnFjJNLTnmMOkanj1ya1Hok2B+Di0iQrk7hy77fT 2f4+yahqys9E21u4xu6xIsVYY6UvMKl9K9iUOkQyjF7m2Yo5OvVoL99vcjW4d4UZP2HCkTZIO99 fCj3y0OGNK4SiH5Eg3pQfOC8xg+gdeqgkjcWyVL/O0r3Nh6TcKoL/BaNc= X-Received: by 2002:ac8:5e08:0:b0:43f:f10b:6cd3 with SMTP id d75a77b69052e-4402b64b6d5mr22626941cf.28.1717585754628; Wed, 05 Jun 2024 04:09:14 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH7Q7xKgVqeuPf96tBjlyMU0OsJQfSTbXTV/ekhJXqoxrRkBhf01TQK5XzFSIIIH58+lRBZ2w== X-Received: by 2002:ac8:5e08:0:b0:43f:f10b:6cd3 with SMTP id d75a77b69052e-4402b64b6d5mr22626721cf.28.1717585754211; Wed, 05 Jun 2024 04:09:14 -0700 (PDT) Received: from toolbox.redhat.com ([2001:9e8:89ab:ee00:9c20:c1a3:e856:8e0e]) by smtp.gmail.com with ESMTPSA id d75a77b69052e-44004d1d721sm41751251cf.76.2024.06.05.04.09.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jun 2024 04:09:13 -0700 (PDT) From: Sebastian Wick To: linux-media@vger.kernel.org Cc: Hans Verkuil Subject: [PATCH 3/3] edid-decode: build: Use override_find_program to help subproject usage Date: Wed, 5 Jun 2024 13:09:03 +0200 Message-ID: <20240605110907.621053-3-sebastian.wick@redhat.com> X-Mailer: git-send-email 2.45.0 In-Reply-To: <20240605110907.621053-1-sebastian.wick@redhat.com> References: <20240605110907.621053-1-sebastian.wick@redhat.com> Precedence: bulk X-Mailing-List: linux-media@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-LSpam-Score: -3.6 (---) X-LSpam-Report: No, score=-3.6 required=5.0 tests=ARC_SIGNED=0.001,ARC_VALID=-0.1,BAYES_00=-1.9,DKIMWL_WL_HIGH=-1,DKIM_SIGNED=0.1,DKIM_VALID=-0.1,DKIM_VALID_AU=-0.1,DMARC_PASS=-0.001,HEADER_FROM_DIFFERENT_DOMAINS=0.5,MAILING_LIST_MULTI=-1,SPF_HELO_NONE=0.001,SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no This makes the following possible when edid-decode is a subproject: subproject('edid-decode') edid_decode = find_program('edid-decode') Signed-off-by: Sebastian Wick --- meson.build | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git ./meson.build ../meson.build index e61d544..a3f4512 100644 --- ./meson.build +++ ../meson.build @@ -67,4 +67,9 @@ edid_decode = executable( install: true, ) -install_man('edid-decode.1') \ No newline at end of file +meson.override_find_program( + 'edid-decode', + edid_decode, +) + +install_man('edid-decode.1')