public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in media-libs/gexiv2/files: gexiv2-0.2.1-new-exiv2.patch
@ 2010-12-21 15:14 Samuli Suominen (ssuominen)
  0 siblings, 0 replies; 2+ messages in thread
From: Samuli Suominen (ssuominen) @ 2010-12-21 15:14 UTC (permalink / raw
  To: gentoo-commits

ssuominen    10/12/21 15:14:54

  Added:                gexiv2-0.2.1-new-exiv2.patch
  Log:
  Fix compability with exiv2 >= 0.21 API wrt #349150 by Alexandre Rostovtsev. Fix install with multilib-strict. Punt useless .la files. Don't call econf for custom ./configure script. Don't use gnome2.eclass anymore, it's only bringing in unused USE flags (like "debug").
  
  (Portage version: 2.2.0_alpha9/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  media-libs/gexiv2/files/gexiv2-0.2.1-new-exiv2.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/gexiv2/files/gexiv2-0.2.1-new-exiv2.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/gexiv2/files/gexiv2-0.2.1-new-exiv2.patch?rev=1.1&content-type=text/plain

Index: gexiv2-0.2.1-new-exiv2.patch
===================================================================
http://bugs.gentoo.org/349150

--- gexiv2/gexiv2-metadata-exif.cpp
+++ gexiv2/gexiv2-metadata-exif.cpp
@@ -235,10 +235,13 @@
 const gchar* gexiv2_metadata_get_exif_tag_label (const gchar* tag) {
     g_return_val_if_fail(tag != NULL, NULL);
     
-    Exiv2::ExifKey key(tag);
-    
     try {
+        Exiv2::ExifKey key(tag);
+#if EXIV2_TEST_VERSION(0, 21, 0)
+        return g_intern_string(key.tagLabel().c_str());
+#else
         return Exiv2::ExifTags::tagLabel (key.tag (), key.ifdId ());
+#endif
     } catch (Exiv2::Error& e) {
         LOG_ERROR(e);
     }
@@ -249,10 +252,13 @@
 const gchar* gexiv2_metadata_get_exif_tag_description (const gchar* tag) {
     g_return_val_if_fail(tag != NULL, NULL);
     
-    Exiv2::ExifKey key(tag);
-    
     try {
+        Exiv2::ExifKey key(tag);
+#if EXIV2_TEST_VERSION(0, 21, 0)
+        return g_intern_string(key.tagDesc().c_str());
+#else
         return Exiv2::ExifTags::tagDesc (key.tag (), key.ifdId ());
+#endif
     } catch (Exiv2::Error& e) {
         LOG_ERROR(e);
     }






^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gentoo-commits] gentoo-x86 commit in media-libs/gexiv2/files: gexiv2-0.2.1-new-exiv2.patch
@ 2013-12-20 13:50 Johannes Huber (johu)
  0 siblings, 0 replies; 2+ messages in thread
From: Johannes Huber (johu) @ 2013-12-20 13:50 UTC (permalink / raw
  To: gentoo-commits

johu        13/12/20 13:50:43

  Removed:              gexiv2-0.2.1-new-exiv2.patch
  Log:
  Remove old.
  
  (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key F3CFD2BD)


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-12-20 13:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-21 15:14 [gentoo-commits] gentoo-x86 commit in media-libs/gexiv2/files: gexiv2-0.2.1-new-exiv2.patch Samuli Suominen (ssuominen)
  -- strict thread matches above, loose matches on Subject: below --
2013-12-20 13:50 Johannes Huber (johu)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox