Received: by 2002:a25:86ce:0:0:0:0:0 with SMTP id y14csp1678776ybm; Thu, 23 May 2019 05:12:37 -0700 (PDT) X-Google-Smtp-Source: APXvYqwrDeyfsdoA6MJr7y3J2dNLFHXKR6UvWBiD8Aphpf4LoxdmZ4xuooIdKBDBA8C2LP9x9FLZ X-Received: by 2002:a17:90a:2302:: with SMTP id f2mr766357pje.124.1558613557094; Thu, 23 May 2019 05:12:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558613557; cv=none; d=google.com; s=arc-20160816; b=JJbw4wx6ywE1Lmm/IVx5lLMZ7vfIma/jegPakDXxblx9zR16FWbjLDvZtZEHyIVW9a T+/BCK7kjs5BnjzSKkxyk7cEvF+ZrMXK2o+z/tqD60yWb9BGRqqf4Q2gJIGPfj9iRPDC sYFkz6HjAN6Oy5D6oMrV5KbW40H9nSuXUqfB1limDClWyW9sey5Q7pErYxJGtIn8thXC 9bVshC73C9lT4rVGsD1FZ6ORTXYDAumJuBmIxo4vGSV8x4MCVT8ZVkMNuI1QPBH1cqg0 pSBiKhmfortSb0lStmZy+YMieJKtFMFOgPJVFiI0l4PqrQbWuLKOJOneeVGomPGcIycB fVmA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=NnKNMRzT7HobspDLbEQaUaVYuL/Jv3jlkXvsuKYI+qI=; b=RYudref3BfZjxNNvAVmMsAdfuf9HpUK+G8OO+ZIVcdb1VjAGpE/xmCbb3WfbPdb7/u SvNgYenwvvzgqDfg37BfrTsCDzs5iL+iKcVJBLzIgezPHjgU3lBryuvY3Uy1Q2MzlXcc bpsELHkNCUBJ839GMdey9rcjODZTVyXHo7KYGzFP3BSAynltP7uCxQXfAfW84B2D+QE8 CeeFn3q8QCKzdTFAUO58iSLnY3vfrEu6zBABQ+3idP54WEVh4zTLRIlhfpV/p0iRUQT8 +GPhjZjCLfdHq6L6CueROXfQD14DkiH5Bvp9u4+TUi8uhPJJ9+zRB8nFBFMswEzpOqsr KKRQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g29si2193415pgb.259.2019.05.23.05.12.19; Thu, 23 May 2019 05:12:37 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730560AbfEWMLk (ORCPT + 99 others); Thu, 23 May 2019 08:11:40 -0400 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:47135 "EHLO relay5-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729762AbfEWMLk (ORCPT ); Thu, 23 May 2019 08:11:40 -0400 X-Originating-IP: 83.155.44.161 Received: from classic (mon69-7-83-155-44-161.fbx.proxad.net [83.155.44.161]) (Authenticated sender: hadess@hadess.net) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 532161C000A; Thu, 23 May 2019 12:11:37 +0000 (UTC) Message-ID: <3d3682d1b30d09011d69050bc24aeda26bb2c066.camel@hadess.net> Subject: Re: [PATCH] Fix cups backend location From: Bastien Nocera To: Ludwig Nussel , "linux-bluetooth@vger.kernel.org" Cc: Luiz Augusto von Dentz Date: Thu, 23 May 2019 14:11:34 +0200 In-Reply-To: References: <20190412140803.28622-1-ludwig.nussel@suse.de> <6339c67c82a7e425a3c3cee415626cf32e080144.camel@hadess.net> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.32.2 (3.32.2-1.fc30) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org On Thu, 2019-05-23 at 14:07 +0200, Ludwig Nussel wrote: > Bastien Nocera schrieb: > > On Mon, 2019-04-15 at 10:52 +0300, Luiz Augusto von Dentz wrote: > > > Hi Bastien, > > > > > > On Fri, Apr 12, 2019 at 5:11 PM Ludwig Nussel < > > > ludwig.nussel@suse.de> > > > wrote: > > > > --- > > > > Makefile.tools | 5 ++++- > > > > 1 file changed, 4 insertions(+), 1 deletion(-) > > > > > > > > diff --git a/Makefile.tools b/Makefile.tools > > > > index 7d5361bcd..9f8a0b87b 100644 > > > > --- a/Makefile.tools > > > > +++ b/Makefile.tools > > > > @@ -436,7 +436,10 @@ endif > > > > endif > > > > > > > > if CUPS > > > > -cupsdir = $(libdir)/cups/backend > > > > +# need to use upstream location here which is > > > > $exec_prefix/lib/cups/backend, see > > > > +# > > > > https://github.com/apple/cups/blob/master/config-scripts/cups-directories.m4 > > > > +# https://github.com/apple/cups/blob/master/backend/Makefile > > > > +cupsdir = $(exec_prefix)/lib/cups/backend > > > > > > > > cups_PROGRAMS = profiles/cups/bluetooth > > > > > > Any feedback on these changes? > > > > The Fedora package has been doing that manually for 11 years, so, > > yes > > that looks correct. > > > > It should probably be using the output of > > "cups-config --serverbin" instead, but given how hard that is with > > autotools, this is probably fine. I'd mention it in the commend > > instead > > of linking at the code though. > > The output of cups-config doesn't give a hint about exec_prefix vs > libdir though. Since reading through those files I linked was what I > did to understand what the correct value was, I thought mentioning > them would help the text person. It needs to be mentioned in the commit message, not in the "code". > So what comment should I put to get this patch accepted? Looks like > none > like before was ok for years after all :-) > > I'm not really up to spending a day crafting M4 macros for the > perfect > cups special arrangement. I already said it shouldn't be needed. Can you send a new patch with the changes I requested? Cheers