Use actually normal taglib headers (apparently it completely changes them on install. More idiotically layed out library tree, ever.).

Add symlinks to taglib source tree to mimick installed tree to avoid the copy thing.


git-svn-id: svn://localhost/ardour2/branches/3.0@4674 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
David Robillard
2009-02-26 03:24:05 +00:00
parent b80aa1fa9d
commit 906567d867
58 changed files with 62 additions and 24 deletions

View File

@@ -1221,7 +1221,7 @@ else:
CPPPATH=['#libs', '#libs/soundtouch'])
libraries['taglib'] = LibraryInfo(LIBS='libtaglib',
LIBPATH='#libs/taglib',
CPPPATH=['#libs/taglib/headers','#libs/taglib/headers/taglib'])
CPPPATH=['#libs/taglib', '#libs/taglib/taglib'])
# libraries['libglademm'] = LibraryInfo(LIBS='libglademm',
# LIBPATH='#libs/libglademm',
# CPPPATH='#libs/libglademm')

View File

@@ -23,9 +23,9 @@
#include <string>
#include "taglib/ogg/xiphcomment.h"
#include "taglib/tag.h"
#include "taglib/toolkit/taglib.h"
#include "taglib/taglib.h"
#include "taglib/xiphcomment.h"
using std::string;

View File

@@ -25,11 +25,11 @@
#include "pbd/convert.h"
#include "taglib/fileref.h"
#include "taglib/flac/flacfile.h"
#include "taglib/ogg/oggfile.h"
#include "taglib/ogg/xiphcomment.h"
#include "taglib/flacfile.h"
#include "taglib/oggfile.h"
#include "taglib/tag.h"
#include "taglib/toolkit/taglib.h"
#include "taglib/taglib.h"
#include "taglib/xiphcomment.h"
/* Convert Glib::ustring to TagLib::String */
#define TL_STR(ustring) TagLib::String ((ustring).c_str(), TagLib::String::UTF8)

View File

@@ -112,25 +112,9 @@ taglib/wavpack/wavpackproperties.h
libtaglib = taglib.SharedLibrary ('taglib', taglib_files)
#
# the header structure of this library is not very convenient
# if you don't want to install the library. headers are distributed
# all over the place, making a simple -Ipath flag for the compiler
# rather difficult. This hack creates a directory and copies
# the headers into it, allowing us to use -I#libs/taglib/headers
#
def headercopy(env, target, source):
if os.access (str(target[0]), os.X_OK) != True:
os.makedirs (str(target[0]))
for file in source :
copy (str(file), str(target[0]))
header_dir = taglib.Command ('#libs/taglib/headers/taglib', headers, headercopy)
config_h = taglib.Command('config.h', ['config.h.in'], 'cd libs/taglib && ./configure && cd -', ENV=os.environ)
Default([config_h,header_dir,libtaglib])
Default([config_h,libtaglib])
env.Alias('install', env.Install(os.path.join(install_prefix, env['LIBDIR'], 'ardour3'), libtaglib))

View File

@@ -0,0 +1 @@
./ape/apefooter.h

View File

@@ -0,0 +1 @@
./ape/apeitem.h

1
libs/taglib/taglib/apetag.h Symbolic link
View File

@@ -0,0 +1 @@
./ape/apetag.h

View File

@@ -0,0 +1 @@
./mpeg/id3v2/frames/attachedpictureframe.h

View File

@@ -0,0 +1 @@
./mpeg/id3v2/frames/commentsframe.h

View File

@@ -0,0 +1 @@
./flac/flacfile.h

View File

@@ -0,0 +1 @@
./flac/flacproperties.h

View File

@@ -0,0 +1 @@
./mpeg/id3v2/frames/generalencapsulatedobjectframe.h

View File

@@ -0,0 +1 @@
./mpeg/id3v1/id3v1genres.h

View File

@@ -0,0 +1 @@
./mpeg/id3v1/id3v1tag.h

View File

@@ -0,0 +1 @@
./mpeg/id3v2/id3v2extendedheader.h

View File

@@ -0,0 +1 @@
./mpeg/id3v2/id3v2footer.h

View File

@@ -0,0 +1 @@
./mpeg/id3v2/id3v2frame.h

View File

@@ -0,0 +1 @@
./mpeg/id3v2/id3v2framefactory.h

View File

@@ -0,0 +1 @@
./mpeg/id3v2/id3v2header.h

View File

@@ -0,0 +1 @@
./mpeg/id3v2/id3v2synchdata.h

View File

@@ -0,0 +1 @@
./mpeg/id3v2/id3v2tag.h

View File

@@ -0,0 +1 @@
./mpc/mpcfile.h

View File

@@ -0,0 +1 @@
./mpc/mpcproperties.h

View File

@@ -0,0 +1 @@
./mpeg/mpegfile.h

View File

@@ -0,0 +1 @@
./mpeg/mpegheader.h

View File

@@ -0,0 +1 @@
./mpeg/mpegproperties.h

View File

@@ -0,0 +1 @@
./ogg/oggfile.h

View File

@@ -0,0 +1 @@
./ogg/flac/oggflacfile.h

View File

@@ -0,0 +1 @@
./ogg/oggpage.h

View File

@@ -0,0 +1 @@
./ogg/oggpageheader.h

View File

@@ -0,0 +1 @@
./mpeg/id3v2/frames/relativevolumeframe.h

View File

@@ -0,0 +1 @@
./ogg/speex/speexfile.h

View File

@@ -0,0 +1 @@
./ogg/speex/speexproperties.h

1
libs/taglib/taglib/taglib.h Symbolic link
View File

@@ -0,0 +1 @@
./toolkit/taglib.h

View File

@@ -0,0 +1 @@
./toolkit/tbytevector.h

View File

@@ -0,0 +1 @@
./toolkit/tbytevectorlist.h

1
libs/taglib/taglib/tdebug.h Symbolic link
View File

@@ -0,0 +1 @@
./toolkit/tdebug.h

View File

@@ -0,0 +1 @@
./mpeg/id3v2/frames/textidentificationframe.h

1
libs/taglib/taglib/tfile.h Symbolic link
View File

@@ -0,0 +1 @@
./toolkit/tfile.h

1
libs/taglib/taglib/tlist.h Symbolic link
View File

@@ -0,0 +1 @@
./toolkit/tlist.h

View File

@@ -0,0 +1 @@
toolkit/tlist.tcc

1
libs/taglib/taglib/tmap.h Symbolic link
View File

@@ -0,0 +1 @@
./toolkit/tmap.h

1
libs/taglib/taglib/tmap.tcc Symbolic link
View File

@@ -0,0 +1 @@
toolkit/tmap.tcc

View File

@@ -0,0 +1 @@
./trueaudio/trueaudiofile.h

View File

@@ -0,0 +1 @@
./trueaudio/trueaudioproperties.h

View File

@@ -0,0 +1 @@
./toolkit/tstring.h

View File

@@ -0,0 +1 @@
./toolkit/tstringlist.h

View File

@@ -0,0 +1 @@
./toolkit/unicode.h

View File

@@ -0,0 +1 @@
./mpeg/id3v2/frames/uniquefileidentifierframe.h

View File

@@ -0,0 +1 @@
./mpeg/id3v2/frames/unknownframe.h

View File

@@ -0,0 +1 @@
./mpeg/id3v2/frames/unsynchronizedlyricsframe.h

View File

@@ -0,0 +1 @@
./mpeg/id3v2/frames/urllinkframe.h

View File

@@ -0,0 +1 @@
./ogg/vorbis/vorbisfile.h

View File

@@ -0,0 +1 @@
./ogg/vorbis/vorbisproperties.h

View File

@@ -0,0 +1 @@
./wavpack/wavpackfile.h

View File

@@ -0,0 +1 @@
./wavpack/wavpackproperties.h

View File

@@ -0,0 +1 @@
./mpeg/xingheader.h

View File

@@ -0,0 +1 @@
./ogg/xiphcomment.h