On 03/11/2012 10:04 PM, David C. Rankin wrote:
build failure was due to incorrect pkgconfig information supplied by libcaldav and libcarddav for their include file locations. When the ConfigureChecks.cmake tries to set the include location is gets it wrong.
Both packages include an extraneous amount of version information when installing include files. Eg:
/usr/include/libcaldav-0.6.5/caldav.h /usr/include/libcarddav-0.6.1/carddav.h
However, the pkgconfig files for both return incorrect include directory location:
Darrell,
I've looked at the patch files with bug 701 -- and I think they are incorrect... Double check me. But it looks like we don't need to patch both the libcaldav.pc.in files AND the src/Makefile.in and src/Makefile.am files. We only need to do the Makefiles. (If we did both, then .pc would point to $prefix/include while Makefiles put the header in $prefix/include/libcaldav) (that maybe OK, but that's just what I saw)
Note: in libcaldav the libcaldav.pc file just needs to be deleted altogether (it looks like a leftover from somebody's build) I have created two additional patches that just patch the Makefiles. Take a look and let me know.
I'll think up some better names before I upload to the bug.