From owner-freebsd-bluetooth@FreeBSD.ORG Wed Feb 18 18:21:30 2009 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D0EB210657DD for ; Wed, 18 Feb 2009 18:21:29 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: from mail-gx0-f176.google.com (mail-gx0-f176.google.com [209.85.217.176]) by mx1.freebsd.org (Postfix) with ESMTP id 9A8A28FC15 for ; Wed, 18 Feb 2009 18:21:29 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: by gxk24 with SMTP id 24so96239gxk.19 for ; Wed, 18 Feb 2009 10:21:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=Dqvwd/RKqZsS1rUm2q+kvjUoqZ/6WlsKSRRpYdaqEWw=; b=BQSkKCeEGfe9lqi3Hg2LEQA0oOLAkFD4GOlhZaTLlGX6+joTm/Y4zshzi1QXf+yQxB dbqcWzv4gQbyFdVhug0XEu7YStyJp17DBzew3iWnSjG64D7XeLB4w94hCB/KFUVwov51 7C81wcW1dXMdgh66hiFLK9Tc8fXBWlKtVby60= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=G5e8pnn1ggREhhCFA0rjaf6FDu4OZa4lJ+uMPDSDFpBbzMgZZP2zl4/M8jEqsZXm62 q7gaND6ckGWfozaIuAzX5eWcMKKPDOOHj3DilCST36waBAsV5DMVeORk+yj+udtAvLlI HkzwEbmBmFs4YSYf8cCq7j0q2VMftx+OamY2g= MIME-Version: 1.0 Received: by 10.150.229.16 with SMTP id b16mr111198ybh.120.1234981288920; Wed, 18 Feb 2009 10:21:28 -0800 (PST) In-Reply-To: <20090218141028.GB48065@megatron.madpilot.net> References: <20090218141028.GB48065@megatron.madpilot.net> Date: Wed, 18 Feb 2009 10:21:28 -0800 Message-ID: From: Maksim Yevmenkin To: Guido Falsi Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-bluetooth@freebsd.org, freebsd-ports@freebsd.org Subject: Re: ports using sdp when mpeg4ip is installed X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Feb 2009 18:21:34 -0000 On Wed, Feb 18, 2009 at 6:10 AM, Guido Falsi wrote: > Hello, > > I maintain a few ports, between those there are gnokii and the ports > package for obexapp, written by Maksim. > > I already had to deal with the problem in the subject some time ago > (PR ports/108428) and now that gnokii has sdp support PR ports/131778 > has correctly been filed. > > As exlained in the PRs the problem is mpeg4ip is installing an sdp.h > file and an libsdp.so library in /usr/local/(include|lib), which > are preferred by the ports systems(especially the autotools) on the > system ones breaking software build. > > The solution is doing jumps through hoops to make autotools and > other pieces behave, hardcoding base system paths or the like. I > could not find better ways. Whth gnokii right now I'm having big > problems making libtool behave. I could try patching the system > wide one to manage this situation, but I don't really understand > it's internals, if anyone could point me in the right direction > here that would be very appreciated. > > We could just fix the includes problem by moving one of the two > sdp.h files in a subdirectory of include, but the libraries problem > would remain. > > How should I act? Doing the hoop jumping is not a big problem to me, but in > the future with more programs taking advantage of bluetooth/sdp > functionality this problem will be even more frequent, and I don't think > fixing every single case by hand to be a good solution. > > Could we try to find a system or ports wide solution? > > Sorry for the lenghty email, but I wanted to explain the situation > fully. > > BTW should I also send a resume of this email to gnats for historic > purposes? > > Thanks in advance for any help, opinions, revision or also confort on > this. thanks for keeping the ports up to date! i think the only reasonable solution is to move sdp.h (and bluetooth.h while we at it) into /usr/include/bluetooth/ i will see what can be done here. it should be much easier to move files now when we have svn :) thanks, max