[Bug 961855] Latest freetype build has broken headers, causing other packages to fail to build
bugzilla at redhat.com
bugzilla at redhat.com
Fri May 17 09:27:20 UTC 2013
Product: Fedora
https://bugzilla.redhat.com/show_bug.cgi?id=961855
--- Comment #6 from Marek Kašík <mkasik at redhat.com> ---
(In reply to comment #4)
> How comes that there are problems with quotes? IIRC, there is even a test
> file in the pkg-config source code bundle which handles quotes.
>
> I've just tested (again) with pkg-config version 0.26, and something like
>
> pkg-config --cflags freetype2
>
> properly returns
>
> -I/usr/local/include/freetype2 -I/usr/local/include
>
> using the freetype2.pc file from FreeType 2.4.12.
>
> Is it possible that you are parsing the .pc files by yourself, skipping
> pkg-config?
Hi,
the problem is not with the quotes in freetype's .pc file at the end. I haven't
much time to find a proper fix for this yet but here is some info.
According to https://bugs.freedesktop.org/show_bug.cgi?id=3571, pkgconfig
should handle quotes well. As I didn't find this before, I thought that the
quotes shouldn't be there.
Because of the multilib fix (which I have to find what exactly it fixes) the
quotes are propagated into freetype-config through "pkg-config --variable=..."
which returns value of the variable together with quotes. Concatenating this
with a relative path returns a path which fails the build of ClanLib (
-I"/usr/include"/freetype2 in this case). I have to find whether it is correct
that pkg-config returns the value together with quotes.
The best solution to this would be to remove the multilib patch but I have to
find whether the problem is gone are how to fix it another way. The current
"fix" works for now, so I'll keep it there yet.
Regards
Marek
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=LP7nhkDBok&a=cc_unsubscribe
More information about the fonts-bugs
mailing list