{"id":18579,"url":"https://patchwork.libcamera.org/api/1.1/patches/18579/?format=json","web_url":"https://patchwork.libcamera.org/patch/18579/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/1.1/projects/1/?format=json","name":"libcamera","link_name":"libcamera","list_id":"libcamera_core","list_email":"libcamera-devel@lists.libcamera.org","web_url":"","scm_url":"","webscm_url":""},"msgid":"<20230501155507.116039-3-kieran.bingham@ideasonboard.com>","date":"2023-05-01T15:55:07","name":"[libcamera-devel,2/2] v4l2: Move the v4l2-compat to libcamera/","commit_ref":null,"pull_url":null,"state":"superseded","archived":false,"hash":"afba9c08fd522d0397ee036f9b8c049ed33467a2","submitter":{"id":4,"url":"https://patchwork.libcamera.org/api/1.1/people/4/?format=json","name":"Kieran Bingham","email":"kieran.bingham@ideasonboard.com"},"delegate":null,"mbox":"https://patchwork.libcamera.org/patch/18579/mbox/","series":[{"id":3857,"url":"https://patchwork.libcamera.org/api/1.1/series/3857/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=3857","date":"2023-05-01T15:55:05","name":"V4L2 Compatibility installation directory","version":1,"mbox":"https://patchwork.libcamera.org/series/3857/mbox/"}],"comments":"https://patchwork.libcamera.org/api/patches/18579/comments/","check":"pending","checks":"https://patchwork.libcamera.org/api/patches/18579/checks/","tags":{},"headers":{"Return-Path":"<libcamera-devel-bounces@lists.libcamera.org>","X-Original-To":"parsemail@patchwork.libcamera.org","Delivered-To":"parsemail@patchwork.libcamera.org","Received":["from lancelot.ideasonboard.com (lancelot.ideasonboard.com\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id 5BDD9BDCBD\n\tfor <parsemail@patchwork.libcamera.org>;\n\tMon,  1 May 2023 15:55:16 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id C9C88633BB;\n\tMon,  1 May 2023 17:55:14 +0200 (CEST)","from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[213.167.242.64])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id A0651633A8\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon,  1 May 2023 17:55:12 +0200 (CEST)","from Monstersaurus.local\n\t(aztw-30-b2-v4wan-166917-cust845.vm26.cable.virginm.net\n\t[82.37.23.78])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 2F0AAA1A;\n\tMon,  1 May 2023 17:55:11 +0200 (CEST)"],"DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1682956514;\n\tbh=SMLndzRoIbU1vl+54Oig7aRQT0Y1O+JSgFNI0tdtK3c=;\n\th=To:Date:In-Reply-To:References:Subject:List-Id:List-Unsubscribe:\n\tList-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:\n\tFrom;\n\tb=PE0wK9rNZp4QA+s3J5yZ20yzAU2i11ZVYwQ1BiQqoHqaJFTRhqBKi+dVjr2oRhoQ4\n\ttPEz97Bxl2TcXMJo9RadhNv0tWyBI/v1HA7b9Qo1nUWR/UVSE8Kz/DwWlFlf0HEkHg\n\t6W5meR+wF6n2Mf5tNmC5TtkHdwhdp96E50mAUad8kSIwslCr6rxjI4rsaWLbp8tIds\n\tCL0kwiJP5Gg9e7JO15n5prBZ8YVkqNHbhevbUSn3elPTbspx+29d+bx7YDP8RMQ3lx\n\tdIM9+c7kSzHc6GZOmeuTM0rF6i6hLo2CqmVF8nsPc5RhtElMusOQkdZKjKJWccLPS8\n\tawxrdO2ZA40Ig==","v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1682956511;\n\tbh=SMLndzRoIbU1vl+54Oig7aRQT0Y1O+JSgFNI0tdtK3c=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n\tb=ve1A+sW2JE5jhYMmOcwPtQ6ppj5CN8orQm4EK6F7RjVbLWUnRZnASxtsGkynw3DI3\n\ttXVoeJ9LIdKDVLPT9obhCnG2Yymz1cklvY25r6NP3XKdm5y1fNXPsq2/3gBwW4dSqR\n\truzZ8U3Rmoo4KV49TtRBGa8DVz9Vk+3coLdqppos="],"Authentication-Results":"lancelot.ideasonboard.com; dkim=pass (1024-bit key; \n\tunprotected) header.d=ideasonboard.com\n\theader.i=@ideasonboard.com\n\theader.b=\"ve1A+sW2\"; dkim-atps=neutral","To":"libcamera devel <libcamera-devel@lists.libcamera.org>","Date":"Mon,  1 May 2023 16:55:07 +0100","Message-Id":"<20230501155507.116039-3-kieran.bingham@ideasonboard.com>","X-Mailer":"git-send-email 2.34.1","In-Reply-To":"<20230501155507.116039-1-kieran.bingham@ideasonboard.com>","References":"<20230501155507.116039-1-kieran.bingham@ideasonboard.com>","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","Subject":"[libcamera-devel] [PATCH 2/2] v4l2: Move the v4l2-compat to\n\tlibcamera/","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"<libcamera-devel.lists.libcamera.org>","List-Unsubscribe":"<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>","List-Archive":"<https://lists.libcamera.org/pipermail/libcamera-devel/>","List-Post":"<mailto:libcamera-devel@lists.libcamera.org>","List-Help":"<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>","List-Subscribe":"<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>","From":"Kieran Bingham via libcamera-devel\n\t<libcamera-devel@lists.libcamera.org>","Reply-To":"Kieran Bingham <kieran.bingham@ideasonboard.com>","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"},"content":"Move the v4l2-compat.so shared library installation to the libcamera\nlibrary directory. This is the same location that IPA modules live and\nwill allow the 'generically sounding' v4l2-compat.so to be more clearly\nidentified as a libcamera compatibility layer.\n\nSigned-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>\n\n---\nWe could also rename this to libcamera-v4l2-compat.so, and/or we could\nalso re-consider whether the libcamera-hal.so file should also live\nunder the libcamera/ libdir by default.\n\n src/v4l2/meson.build | 3 ++-\n 1 file changed, 2 insertions(+), 1 deletion(-)","diff":"diff --git a/src/v4l2/meson.build b/src/v4l2/meson.build\nindex f132103cb503..114fddf7302a 100644\n--- a/src/v4l2/meson.build\n+++ b/src/v4l2/meson.build\n@@ -31,6 +31,7 @@ v4l2_compat = shared_library('v4l2-compat',\n                              v4l2_compat_sources,\n                              name_prefix : '',\n                              install : true,\n+                             install_dir : libcamera_libdir,\n                              dependencies : [libcamera_private, libdl],\n                              cpp_args : v4l2_compat_cpp_args)\n \n@@ -38,7 +39,7 @@ v4l2_compat = shared_library('v4l2-compat',\n # adaptation layer.\n \n cdata = configuration_data()\n-cdata.set('LIBCAMERA_V4L2_SO', get_option('prefix') / get_option('libdir') / 'v4l2-compat.so')\n+cdata.set('LIBCAMERA_V4L2_SO', get_option('prefix') / libcamera_libdir / 'v4l2-compat.so')\n \n configure_file(input : 'libcamerify.in',\n                output : 'libcamerify',\n","prefixes":["libcamera-devel","2/2"]}