From patchwork Wed May 3 10:01:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kieran Bingham X-Patchwork-Id: 18584 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id 3A89EBD16B for ; Wed, 3 May 2023 10:01:47 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id E566B627DE; Wed, 3 May 2023 12:01:46 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1683108106; bh=619dEyBJOtiFin1ysZvqwOQuc/4vV7fs7WvPutcuKWA=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc:From; b=rUs1xDtXcqiw5rRPz04p5Ol+jyZb7hvbaycwM6zpFT7b9ZHDCSsabNIrHs7N51pqi vwmdprIIxMunrDqyg+kx4cxnY7sIWT5oeQTFnm1pJIEcp/4ymUIIwZdIPnAtV5RmbD HjSqmmRQgfMbQF6plEXZA1V/pFsyCCGYLgsDWSvkmpCF2R6ch3ZwfZw+7qsLUSeF15 9pHh5ze3QdgMsAX3TJxcEyVolL3N6mmfZT7OlEzo+P6mwsamTqnHXRjR7oz2R9yU02 OtkEMIV2HV697ofbxseI78Ge7zfexaCd0pgkFNrS/RDJVCwaOCQc6X4kJ0Bx0p3zSl dlT4RxzubCyqA== Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 68B1661EAF for ; Wed, 3 May 2023 12:01:45 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="hrru5A0A"; dkim-atps=neutral Received: from Monstersaurus.local (aztw-30-b2-v4wan-166917-cust845.vm26.cable.virginm.net [82.37.23.78]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 9A43EBC; Wed, 3 May 2023 12:01:42 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1683108102; bh=619dEyBJOtiFin1ysZvqwOQuc/4vV7fs7WvPutcuKWA=; h=From:To:Cc:Subject:Date:From; b=hrru5A0AZH3nbafBhhejqFW6CCZF2ZKmDOhwV+HTQ7/MegbdKH3E/jtYnCFPLDHi+ cRg9iDZYQewUsvy8UviHfDLqHt585ojcdm9Hm0iy2WfPwrCJXjYccROairYPQFOk/3 Gknxaq4MVg7bEJyJLB8JPM58r2qwZz2NldVonQug= To: libcamera devel Date: Wed, 3 May 2023 11:01:40 +0100 Message-Id: <20230503100140.1570024-1-kieran.bingham@ideasonboard.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH] v4l2: Add soversion to the V4L2 layer X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Kieran Bingham via libcamera-devel From: Kieran Bingham Reply-To: Kieran Bingham Cc: Javier Martinez Canillas Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" There may be parallel installations of libcamera with separate instances of the v4l2-adaptation layer shared object. This shared library can be linked against a specific libcamera soversion so provide a soversioned V4L2 compatibility layer. Suggested-by: Javier Martinez Canillas Signed-off-by: Kieran Bingham Reviewed-by: Javier Martinez Canillas --- src/v4l2/meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/src/v4l2/meson.build b/src/v4l2/meson.build index f132103cb503..48f201c5c3a0 100644 --- a/src/v4l2/meson.build +++ b/src/v4l2/meson.build @@ -30,6 +30,7 @@ v4l2_compat_cpp_args = [ v4l2_compat = shared_library('v4l2-compat', v4l2_compat_sources, name_prefix : '', + soversion : libcamera_soversion, install : true, dependencies : [libcamera_private, libdl], cpp_args : v4l2_compat_cpp_args)