From patchwork Wed Aug 9 06:44:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gioele Barabucci X-Patchwork-Id: 13347463 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B3047EB64DD for ; Wed, 9 Aug 2023 06:46:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231176AbjHIGqD (ORCPT ); Wed, 9 Aug 2023 02:46:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36796 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231132AbjHIGqC (ORCPT ); Wed, 9 Aug 2023 02:46:02 -0400 Received: from mail.svario.it (mail.svario.it [84.22.98.252]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0C9D41BF7 for ; Tue, 8 Aug 2023 23:46:01 -0700 (PDT) Received: from localhost.localdomain (dynamic-093-131-108-051.93.131.pool.telefonica.de [93.131.108.51]) by mail.svario.it (Postfix) with ESMTPSA id 7EA6BDA0C6; Wed, 9 Aug 2023 08:46:00 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=svario.it; s=201710; t=1691563560; bh=QSezI5hr+S6ol1gbGjH1wOmBmOE8Lw3z1P9cNtjhrKg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=yyeixlzv9AxOc6t8m+mge82kkVZf4sITs/ikMtzfStShBv6XBbP3sX+PWMIqESZEW l/Jxd3PW/RmbeExtugxlJ0YHIljmQaG8SVEaNh1M63bzUaiD4uPyQKOq+vTosJflSu WXO/8OOZKRX6LAoAcxreO8nOwsDFL+pB3XDTxwD7cmLTKNwRtjTU/NmRJekBssDFDN n0YBPijf+nd5xAslyurhEOK6dBniWqrNUwTugFtDkuWIUj42O4p0d1Wn1Rx2Nu6jrD MRi31/nbGhM8IqI81893qZTO1fwWAAOJgSCx/ixpyiPensNKZkV+leh8T+DHrhmNVm 5FR+M+5GAwu3A== From: Gioele Barabucci To: linux-bluetooth@vger.kernel.org Cc: Gioele Barabucci Subject: [PATCH BlueZ v3 1/2] configure.ac: Bump minimum D-Bus version to 1.10 Date: Wed, 9 Aug 2023 08:44:40 +0200 Message-Id: <20230809064441.2002194-2-gioele@svario.it> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230809064441.2002194-1-gioele@svario.it> References: <20230809064441.2002194-1-gioele@svario.it> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org D-Bus 1.10, released in 2015, is the first version that supports reading policy files from `/usr/share/dbus-1` in addition to `/etc/dbus-1`. The previous minimum version, 1.6, was released in 2012. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index bc7edfcd3..5348bf3c2 100644 --- a/configure.ac +++ b/configure.ac @@ -95,7 +95,7 @@ AC_ARG_WITH([dbusconfdir], AS_HELP_STRING([--with-dbusconfdir=DIR], [path_dbusconfdir=${withval}]) if (test -z "${path_dbusconfdir}"); then AC_MSG_CHECKING([D-Bus configuration directory]) - path_dbusconfdir="`$PKG_CONFIG --variable=sysconfdir dbus-1`" + path_dbusconfdir="`$PKG_CONFIG --variable=datadir dbus-1`" if (test -z "${path_dbusconfdir}"); then AC_MSG_ERROR([D-Bus configuration directory is required]) fi From patchwork Wed Aug 9 06:44:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gioele Barabucci X-Patchwork-Id: 13347464 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 28D2DC001E0 for ; Wed, 9 Aug 2023 06:46:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231230AbjHIGqD (ORCPT ); Wed, 9 Aug 2023 02:46:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36804 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231156AbjHIGqC (ORCPT ); Wed, 9 Aug 2023 02:46:02 -0400 Received: from mail.svario.it (mail.svario.it [IPv6:2a02:2770:13::112:0:1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 210D610CF for ; Tue, 8 Aug 2023 23:46:02 -0700 (PDT) Received: from localhost.localdomain (dynamic-093-131-108-051.93.131.pool.telefonica.de [93.131.108.51]) by mail.svario.it (Postfix) with ESMTPSA id B58F5DA0CA; Wed, 9 Aug 2023 08:46:00 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=svario.it; s=201710; t=1691563560; bh=S5Ari7JOoRk4et698Nm1gLH0vc1LRoskNWbFHENZJIQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=VsifFiTYHw+HGVJR159LJjQwu3gTcbiO/algKsThc3MF6ouARIybSCHrOA1unEoab xR1GhHIaPuGy4bNWMgC9Z2XGdaF79t+Xh9MYK4puv54b/t23WVneTMhCdMZWcagCSh 8jHhB9Rad7cqq8Bao1n+AmzCRMAZJTryfSSbfHvQ8kPZhKBc1Ow4k5NtbjBW15UVNZ nSbqLc46WTyM8tYmXaekWUl+8WeYSPZH+A2ZXcRiehPK8rOZH0Dz3jqabQLpXmc5j3 lklOYBKPcumKWE/PHJlyiuQy8ZuxspCBQ62YxLmLnaO326QYg/HkZLoJi4CQ/14VvY 5zghbmLBlW5eQ== From: Gioele Barabucci To: linux-bluetooth@vger.kernel.org Cc: Gioele Barabucci Subject: [PATCH BlueZ v3 2/2] configure.ac: Install D-Bus policy in /usr/share, not /etc Date: Wed, 9 Aug 2023 08:44:41 +0200 Message-Id: <20230809064441.2002194-3-gioele@svario.it> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230809064441.2002194-1-gioele@svario.it> References: <20230809064441.2002194-1-gioele@svario.it> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org From https://bugs.debian.org/1006631: > dbus supports policy files in both `/usr/share/dbus-1/system.d` and > `/etc/dbus-1/systemd`. [The] recently released dbus 1.14.0, officially > deprecates installing packages' default policies into > `/etc/dbus-1/systemd`, instead reserving it for the sysadmin. > This is the same idea as the difference between `/usr/lib/udev/rules.d` > and `/etc/udev/rules.d`. --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 5348bf3c2..ad864dea7 100644 --- a/configure.ac +++ b/configure.ac @@ -85,8 +85,8 @@ if (test "${enable_threads}" = "yes"); then GLIB_LIBS="$GLIB_LIBS $GTHREAD_LIBS" fi -PKG_CHECK_MODULES(DBUS, dbus-1 >= 1.6, dummy=yes, - AC_MSG_ERROR(D-Bus >= 1.6 is required)) +PKG_CHECK_MODULES(DBUS, dbus-1 >= 1.10, dummy=yes, + AC_MSG_ERROR(D-Bus >= 1.10 is required)) AC_SUBST(DBUS_CFLAGS) AC_SUBST(DBUS_LIBS)