{"id":2100,"url":"https://patchwork.libcamera.org/api/1.1/patches/2100/?format=json","web_url":"https://patchwork.libcamera.org/patch/2100/","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":"<20191004163734.15594-5-jacopo@jmondi.org>","date":"2019-10-04T16:37:32","name":"[libcamera-devel,v2,4/6] ipa: meson: Allow IPAs to include internal headers","commit_ref":null,"pull_url":null,"state":"superseded","archived":false,"hash":"793436f148b6943a792f0c659d9ed4a2c5e44808","submitter":{"id":3,"url":"https://patchwork.libcamera.org/api/1.1/people/3/?format=json","name":"Jacopo Mondi","email":"jacopo@jmondi.org"},"delegate":null,"mbox":"https://patchwork.libcamera.org/patch/2100/mbox/","series":[{"id":519,"url":"https://patchwork.libcamera.org/api/1.1/series/519/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=519","date":"2019-10-04T16:37:28","name":"test: Add IPA interface test support","version":2,"mbox":"https://patchwork.libcamera.org/series/519/mbox/"}],"comments":"https://patchwork.libcamera.org/api/patches/2100/comments/","check":"pending","checks":"https://patchwork.libcamera.org/api/patches/2100/checks/","tags":{},"headers":{"Return-Path":"<jacopo@jmondi.org>","Received":["from relay12.mail.gandi.net (relay12.mail.gandi.net\n\t[217.70.178.232])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 047996186F\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri,  4 Oct 2019 18:36:01 +0200 (CEST)","from uno.localdomain (2-224-242-101.ip172.fastwebnet.it\n\t[2.224.242.101]) (Authenticated sender: jacopo@jmondi.org)\n\tby relay12.mail.gandi.net (Postfix) with ESMTPSA id 8DED020000A;\n\tFri,  4 Oct 2019 16:36:00 +0000 (UTC)"],"From":"Jacopo Mondi <jacopo@jmondi.org>","To":"libcamera-devel@lists.libcamera.org","Date":"Fri,  4 Oct 2019 18:37:32 +0200","Message-Id":"<20191004163734.15594-5-jacopo@jmondi.org>","X-Mailer":"git-send-email 2.23.0","In-Reply-To":"<20191004163734.15594-1-jacopo@jmondi.org>","References":"<20191004163734.15594-1-jacopo@jmondi.org>","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","Subject":"[libcamera-devel] [PATCH v2 4/6] ipa: meson: Allow IPAs to include\n\tinternal headers","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>","X-List-Received-Date":"Fri, 04 Oct 2019 16:36:01 -0000"},"content":"Extend the list of inclusion paths for the IPA modules in src/ipa/ to\ninclude internal libcamera headers.\n\nOnly Open Source IPA implementations will live in src/ipa/ and they link\nagainst libcamera, so they should be able to include internal headers as\nwell as public ones.\n\nSigned-off-by: Jacopo Mondi <jacopo@jmondi.org>\n---\n src/ipa/meson.build | 7 ++++++-\n 1 file changed, 6 insertions(+), 1 deletion(-)","diff":"diff --git a/src/ipa/meson.build b/src/ipa/meson.build\nindex b5bcd7b2c3db..2827dc0303b2 100644\n--- a/src/ipa/meson.build\n+++ b/src/ipa/meson.build\n@@ -5,10 +5,15 @@ ipa_vimc_sources = [\n \n ipa_install_dir = join_paths(get_option('libdir'), 'libcamera')\n \n+ipa_includes = [\n+    libcamera_includes,\n+    libcamera_internal_includes,\n+]\n+\n foreach t : ipa_vimc_sources\n     ipa = shared_module(t[0], 'ipa_vimc.cpp',\n                         name_prefix : '',\n-                        include_directories : libcamera_includes,\n+                        include_directories : ipa_includes,\n                         install : true,\n                         install_dir : ipa_install_dir,\n                         cpp_args : '-DLICENSE=\"' + t[1] + '\"')\n","prefixes":["libcamera-devel","v2","4/6"]}