commit 05b584faa74185e5b2af6d30312c554bcec3ded9 Author: Toshaan Bharvani Date: Mon Jul 11 15:16:06 2022 +0200 initial package creation Signed-off-by: Toshaan Bharvani diff --git a/SOURCES/0001-Don-t-emit-errors-unless-compiled-for-debug.patch b/SOURCES/0001-Don-t-emit-errors-unless-compiled-for-debug.patch new file mode 100644 index 0000000..34d73a2 --- /dev/null +++ b/SOURCES/0001-Don-t-emit-errors-unless-compiled-for-debug.patch @@ -0,0 +1,1043 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Andy Hawkins +Date: Wed, 12 Nov 2014 15:14:41 +0000 +Subject: [PATCH] Don't emit errors unless compiled for debug + +--- + .gitignore | 1 + + include/musicbrainz5/Entity.h | 4 ++++ + src/Alias.cc | 4 ++++ + src/Annotation.cc | 4 ++++ + src/Artist.cc | 4 ++++ + src/ArtistCredit.cc | 6 ++++++ + src/Attribute.cc | 6 ++++++ + src/CDStub.cc | 4 ++++ + src/Collection.cc | 4 ++++ + src/Disc.cc | 4 ++++ + src/FreeDBDisc.cc | 4 ++++ + src/HTTPFetch.cc | 24 ++++++++++++++++++++---- + src/IPI.cc | 6 ++++++ + src/ISRC.cc | 4 ++++ + src/ISWC.cc | 6 ++++++ + src/Label.cc | 4 ++++ + src/LabelInfo.cc | 6 ++++++ + src/Lifespan.cc | 6 ++++++ + src/List.cc | 4 ++++ + src/Medium.cc | 6 ++++++ + src/Message.cc | 6 ++++++ + src/Metadata.cc | 4 ++++ + src/NameCredit.cc | 4 ++++ + src/NonMBTrack.cc | 6 ++++++ + src/PUID.cc | 4 ++++ + src/Rating.cc | 4 ++++ + src/Recording.cc | 4 ++++ + src/Relation.cc | 4 ++++ + src/Release.cc | 4 ++++ + src/ReleaseGroup.cc | 4 ++++ + src/SecondaryType.cc | 6 ++++++ + src/Tag.cc | 4 ++++ + src/TextRepresentation.cc | 6 ++++++ + src/Track.cc | 6 ++++++ + src/UserRating.cc | 6 ++++++ + src/UserTag.cc | 6 ++++++ + src/Work.cc | 6 ++++++ + tests/mbtest.cc | 18 +++++++++--------- + 38 files changed, 200 insertions(+), 13 deletions(-) + +diff --git a/include/musicbrainz5/Entity.h b/include/musicbrainz5/Entity.h +index fca7a14..0f92d55 100644 +--- a/include/musicbrainz5/Entity.h ++++ b/include/musicbrainz5/Entity.h +@@ -76,10 +76,12 @@ namespace MusicBrainz5 + os >> RetVal; + if (os.fail()) + { ++#ifdef _MB5_DEBUG_ + std::cerr << "Error parsing value '"; + if (Node.getText()) + std::cerr << Node.getText(); + std::cerr << "'" << std::endl; ++#endif + } + } + +@@ -92,7 +94,9 @@ namespace MusicBrainz5 + os >> RetVal; + if (os.fail()) + { ++#ifdef _MB5_DEBUG_ + std::cerr << "Error parsing value '" << Text << "'" << std::endl; ++#endif + } + } + +diff --git a/src/Alias.cc b/src/Alias.cc +index bdafc99..29dbe15 100644 +--- a/src/Alias.cc ++++ b/src/Alias.cc +@@ -106,14 +106,18 @@ void MusicBrainz5::CAlias::ParseAttribute(const std::string& Name, const std::st + m_d->m_EndDate=Value; + else + { ++#ifdef _MB5_DEBUG_ + std::cerr << "Unrecognised alias attribute: '" << Name << "'" << std::endl; ++#endif + } + } + + void MusicBrainz5::CAlias::ParseElement(const XMLNode& Node) + { + std::string NodeName=Node.getName(); ++#ifdef _MB5_DEBUG_ + std::cerr << "Unrecognised alias element: '" << NodeName << std::endl; ++#endif + } + + std::string MusicBrainz5::CAlias::GetElementName() +diff --git a/src/Annotation.cc b/src/Annotation.cc +index e138c83..3091973 100644 +--- a/src/Annotation.cc ++++ b/src/Annotation.cc +@@ -87,7 +87,9 @@ void MusicBrainz5::CAnnotation::ParseAttribute(const std::string& Name, const st + m_d->m_Type=Value; + else + { ++#ifdef _MB5_DEBUG_ + std::cerr << "Unrecognised annotation attribute: '" << Name << "'" << std::endl; ++#endif + } + } + +@@ -109,7 +111,9 @@ void MusicBrainz5::CAnnotation::ParseElement(const XMLNode& Node) + } + else + { ++#ifdef _MB5_DEBUG_ + std::cerr << "Unrecognised annotation element: '" << NodeName << "'" << std::endl; ++#endif + } + } + +diff --git a/src/Artist.cc b/src/Artist.cc +index bcf37c3..528ff96 100644 +--- a/src/Artist.cc ++++ b/src/Artist.cc +@@ -234,7 +234,9 @@ void MusicBrainz5::CArtist::ParseAttribute(const std::string& Name, const std::s + m_d->m_Type=Value; + else + { ++#ifdef _MB5_DEBUG_ + std::cerr << "Unrecognised artist attribute: '" << Name << "'" << std::endl; ++#endif + } + } + +@@ -320,7 +322,9 @@ void MusicBrainz5::CArtist::ParseElement(const XMLNode& Node) + } + else + { ++#ifdef _MB5_DEBUG_ + std::cerr << "Unrecognised artist element: '" << NodeName << "'" << std::endl; ++#endif + } + } + +diff --git a/src/ArtistCredit.cc b/src/ArtistCredit.cc +index 6ad7e64..b31f549 100644 +--- a/src/ArtistCredit.cc ++++ b/src/ArtistCredit.cc +@@ -98,7 +98,11 @@ MusicBrainz5::CArtistCredit *MusicBrainz5::CArtistCredit::Clone() + + void MusicBrainz5::CArtistCredit::ParseAttribute(const std::string& Name, const std::string& /*Value*/) + { ++#ifdef _MB5_DEBUG_ + std::cerr << "Unrecognised artistcredit attribute: '" << Name << "'" << std::endl; ++#else ++ (void)Name; ++#endif + } + + void MusicBrainz5::CArtistCredit::ParseElement(const XMLNode& Node) +@@ -112,7 +116,9 @@ void MusicBrainz5::CArtistCredit::ParseElement(const XMLNode& Node) + } + else + { ++#ifdef _MB5_DEBUG_ + std::cerr << "Unrecognised artistcredit element: '" << NodeName << "'" << std::endl; ++#endif + } + } + +diff --git a/src/Attribute.cc b/src/Attribute.cc +index 9e0afce..dafc0a9 100644 +--- a/src/Attribute.cc ++++ b/src/Attribute.cc +@@ -80,14 +80,20 @@ MusicBrainz5::CAttribute *MusicBrainz5::CAttribute::Clone() + + void MusicBrainz5::CAttribute::ParseAttribute(const std::string& Name, const std::string& /*Value*/) + { ++#ifdef _MB5_DEBUG_ + std::cerr << "Unrecognised attribute attribute: '" << Name << "'" << std::endl; ++#else ++ (void)Name; ++#endif + } + + void MusicBrainz5::CAttribute::ParseElement(const XMLNode& Node) + { + std::string NodeName=Node.getName(); + ++#ifdef _MB5_DEBUG_ + std::cerr << "Unrecognised attribute element: '" << NodeName << "'" << std::endl; ++#endif + } + + std::string MusicBrainz5::CAttribute::GetElementName() +diff --git a/src/CDStub.cc b/src/CDStub.cc +index f237351..707429d 100644 +--- a/src/CDStub.cc ++++ b/src/CDStub.cc +@@ -111,7 +111,9 @@ void MusicBrainz5::CCDStub::ParseAttribute(const std::string& Name, const std::s + m_d->m_ID=Value; + else + { ++#ifdef _MB5_DEBUG_ + std::cerr << "Unrecognised cdstub attribute: '" << Name << "'" << std::endl; ++#endif + } + } + +@@ -141,7 +143,9 @@ void MusicBrainz5::CCDStub::ParseElement(const XMLNode& Node) + } + else + { ++#ifdef _MB5_DEBUG_ + std::cerr << "Unrecognised cd stub element: '" << NodeName << "'" << std::endl; ++#endif + } + } + +diff --git a/src/Collection.cc b/src/Collection.cc +index 293af2c..8cb2c72 100644 +--- a/src/Collection.cc ++++ b/src/Collection.cc +@@ -106,7 +106,9 @@ void MusicBrainz5::CCollection::ParseAttribute(const std::string& Name, const st + m_d->m_ID=Value; + else + { ++#ifdef _MB5_DEBUG_ + std::cerr << "Unrecognised collection attribute: '" << Name << "'" << std::endl; ++#endif + } + } + +@@ -128,7 +130,9 @@ void MusicBrainz5::CCollection::ParseElement(const XMLNode& Node) + } + else + { ++#ifdef _MB5_DEBUG_ + std::cerr << "Unrecognised collection element: '" << NodeName << "'" << std::endl; ++#endif + } + } + +diff --git a/src/Disc.cc b/src/Disc.cc +index 0616ea7..bbd0922 100644 +--- a/src/Disc.cc ++++ b/src/Disc.cc +@@ -106,7 +106,9 @@ void MusicBrainz5::CDisc::ParseAttribute(const std::string& Name, const std::str + ProcessItem(Value,m_d->m_ID); + else + { ++#ifdef _MB5_DEBUG_ + std::cerr << "Unrecognised disc attribute: '" << Name << "'" << std::endl; ++#endif + } + } + +@@ -124,7 +126,9 @@ void MusicBrainz5::CDisc::ParseElement(const XMLNode& Node) + } + else + { ++#ifdef _MB5_DEBUG_ + std::cerr << "Unrecognised disc element: '" << NodeName << "'" << std::endl; ++#endif + } + } + +diff --git a/src/FreeDBDisc.cc b/src/FreeDBDisc.cc +index a888192..4d5f1a3 100644 +--- a/src/FreeDBDisc.cc ++++ b/src/FreeDBDisc.cc +@@ -111,7 +111,9 @@ void MusicBrainz5::CFreeDBDisc::ParseAttribute(const std::string& Name, const st + m_d->m_ID=Value; + else + { ++#ifdef _MB5_DEBUG_ + std::cerr << "Unrecognised freedb disc attribute: '" << Name << "'" << std::endl; ++#endif + } + } + +@@ -141,7 +143,9 @@ void MusicBrainz5::CFreeDBDisc::ParseElement(const XMLNode& Node) + } + else + { ++#ifdef _MB5_DEBUG_ + std::cerr << "Unrecognised freedb disc element: '" << NodeName << "'" << std::endl; ++#endif + } + } + +diff --git a/src/HTTPFetch.cc b/src/HTTPFetch.cc +index ac3f9b4..baec359 100644 +--- a/src/HTTPFetch.cc ++++ b/src/HTTPFetch.cc +@@ -36,6 +36,26 @@ + #include "ne_string.h" + #include "ne_request.h" + ++#if defined(__GNUC__) ++__attribute__((constructor)) ++#else ++ #error Non GCC compiler detected ++#endif ++static void initialize_neon() ++{ ++ ne_sock_init(); ++} ++ ++#if defined(__GNUC__) ++__attribute__((destructor)) ++#else ++ #error Non GCC compiler detected ++#endif ++static void destroy_neon() ++{ ++ ne_sock_exit(); ++} ++ + class MusicBrainz5::CHTTPFetchPrivate + { + public: +@@ -147,8 +167,6 @@ int MusicBrainz5::CHTTPFetch::Fetch(const std::string& URL, const std::string& R + + m_d->m_Data.clear(); + +- ne_sock_init(); +- + ne_session *sess=ne_session_create("http", m_d->m_Host.c_str(), m_d->m_Port); + if (sess) + { +@@ -230,8 +248,6 @@ int MusicBrainz5::CHTTPFetch::Fetch(const std::string& URL, const std::string& R + } + } + +- ne_sock_exit(); +- + return Ret; + } + +diff --git a/src/IPI.cc b/src/IPI.cc +index 8c5e9ad..1722540 100644 +--- a/src/IPI.cc ++++ b/src/IPI.cc +@@ -86,14 +86,20 @@ MusicBrainz5::CIPI *MusicBrainz5::CIPI::Clone() + + void MusicBrainz5::CIPI::ParseAttribute(const std::string& Name, const std::string& /*Value*/) + { ++#ifdef _MB5_DEBUG_ + std::cerr << "Unrecognised IPI attribute: '" << Name << "'" << std::endl; ++#else ++ (void)Name; ++#endif + } + + void MusicBrainz5::CIPI::ParseElement(const XMLNode& Node) + { + std::string Name=Node.getName(); + ++#ifdef _MB5_DEBUG_ + std::cerr << "Unrecognised IPI element: '" << Name << "'" << std::endl; ++#endif + } + + std::string MusicBrainz5::CIPI::GetElementName() +diff --git a/src/ISRC.cc b/src/ISRC.cc +index bd63a76..81509a2 100644 +--- a/src/ISRC.cc ++++ b/src/ISRC.cc +@@ -103,7 +103,9 @@ void MusicBrainz5::CISRC::ParseAttribute(const std::string& Name, const std::str + m_d->m_ID=Value; + else + { ++#ifdef _MB5_DEBUG_ + std::cerr << "Unrecognised isrc attribute: '" << Name << "'" << std::endl; ++#endif + } + } + +@@ -117,7 +119,9 @@ void MusicBrainz5::CISRC::ParseElement(const XMLNode& Node) + } + else + { ++#ifdef _MB5_DEBUG_ + std::cerr << "Unrecognised ISRC element: '" << NodeName << "'" << std::endl; ++#endif + } + } + +diff --git a/src/ISWC.cc b/src/ISWC.cc +index d8d75a4..1220d99 100644 +--- a/src/ISWC.cc ++++ b/src/ISWC.cc +@@ -92,14 +92,20 @@ MusicBrainz5::CISWC *MusicBrainz5::CISWC::Clone() + + void MusicBrainz5::CISWC::ParseAttribute(const std::string& Name, const std::string& /*Value*/) + { ++#ifdef _MB5_DEBUG_ + std::cerr << "Unrecognised ISWC attribute: '" << Name << "'" << std::endl; ++#else ++ (void)Name; ++#endif + } + + void MusicBrainz5::CISWC::ParseElement(const XMLNode& Node) + { + std::string NodeName=Node.getName(); + ++#ifdef _MB5_DEBUG_ + std::cerr << "Unrecognised ISWC element: '" << NodeName << "'" << std::endl; ++#endif + } + + std::string MusicBrainz5::CISWC::GetElementName() +diff --git a/src/Label.cc b/src/Label.cc +index 8add21c..8007cdc 100644 +--- a/src/Label.cc ++++ b/src/Label.cc +@@ -197,7 +197,9 @@ void MusicBrainz5::CLabel::ParseAttribute(const std::string& Name, const std::st + m_d->m_Type=Value; + else + { ++#ifdef _MB5_DEBUG_ + std::cerr << "Unrecognised label attribute: '" << Name << "'" << std::endl; ++#endif + } + } + +@@ -267,7 +269,9 @@ void MusicBrainz5::CLabel::ParseElement(const XMLNode& Node) + } + else + { ++#ifdef _MB5_DEBUG_ + std::cerr << "Unrecognised label element: '" << NodeName << "'" << std::endl; ++#endif + } + } + +diff --git a/src/LabelInfo.cc b/src/LabelInfo.cc +index ad04652..6c07bbc 100644 +--- a/src/LabelInfo.cc ++++ b/src/LabelInfo.cc +@@ -98,7 +98,11 @@ MusicBrainz5::CLabelInfo *MusicBrainz5::CLabelInfo::Clone() + + void MusicBrainz5::CLabelInfo::ParseAttribute(const std::string& Name, const std::string& /*Value*/) + { ++#ifdef _MB5_DEBUG_ + std::cerr << "Unrecognised labelinfo attribute: '" << Name << "'" << std::endl; ++#else ++ (void)Name; ++#endif + } + + void MusicBrainz5::CLabelInfo::ParseElement(const XMLNode& Node) +@@ -115,7 +119,9 @@ void MusicBrainz5::CLabelInfo::ParseElement(const XMLNode& Node) + } + else + { ++#ifdef _MB5_DEBUG_ + std::cerr << "Unrecognised label info element: '" << NodeName << "'" << std::endl; ++#endif + } + } + +diff --git a/src/Lifespan.cc b/src/Lifespan.cc +index 35b49d1..a97aa8b 100644 +--- a/src/Lifespan.cc ++++ b/src/Lifespan.cc +@@ -81,7 +81,11 @@ MusicBrainz5::CLifespan *MusicBrainz5::CLifespan::Clone() + + void MusicBrainz5::CLifespan::ParseAttribute(const std::string& Name, const std::string& /*Value*/) + { ++#ifdef _MB5_DEBUG_ + std::cerr << "Unrecognised lifespan attribute: '" << Name << "'" << std::endl; ++#else ++ (void)Name; ++#endif + } + + void MusicBrainz5::CLifespan::ParseElement(const XMLNode& Node) +@@ -102,7 +106,9 @@ void MusicBrainz5::CLifespan::ParseElement(const XMLNode& Node) + } + else + { ++#ifdef _MB5_DEBUG_ + std::cerr << "Unrecognised lifespan element: '" << NodeName << "'" << std::endl; ++#endif + } + } + +diff --git a/src/List.cc b/src/List.cc +index 6a8a47c..3bf1982 100644 +--- a/src/List.cc ++++ b/src/List.cc +@@ -109,7 +109,9 @@ void MusicBrainz5::CList::ParseAttribute(const std::string& Name, const std::str + ProcessItem(Value,m_d->m_Count); + else + { ++#ifdef _MB5_DEBUG_ + std::cerr << "Unrecognised list attribute: '" << Name << "'" << std::endl; ++#endif + } + } + +@@ -117,7 +119,9 @@ void MusicBrainz5::CList::ParseElement(const XMLNode& Node) + { + std::string NodeName=Node.getName(); + ++#ifdef _MB5_DEBUG_ + std::cerr << "Unrecognised list element: '" << NodeName << "'" << std::endl; ++#endif + } + + std::string MusicBrainz5::CList::GetElementName() +diff --git a/src/Medium.cc b/src/Medium.cc +index 03e27da..e9495e3 100644 +--- a/src/Medium.cc ++++ b/src/Medium.cc +@@ -114,7 +114,11 @@ MusicBrainz5::CMedium *MusicBrainz5::CMedium::Clone() + + void MusicBrainz5::CMedium::ParseAttribute(const std::string& Name, const std::string& /*Value*/) + { ++#ifdef _MB5_DEBUG_ + std::cerr << "Unrecognised medium attribute: '" << Name << "'" << std::endl; ++#else ++ (void)Name; ++#endif + } + + void MusicBrainz5::CMedium::ParseElement(const XMLNode& Node) +@@ -143,7 +147,9 @@ void MusicBrainz5::CMedium::ParseElement(const XMLNode& Node) + } + else + { ++#ifdef _MB5_DEBUG_ + std::cerr << "Unrecognised medium element: '" << NodeName << "'" << std::endl; ++#endif + } + } + +diff --git a/src/Message.cc b/src/Message.cc +index 63e034b..cc283e0 100644 +--- a/src/Message.cc ++++ b/src/Message.cc +@@ -77,7 +77,11 @@ MusicBrainz5::CMessage *MusicBrainz5::CMessage::Clone() + + void MusicBrainz5::CMessage::ParseAttribute(const std::string& Name, const std::string& /*Value*/) + { ++#ifdef _MB5_DEBUG_ + std::cerr << "Unrecognised message attribute: '" << Name << "'" << std::endl; ++#else ++ (void)Name; ++#endif + } + + void MusicBrainz5::CMessage::ParseElement(const XMLNode& Node) +@@ -88,7 +92,9 @@ void MusicBrainz5::CMessage::ParseElement(const XMLNode& Node) + ProcessItem(Node,m_d->m_Text); + else + { ++#ifdef _MB5_DEBUG_ + std::cerr << "Unrecognised message element: '" << NodeName << "'" << std::endl; ++#endif + } + } + +diff --git a/src/Metadata.cc b/src/Metadata.cc +index 57b4732..66d76cc 100644 +--- a/src/Metadata.cc ++++ b/src/Metadata.cc +@@ -362,7 +362,9 @@ void MusicBrainz5::CMetadata::ParseAttribute(const std::string& Name, const std: + m_d->m_Created=Value; + else + { ++#ifdef _MB5_DEBUG_ + std::cerr << "Unrecognised metadata attribute: '" << Name << "'" << std::endl; ++#endif + } + } + +@@ -480,7 +482,9 @@ void MusicBrainz5::CMetadata::ParseElement(const XMLNode& Node) + } + else + { ++#ifdef _MB5_DEBUG_ + std::cerr << "Unrecognised metadata element: '" << NodeName << "'" << std::endl; ++#endif + } + } + +diff --git a/src/NameCredit.cc b/src/NameCredit.cc +index f587caa..cdeb401 100644 +--- a/src/NameCredit.cc ++++ b/src/NameCredit.cc +@@ -104,7 +104,9 @@ void MusicBrainz5::CNameCredit::ParseAttribute(const std::string& Name, const st + m_d->m_JoinPhrase=Value; + else + { ++#ifdef _MB5_DEBUG_ + std::cerr << "Unrecognised namecredit attribute: '" << Name << "'" << std::endl; ++#endif + } + } + +@@ -122,7 +124,9 @@ void MusicBrainz5::CNameCredit::ParseElement(const XMLNode& Node) + } + else + { ++#ifdef _MB5_DEBUG_ + std::cerr << "Unrecognised name credit element: '" << NodeName << "'" << std::endl; ++#endif + } + } + +diff --git a/src/NonMBTrack.cc b/src/NonMBTrack.cc +index 0bd6367..b47ec48 100644 +--- a/src/NonMBTrack.cc ++++ b/src/NonMBTrack.cc +@@ -86,7 +86,11 @@ MusicBrainz5::CNonMBTrack *MusicBrainz5::CNonMBTrack::Clone() + + void MusicBrainz5::CNonMBTrack::ParseAttribute(const std::string& Name, const std::string& /*Value*/) + { ++#ifdef _MB5_DEBUG_ + std::cerr << "Unrecognised non MB track attribute: '" << Name << "'" << std::endl; ++#else ++ (void)Name; ++#endif + } + + void MusicBrainz5::CNonMBTrack::ParseElement(const XMLNode& Node) +@@ -107,7 +111,9 @@ void MusicBrainz5::CNonMBTrack::ParseElement(const XMLNode& Node) + } + else + { ++#ifdef _MB5_DEBUG_ + std::cerr << "Unrecognised non MB track element: '" << NodeName << "'" << std::endl; ++#endif + } + } + +diff --git a/src/PUID.cc b/src/PUID.cc +index 153d13a..18289ef 100644 +--- a/src/PUID.cc ++++ b/src/PUID.cc +@@ -103,7 +103,9 @@ void MusicBrainz5::CPUID::ParseAttribute(const std::string& Name, const std::str + m_d->m_ID=Value; + else + { ++#ifdef _MB5_DEBUG_ + std::cerr << "Unrecognised puid attribute: '" << Name << "'" << std::endl; ++#endif + } + } + +@@ -117,7 +119,9 @@ void MusicBrainz5::CPUID::ParseElement(const XMLNode& Node) + } + else + { ++#ifdef _MB5_DEBUG_ + std::cerr << "Unrecognised PUID element: '" << NodeName << "'" << std::endl; ++#endif + } + } + +diff --git a/src/Rating.cc b/src/Rating.cc +index 2e6e754..2c6708c 100644 +--- a/src/Rating.cc ++++ b/src/Rating.cc +@@ -96,7 +96,9 @@ void MusicBrainz5::CRating::ParseAttribute(const std::string& Name, const std::s + } + else + { ++#ifdef _MB5_DEBUG_ + std::cerr << "Unrecognised rating attribute: '" << Name << "'" << std::endl; ++#endif + } + } + +@@ -104,7 +106,9 @@ void MusicBrainz5::CRating::ParseElement(const XMLNode& Node) + { + std::string NodeName=Node.getName(); + ++#ifdef _MB5_DEBUG_ + std::cerr << "Unrecognised rating attribute: '" << NodeName << "'" << std::endl; ++#endif + } + + std::string MusicBrainz5::CRating::GetElementName() +diff --git a/src/Recording.cc b/src/Recording.cc +index 76536f3..2eb2dbd 100644 +--- a/src/Recording.cc ++++ b/src/Recording.cc +@@ -157,7 +157,9 @@ void MusicBrainz5::CRecording::ParseAttribute(const std::string& Name, const std + m_d->m_ID=Value; + else + { ++#ifdef _MB5_DEBUG_ + std::cerr << "Unrecognised recording attribute: '" << Name << "'" << std::endl; ++#endif + } + } + +@@ -215,7 +217,9 @@ void MusicBrainz5::CRecording::ParseElement(const XMLNode& Node) + } + else + { ++#ifdef _MB5_DEBUG_ + std::cerr << "Unrecognised recording element: '" << NodeName << "'" << std::endl; ++#endif + } + } + +diff --git a/src/Relation.cc b/src/Relation.cc +index df044c7..789c317 100644 +--- a/src/Relation.cc ++++ b/src/Relation.cc +@@ -168,7 +168,9 @@ void MusicBrainz5::CRelation::ParseAttribute(const std::string& Name, const std: + m_d->m_Type=Value; + else + { ++#ifdef _MB5_DEBUG_ + std::cerr << "Unrecognised relation attribute: '" << Name << "'" << std::endl; ++#endif + } + } + +@@ -226,7 +228,9 @@ void MusicBrainz5::CRelation::ParseElement(const XMLNode& Node) + } + else + { ++#ifdef _MB5_DEBUG_ + std::cerr << "Unrecognised relation element: '" << NodeName << "'" << std::endl; ++#endif + } + } + +diff --git a/src/Release.cc b/src/Release.cc +index 59a58b5..e98886f 100644 +--- a/src/Release.cc ++++ b/src/Release.cc +@@ -180,7 +180,9 @@ void MusicBrainz5::CRelease::ParseAttribute(const std::string& Name, const std:: + m_d->m_ID=Value; + else + { ++#ifdef _MB5_DEBUG_ + std::cerr << "Unrecognised release attribute: '" << Name << "'" << std::endl; ++#endif + } + } + +@@ -254,7 +256,9 @@ void MusicBrainz5::CRelease::ParseElement(const XMLNode& Node) + } + else + { ++#ifdef _MB5_DEBUG_ + std::cerr << "Unrecognised release element: '" << NodeName << "'" << std::endl; ++#endif + } + } + +diff --git a/src/ReleaseGroup.cc b/src/ReleaseGroup.cc +index a8c4edd..0dbd563 100644 +--- a/src/ReleaseGroup.cc ++++ b/src/ReleaseGroup.cc +@@ -183,7 +183,9 @@ void MusicBrainz5::CReleaseGroup::ParseAttribute(const std::string& Name, const + } + else + { ++#ifdef _MB5_DEBUG_ + std::cerr << "Unrecognised releasegroup attribute: '" << Name << "'" << std::endl; ++#endif + } + } + +@@ -241,7 +243,9 @@ void MusicBrainz5::CReleaseGroup::ParseElement(const XMLNode& Node) + } + else + { ++#ifdef _MB5_DEBUG_ + std::cerr << "Unrecognised release group element: '" << NodeName << "'" << std::endl; ++#endif + } + } + +diff --git a/src/SecondaryType.cc b/src/SecondaryType.cc +index 46db98d..094f549 100644 +--- a/src/SecondaryType.cc ++++ b/src/SecondaryType.cc +@@ -93,14 +93,20 @@ MusicBrainz5::CSecondaryType *MusicBrainz5::CSecondaryType::Clone() + + void MusicBrainz5::CSecondaryType::ParseAttribute(const std::string& Name, const std::string& /*Value*/) + { ++#ifdef _MB5_DEBUG_ + std::cerr << "Unrecognised secondary type attribute: '" << Name << "'" << std::endl; ++#else ++ (void)Name; ++#endif + } + + void MusicBrainz5::CSecondaryType::ParseElement(const XMLNode& Node) + { + std::string NodeName=Node.getName(); + ++#ifdef _MB5_DEBUG_ + std::cerr << "Unrecognised secondary type element: '" << NodeName << "'" << std::endl; ++#endif + } + + std::string MusicBrainz5::CSecondaryType::GetElementName() +diff --git a/src/Tag.cc b/src/Tag.cc +index e9f2d6b..e8d4017 100644 +--- a/src/Tag.cc ++++ b/src/Tag.cc +@@ -90,7 +90,9 @@ void MusicBrainz5::CTag::ParseAttribute(const std::string& Name, const std::stri + } + else + { ++#ifdef _MB5_DEBUG_ + std::cerr << "Unrecognised tag attribute: '" << Name << "'" << std::endl; ++#endif + } + } + +@@ -104,7 +106,9 @@ void MusicBrainz5::CTag::ParseElement(const XMLNode& Node) + } + else + { ++#ifdef _MB5_DEBUG_ + std::cerr << "Unrecognised tag element: '" << NodeName << "'" << std::endl; ++#endif + } + } + +diff --git a/src/TextRepresentation.cc b/src/TextRepresentation.cc +index 0d08414..cc4e1be 100644 +--- a/src/TextRepresentation.cc ++++ b/src/TextRepresentation.cc +@@ -79,7 +79,11 @@ MusicBrainz5::CTextRepresentation *MusicBrainz5::CTextRepresentation::Clone() + + void MusicBrainz5::CTextRepresentation::ParseAttribute(const std::string& Name, const std::string& /*Value*/) + { ++#ifdef _MB5_DEBUG_ + std::cerr << "Unrecognised textrepresentation attribute: '" << Name << "'" << std::endl; ++#else ++ (void)Name; ++#endif + } + + void MusicBrainz5::CTextRepresentation::ParseElement(const XMLNode& Node) +@@ -96,7 +100,9 @@ void MusicBrainz5::CTextRepresentation::ParseElement(const XMLNode& Node) + } + else + { ++#ifdef _MB5_DEBUG_ + std::cerr << "Unrecognised textrepresentation element: '" << NodeName << "'" << std::endl; ++#endif + } + } + +diff --git a/src/Track.cc b/src/Track.cc +index a1b0730..5459efa 100644 +--- a/src/Track.cc ++++ b/src/Track.cc +@@ -117,7 +117,11 @@ MusicBrainz5::CTrack *MusicBrainz5::CTrack::Clone() + + void MusicBrainz5::CTrack::ParseAttribute(const std::string& Name, const std::string& /*Value*/) + { ++#ifdef _MB5_DEBUG_ + std::cerr << "Unrecognised track attribute: '" << Name << "'" << std::endl; ++#else ++ (void)Name; ++#endif + } + + void MusicBrainz5::CTrack::ParseElement(const XMLNode& Node) +@@ -150,7 +154,9 @@ void MusicBrainz5::CTrack::ParseElement(const XMLNode& Node) + } + else + { ++#ifdef _MB5_DEBUG_ + std::cerr << "Unrecognised track element: '" << NodeName << "'" << std::endl; ++#endif + } + } + +diff --git a/src/UserRating.cc b/src/UserRating.cc +index 8890786..2b29ae2 100644 +--- a/src/UserRating.cc ++++ b/src/UserRating.cc +@@ -87,14 +87,20 @@ MusicBrainz5::CUserRating *MusicBrainz5::CUserRating::Clone() + + void MusicBrainz5::CUserRating::ParseAttribute(const std::string& Name, const std::string& /*Value*/) + { ++#ifdef _MB5_DEBUG_ + std::cerr << "Unrecognised userrating attribute: '" << Name << "'" << std::endl; ++#else ++ (void)Name; ++#endif + } + + void MusicBrainz5::CUserRating::ParseElement(const XMLNode& Node) + { + std::string Name=Node.getName(); + ++#ifdef _MB5_DEBUG_ + std::cerr << "Unrecognised userrating element: '" << Name << "'" << std::endl; ++#endif + } + + std::string MusicBrainz5::CUserRating::GetElementName() +diff --git a/src/UserTag.cc b/src/UserTag.cc +index 157a31f..9acb49c 100644 +--- a/src/UserTag.cc ++++ b/src/UserTag.cc +@@ -77,7 +77,11 @@ MusicBrainz5::CUserTag *MusicBrainz5::CUserTag::Clone() + + void MusicBrainz5::CUserTag::ParseAttribute(const std::string& Name, const std::string& /*Value*/) + { ++#ifdef _MB5_DEBUG_ + std::cerr << "Unrecognised usertag attribute: '" << Name << "'" << std::endl; ++#else ++ (void)Name; ++#endif + } + + void MusicBrainz5::CUserTag::ParseElement(const XMLNode& Node) +@@ -90,7 +94,9 @@ void MusicBrainz5::CUserTag::ParseElement(const XMLNode& Node) + } + else + { ++#ifdef _MB5_DEBUG_ + std::cerr << "Unrecognised UserTag element: '" << NodeName << "'" << std::endl; ++#endif + } + } + +diff --git a/src/Work.cc b/src/Work.cc +index 3dd8683..df4ca13 100644 +--- a/src/Work.cc ++++ b/src/Work.cc +@@ -181,7 +181,11 @@ void MusicBrainz5::CWork::ParseAttribute(const std::string& Name, const std::str + else if ("type"==Name) + m_d->m_Type=Value; + else ++ { ++#ifdef _MB5_DEBUG_ + std::cerr << "Unrecognised work attribute: '" << Name << "'" << std::endl; ++#endif ++ } + } + + void MusicBrainz5::CWork::ParseElement(const XMLNode& Node) +@@ -234,7 +238,9 @@ void MusicBrainz5::CWork::ParseElement(const XMLNode& Node) + } + else + { ++#ifdef _MB5_DEBUG_ + std::cerr << "Unrecognised work element: '" << NodeName << "'" << std::endl; ++#endif + } + } + +diff --git a/tests/mbtest.cc b/tests/mbtest.cc +index 99b9258..8725d11 100644 +--- a/tests/mbtest.cc ++++ b/tests/mbtest.cc +@@ -66,7 +66,7 @@ void PrintRelationList(MusicBrainz5::CRelationList *RelationList) + + int main(int argc, const char *argv[]) + { +- MusicBrainz5::CQuery MB2("MBTest/v1.0","test.musicbrainz.org"); ++ MusicBrainz5::CQuery MB2("MBTest/v1.0","musicbrainz.org"); + + MusicBrainz5::CQuery::tParamMap Params5; + Params5["inc"]="aliases"; +@@ -83,11 +83,11 @@ int main(int argc, const char *argv[]) + } + } + +- return 0; ++// return 0; + + MusicBrainz5::CMetadata Metadata8=MB2.Query("release-group","2eefe885-f050-426d-93f0-29c5eb8b4f9a"); + std::cout << Metadata8 << std::endl; +- return 0; ++// return 0; + + MusicBrainz5::CMetadata Metadata7=MB2.Query("artist","4b585938-f271-45e2-b19a-91c634b5e396"); + Artist=Metadata7.Artist(); +@@ -107,7 +107,7 @@ int main(int argc, const char *argv[]) + } + } + +- return 0; ++// return 0; + + MusicBrainz5::CMetadata Metadata6=MB2.Query("release-group","2eefe885-f050-426d-93f0-29c5eb8b4f9a"); + MusicBrainz5::CReleaseGroup *ReleaseGroup=Metadata6.ReleaseGroup(); +@@ -133,7 +133,7 @@ int main(int argc, const char *argv[]) + } + } + +- return 0; ++// return 0; + + MusicBrainz5::CMetadata Metadata4=MB2.Query("work","b0d17375-5593-390e-a936-1a65ce74c630"); + +@@ -192,7 +192,7 @@ int main(int argc, const char *argv[]) + } + } + +- return 0; ++// return 0; + + MusicBrainz5::CQuery MB("MBTest/v1.0"); + +@@ -222,7 +222,7 @@ int main(int argc, const char *argv[]) + } + } + +- return 0; ++// return 0; + + MusicBrainz5::CQuery::tParamMap Params; + Params["inc"]="artists labels recordings release-groups url-rels discids recording-level-rels work-level-rels work-rels artist-rels"; +@@ -271,7 +271,7 @@ int main(int argc, const char *argv[]) + } + } + +- return 0; ++// return 0; + + MusicBrainz5::CMetadata Metadata=MB.Query("collection"); + MusicBrainz5::CCollectionList *CollectionList=Metadata.CollectionList(); +@@ -298,7 +298,7 @@ int main(int argc, const char *argv[]) + MB.Query("collection",Collection->ID(),"releases"); + } + +- return 0; ++// return 0; + + std::string DiscID="arIS30RPWowvwNEqsqdDnZzDGhk-"; + diff --git a/SOURCES/doxygen.patch b/SOURCES/doxygen.patch new file mode 100644 index 0000000..5bee12d --- /dev/null +++ b/SOURCES/doxygen.patch @@ -0,0 +1,12 @@ +diff --git a/Doxyfile.cmake b/Doxyfile.cmake +index 1dced85..64e13ad 100644 +--- a/Doxyfile.cmake ++++ b/Doxyfile.cmake +@@ -1,6 +1,7 @@ + PROJECT_NAME = "${PROJECT_NAME}" + PROJECT_NUMBER = ${PROJECT_VERSION} + HTML_OUTPUT = docs ++GENERATE_HTML = YES + GENERATE_LATEX = NO + GENERATE_MAN = NO + GENERATE_RTF = NO diff --git a/SPECS/libmusicbrainz5.spec b/SPECS/libmusicbrainz5.spec new file mode 100644 index 0000000..642bd76 --- /dev/null +++ b/SPECS/libmusicbrainz5.spec @@ -0,0 +1,347 @@ + +# Fedora package review: http://bugzilla.redhat.com/718395 + +%global __cmake_in_source_build 1 + +Summary: Library for accessing MusicBrainz servers +Name: libmusicbrainz5 +Version: 5.1.0 +Release: 19%{?dist} +License: LGPLv2 +URL: http://www.musicbrainz.org/ +Source0: https://github.com/metabrainz/libmusicbrainz/releases/download/release-5.1.0/libmusicbrainz-%{version}.tar.gz +# Filed upstream as http://tickets.musicbrainz.org/browse/LMB-41 +Patch0: doxygen.patch +Patch1: 0001-Don-t-emit-errors-unless-compiled-for-debug.patch +BuildRequires: gcc +BuildRequires: gcc-c++ +BuildRequires: cmake +BuildRequires: doxygen +BuildRequires: pkgconfig(neon) +BuildRequires: pkgconfig(libxml-2.0) +Obsoletes: libmusicbrainz4 < 4.0.3-5 + +%description +The MusicBrainz client library allows applications to make metadata +lookup to a MusicBrainz server, generate signatures from WAV data and +create CD Index Disk ids from audio CD roms. + +%package devel +Summary: Headers for developing programs that will use %{name} +Requires: %{name}%{?_isa} = %{version}-%{release} +Obsoletes: libmusicbrainz4-devel < 4.0.3-5 + +%description devel +This package contains the headers that programmers will need to develop +applications which will use %{name}. + + +%prep +%setup -q -n libmusicbrainz-%{version} +%patch0 -p1 -b .doxygen +%patch1 -p1 -b .silence-warnings + +# omit "Generated on ..." timestamps that induce multilib conflicts +# this is *supposed* to be the doxygen default in fedora these days, but +# it seems there's still a bug or 2 there -- Rex +echo "HTML_TIMESTAMP = NO" >> Doxyfile.cmake + + +%build +%cmake + +%cmake_build + +%cmake_build --target docs + + +%install +%cmake_install + +rm -f docs/installdox + + +%ldconfig_scriptlets + + +%files +%doc AUTHORS.txt COPYING.txt NEWS.txt README.md +%{_libdir}/libmusicbrainz5.so.1* + +%files devel +%doc docs/* +%{_includedir}/musicbrainz5/ +%{_libdir}/libmusicbrainz5.so +%{_libdir}/pkgconfig/libmusicbrainz5.pc + + +%changelog +* Thu Jan 20 2022 Fedora Release Engineering - 5.1.0-19 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Thu Jul 22 2021 Fedora Release Engineering - 5.1.0-18 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Tue Jan 26 2021 Fedora Release Engineering - 5.1.0-17 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Tue Jul 28 2020 Fedora Release Engineering - 5.1.0-16 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue Jul 21 2020 Rex Dieter - 5.1.0-15 +- use %%cmake_build, %%cmake_install + +* Wed Jan 29 2020 Fedora Release Engineering - 5.1.0-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Jul 25 2019 Fedora Release Engineering - 5.1.0-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Fri Feb 01 2019 Fedora Release Engineering - 5.1.0-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Jul 13 2018 Fedora Release Engineering - 5.1.0-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Wed Feb 07 2018 Fedora Release Engineering - 5.1.0-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Fri Nov 17 2017 Christophe Fergeau - 5.1.0-9 +- Add upstream patch silencing some debug runtime warnings + Resolves: rhbz#1450556 + +* Thu Aug 03 2017 Fedora Release Engineering - 5.1.0-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 5.1.0-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Feb 10 2017 Fedora Release Engineering - 5.1.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Thu Feb 04 2016 Fedora Release Engineering - 5.1.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Wed Jun 17 2015 Fedora Release Engineering - 5.1.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Tue Apr 14 2015 Rex Dieter 5.1.0-3 +- rebuild (gcc5) + +* Wed Feb 25 2015 Than Ngo - 5.1.0-2 +- rebuilt against new gcc5 + +* Sat Nov 15 2014 David King 5.1.0-1 +- Update to 5.1.0 (#1164434) +- Drop libxml2 patch (fixed upstream) +- Use pkgconfig for BuildRequires + +* Sun Aug 17 2014 Fedora Release Engineering - 5.0.1-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Wed Jun 11 2014 Christophe Fergeau 5.0.1-10 +- Fix documentation build with doxygen 1.8.7 + Resolves: rhbz#1106042 + +* Sat Jun 07 2014 Fedora Release Engineering - 5.0.1-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Sat Aug 03 2013 Fedora Release Engineering - 5.0.1-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Wed Jun 12 2013 Kalev Lember - 5.0.1-7 +- Fix the libmusicbrainz4 obsoletes version + +* Tue Jun 11 2013 Christophe Fergeau 5.0.1-6 +- Obsoletes libmusicbrainz4, fixes rhbz#967322 + +* Wed Apr 03 2013 Christophe Fergeau - 5.0.1-5 +- Fix Patch1 which is causing rhbz#845846 + +* Thu Feb 14 2013 Fedora Release Engineering - 5.0.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Mon Jan 7 2013 Tom Callaway - 5.0.1-3 +- remove non-free xmlParser.cpp + +* Mon Aug 27 2012 Christophe Fergeau - 5.0.1-2 +- Address review comments (rhbz#832670) + fix licence (LGPLv2+ -> LGPLv2) + fix tarball URL + remove obsolete use of RPM_BUILD_ROOT + remove BuildRequires on pkg-config + remove use of %%defattr + +* Sat Jun 16 2012 Christophe Fergeau - 5.0.1-1 +- Package libmusicbrainz5, apart from the name/version it's identical to + libmusicbrainz4 so this .spec is based on it. + +* Wed May 16 2012 Christophe Fergeau - 4.0.3-1 +- New upstream 4.0.3 release, should fix a bug breaking metadata fetching + from musicbrainz servers + +* Fri Apr 20 2012 Christophe Fergeau - 4.0.1-1 +- New upstream 4.0.1 release, drop patch that has been merged upstream + +* Sun Mar 04 2012 Christophe Fergeau - 4.0.0-1 +- First pass at a libmusicbrainz4 package, heavily based on the + libmusicbrainz3 package + +* Fri Jan 13 2012 Fedora Release Engineering - 3.0.3-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Tue Feb 08 2011 Fedora Release Engineering - 3.0.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Mon Oct 18 2010 Rex Dieter 3.0.3-2 +- libmusicbrainz3-devel multilib conflict (#480378) +- drop extraneous pkgconfig dep baggage + +* Mon Oct 18 2010 Bastien Nocera 3.0.3-1 +- Update to 3.0.3 (#643789) + +* Tue May 25 2010 Bastien Nocera 3.0.2-7 +- Remove script from devel docs + +* Tue Nov 03 2009 Rex Dieter - 3.0.2-7 +- fix/enable unit tests + +* Fri Jul 24 2009 Fedora Release Engineering - 3.0.2-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Mon Jun 29 2009 Rex Dieter - 3.0.2-5 +- fix doxygen-induced multilib conflicts (#480378) +- add %%check section (disabled by default, pending cppunit detection issues) + +* Wed Feb 25 2009 Rex Dieter - 3.0.2-4 +- work harder to omit extraneous pkgconfig deps +- gcc44 patch + +* Wed Feb 25 2009 Fedora Release Engineering - 3.0.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Fri Dec 12 2008 Rex Dieter 3.0.2-2 +- rebuild for pkgconfig deps + +* Tue Sep 16 2008 Rex Dieter 3.0.2-1 +- libmusicbrainz3-3.0.2 + +* Fri Sep 05 2008 Rex Dieter 3.0.1-4 +- Build docs (#461238) +- -devel: drop extraneous Requires + +* Fri Jul 25 2008 Rex Dieter 3.0.1-3 +- fix recursive linking against libdiscid neon + +* Thu Jul 24 2008 Rex Dieter 3.0.1-2 +- BR: libdiscid-devel +- -devel: Requires: libdiscid-devel neon-devel + +* Mon Jun 16 2008 Rex Dieter 3.0.1-1 +- libmusicbrainz3-3.0.1 + +* Sun Jun 15 2008 Rex Dieter 2.1.5-7 +- Provides: libmusicbrainz2(-devel), prepare for libmusicbrainz3 + +* Fri Feb 22 2008 Rex Dieter 2.1.5-6 +- gcc43 patch (#434127) + +* Mon Feb 18 2008 Fedora Release Engineering - 2.1.5-5 +- Autorebuild for GCC 4.3 + +* Mon Feb 18 2008 Rex Dieter - 2.1.5-4 +- specfile cosmetics + +* Thu Nov 15 2007 Rex Dieter - 2.1.5-3 +- use versioned Obsoletes +- drop (Build)Requires: libstdc++-devel +- License: LGPLv2+ + +* Fri Aug 24 2007 Adam Jackson - 2.1.5-2 +- Rebuild for PPC toolchain bug + +* Thu Jun 21 2007 - Bastien Nocera - 2.1.5-1 +- Update to 2.1.5 + +* Mon Oct 23 2006 Matthias Clasen - 2.1.4-1 +- Update to 2.1.4 + +* Wed Jul 12 2006 Jesse Keating - 2.1.1-4.1 +- rebuild + +* Wed Jun 7 2006 Jeremy Katz - 2.1.1-4 +- rebuild for -devel deps + +* Tue Apr 18 2006 Matthias Clasen - 2.1.1-3 +- apply .spec file cleanups from Matthias Saou (#172926) + +* Fri Feb 10 2006 Jesse Keating - 2.1.1-2.1 +- bump again for double-long bug on ppc(64) + +* Tue Feb 7 2006 Christopher Aillon - 2.1.1-2 +- Stop shipping the .a file in the main package + +* Tue Feb 07 2006 Jesse Keating - 2.1.1-1.2 +- rebuilt for new gcc4.1 snapshot and glibc changes + +* Fri Dec 09 2005 Jesse Keating +- rebuilt + +* Wed Mar 23 2005 John (J5) Palmieri 2.1.1-1 +- Update to upstream version 2.1.1 +- Removed libmusicbrainz-2.0.2-missing-return.patch +- Removed libmusicbrainz-2.0.2-conf.patch + +* Thu Mar 03 2005 John (J5) Palmieri 2.0.2-14 +- Add patch to fix percision cast error to compile correctly on s390x + +* Thu Mar 03 2005 John (J5) Palmieri 2.0.2-13 +- rebuild with gcc 4.0 + +* Mon Nov 08 2004 Colin Walters 2.0.2-12 +- Add libmusicbrainz-2.0.2-missing-return.patch (bug #137289) + +* Thu Oct 07 2004 Colin Walters 2.0.2-11 +- BuildRequire expat-devel + +* Tue Sep 28 2004 Colin Walters 2.0.2-10 +- Move .so symlink to -devel package + +* Tue Aug 31 2004 Colin Walters 2.0.2-9 +- Add ldconfig calls (bz #131281) + +* Tue Jun 15 2004 Elliot Lee +- rebuilt + +* Tue Mar 02 2004 Elliot Lee +- rebuilt + +* Fri Feb 13 2004 Elliot Lee +- rebuilt + +* Thu Dec 18 2003 Brent Fox 2.0.2-6 +- add a BuildPreReq for libstdc++-devel and gcc-c++ (bug #106556) +- add a Requires for libstdc++-devel for libmusicbrainz-devel + +* Mon Sep 1 2003 Bill Nottingham +- Obsoletes musicbrainz-devel too + +* Mon Sep 1 2003 Jonathan Blandford +- Obsoletes musicbrainz + +* Fri Aug 22 2003 Bill Nottingham 2.0.2-5 +- fix autoconf/libtool weirdness, remove exclusivearch + +* Fri Aug 22 2003 Brent Fox 2.0.2-4 +- add ExcludeArch for s390x (something is really broken) + +* Fri Aug 22 2003 Brent Fox 2.0.2-3 +- add ExcludeArch for ppc64 + +* Fri Aug 22 2003 Brent Fox 2.0.2-2 +- add ExcludeArch for x86_64 for now + +* Thu Aug 21 2003 Brent Fox +- Initial build. + +