Received: from relay7-d.mail.gandi.net (relay7-d.mail.gandi.net [217.70.183.200]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 165E63112D0 for ; Wed, 11 Feb 2026 12:46:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.200 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770813969; cv=none; b=m3POIb4P4oS8RipjABfN1YFDidKzR/cOj3PcMIldmZ1MqvRR00xE7QUok/Png0EqZ4PDBsKSarWS1PP/Y+XkmYjUlB0SP/OAvcsYhGFRinesnYzI1VYlFV3mbnmDbglHs7ozYqR7nT3BrNXChxgjCyLqKzOyjm7AZ4Ak0wyPtRc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770813969; c=relaxed/simple; bh=9R7VgdlYnk19AxdMc0Tch1eMhae23uxIlpZVXSUrvl4=; h=From:To:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=k//jrUn1YdGGdNnBADMmkc6oijZJax6ZWQCapQyjr2+KzXDJ08vVmvGG4aIsMCGgCRAYbzF2gp/EoEvYJvy6xeJ3af4PntucitAPuDdfXfXI+C5SkHEAZqJqfvjRKIp/vvjlYhGGrmxvpYT0uSLqY5kOYn6NStUCoqHq5dRumN4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=hadess.net; spf=pass smtp.mailfrom=hadess.net; arc=none smtp.client-ip=217.70.183.200 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=hadess.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=hadess.net Received: by mail.gandi.net (Postfix) with ESMTPSA id 5FA0F441ED for ; Wed, 11 Feb 2026 12:46:00 +0000 (UTC) From: Bastien Nocera To: linux-bluetooth@vger.kernel.org Subject: [PATCH BlueZ v8 04/15] build: Separate systemd and libsystemd dependencies Date: Wed, 11 Feb 2026 13:42:00 +0100 Message-ID: <20260211124550.3830639-5-hadess@hadess.net> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20260211124550.3830639-1-hadess@hadess.net> References: <20260211124550.3830639-1-hadess@hadess.net> Precedence: bulk X-Mailing-List: linux-bluetooth@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-GND-Sasl: hadess@hadess.net X-GND-State: clean X-GND-Score: 0 X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgddvtddvheelucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuifetpfffkfdpucggtfgfnhhsuhgsshgtrhhisggvnecuuegrihhlohhuthemuceftddunecunecujfgurhephffvufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpeeurghsthhivghnucfpohgtvghrrgcuoehhrgguvghssheshhgruggvshhsrdhnvghtqeenucggtffrrghtthgvrhhnpeekteetgeettdehieduiedttdetffelleehtdejkeeluedvgfffvdevteetudfhkeenucfkphepvdgrtddumegvfeegmegvtgejfeemtghfvddtmeelsgdvleemtggufeeimeeikehfugemtgdtleefnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepvdgrtddumegvfeegmegvtgejfeemtghfvddtmeelsgdvleemtggufeeimeeikehfugemtgdtleefpdhhvghlohepohhlihhmphhitgdpmhgrihhlfhhrohhmpehhrgguvghssheshhgruggvshhsrdhnvghtpdhqihgupeehhfettdfhgeegudfgffdpmhhouggvpehsmhhtphhouhhtpdhnsggprhgtphhtthhopedupdhrtghpthhtoheplhhinhhugidqsghluhgvthhoohhthhesvhhgvghrrdhkvghrnhgvlhdrohhrgh One is to install systemd service files, the other to enable deeper logind integration into obexd. --- meson.build | 3 ++- meson_options.txt | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/meson.build b/meson.build index c4b48194b62a..099ad5e0dd49 100644 --- a/meson.build +++ b/meson.build @@ -134,7 +134,8 @@ readline_dep = dependency('readline', required: get_option('client').enabled() or get_option('mesh').enabled()) systemd_dep = dependency('systemd', required: get_option('systemd')) -libsystemd_dep = dependency('libsystemd', required: get_option('systemd')) +libsystemd_dep = dependency('libsystemd', + required: get_option('obex').enabled() and get_option('logind').enabled()) ell_dep = dependency('ell', version: '>= 0.39', required: get_option('btpclient').enabled() or get_option('mesh').enabled(), diff --git a/meson_options.txt b/meson_options.txt index 66abdcb1c145..b72080f87813 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -6,7 +6,8 @@ option('tests', type: 'feature', value: 'auto', description: 'Enable testing too option('tools', type: 'feature', value: 'enabled', description: 'Enable Bluetooth tools') option('monitor', type: 'feature', value: 'enabled', description: 'Enable Bluetooth monitor') option('client', type: 'feature', value: 'enabled', description: 'Enable command line client') -option('systemd', type: 'feature', value: 'enabled', description: 'Enable systemd integration') +option('systemd', type: 'feature', value: 'enabled', description: 'Install systemd service files') +option('logind', type: 'feature', value: 'enabled', description: 'Enable logind integration in obexd') option('udev', type: 'feature', value: 'enabled', description: 'Enable udev device support') option('datafiles', type: 'feature', value: 'enabled', description: 'Install configuration and data files') option('manpages', type: 'feature', value: 'auto', description: 'Enable building of manual pages') -- 2.52.0