Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Feb 2009 10:21:28 -0800
From:      Maksim Yevmenkin <maksim.yevmenkin@gmail.com>
To:        Guido Falsi <mad@madpilot.net>
Cc:        freebsd-bluetooth@freebsd.org, freebsd-ports@freebsd.org
Subject:   Re: ports using sdp when mpeg4ip is installed
Message-ID:  <bb4a86c70902181021g602f3216nca48ebde6f4d8e06@mail.gmail.com>
In-Reply-To: <20090218141028.GB48065@megatron.madpilot.net>
References:  <20090218141028.GB48065@megatron.madpilot.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Feb 18, 2009 at 6:10 AM, Guido Falsi <mad@madpilot.net> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bb4a86c70902181021g602f3216nca48ebde6f4d8e06>