summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-07-25 08:03:06 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-07-25 08:03:06 +0000
commitc5e84ebd23f208efdb5f221cdb64f7fbc3ad6673 (patch)
treeb680f4e43becfafbb8d1889576e860cea790778b /media-sound/kid3/files
parentBump to 3.5.4 (pre-release). (diff)
downloadgentoo-2-c5e84ebd23f208efdb5f221cdb64f7fbc3ad6673.tar.gz
gentoo-2-c5e84ebd23f208efdb5f221cdb64f7fbc3ad6673.tar.bz2
gentoo-2-c5e84ebd23f208efdb5f221cdb64f7fbc3ad6673.zip
Remove musicbrainz support as per bug #140184.
(Portage version: 2.1.1_pre3-r3) (Signed Manifest commit)
Diffstat (limited to 'media-sound/kid3/files')
-rw-r--r--media-sound/kid3/files/kid3-0.6-tunepimp04.patch47
1 files changed, 0 insertions, 47 deletions
diff --git a/media-sound/kid3/files/kid3-0.6-tunepimp04.patch b/media-sound/kid3/files/kid3-0.6-tunepimp04.patch
deleted file mode 100644
index 4a3f4b2bf4bf..000000000000
--- a/media-sound/kid3/files/kid3-0.6-tunepimp04.patch
+++ /dev/null
@@ -1,47 +0,0 @@
-Index: kid3-0.6/kid3/musicbrainzclient.cpp
-===================================================================
---- kid3-0.6.orig/kid3/musicbrainzclient.cpp
-+++ kid3-0.6/kid3/musicbrainzclient.cpp
-@@ -30,7 +30,7 @@ MusicBrainzClient::MusicBrainzClient(Imp
- m_trackDataVector(trackDataList), m_tp(0), m_ids(0), m_numFiles(0)
- {
- m_tp = tp_New("kid3", "0.6");
-- tp_SetUseUTF8(m_tp, 1);
-+ tp_SetID3Encoding(m_tp, eUTF8);
- tp_SetAutoFileLookup(m_tp, 1);
- tp_SetRenameFiles(m_tp, 0);
- tp_SetMoveFiles(m_tp, 0);
-@@ -123,8 +123,9 @@ static const char* getFileStatusText(TPF
- void MusicBrainzClient::pollStatus()
- {
- TPCallbackEnum type;
-+ TPFileStatus status;
- int id;
-- while (tp_GetNotification(m_tp, &type, &id)) {
-+ while (tp_GetNotification(m_tp, &type, &id, &status)) {
- QString fn = getFilename(id);
- int index = getIndexOfId(id);
- switch (type) {
-@@ -211,7 +212,7 @@ void MusicBrainzClient::addFiles()
- it = m_trackDataVector.begin();
- it != m_trackDataVector.end();
- ++it) {
-- m_ids[i++] = tp_AddFile(m_tp, QFile::encodeName((*it).getAbsFilename()));
-+ m_ids[i++] = tp_AddFile(m_tp, QFile::encodeName((*it).getAbsFilename()), 1);
- }
- }
-
-@@ -290,10 +291,10 @@ bool MusicBrainzClient::getResults(int i
- albumtrackresult_t* res = *albumTrackResults++;
- ImportTrackData trackData;
- trackData.title = QString::fromUtf8(res->name);
-- trackData.artist = QString::fromUtf8(res->artist->name);
-- trackData.album = QString::fromUtf8(res->album->name);
-+ trackData.artist = QString::fromUtf8(res->artist.name);
-+ trackData.album = QString::fromUtf8(res->album.name);
- trackData.track = res->trackNum;
-- trackData.year = res->album->releaseYear;
-+ trackData.year = res->album.releaseYear;
- // year does not seem to work, so at least we should not
- // overwrite it with 0
- if (trackData.year == 0) {