Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Dec 2012 19:05:20 +0100
From:      David Demelier <demelier.david@gmail.com>
To:        Jeremy Messenger <mezz.freebsd@gmail.com>
Cc:        gnome@freebsd.org, mezz@freebsd.org
Subject:   Re: ports/174034: [patch] x11-toolkits/gtk20: needs glproto to build
Message-ID:  <50DDDF60.6000407@gmail.com>
In-Reply-To: <CADLFttcPa4rhvjB16dRE1vFddiUi30GzHxf5FwGotJ2EyCPAcQ@mail.gmail.com>
References:  <201212281747.qBSHlRbe038791@freefall.freebsd.org> <50DDDBEB.6090902@gmail.com> <CADLFttfG-R1Qgggy8F-XkTiuTBQWoA2eZo9naxtxKdvmy5nveg@mail.gmail.com> <CADLFttcPa4rhvjB16dRE1vFddiUi30GzHxf5FwGotJ2EyCPAcQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 28/12/2012 19:00, Jeremy Messenger wrote:
> On Fri, Dec 28, 2012 at 11:55 AM, Jeremy Messenger
> <mezz.freebsd@gmail.com> wrote:
>> On Fri, Dec 28, 2012 at 11:50 AM, David Demelier
>> <demelier.david@gmail.com> wrote:
>>> On 28/12/2012 18:47, mezz@FreeBSD.org wrote:
>>>>
>>>> Synopsis: [patch] x11-toolkits/gtk20: needs glproto to build
>>>>
>>>> State-Changed-From-To: open->closed
>>>> State-Changed-By: mezz
>>>> State-Changed-When: Fri Dec 28 17:43:30 UTC 2012
>>>> State-Changed-Why:
>>>> There is nothing in gtk20 that suggest require glproto. See here:
>>>>
>>>> # cd /usr/ports/x11-toolkits/gtk20
>>>> # make extract
>>>> # find work -name \* | xargs egrep -l "glproto"
>>>> <empty>
>>>>
>>>> It sounds like the error was from different port?
>>>>
>>>> http://www.freebsd.org/cgi/query-pr.cgi?pr=174034
>>>>
>>>
>>> Yes but where that error comes from then?
>>>
>>> No package 'glproto' found
>>> -lpangocairo-1.0 -lcairo -lpangoft2-1.0 -lpango-1.0 -lm -lgobject-2.0
>>> -lgthread-2.0 -lgmodule-2.0 -pthread -lglib-2.0 -lfreetype -L/usr/local/lib
>>> -lfontconfig
>>> Package glproto was not found in the pkg-config search path.
>>> Perhaps you should add the directory containing `glproto.pc'
>>> to the PKG_CONFIG_PATH environment variable
>>> No package 'glproto' found
>>>
>>> I think it is probably a deeper dependency in pkgconfig .pc files. The
>>> problem is that graphics/cairo is built without OpenGL by default while
>>> x11-toolkits/gtk20 needs that.
>>
>> The gtk20 doesn't need glproto at all. If the cairo requires it then
>> it needs to be added in cairo. I believe that cairo has OpenGL disable
>> by default, so I doubt that it's this issue but I will check in cairo
>> though. I have built gtk20 today and it has went well.
>
> The cairo doesn't need it too. Can you grep in the
> /usr/local/libdata/pkgconfig/*.pc for the glproto? (ie: grep glproto
> /usr/local/libdata/pkgconfig/*)
>
>
>> --
>> mezz.freebsd@gmail.com - mezz@FreeBSD.org
>> FreeBSD GNOME Team
>> http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org
>
>
>

I can't reproduce the problem anymore, when I sent the PR, cairo was 
built without OpenGL and the configure stage failed with the error sent 
in the original post, so the problem was probably in a different port..



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