diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-10-17 14:16:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-10-17 14:16:38 +0000 |
commit | e1b3d592f43a99f4ed7c91971deda6ce8414dd69 (patch) | |
tree | 38fecdc19b201d4d28df13c22e9b3b45bb469e4b /community-staging/kphotoalbum/fix-with-exiv2-0.21.patch | |
parent | d286d980d2ff42151e9bc81ec348c864c24f9cc4 (diff) |
Mon Oct 17 14:16:38 UTC 2011
Diffstat (limited to 'community-staging/kphotoalbum/fix-with-exiv2-0.21.patch')
-rw-r--r-- | community-staging/kphotoalbum/fix-with-exiv2-0.21.patch | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/community-staging/kphotoalbum/fix-with-exiv2-0.21.patch b/community-staging/kphotoalbum/fix-with-exiv2-0.21.patch deleted file mode 100644 index 65baf235d..000000000 --- a/community-staging/kphotoalbum/fix-with-exiv2-0.21.patch +++ /dev/null @@ -1,47 +0,0 @@ ---- kphotoalbum-4.1.1/Exif/Info.cpp.orig 2010/08/16 08:04:32 1164187 -+++ kphotoalbum-4.1.1/Exif/Info.cpp 2011/01/09 06:50:40 1213128 -@@ -106,6 +106,28 @@ - return res; - - QList<const Exiv2::TagInfo*> tags; -+ std::ostringstream s; -+ -+#if (EXIV2_TEST_VERSION(0,21,0)) -+ const Exiv2::GroupInfo* gi = Exiv2::ExifTags::groupList(); -+ while (gi->tagList_ != 0) { -+ Exiv2::TagListFct tl = gi->tagList_; -+ const Exiv2::TagInfo* ti = tl(); -+ -+ while (ti->tag_ != 0xFFFF) { -+ tags << ti; -+ ++ti; -+ } -+ ++gi; -+ } -+ -+ for (QList<const Exiv2::TagInfo*>::iterator it = tags.begin(); it != tags.end(); ++it) { -+ while ( (*it)->tag_ != 0xffff ) { -+ res.insert(QString::fromLatin1(Exiv2::ExifKey(**it).key().c_str())); -+ ++(*it); -+ } -+ } -+#else - tags << - Exiv2::ExifTags::ifdTagList() << - Exiv2::ExifTags::exifTagList() << -@@ -121,7 +143,6 @@ - // Now the ugly part -- exiv2 doesn't have any way to get a list of - // MakerNote tags in a reasonable form, so we have to parse it from strings - -- std::ostringstream s; - for ( Exiv2::IfdId kind = Exiv2::canonIfdId; kind < Exiv2::lastIfdId; - kind = static_cast<Exiv2::IfdId>( kind + 1 ) ) { - #if EXIV2_TEST_VERSION(0,17,0) -@@ -130,6 +151,7 @@ - Exiv2::ExifTags::makerTaglist( s, kind ); - #endif - } -+#endif - - // IPTC tags use yet another format... - Exiv2::IptcDataSets::dataSetList( s ); |