From patchwork Mon May 1 15:55:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kieran Bingham X-Patchwork-Id: 18577 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 7FE7ABDCBD for ; Mon, 1 May 2023 15:55:14 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id D4E9A633B8; Mon, 1 May 2023 17:55:13 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1682956513; bh=XcRFbU0mK/PfrvADU5uuWawg2PK+bY5+H1Q5lUc6PnE=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=rP792RoFqt5lq4E28O5jLNsSQ1Bdse1iZSgbqbwPTT9vNQKj+0vzhHJ+CajOXCPNw BsyfE5HoUvArKudgjsw5UD6THoFY1eThq9ThEXBQhNn7BUdCo+7KjmGFa2+leVAWBX g765MgAhbDHlxwwPKZ7RmgmPbwJu6idP1IHPIksI9F+yAgLzyymY0C4gLoM1C2/zW5 va9rGLxq1Nkqs48OUV6T1ZXlh+nBsC7G7THQCQmGEcFNi9LB95Fy/J8SUrFdNNbvNX ivc/6SeEvmb2boc5kfdThq1nzg3XdR5cFNkbacRzSoqBuq3WsNrED7w2XgrsymMBAS vBnNZVt/MR/lg== Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 36AAD633A8 for ; Mon, 1 May 2023 17:55:12 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="hxgBP4xZ"; 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 883386B8; Mon, 1 May 2023 17:55:10 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1682956510; bh=XcRFbU0mK/PfrvADU5uuWawg2PK+bY5+H1Q5lUc6PnE=; h=From:To:Cc:Subject:Date:From; b=hxgBP4xZAUY85fqLJKS1PHFW4AyS4olmOBOsmoHENY0/v1f7UtzRV04OwkbpqRQkT aedGjIbeKfDnjUBdMGwSVCrQK/qBDIC4N6NYIqiPjkNwXP40YcVBm8D2NtWzhIOGkG pxLEzekdZ3KxIkIiqQawfTPhScyp9WnwbJbN3BUk= To: libcamera devel Date: Mon, 1 May 2023 16:55:05 +0100 Message-Id: <20230501155507.116039-1-kieran.bingham@ideasonboard.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH 0/2] V4L2 Compatibility installation directory 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 Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" We currently install the v4l2-compat.so to the same location as libcamera.so. With this name, a generic library directory might not be very clear that this is the libcamera compatibility library. First fixt he ipa manager to prevent loading non-ipa modules that happen to be under $libdir/libcamera and then move the v4l2-compat.so to that location. Note that the android libcamera-hal.so could also now move here, and/or the v4l2-compat.so could have the 'libcamera' name directly in the .so Kieran Bingham (2): libcamera: ipa_manager: Only parse IPA modules v4l2: Move the v4l2-compat to libcamera/ src/libcamera/ipa_manager.cpp | 4 ++++ src/v4l2/meson.build | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-)