Received: by 2002:a25:86ce:0:0:0:0:0 with SMTP id y14csp1672912ybm; Thu, 23 May 2019 05:07:41 -0700 (PDT) X-Google-Smtp-Source: APXvYqysHfs1qUa5rGIGV0NncvgZ1foouuS4T1ErgdJdnc0UQGFQaB0oDdjOrgUyzZLhgpab1wJ5 X-Received: by 2002:a17:90a:9cc:: with SMTP id 70mr760173pjo.93.1558613261482; Thu, 23 May 2019 05:07:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558613261; cv=none; d=google.com; s=arc-20160816; b=GbuqFt+AOnt+N9urSWplRCc00WH28FqB1Pc9dztTKYi/P5wHTuAvFaLpy6Crz3xsI9 UxdFUpDR2VY+aHV234nMESlWTOP0HFA72cvp+ChNXmiGehU1pe9SMQUZ3b9X6j0MsdYm Q8tU8laR44wPeK71C4f/4kfeFuTTBLbqnWr1nkY+KIPo+xkXRv1iijygxS53UVkb4Hq9 P14S4M7xsGlWqfq4m6mpcItaiPzLNHi6wguUMvqpEnJ0vDWfz7J3lxI07lspJnkZ+e0M GGRf0ArC+We+f6LDD2GksZq6VBb50EnrpPa3VWgsqqesUdZJMq6iLiIlb2TEHIcMi2Da g6Gw== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:organization:from:references:cc:to:subject; bh=08+TnCzAdaE/otbK57N08bnHgz1F9dISOgonMN0WUwA=; b=Q9bD9QIkRwvjSw/FWde4R+7j0PddzyXobsu2+YUN91fkwa4Hdx8CQPhB99VGZ71c5m wBj6VhrHpIVxnEQPoqLoMCD6r7s6ZSTdHaa89bTlqvvKRF7Ntup8/yeR4iegaserVvBa FG3LYJwrbxO6Jyuw+lN6QoRsfmGF06EEDlxIqOZNsi3QMmmqQDj9mkRBMPLos0WcV1ar /RPpG+nyZ/axgTPIL5tHvBoZVNMnTh7aZJvbjdg+8StRsCATe4t+XJWgwVDNaCoJlHGJ KHZREa+aA+HVCo5yl6d2k2meJ2b+Mgrw9XxqrpkpDLwLm4KBwHH2rRkN5eXZPF6x2ieW XRdw== 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 q205si33481674pfc.151.2019.05.23.05.07.09; Thu, 23 May 2019 05:07:41 -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 S1729698AbfEWMHG (ORCPT + 99 others); Thu, 23 May 2019 08:07:06 -0400 Received: from mx2.suse.de ([195.135.220.15]:59712 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729430AbfEWMHF (ORCPT ); Thu, 23 May 2019 08:07:05 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id DFC55AD3E; Thu, 23 May 2019 12:07:04 +0000 (UTC) Subject: Re: [PATCH] Fix cups backend location To: "linux-bluetooth@vger.kernel.org" Cc: Bastien Nocera , Luiz Augusto von Dentz References: <20190412140803.28622-1-ludwig.nussel@suse.de> <6339c67c82a7e425a3c3cee415626cf32e080144.camel@hadess.net> From: Ludwig Nussel Organization: SUSE Linux GmbH Message-ID: Date: Thu, 23 May 2019 14:07:04 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <6339c67c82a7e425a3c3cee415626cf32e080144.camel@hadess.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org 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 >> 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. 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. cu Ludwig -- (o_ Ludwig Nussel //\ V_/_ http://www.suse.com/ SUSE Linux GmbH, GF: Felix Imendörffer, Mary Higgins, Sri Rasiah, HRB 21284 (AG Nürnberg)