From: Andreas H. <an...@xs...> - 2006-01-03 11:28:03
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi! I just upgraded to libexif-0.6.13 and noticed that now several packages depending on libexif (like libexif-gtk and gthumb) do not compile anymore. The reason seems to be a change in the "libexif.pc" pkgconfig file: the explicit libexif include path switch was removed ("-I/usr/include/libexif") and now other packages which use pkgconfig to create their compile flags have compile problems. I don't know if this modification was intentional, but libexif include files still live in /usr/include/libexif/ and without the additional "-I" switch the compiler can not find them. In the case of libexif-gtk, the configure script falls back to an old libexif library version and the build fails, too. I changed libexif.pc to provide this additional "-I" switch for the CFLAGS variable and now libexif-gtk and gthumb do compile correctly again even with libexif-0.6.13. I made a small patch implementing this change: - --- libexif/libexif/libexif.pc.in 17 Mar 2005 15:58:18 -0000 1.1.1.2 +++ libexif/libexif/libexif.pc.in 3 Jan 2006 09:45:57 -0000 @@ -8,4 +8,4 @@ Requires: Version: @VERSION@ Libs: -L${libdir} -lexif -lm - -Cflags: -I${includedir} +Cflags: -I${includedir}/libexif -I${includedir} You'll also find the patch attached to this mail (enigmail tends to corrupt inline patches... ;-) HTH Regards, andreas - -- Andreas Haumer | mailto:an...@xs... *x Software + Systeme | http://www.xss.co.at/ Karmarschgasse 51/2/20 | Tel: +43-1-6060114-0 A-1100 Vienna, Austria | Fax: +43-1-6060114-71 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDul+txJmyeGcXPhERAv8oAJ9TLYGXhij+GJZbgT9Bh7OTfJeUPwCgq6UG 8I61sMRkx3+SkB79yJO6btE= =GK8M -----END PGP SIGNATURE----- |