|
|
28abd1 |
diff --git a/gexiv2/gexiv2-metadata-exif.cpp b/gexiv2/gexiv2-metadata-exif.cpp
|
|
|
28abd1 |
index c87a460..f931b95 100644
|
|
|
28abd1 |
--- a/gexiv2/gexiv2-metadata-exif.cpp
|
|
|
28abd1 |
+++ b/gexiv2/gexiv2-metadata-exif.cpp
|
|
|
28abd1 |
@@ -12,7 +12,7 @@
|
|
|
28abd1 |
#include "gexiv2-metadata-private.h"
|
|
|
28abd1 |
#include <string>
|
|
|
28abd1 |
#include <glib-object.h>
|
|
|
28abd1 |
-#include <exiv2/exif.hpp>
|
|
|
28abd1 |
+#include <exiv2/exiv2.hpp>
|
|
|
28abd1 |
|
|
|
28abd1 |
G_BEGIN_DECLS
|
|
|
28abd1 |
|
|
|
28abd1 |
diff --git a/gexiv2/gexiv2-metadata-gps.cpp b/gexiv2/gexiv2-metadata-gps.cpp
|
|
|
28abd1 |
index d49d97c..47592ec 100644
|
|
|
28abd1 |
--- a/gexiv2/gexiv2-metadata-gps.cpp
|
|
|
28abd1 |
+++ b/gexiv2/gexiv2-metadata-gps.cpp
|
|
|
28abd1 |
@@ -15,7 +15,7 @@
|
|
|
28abd1 |
#include <stdexcept>
|
|
|
28abd1 |
#include <stdio.h>
|
|
|
28abd1 |
#include <glib-object.h>
|
|
|
28abd1 |
-#include <exiv2/exif.hpp>
|
|
|
28abd1 |
+#include <exiv2/exiv2.hpp>
|
|
|
28abd1 |
|
|
|
28abd1 |
#include <limits>
|
|
|
28abd1 |
|
|
|
28abd1 |
diff --git a/gexiv2/gexiv2-metadata-iptc.cpp b/gexiv2/gexiv2-metadata-iptc.cpp
|
|
|
28abd1 |
index 2371708..aeac1c7 100644
|
|
|
28abd1 |
--- a/gexiv2/gexiv2-metadata-iptc.cpp
|
|
|
28abd1 |
+++ b/gexiv2/gexiv2-metadata-iptc.cpp
|
|
|
28abd1 |
@@ -12,7 +12,7 @@
|
|
|
28abd1 |
#include "gexiv2-metadata-private.h"
|
|
|
28abd1 |
#include <string>
|
|
|
28abd1 |
#include <glib-object.h>
|
|
|
28abd1 |
-#include <exiv2/iptc.hpp>
|
|
|
28abd1 |
+#include <exiv2/exiv2.hpp>
|
|
|
28abd1 |
|
|
|
28abd1 |
G_BEGIN_DECLS
|
|
|
28abd1 |
|
|
|
28abd1 |
diff --git a/gexiv2/gexiv2-metadata-private.h b/gexiv2/gexiv2-metadata-private.h
|
|
|
28abd1 |
index d85453c..8818c22 100644
|
|
|
28abd1 |
--- a/gexiv2/gexiv2-metadata-private.h
|
|
|
28abd1 |
+++ b/gexiv2/gexiv2-metadata-private.h
|
|
|
28abd1 |
@@ -11,11 +11,7 @@
|
|
|
28abd1 |
#define GEXIV2_METADATA_PRIVATE_H
|
|
|
28abd1 |
|
|
|
28abd1 |
#include <gexiv2/gexiv2-metadata.h>
|
|
|
28abd1 |
-#include <exiv2/image.hpp>
|
|
|
28abd1 |
-#include <exiv2/exif.hpp>
|
|
|
28abd1 |
-#include <exiv2/iptc.hpp>
|
|
|
28abd1 |
-#include <exiv2/xmp.hpp>
|
|
|
28abd1 |
-#include <exiv2/preview.hpp>
|
|
|
28abd1 |
+#include <exiv2/exiv2.hpp>
|
|
|
28abd1 |
|
|
|
28abd1 |
G_BEGIN_DECLS
|
|
|
28abd1 |
|
|
|
28abd1 |
diff --git a/gexiv2/gexiv2-metadata-xmp.cpp b/gexiv2/gexiv2-metadata-xmp.cpp
|
|
|
28abd1 |
index e4900f2..6f60cd0 100644
|
|
|
28abd1 |
--- a/gexiv2/gexiv2-metadata-xmp.cpp
|
|
|
28abd1 |
+++ b/gexiv2/gexiv2-metadata-xmp.cpp
|
|
|
28abd1 |
@@ -12,7 +12,7 @@
|
|
|
28abd1 |
#include "gexiv2-metadata-private.h"
|
|
|
28abd1 |
#include <string>
|
|
|
28abd1 |
#include <glib-object.h>
|
|
|
28abd1 |
-#include <exiv2/xmp.hpp>
|
|
|
28abd1 |
+#include <exiv2/exiv2.hpp>
|
|
|
28abd1 |
|
|
|
28abd1 |
G_BEGIN_DECLS
|
|
|
28abd1 |
|
|
|
28abd1 |
diff --git a/gexiv2/gexiv2-metadata.cpp b/gexiv2/gexiv2-metadata.cpp
|
|
|
28abd1 |
index 3a78084..51aeaed 100644
|
|
|
28abd1 |
--- a/gexiv2/gexiv2-metadata.cpp
|
|
|
28abd1 |
+++ b/gexiv2/gexiv2-metadata.cpp
|
|
|
28abd1 |
@@ -22,13 +22,8 @@
|
|
|
28abd1 |
#include <cmath>
|
|
|
28abd1 |
#include <glib-object.h>
|
|
|
28abd1 |
#include <gio/gio.h>
|
|
|
28abd1 |
-#include <exiv2/image.hpp>
|
|
|
28abd1 |
-#include <exiv2/xmpsidecar.hpp>
|
|
|
28abd1 |
-#include <exiv2/exif.hpp>
|
|
|
28abd1 |
-#include <exiv2/iptc.hpp>
|
|
|
28abd1 |
-#include <exiv2/xmp.hpp>
|
|
|
28abd1 |
-#include <exiv2/preview.hpp>
|
|
|
28abd1 |
-#include <exiv2/jpgimage.hpp>
|
|
|
28abd1 |
+
|
|
|
28abd1 |
+#include <exiv2/exiv2.hpp>
|
|
|
28abd1 |
|
|
|
28abd1 |
|
|
|
28abd1 |
G_BEGIN_DECLS
|
|
|
28abd1 |
diff --git a/gexiv2/gexiv2-preview-image-private.h b/gexiv2/gexiv2-preview-image-private.h
|
|
|
28abd1 |
index 810304c..b52a84f 100644
|
|
|
28abd1 |
--- a/gexiv2/gexiv2-preview-image-private.h
|
|
|
28abd1 |
+++ b/gexiv2/gexiv2-preview-image-private.h
|
|
|
28abd1 |
@@ -11,7 +11,7 @@
|
|
|
28abd1 |
#define GEXIV2_PREVIEW_IMAGE_PRIVATE_H
|
|
|
28abd1 |
|
|
|
28abd1 |
#include <gexiv2/gexiv2-preview-image.h>
|
|
|
28abd1 |
-#include <exiv2/preview.hpp>
|
|
|
28abd1 |
+#include <exiv2/exiv2.hpp>
|
|
|
28abd1 |
|
|
|
28abd1 |
G_BEGIN_DECLS
|
|
|
28abd1 |
|
|
|
28abd1 |
diff --git a/gexiv2/gexiv2-preview-properties-private.h b/gexiv2/gexiv2-preview-properties-private.h
|
|
|
28abd1 |
index bacb392..b057604 100644
|
|
|
28abd1 |
--- a/gexiv2/gexiv2-preview-properties-private.h
|
|
|
28abd1 |
+++ b/gexiv2/gexiv2-preview-properties-private.h
|
|
|
28abd1 |
@@ -11,7 +11,7 @@
|
|
|
28abd1 |
#define GEXIV2_PREVIEW_PROPERTIES_PRIVATE_H
|
|
|
28abd1 |
|
|
|
28abd1 |
#include <gexiv2/gexiv2-preview-properties.h>
|
|
|
28abd1 |
-#include <exiv2/preview.hpp>
|
|
|
28abd1 |
+#include <exiv2/exiv2.hpp>
|
|
|
28abd1 |
|
|
|
28abd1 |
G_BEGIN_DECLS
|
|
|
28abd1 |
|
|
|
28abd1 |
diff --git a/gexiv2/gexiv2-startup.cpp b/gexiv2/gexiv2-startup.cpp
|
|
|
28abd1 |
index 179b6c7..de438de 100644
|
|
|
28abd1 |
--- a/gexiv2/gexiv2-startup.cpp
|
|
|
28abd1 |
+++ b/gexiv2/gexiv2-startup.cpp
|
|
|
28abd1 |
@@ -7,7 +7,7 @@
|
|
|
28abd1 |
* This is free software. See COPYING for details.
|
|
|
28abd1 |
*/
|
|
|
28abd1 |
|
|
|
28abd1 |
-#include <exiv2/xmp.hpp>
|
|
|
28abd1 |
+#include <exiv2/exiv2.hpp>
|
|
|
28abd1 |
#include "gexiv2-startup.h"
|
|
|
28abd1 |
#include "gexiv2-version.h"
|
|
|
28abd1 |
|
|
|
28abd1 |
diff --git a/gexiv2/gexiv2-stream-io.cpp b/gexiv2/gexiv2-stream-io.cpp
|
|
|
28abd1 |
index abfb843..c83a672 100644
|
|
|
28abd1 |
--- a/gexiv2/gexiv2-stream-io.cpp
|
|
|
28abd1 |
+++ b/gexiv2/gexiv2-stream-io.cpp
|
|
|
28abd1 |
@@ -13,7 +13,7 @@
|
|
|
28abd1 |
#include "gexiv2-stream-io.h"
|
|
|
28abd1 |
#include "gexiv2-managed-stream.h"
|
|
|
28abd1 |
|
|
|
28abd1 |
-#include <exiv2/basicio.hpp>
|
|
|
28abd1 |
+#include <exiv2/exiv2.hpp>
|
|
|
28abd1 |
#include <gio/gio.h>
|
|
|
28abd1 |
#include <glib.h>
|
|
|
28abd1 |
#include <stdio.h>
|
|
|
28abd1 |
diff --git a/gexiv2/gexiv2-stream-io.h b/gexiv2/gexiv2-stream-io.h
|
|
|
28abd1 |
index a26f4e6..bb4cf2d 100644
|
|
|
28abd1 |
--- a/gexiv2/gexiv2-stream-io.h
|
|
|
28abd1 |
+++ b/gexiv2/gexiv2-stream-io.h
|
|
|
28abd1 |
@@ -16,7 +16,7 @@
|
|
|
28abd1 |
#define GEXIV2_STREAM_IO_H
|
|
|
28abd1 |
|
|
|
28abd1 |
#include <gexiv2/gexiv2-managed-stream.h>
|
|
|
28abd1 |
-#include <exiv2/basicio.hpp>
|
|
|
28abd1 |
+#include <exiv2/exiv2.hpp>
|
|
|
28abd1 |
#include <gio/gio.h>
|
|
|
28abd1 |
|
|
|
28abd1 |
|
|
|
28abd1 |
@@ -25,7 +25,7 @@ public:
|
|
|
28abd1 |
|
|
|
28abd1 |
StreamIo (ManagedStreamCallbacks* cb);
|
|
|
28abd1 |
|
|
|
28abd1 |
-#if EXIV2_TEST_VERSION(0,26,0)
|
|
|
28abd1 |
+#if EXIV2_MAJOR_VERSION >= 1 || (EXIV2_MAJOR_VERSION == 0 && EXIV2_MINOR_VERSION >= 26)
|
|
|
28abd1 |
typedef size_t size_type;
|
|
|
28abd1 |
#else
|
|
|
28abd1 |
typedef long size_type;
|