Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp5186399rwb; Tue, 8 Aug 2023 23:16:59 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGYmqN+Y9+E786KzpLpffvmaqTHvupIzWivW4uC1lFeuNxNcyfDwBdIEDKInTh2FzEmWSDz X-Received: by 2002:aa7:d04c:0:b0:522:6e3f:b65 with SMTP id n12-20020aa7d04c000000b005226e3f0b65mr1564858edo.33.1691561818892; Tue, 08 Aug 2023 23:16:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691561818; cv=none; d=google.com; s=arc-20160816; b=hGlzhJsVoasxqX/yr+O8xD/oZ861UAS2A0fHDSO1eFnXLftBajpmBpTbnhTt9YPlCK q5erchU1gWEy3DuCZbV0ti1aEjMjnxJO9JXTLV99PxpybLIep6MPreHhE48xStWLc/BU e/lqNYZpXk25aNTkgTNxYCEnAbhkDLDJWFwmcW74TnLZRhzKRIqL6ENCLZ7xVrUfZ7Pl LIA30RgpZjH1kYAjGguMM5YpnSAl0cnJxQPEFa0hNBILgWyE5lUPOi1eWySnVc7Zd+eM 9iDbMZFX3LkcnOEUw7r1ZcwNtkrFbJYctFx5hlyDJb1mkXlivFQM4hEwaG/k0cSQU8aZ 9mlg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from:cc :references:to:content-language:subject:user-agent:mime-version:date :message-id; bh=MhfXlqDrFUPVaBl0AZl8+dwItLwBVKsle1ZRJ1r7X5U=; fh=SvetNQeGvwdAtgAM+GkkgIwoqz77MoFq9g8pnDSgRsk=; b=WrqsiEFsZtDx8N/0VRJ2QMw/yCXgDG96M+vx5PHQCYWJ2MRgN1v2SWDgFPIf/79+iM tkYJoOzaomdYlEuIX7CXl4sZ8mI543SNURjY4LxHex+cKm3PGITSddqN07L2w3dRkz3K zDxrgmI8OxqjEDw7MthZC0wrlknAdbVQKFWsStkwO5SpP5pGjxMKHzQ4mveBzRrmP6mY XZCFBfUWGpE8bK6OS2s1ZF+wAeNWc4Z9XB4oUbE7X0lk8mIjguIxOK5onGsbNlhpMDw3 olSwkNmVJC15JOVbabGdpfjjQG6RE/sSZJteLZuV+EgMEuSmBhgOkIG4LvMBF8nDAxWC fMug== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l1-20020a056402124100b005233e84a8basi3348578edw.468.2023.08.08.23.16.35; Tue, 08 Aug 2023 23:16:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230250AbjHIGCP (ORCPT + 99 others); Wed, 9 Aug 2023 02:02:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43186 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230318AbjHIGCO (ORCPT ); Wed, 9 Aug 2023 02:02:14 -0400 Received: from mx3.molgen.mpg.de (mx3.molgen.mpg.de [141.14.17.11]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2DC8C1BFA for ; Tue, 8 Aug 2023 23:02:13 -0700 (PDT) Received: from [192.168.0.2] (ip5f5bf3a6.dynamic.kabel-deutschland.de [95.91.243.166]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: pmenzel) by mx.molgen.mpg.de (Postfix) with ESMTPSA id 632F561E5FE01; Wed, 9 Aug 2023 08:02:08 +0200 (CEST) Message-ID: Date: Wed, 9 Aug 2023 08:02:07 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH BlueZ v2] configure.ac: Install D-Bus policy in /usr/share, not /etc Content-Language: en-US To: Gioele Barabucci References: <20230808200022.2001329-1-gioele@svario.it> Cc: linux-bluetooth@vger.kernel.org From: Paul Menzel In-Reply-To: <20230808200022.2001329-1-gioele@svario.it> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Dear Gioele, Thank you very much for your patch. Am 08.08.23 um 22:00 schrieb Gioele Barabucci: > 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`. > --- > v2: bump D-Bus min version, derive DBUS_CONFDIR from datadir It’d be great if you mentioned the D-Bus version bump explicitly in the commit message, and the years of the release (2012 and 2015). (Maybe even make it a separate commit.) Kind regards, Paul > --- > configure.ac | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/configure.ac b/configure.ac > index bc7edfcd3..ad864dea7 100644 > --- a/configure.ac > +++ b/configure.ac > @@ -82,23 +82,23 @@ if (test "${enable_threads}" = "yes"); then > PKG_CHECK_MODULES(GTHREAD, gthread-2.0 >= 2.16, dummy=yes, > AC_MSG_ERROR(GThread >= 2.16 is required)) > GLIB_CFLAGS="$GLIB_CFLAGS $GTHREAD_CFLAGS" > 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) > > AC_ARG_WITH([dbusconfdir], AS_HELP_STRING([--with-dbusconfdir=DIR], > [path to D-Bus configuration directory]), > [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 > AC_MSG_RESULT([${path_dbusconfdir}]) > fi > AC_SUBST(DBUS_CONFDIR, [${path_dbusconfdir}])