"Martijn van Oosterhout" <[EMAIL PROTECTED]> writes:
> On 4/4/06, Loïc Minier <[EMAIL PROTECTED]> wrote:
>> gtk+-2.0.pc's Libs only has -lgtk, it requires gdk, atk, and cairo
>> because of grep -ir #include /usr/include/gtk-2.0 | grep -v 'atk' (it
>> needs at least the Cflags). Some people go
On 4/4/06, Loïc Minier <[EMAIL PROTECTED]> wrote:
> gtk+-2.0.pc's Libs only has -lgtk, it requires gdk, atk, and cairo
> because of grep -ir #include /usr/include/gtk-2.0 | grep -v 'atk' (it
> needs at least the Cflags). Some people go as far as saying that since
> the headers are included fro
On Tue, Apr 04, 2006, Roger Leigh wrote:
> 1. gtk+-2.0.pc does not use Libs.private. This would clean up most of
>the libraries. This is a GTK+ bug.
gtk+-2.0.pc's Libs only has -lgtk, it requires gdk, atk, and cairo
because of grep -ir #include /usr/include/gtk-2.0 | grep -v 'atk' (it
nee
Roger Leigh <[EMAIL PROTECTED]> writes:
> 2. Even then, -lgtk-x11-2.0 still needs to come from the Requires, but
>should still be private. For this, a Requires.private would be the
>best solution (but its Cflags should still remain public). This
>needs implementing in pkg-config.
It
"Martijn van Oosterhout" <[EMAIL PROTECTED]> writes:
> On 4/4/06, Roger Leigh <[EMAIL PROTECTED]> wrote:
>> "Martijn van Oosterhout" <[EMAIL PROTECTED]> writes:
>> > Is there a way to get sane output from pkg-config or should I just
>> > parse the .pc file myself?
>>
>> The .pc file needs converti
On Tue, Apr 04, 2006, Martijn van Oosterhout wrote:
> Well, the thing is that the .pc doesn't list all those libraries, it's
> just that pkg-config is adding them. The .pc file looks like below.
> Apparently, pkg-config is following the "Requires" link and appending
> all those libs also. Perhaps t
On 4/4/06, Roger Leigh <[EMAIL PROTECTED]> wrote:
> "Martijn van Oosterhout" <[EMAIL PROTECTED]> writes:
> > Is there a way to get sane output from pkg-config or should I just
> > parse the .pc file myself?
>
> The .pc file needs converting to use Libs.private for libraries which
> are only indirec
"Martijn van Oosterhout" <[EMAIL PROTECTED]> writes:
> Hi,
>
> When you run pkg-config you sometimes get a lot more crap than you
> need. For example:
>
> # pkg-config --libs gtkspell-2.0
> -L/usr/X11R6/lib -lgtkspell -laspell -lgtk-x11-2.0 -lgdk-x11-2.0
> -lXrandr -lXi -lXinerama -lXext -latk-1.0
Hi,
When you run pkg-config you sometimes get a lot more crap than you
need. For example:
# pkg-config --libs gtkspell-2.0
-L/usr/X11R6/lib -lgtkspell -laspell -lgtk-x11-2.0 -lgdk-x11-2.0
-lXrandr -lXi -lXinerama -lXext -latk-1.0 -lgdk_pixbuf-2.0 -lm
-lpangocairo-1.0 -lfontconfig -lXcursor -lpang
9 matches
Mail list logo