Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp2663157rdb; Mon, 12 Feb 2024 12:02:59 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUznoWKDM82m4SP9MHjdLy6P7rWBeI9b9Psy5p4vIWm2tscpyCuFhLu3fxcbJvrRz0jQBn2vQPVKtZLXqg1UTb1isWzX5lxObVfClFc6w== X-Google-Smtp-Source: AGHT+IFkSKMvLHEPeEDVY1UVGXpX65hh7BAqsmcjwNPDzWWKnxZJIBKZ7Hry3pa5etNFulFeDp5I X-Received: by 2002:aa7:d31a:0:b0:560:6296:1454 with SMTP id p26-20020aa7d31a000000b0056062961454mr4504260edq.42.1707768179208; Mon, 12 Feb 2024 12:02:59 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707768179; cv=pass; d=google.com; s=arc-20160816; b=zuUt5txASffobH0DFfxPoD4K76CfLWQUMBqH9In1e/+jgP4vEgwm/6QT74aBhDgvql MXyMzYk7FWPNwhMztJiM8+HdKqbo6n1l3hab6jcQEnOxeR+/WojUryRRc7qRnYAawV3m vEXWYIdJlA4mftxwxKD7IxqEAQ4nXxdHW7nN3rz0EFwwSyVXIUU6aeQ0ClNFzhkBOOCT dB5cUWAFOtc1XDTVyt2hyGmdbSPcWn8LINGVMrVo3ArizW/M5DB3bj2fKjlN5WSH7eK9 FRusctvdIZh6m0WddgWGsTE3t6W323tT5dq0HwCRio3BfBOPthNcjRm5V34Z7cEATBU1 aXog== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=reply-to:cc:to:content-transfer-encoding:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:message-id:date :subject:from:dkim-signature; bh=28v7LUhBdFSlGa3bES4Xu0igCF6QXNSVCHZ0NozkuJE=; fh=MwCOnyNsldPj5i6ro1auRETXMXAG8QJEaUMppDeqGuI=; b=q+vaxrWJreT6wdXHNJdTHc9F5eh0WmUMlHyIHixg0n24J0x2/VhBck77DY5+IgUrmQ m7HrMtat786IaHjfPi7Pr3TLIniL99yl7JaxO8pI7TED9Tyk29a4KPVyC34K/GLKCgqE zC2r3FIkpn5DqXTohjM6pk6QuQbmqRFA3n6Xz8UWbhDkePn954zbG2a6Oja4ytOx3hhc l/6eDBZsGLZekyMpS05WiUDRev0ceE1xf60Rog+nP815eHHgZ7ryZx+hJKjIzWuCttkQ m+Fx3a2kOEs4nl+MyJw/RQUrImr5gFc8TtKN4TbKAuHZmUs8UPeuoggtKVJvbbuh2bJA 5CIA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=nc+aVY7I; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-bluetooth+bounces-1789-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-1789-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=2; AJvYcCWJvbl15OUzwIYOWe7jKcXUiIgumdTIaVELx2x/yEcFDCdsYrgkdIZCF7nx0UMFor02S5tojGSDhmyVwE7YlK9m7yjKlex8nJBMHHvADw== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id z18-20020aa7cf92000000b0056036d86e2esi2943786edx.406.2024.02.12.12.02.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Feb 2024 12:02:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-bluetooth+bounces-1789-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=nc+aVY7I; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-bluetooth+bounces-1789-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-1789-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id C84981F23C3C for ; Mon, 12 Feb 2024 20:02:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E7FD5482C0; Mon, 12 Feb 2024 20:02:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="nc+aVY7I" X-Original-To: linux-bluetooth@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 4F05247A70 for ; Mon, 12 Feb 2024 20:02:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707768160; cv=none; b=fDtYWDKYSm+CLKqzD3PkoV640J41h+q++eN7ymSz6eKiiDiMNn+v8X7wdhOevsO8kwdB2kfjBqAnVFPHBUV9i6phQjjHH7XamQfCNG2mbQVYheAYUshldJkH8ZjBbc+NC/3OzKnGQcLuaZC3bIIqPwRfiVRbSaslRKD9J/1frn0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707768160; c=relaxed/simple; bh=lzfrFProzoQf+DY+OgPnU7nG2ioiHDSOCOxKL0Ukrxg=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=MWkXDeVlrsvdaiEnyNfiSsU8JcAnS0nolvAtP20OIZti9KgdA9KKIuAFgDmEpXBfsgW6H4s6pVIO8NdsLF7rCv8OoPHKQ0gY/7ny3O+kbHqMCofbXDm41NsleeJsP2t1R4hIqYP0pv8YHNWgnSMmTVS74zZ2snh9HCHOG3oHhwg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=nc+aVY7I; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id BC617C433C7; Mon, 12 Feb 2024 20:02:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1707768159; bh=lzfrFProzoQf+DY+OgPnU7nG2ioiHDSOCOxKL0Ukrxg=; h=From:Subject:Date:To:Cc:Reply-To:From; b=nc+aVY7I+Cnc9Q1h+15aas8SpcItQ/wj1ewwaIe1vp/vaOBnu9Nrcxlb6PLvgq3hj uzRRa9SVd0dJd1mQD4Uuba4zorfKeLrkeRgmBZ9IvGs1n7T5oZY3R64FE+o6nsGp75 LUk54kUWCKy/lCmvUNvT8QozqPRyahBgq5A6TFqWihTUycyaa6S16eHw2LA3UGARPW N+KdGKl2N9kRbQVZadkitTDmHEDAoS2+6u2NrTqaqZmGIdMMDhynqB0EiS2HAXJhyM P47AvGs5S/aBkDYeuO1kwdW0Zhl0YD49hiZKPE1C6n9JNeOy4y5fUPXDa71yNC7ieZ rydyQptasm8Tw== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9E71DC48297; Mon, 12 Feb 2024 20:02:39 +0000 (UTC) From: Emil Velikov via B4 Relay Subject: [PATCH BlueZ v2 00/10] Distribution inspired fixes Date: Mon, 12 Feb 2024 20:02:36 +0000 Message-Id: <20240212-disto-patches-v2-0-8bab1bd08f4d@gmail.com> Precedence: bulk X-Mailing-List: linux-bluetooth@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAFx5ymUC/3WMyw6DIBBFf8XMujQ4VUy76n80LhAGmaQ+Aoa0M fx70X2X5+aes0OkwBThUe0QKHHkZS6AlwqM1/NIgm1hQImNrLERluO2iFVvxlMU5KwaOlRKooP irIEcf87eqy/sj3f4nvlUH+u/UqqFFPeOJA2twlbfnuOk+X01ywR9zvkHmWKHO6oAAAA= To: linux-bluetooth@vger.kernel.org Cc: Sam Lantinga , Bastien Nocera , Emil Velikov , Nobuhiro Iwamatsu , Giovanni Campagna X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=ed25519-sha256; t=1707768157; l=4885; i=emil.l.velikov@gmail.com; s=20230301; h=from:subject:message-id; bh=lzfrFProzoQf+DY+OgPnU7nG2ioiHDSOCOxKL0Ukrxg=; b=CrbWyQcw0dqUXwwAGoNZG3Ns2RpQDC1i6x9nffdSB8LcqKKnWHB2w+Rkf6J59h4k5fA+2jFCn ShCyL1u8+mDCKteKRUUJBR4PCxHyMz2k7Zm4DhCXwdaORoARqV6Ba+E X-Developer-Key: i=emil.l.velikov@gmail.com; a=ed25519; pk=qeUTVTNyI3rcR2CfNNWsloTihgzmtbZo98GdxwZKCkY= X-Endpoint-Received: by B4 Relay for emil.l.velikov@gmail.com/20230301 with auth_id=35 X-Original-From: Emil Velikov Reply-To: Hello team, This is v2 of the earlier upstreaming effort, aiming to reduce and in some cases patches carried by distributions. Changes in v2: - dropped the first patch - no longer applicable with newer kernels - fixed bug in phonebook/tracker patch - added use glib helper for obex file handling - Gentoo, Debian - added obex dbus service w/o systemd - Gentoo, Debian, OpenWRT In summary, as this series is merged here's the status across distros: - Arch - zero patches or hacks needed \o/ - Gentoo - one hid2hci.rules patch outstanding - Fedora - zero patches \o/ - Debian - some good (hid2hci.rules, typos) patches and some outdated (potential infinite loop, gatt PIN segfault) - @iwamatsu can you verify which patches are still applicable and send them upstream? - OpenWRT - handful of patches Above said, Gentoo, Fedora, Debian and SteamOS will need more elaborate config infra, as mentioned before. Patches for that will be sent out soon (tm). If you're curious about v1, please follow the link below. - Link to v1: https://lore.kernel.org/r/20240124-disto-patches-v1-0-97e0eb5625a3@gmail.com As always feedback is greatly appreciated o/ Thanks Emil --- Bastien Nocera (2): adapter: Remove experimental flag for PowerState obex: Use GLib helper function to manipulate paths Emil Velikov (6): test: consistently use /usr/bin/env python3 shebang profiles: remove unused suspend-dummy.c obex: remove unused syncevolution plugin obex: remove unused mas/messages-tracker impl obex: remove phonebook tracker backend build: ship all config files with --enable-datafiles Giovanni Campagna (1): Allow using obexd without systemd in the user session Sam Lantinga (1): Return at least the title attribute from player_list_metadata() Makefile.am | 8 +- Makefile.mesh | 1 + Makefile.obexd | 7 +- Makefile.plugins | 2 - configure.ac | 7 +- obexd/plugins/messages-tracker.c | 332 ---- obexd/plugins/phonebook-tracker.c | 1704 -------------------- obexd/plugins/syncevolution.c | 470 ------ obexd/src/manager.c | 15 +- ...luez.obex.service => org.bluez.obex.service.in} | 2 +- profiles/audio/avrcp.c | 4 + profiles/input/suspend-dummy.c | 149 -- src/adapter.c | 3 +- test/agent.py | 2 +- test/example-adv-monitor | 2 +- test/example-advertisement | 2 +- test/example-endpoint | 2 +- test/example-player | 2 +- test/exchange-business-cards | 2 +- test/ftp-client | 2 +- test/get-managed-objects | 2 +- test/get-obex-capabilities | 2 +- test/list-devices | 2 +- test/list-folders | 2 +- test/map-client | 2 +- test/monitor-bluetooth | 2 +- test/opp-client | 2 +- test/pbap-client | 2 +- test/simple-agent | 2 +- test/simple-endpoint | 2 +- test/simple-obex-agent | 2 +- test/simple-player | 2 +- test/test-adapter | 2 +- test/test-device | 2 +- test/test-discovery | 2 +- test/test-gatt-profile | 2 +- test/test-health | 2 +- test/test-health-sink | 2 +- test/test-hfp | 2 +- test/test-manager | 2 +- test/test-nap | 2 +- test/test-network | 2 +- test/test-profile | 2 +- test/test-sap-server | 2 +- 44 files changed, 56 insertions(+), 2710 deletions(-) --- base-commit: c1851987ca2c6e41d1e0e166e959b754e369c254 change-id: 20240124-disto-patches-efd6b726602f Best regards, -- Emil Velikov