Bug 137058

Summary: Please rename tag.h (taglib conflict)
Product: [Applications] juk Reporter: Gregor Jasny <gjasny>
Component: generalAssignee: Scott Wheeler <wheeler>
Status: RESOLVED FIXED    
Severity: wishlist    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Gregor Jasny 2006-11-08 19:13:52 UTC
Version:           r603368 (using KDE Devel)
Installed from:    Compiled sources
OS:                Linux

Hi,

I think this is more a taglib bug, but you could help to get juk compiling again.
The problem is that taglib 1.4 (at least the Debian Sid packages on my system) use -I/usr/include/taglib as include path. So xiphcomment.h from taglib includes its base class Taglib::Tag via <tag.h>. Here comes the problem: In the juk source directory is another file called tag.h. So this is prefered over the file in the taglib include dir. Renaming taglib/tag.h into taglib/footag.h fixes the problem. The other choice would be that you as the juk maintainers rename tag.h into something which does nnot appear in <taglib/*>.

Personally I think that the one to blame is taglib.

Gregor
Comment 1 Scott Wheeler 2006-11-09 02:09:24 UTC
This is already fixed in TagLib SVN.