[f-spot/taglib-metadata: 1/29] Embed TagLib# as a submodule.



commit 4c47d69ea7ddd68f63f45dc57027c0dd39d9e584
Author: Ruben Vermeersch <ruben savanne be>
Date:   Sun May 16 09:37:34 2010 +0200

    Embed TagLib# as a submodule.
    
    Note that we use the photo-support branch.

 .gitmodules            |    3 +
 configure.ac           |    1 +
 lib/Makefile.am        |   33 ++++++++
 lib/TagLib/Makefile.am |   15 ++++
 lib/TagLib/TagLib      |    1 +
 lib/TagLib/sources.mk  |  196 ++++++++++++++++++++++++++++++++++++++++++++++++
 6 files changed, 249 insertions(+), 0 deletions(-)
---
diff --git a/.gitmodules b/.gitmodules
index a894988..3e1ced8 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -1,3 +1,6 @@
 [submodule "lib/Hyena"]
 	path = lib/Hyena
 	url = git://git.gnome.org/hyena
+[submodule "lib/TagLib/TagLib"]
+	path = lib/TagLib/TagLib
+	url = git://gitorious.org/taglib-sharp/mainline.git
diff --git a/configure.ac b/configure.ac
index d5d13f4..b061eba 100644
--- a/configure.ac
+++ b/configure.ac
@@ -331,6 +331,7 @@ lib/Hyena/src/Hyena/Makefile
 lib/Hyena/src/Mono.Data.Sqlite/Makefile
 lib/Hyena/src/Hyena.Data.Sqlite/Makefile
 lib/Hyena/src/Hyena.Gui/Makefile
+lib/TagLib/Makefile
 
 docs/Makefile
 icons/Makefile
diff --git a/lib/Makefile.am b/lib/Makefile.am
index fa5e6ab..19ddd99 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -11,4 +11,37 @@ SUBDIRS = \
 	libjpegtran			\
 	libfspot			\
 	semweb				\
+	TagLib 				\
 	unique-sharp
+
+
+### The stuff below takes care of embedding libraries. Build system hacks! ###
+TMPDIR_TAGLIB = /tmp/fetch_taglib
+
+clone-taglib:
+	mkdir $(TMPDIR_TAGLIB)
+	git clone --depth 1 git://gitorious.org/taglib-sharp/mainline.git $(TMPDIR_TAGLIB)
+	pushd $(TMPDIR_TAGLIB); git checkout -b photo-support origin/photo-support; popd
+
+
+update-taglib:
+	rm -rf TagLib/TagLib
+	cp -r $(TMPDIR_TAGLIB)/src/TagLib TagLib
+	echo "# This file is autogenerated, do not edit!" > TagLib/Makefile.am
+	echo "include \$$(top_srcdir)/Makefile.include" >> TagLib/Makefile.am
+	echo "ASSEMBLY_NAME = TagLib" >> TagLib/Makefile.am
+	echo >> TagLib/Makefile.am
+	echo "ASSEMBLY_SOURCES = \\" >> TagLib/Makefile.am
+	tail -n+2 TagLib/TagLib/TagLib.sources | sed s/\$$\(srcdir\)\\/// >> TagLib/Makefile.am
+	echo >> TagLib/Makefile.am
+	echo "ASSEMBLY = \$$(ASSEMBLY_NAME).dll" >> TagLib/Makefile.am
+	echo "all: \$$(ASSEMBLY)" >> TagLib/Makefile.am
+	echo "\$$(ASSEMBLY): \$$(ASSEMBLY_SOURCES)" >> TagLib/Makefile.am
+	echo "	\$$(CSC_LIB) \$$(CSC_DEFINES) -out:\$$@ \$$(ASSEMBLY_SOURCES)" >> TagLib/Makefile.am
+	echo >> TagLib/Makefile.am
+	echo "assemblydir = \$$(pkglibdir)" >> TagLib/Makefile.am
+	echo "assembly_DATA = \$$(ASSEMBLY)" >> TagLib/Makefile.am
+	echo "EXTRA_DIST = \$$(ASSEMBLY_SOURCES)" >> TagLib/Makefile.am
+	echo "CLEANFILES = \$$(ASSEMBLY) \$$(ASSEMBLY).mdb" >> TagLib/Makefile.am
+
+.PHONY: clone-taglib update-taglib
diff --git a/lib/TagLib/Makefile.am b/lib/TagLib/Makefile.am
new file mode 100644
index 0000000..78a005f
--- /dev/null
+++ b/lib/TagLib/Makefile.am
@@ -0,0 +1,15 @@
+ASSEMBLY = TagLib
+TARGET = library
+LINK = $(REF_TAGLIB)
+RESOURCES =
+
+include $(srcdir)/sources.mk
+include $(top_srcdir)/build/build.mk
+
+### The stuff below takes care of embedding libraries. Build system hacks! ###
+update-taglib:
+	echo "# This file is autogenerated, do not edit!" > sources.mk
+	echo "SOURCES = \\" >> sources.mk
+	tail -n+2 TagLib/src/TagLib/TagLib.sources | sed s/\$$\(srcdir\)\\//TagLib\\/src\\// >> sources.mk
+
+.PHONY: update-taglib
diff --git a/lib/TagLib/TagLib b/lib/TagLib/TagLib
new file mode 160000
index 0000000..15ebc4d
--- /dev/null
+++ b/lib/TagLib/TagLib
@@ -0,0 +1 @@
+Subproject commit 15ebc4d34996f62e9c5337694d344c8e5df11a78
diff --git a/lib/TagLib/sources.mk b/lib/TagLib/sources.mk
new file mode 100644
index 0000000..813cf04
--- /dev/null
+++ b/lib/TagLib/sources.mk
@@ -0,0 +1,196 @@
+# This file is autogenerated, do not edit!
+SOURCES = \
+	TagLib/src/TagLib/Aac/AudioHeader.cs \
+	TagLib/src/TagLib/Aac/BitStream.cs \
+	TagLib/src/TagLib/Aac/File.cs \
+	TagLib/src/TagLib/Aiff/File.cs \
+	TagLib/src/TagLib/Aiff/StreamHeader.cs \
+	TagLib/src/TagLib/Ape/Tag.cs \
+	TagLib/src/TagLib/Ape/Item.cs \
+	TagLib/src/TagLib/Ape/Footer.cs \
+	TagLib/src/TagLib/Ape/File.cs \
+	TagLib/src/TagLib/Ape/StreamHeader.cs \
+	TagLib/src/TagLib/Asf/Guid.cs \
+	TagLib/src/TagLib/Asf/StreamPropertiesObject.cs \
+	TagLib/src/TagLib/Asf/UnknownObject.cs \
+	TagLib/src/TagLib/Asf/Tag.cs \
+	TagLib/src/TagLib/Asf/Object.cs \
+	TagLib/src/TagLib/Asf/ExtendedContentDescriptionObject.cs \
+	TagLib/src/TagLib/Asf/ContentDescriptionObject.cs \
+	TagLib/src/TagLib/Asf/MetadataLibraryObject.cs \
+	TagLib/src/TagLib/Asf/HeaderObject.cs \
+	TagLib/src/TagLib/Asf/HeaderExtensionObject.cs \
+	TagLib/src/TagLib/Asf/File.cs \
+	TagLib/src/TagLib/Asf/FilePropertiesObject.cs \
+	TagLib/src/TagLib/Asf/PaddingObject.cs \
+	TagLib/src/TagLib/Asf/ContentDescriptor.cs \
+	TagLib/src/TagLib/Asf/DescriptionRecord.cs \
+	TagLib/src/TagLib/Mpc/StreamHeader.cs \
+	TagLib/src/TagLib/Mpc/File.cs \
+	TagLib/src/TagLib/Ogg/GroupedComment.cs \
+	TagLib/src/TagLib/Ogg/Bitstream.cs \
+	TagLib/src/TagLib/Ogg/Paginator.cs \
+	TagLib/src/TagLib/Ogg/Codec.cs \
+	TagLib/src/TagLib/Ogg/Codecs/Vorbis.cs \
+	TagLib/src/TagLib/Ogg/Codecs/Theora.cs \
+	TagLib/src/TagLib/Ogg/Page.cs \
+	TagLib/src/TagLib/Ogg/XiphComment.cs \
+	TagLib/src/TagLib/Ogg/PageHeader.cs \
+	TagLib/src/TagLib/Ogg/File.cs \
+	TagLib/src/TagLib/Png/Codec.cs \
+	TagLib/src/TagLib/Png/File.cs \
+	TagLib/src/TagLib/Png/PngTag.cs \
+	TagLib/src/TagLib/Flac/Block.cs \
+	TagLib/src/TagLib/Flac/BlockHeader.cs \
+	TagLib/src/TagLib/Flac/StreamHeader.cs \
+	TagLib/src/TagLib/Flac/Picture.cs \
+	TagLib/src/TagLib/Flac/File.cs \
+	TagLib/src/TagLib/Gif/Codec.cs \
+	TagLib/src/TagLib/Gif/File.cs \
+	TagLib/src/TagLib/Gif/GifCommentTag.cs \
+	TagLib/src/TagLib/Image/Codec.cs \
+	TagLib/src/TagLib/Image/CombinedImageTag.cs \
+	TagLib/src/TagLib/Image/File.cs \
+	TagLib/src/TagLib/Image/ImageBlockFile.cs \
+	TagLib/src/TagLib/Image/ImageTag.cs \
+	TagLib/src/TagLib/Image/ImageOrientation.cs \
+	TagLib/src/TagLib/Jpeg/Codec.cs \
+	TagLib/src/TagLib/Jpeg/File.cs \
+	TagLib/src/TagLib/Jpeg/JpegCommentTag.cs \
+	TagLib/src/TagLib/Jpeg/Marker.cs \
+	TagLib/src/TagLib/Jpeg/Table.cs \
+	TagLib/src/TagLib/Mpeg/XingHeader.cs \
+	TagLib/src/TagLib/Mpeg/VBRIHeader.cs \
+	TagLib/src/TagLib/Mpeg/File.cs \
+	TagLib/src/TagLib/Mpeg/AudioFile.cs \
+	TagLib/src/TagLib/Mpeg/AudioHeader.cs \
+	TagLib/src/TagLib/Mpeg/VideoHeader.cs \
+	TagLib/src/TagLib/NonContainer/EndTag.cs \
+	TagLib/src/TagLib/NonContainer/File.cs \
+	TagLib/src/TagLib/NonContainer/StartTag.cs \
+	TagLib/src/TagLib/NonContainer/Tag.cs \
+	TagLib/src/TagLib/Id3v1/Tag.cs \
+	TagLib/src/TagLib/Id3v1/StringHandler.cs \
+	TagLib/src/TagLib/Id3v2/Frames/PopularimeterFrame.cs \
+	TagLib/src/TagLib/Id3v2/Frames/PlayCountFrame.cs \
+	TagLib/src/TagLib/Id3v2/Frames/PrivateFrame.cs \
+	TagLib/src/TagLib/Id3v2/Frames/RelativeVolumeFrame.cs \
+	TagLib/src/TagLib/Id3v2/Frames/UniqueFileIdentifierFrame.cs \
+	TagLib/src/TagLib/Id3v2/Frames/UnknownFrame.cs \
+	TagLib/src/TagLib/Id3v2/Frames/CommentsFrame.cs \
+	TagLib/src/TagLib/Id3v2/Frames/TextIdentificationFrame.cs \
+	TagLib/src/TagLib/Id3v2/Frames/AttachedPictureFrame.cs \
+	TagLib/src/TagLib/Id3v2/Frames/GeneralEncapsulatedObjectFrame.cs \
+	TagLib/src/TagLib/Id3v2/Frames/UnsynchronisedLyricsFrame.cs \
+	TagLib/src/TagLib/Id3v2/Frames/SynchronizedLyricsFrame.cs \
+	TagLib/src/TagLib/Id3v2/Frames/MusicCdIdentifierFrame.cs \
+	TagLib/src/TagLib/Id3v2/Frames/TermsOfUseFrame.cs \
+	TagLib/src/TagLib/Id3v2/FrameFactory.cs \
+	TagLib/src/TagLib/Id3v2/Frame.cs \
+	TagLib/src/TagLib/Id3v2/FrameTypes.cs \
+	TagLib/src/TagLib/Id3v2/Tag.cs \
+	TagLib/src/TagLib/Id3v2/FrameHeader.cs \
+	TagLib/src/TagLib/Id3v2/ExtendedHeader.cs \
+	TagLib/src/TagLib/Id3v2/SynchData.cs \
+	TagLib/src/TagLib/Id3v2/Header.cs \
+	TagLib/src/TagLib/Id3v2/Footer.cs \
+	TagLib/src/TagLib/IFD/Entries/ByteIFDEntry.cs \
+	TagLib/src/TagLib/IFD/Entries/ByteVectorIFDEntry.cs \
+	TagLib/src/TagLib/IFD/Entries/LongArrayIFDEntry.cs \
+	TagLib/src/TagLib/IFD/Entries/LongIFDEntry.cs \
+	TagLib/src/TagLib/IFD/Entries/MakernoteIFDEntry.cs \
+	TagLib/src/TagLib/IFD/Entries/RationalArrayIFDEntry.cs \
+	TagLib/src/TagLib/IFD/Entries/RationalIFDEntry.cs \
+	TagLib/src/TagLib/IFD/Entries/Rational.cs \
+	TagLib/src/TagLib/IFD/Entries/SByteIFDEntry.cs \
+	TagLib/src/TagLib/IFD/Entries/ShortArrayIFDEntry.cs \
+	TagLib/src/TagLib/IFD/Entries/ShortIFDEntry.cs \
+	TagLib/src/TagLib/IFD/Entries/SLongArrayIFDEntry.cs \
+	TagLib/src/TagLib/IFD/Entries/SLongIFDEntry.cs \
+	TagLib/src/TagLib/IFD/Entries/SRationalIFDEntry.cs \
+	TagLib/src/TagLib/IFD/Entries/SShortArrayIFDEntry.cs \
+	TagLib/src/TagLib/IFD/Entries/SShortIFDEntry.cs \
+	TagLib/src/TagLib/IFD/Entries/SRational.cs \
+	TagLib/src/TagLib/IFD/Entries/StringIFDEntry.cs \
+	TagLib/src/TagLib/IFD/Entries/StripOffsetsIFDEntry.cs \
+	TagLib/src/TagLib/IFD/Entries/SubIFDEntry.cs \
+	TagLib/src/TagLib/IFD/Entries/ThumbnailDataIFDEntry.cs \
+	TagLib/src/TagLib/IFD/Entries/UserCommentIFDEntry.cs \
+	TagLib/src/TagLib/IFD/Entries/UndefinedIFDEntry.cs \
+	TagLib/src/TagLib/IFD/IFDEntry.cs \
+	TagLib/src/TagLib/IFD/IFDEntryType.cs \
+	TagLib/src/TagLib/IFD/IFDTag.cs \
+	TagLib/src/TagLib/IFD/IFDDirectory.cs \
+	TagLib/src/TagLib/IFD/IFDStructure.cs \
+	TagLib/src/TagLib/IFD/IFDReader.cs \
+	TagLib/src/TagLib/IFD/IFDRenderer.cs \
+	TagLib/src/TagLib/IFD/Makernotes/Nikon3MakernoteReader.cs \
+	TagLib/src/TagLib/IFD/Tags/CanonMakerNoteEntryTag.cs \
+	TagLib/src/TagLib/IFD/Tags/ExifEntryTag.cs \
+	TagLib/src/TagLib/IFD/Tags/GPSEntryTag.cs \
+	TagLib/src/TagLib/IFD/Tags/IFDEntryTag.cs \
+	TagLib/src/TagLib/IFD/Tags/IOPEntryTag.cs \
+	TagLib/src/TagLib/IFD/Tags/Nikon3MakerNoteEntryTag.cs \
+	TagLib/src/TagLib/IFD/Tags/NikonPreviewMakerNoteEntryTag.cs \
+	TagLib/src/TagLib/IFD/Tags/PanasonicMakerNoteEntryTag.cs \
+	TagLib/src/TagLib/Mpeg4/AppleTag.cs \
+	TagLib/src/TagLib/Mpeg4/Box.cs \
+	TagLib/src/TagLib/Mpeg4/BoxFactory.cs \
+	TagLib/src/TagLib/Mpeg4/BoxHeader.cs \
+	TagLib/src/TagLib/Mpeg4/BoxTypes.cs \
+	TagLib/src/TagLib/Mpeg4/File.cs \
+	TagLib/src/TagLib/Mpeg4/FileParser.cs \
+	TagLib/src/TagLib/Mpeg4/Boxes/IsoFreeSpaceBox.cs \
+	TagLib/src/TagLib/Mpeg4/Boxes/UnknownBox.cs \
+	TagLib/src/TagLib/Mpeg4/Boxes/IsoUserDataBox.cs \
+	TagLib/src/TagLib/Mpeg4/Boxes/IsoChunkOffsetBox.cs \
+	TagLib/src/TagLib/Mpeg4/Boxes/IsoChunkLargeOffsetBox.cs \
+	TagLib/src/TagLib/Mpeg4/Boxes/AppleItemListBox.cs \
+	TagLib/src/TagLib/Mpeg4/Boxes/AppleAnnotationBox.cs \
+	TagLib/src/TagLib/Mpeg4/Boxes/IsoSampleTableBox.cs \
+	TagLib/src/TagLib/Mpeg4/Boxes/IsoSampleEntry.cs \
+	TagLib/src/TagLib/Mpeg4/Boxes/IsoAudioSampleEntry.cs \
+	TagLib/src/TagLib/Mpeg4/Boxes/IsoVisualSampleEntry.cs \
+	TagLib/src/TagLib/Mpeg4/Boxes/IsoMetaBox.cs \
+	TagLib/src/TagLib/Mpeg4/Boxes/IsoSampleDescriptionBox.cs \
+	TagLib/src/TagLib/Mpeg4/Boxes/AppleAdditionalInfoBox.cs \
+	TagLib/src/TagLib/Mpeg4/Boxes/IsoHandlerBox.cs \
+	TagLib/src/TagLib/Mpeg4/Boxes/IsoMovieHeaderBox.cs \
+	TagLib/src/TagLib/Mpeg4/Boxes/FullBox.cs \
+	TagLib/src/TagLib/Mpeg4/Boxes/AppleElementaryStreamDescriptor.cs \
+	TagLib/src/TagLib/Mpeg4/Boxes/AppleDataBox.cs \
+	TagLib/src/TagLib/Riff/AviHeaderList.cs \
+	TagLib/src/TagLib/Riff/AviStream.cs \
+	TagLib/src/TagLib/Riff/WaveFormatEx.cs \
+	TagLib/src/TagLib/Riff/BitmapInfoHeader.cs \
+	TagLib/src/TagLib/Riff/DivXTag.cs \
+	TagLib/src/TagLib/Riff/File.cs \
+	TagLib/src/TagLib/Riff/InfoTag.cs \
+	TagLib/src/TagLib/Riff/List.cs \
+	TagLib/src/TagLib/Riff/ListTag.cs \
+	TagLib/src/TagLib/Riff/MovieIdTag.cs \
+	TagLib/src/TagLib/Tiff/Codec.cs \
+	TagLib/src/TagLib/Tiff/File.cs \
+	TagLib/src/TagLib/WavPack/File.cs \
+	TagLib/src/TagLib/WavPack/StreamHeader.cs \
+	TagLib/src/TagLib/Xmp/XmlNodeExtensions.cs \
+	TagLib/src/TagLib/Xmp/XmpTag.cs \
+	TagLib/src/TagLib/Xmp/XmpNode.cs \
+	TagLib/src/TagLib/Xmp/XmpNodeType.cs \
+	TagLib/src/TagLib/Xmp/XmpNodeVisitor.cs \
+	TagLib/src/TagLib/ICodec.cs \
+	TagLib/src/TagLib/Tag.cs \
+	TagLib/src/TagLib/ReadOnlyByteVector.cs \
+	TagLib/src/TagLib/ByteVector.cs \
+	TagLib/src/TagLib/ByteVectorList.cs \
+	TagLib/src/TagLib/CombinedTag.cs \
+	TagLib/src/TagLib/Genres.cs \
+	TagLib/src/TagLib/Properties.cs \
+	TagLib/src/TagLib/File.cs \
+	TagLib/src/TagLib/StringList.cs \
+	TagLib/src/TagLib/SupportedMimeType.cs \
+	TagLib/src/TagLib/UnsupportedFormatException.cs \
+	TagLib/src/TagLib/Picture.cs \
+	TagLib/src/TagLib/ListBase.cs \
+	TagLib/src/TagLib/FileTypes.cs \
+	TagLib/src/TagLib/CorruptFileException.cs



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]