From patchwork Tue Jul 4 14:24:33 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kieran Bingham X-Patchwork-Id: 18778 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 CDA0FC3240 for ; Tue, 4 Jul 2023 14:24:43 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 13215628C2; Tue, 4 Jul 2023 16:24:42 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1688480682; bh=IOCD5at5KE0ydGLs8malvDjF3J5Qoq8u8JJmnuRtMQM=; h=To:Date:In-Reply-To:References:Subject:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=XVFTq+n+HiUzM2Ab6HTHSooHdS/uIliqz6+XwfVBhwNsOFkFR+g4KvLWCJowhlHbg pW2UPOjnh7JmNox+2/CMs1S5UnXLIrxTc8sL1OgjKeIxRpCL/jlUJJ5Hl6z/igjTIR O/tyo1UNHUD/lVFoFLG3cwnR+jER2S7xb3urp0bQLRYEBuLy5pYKd1YdgJpu+S5/i4 5tEpNQRWkTVnBrKpb4SzzlyFRYFkQkBMX9Vp07Ydg4Aqf7O48GxRh+mSoYTzi0a2TA vRR/DmJou3Ym8+0VWoJst0wd58gotbdRnUqeL8fFh3hsiE4Jbx3Kd7OyV1lM/EER3R byQ18aGwf8K1A== Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 65AB761E38 for ; Tue, 4 Jul 2023 16:24:39 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="MQ9jOz7n"; 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 18E2CD4A; Tue, 4 Jul 2023 16:23:55 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1688480635; bh=IOCD5at5KE0ydGLs8malvDjF3J5Qoq8u8JJmnuRtMQM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=MQ9jOz7nWOqJ4RzWoq1bM4ZTbcrOp9Iom1flfCEnJ4erAOMjnClnYe/sklgGL3ftr uK237LPgb6nue8xFp+SsNObedffihtYoCi6qrialcpuZgt/pfBodChxAGSz8CzbYkq rBzDX33rrjOnsS7p81BM0vRAH1GIhDwlmd3CBNoc= To: libcamera devel Date: Tue, 4 Jul 2023 15:24:33 +0100 Message-Id: <20230704142435.3490823-2-kieran.bingham@ideasonboard.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230704142435.3490823-1-kieran.bingham@ideasonboard.com> References: <20230704142435.3490823-1-kieran.bingham@ideasonboard.com> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v3 1/3] include: base: Do not install private headers 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" Split the public and private headers from the base library and stop installing private headers as part of the install process. Signed-off-by: Kieran Bingham Reviewed-by: Laurent Pinchart Reviewed-by: Umang Jain --- include/libcamera/base/meson.build | 28 ++++++++++++++++++---------- 1 file changed, 18 insertions(+), 10 deletions(-) diff --git a/include/libcamera/base/meson.build b/include/libcamera/base/meson.build index 4410aba8181a..ee91bd1e0071 100644 --- a/include/libcamera/base/meson.build +++ b/include/libcamera/base/meson.build @@ -2,31 +2,39 @@ libcamera_base_include_dir = libcamera_include_dir / 'base' -libcamera_base_headers = files([ - 'backtrace.h', +libcamera_base_public_headers = files([ 'bound_method.h', 'class.h', 'compiler.h', + 'flags.h', + 'object.h', + 'shared_fd.h', + 'signal.h', + 'span.h', + 'thread_annotations.h', + 'unique_fd.h', +]) + +libcamera_base_private_headers = files([ + 'backtrace.h', 'event_dispatcher.h', 'event_dispatcher_poll.h', 'event_notifier.h', 'file.h', - 'flags.h', 'log.h', 'message.h', 'mutex.h', - 'object.h', 'private.h', 'semaphore.h', - 'shared_fd.h', - 'signal.h', - 'span.h', 'thread.h', - 'thread_annotations.h', 'timer.h', - 'unique_fd.h', 'utils.h', ]) -install_headers(libcamera_base_headers, +libcamera_base_headers = [ + libcamera_base_public_headers, + libcamera_base_private_headers, +] + +install_headers(libcamera_base_public_headers, subdir: libcamera_base_include_dir)