import libgexiv2-0.10.8-4.el8
This commit is contained in:
parent
06e241c732
commit
853ae8bb99
163
SOURCES/libgexiv2-build-against-exiv-027.patch
Normal file
163
SOURCES/libgexiv2-build-against-exiv-027.patch
Normal file
@ -0,0 +1,163 @@
|
||||
diff --git a/gexiv2/gexiv2-metadata-exif.cpp b/gexiv2/gexiv2-metadata-exif.cpp
|
||||
index c87a460..f931b95 100644
|
||||
--- a/gexiv2/gexiv2-metadata-exif.cpp
|
||||
+++ b/gexiv2/gexiv2-metadata-exif.cpp
|
||||
@@ -12,7 +12,7 @@
|
||||
#include "gexiv2-metadata-private.h"
|
||||
#include <string>
|
||||
#include <glib-object.h>
|
||||
-#include <exiv2/exif.hpp>
|
||||
+#include <exiv2/exiv2.hpp>
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
diff --git a/gexiv2/gexiv2-metadata-gps.cpp b/gexiv2/gexiv2-metadata-gps.cpp
|
||||
index d49d97c..47592ec 100644
|
||||
--- a/gexiv2/gexiv2-metadata-gps.cpp
|
||||
+++ b/gexiv2/gexiv2-metadata-gps.cpp
|
||||
@@ -15,7 +15,7 @@
|
||||
#include <stdexcept>
|
||||
#include <stdio.h>
|
||||
#include <glib-object.h>
|
||||
-#include <exiv2/exif.hpp>
|
||||
+#include <exiv2/exiv2.hpp>
|
||||
|
||||
#include <limits>
|
||||
|
||||
diff --git a/gexiv2/gexiv2-metadata-iptc.cpp b/gexiv2/gexiv2-metadata-iptc.cpp
|
||||
index 2371708..aeac1c7 100644
|
||||
--- a/gexiv2/gexiv2-metadata-iptc.cpp
|
||||
+++ b/gexiv2/gexiv2-metadata-iptc.cpp
|
||||
@@ -12,7 +12,7 @@
|
||||
#include "gexiv2-metadata-private.h"
|
||||
#include <string>
|
||||
#include <glib-object.h>
|
||||
-#include <exiv2/iptc.hpp>
|
||||
+#include <exiv2/exiv2.hpp>
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
diff --git a/gexiv2/gexiv2-metadata-private.h b/gexiv2/gexiv2-metadata-private.h
|
||||
index d85453c..8818c22 100644
|
||||
--- a/gexiv2/gexiv2-metadata-private.h
|
||||
+++ b/gexiv2/gexiv2-metadata-private.h
|
||||
@@ -11,11 +11,7 @@
|
||||
#define GEXIV2_METADATA_PRIVATE_H
|
||||
|
||||
#include <gexiv2/gexiv2-metadata.h>
|
||||
-#include <exiv2/image.hpp>
|
||||
-#include <exiv2/exif.hpp>
|
||||
-#include <exiv2/iptc.hpp>
|
||||
-#include <exiv2/xmp.hpp>
|
||||
-#include <exiv2/preview.hpp>
|
||||
+#include <exiv2/exiv2.hpp>
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
diff --git a/gexiv2/gexiv2-metadata-xmp.cpp b/gexiv2/gexiv2-metadata-xmp.cpp
|
||||
index e4900f2..6f60cd0 100644
|
||||
--- a/gexiv2/gexiv2-metadata-xmp.cpp
|
||||
+++ b/gexiv2/gexiv2-metadata-xmp.cpp
|
||||
@@ -12,7 +12,7 @@
|
||||
#include "gexiv2-metadata-private.h"
|
||||
#include <string>
|
||||
#include <glib-object.h>
|
||||
-#include <exiv2/xmp.hpp>
|
||||
+#include <exiv2/exiv2.hpp>
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
diff --git a/gexiv2/gexiv2-metadata.cpp b/gexiv2/gexiv2-metadata.cpp
|
||||
index 3a78084..51aeaed 100644
|
||||
--- a/gexiv2/gexiv2-metadata.cpp
|
||||
+++ b/gexiv2/gexiv2-metadata.cpp
|
||||
@@ -22,13 +22,8 @@
|
||||
#include <cmath>
|
||||
#include <glib-object.h>
|
||||
#include <gio/gio.h>
|
||||
-#include <exiv2/image.hpp>
|
||||
-#include <exiv2/xmpsidecar.hpp>
|
||||
-#include <exiv2/exif.hpp>
|
||||
-#include <exiv2/iptc.hpp>
|
||||
-#include <exiv2/xmp.hpp>
|
||||
-#include <exiv2/preview.hpp>
|
||||
-#include <exiv2/jpgimage.hpp>
|
||||
+
|
||||
+#include <exiv2/exiv2.hpp>
|
||||
|
||||
|
||||
G_BEGIN_DECLS
|
||||
diff --git a/gexiv2/gexiv2-preview-image-private.h b/gexiv2/gexiv2-preview-image-private.h
|
||||
index 810304c..b52a84f 100644
|
||||
--- a/gexiv2/gexiv2-preview-image-private.h
|
||||
+++ b/gexiv2/gexiv2-preview-image-private.h
|
||||
@@ -11,7 +11,7 @@
|
||||
#define GEXIV2_PREVIEW_IMAGE_PRIVATE_H
|
||||
|
||||
#include <gexiv2/gexiv2-preview-image.h>
|
||||
-#include <exiv2/preview.hpp>
|
||||
+#include <exiv2/exiv2.hpp>
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
diff --git a/gexiv2/gexiv2-preview-properties-private.h b/gexiv2/gexiv2-preview-properties-private.h
|
||||
index bacb392..b057604 100644
|
||||
--- a/gexiv2/gexiv2-preview-properties-private.h
|
||||
+++ b/gexiv2/gexiv2-preview-properties-private.h
|
||||
@@ -11,7 +11,7 @@
|
||||
#define GEXIV2_PREVIEW_PROPERTIES_PRIVATE_H
|
||||
|
||||
#include <gexiv2/gexiv2-preview-properties.h>
|
||||
-#include <exiv2/preview.hpp>
|
||||
+#include <exiv2/exiv2.hpp>
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
diff --git a/gexiv2/gexiv2-startup.cpp b/gexiv2/gexiv2-startup.cpp
|
||||
index 179b6c7..de438de 100644
|
||||
--- a/gexiv2/gexiv2-startup.cpp
|
||||
+++ b/gexiv2/gexiv2-startup.cpp
|
||||
@@ -7,7 +7,7 @@
|
||||
* This is free software. See COPYING for details.
|
||||
*/
|
||||
|
||||
-#include <exiv2/xmp.hpp>
|
||||
+#include <exiv2/exiv2.hpp>
|
||||
#include "gexiv2-startup.h"
|
||||
#include "gexiv2-version.h"
|
||||
|
||||
diff --git a/gexiv2/gexiv2-stream-io.cpp b/gexiv2/gexiv2-stream-io.cpp
|
||||
index abfb843..c83a672 100644
|
||||
--- a/gexiv2/gexiv2-stream-io.cpp
|
||||
+++ b/gexiv2/gexiv2-stream-io.cpp
|
||||
@@ -13,7 +13,7 @@
|
||||
#include "gexiv2-stream-io.h"
|
||||
#include "gexiv2-managed-stream.h"
|
||||
|
||||
-#include <exiv2/basicio.hpp>
|
||||
+#include <exiv2/exiv2.hpp>
|
||||
#include <gio/gio.h>
|
||||
#include <glib.h>
|
||||
#include <stdio.h>
|
||||
diff --git a/gexiv2/gexiv2-stream-io.h b/gexiv2/gexiv2-stream-io.h
|
||||
index a26f4e6..bb4cf2d 100644
|
||||
--- a/gexiv2/gexiv2-stream-io.h
|
||||
+++ b/gexiv2/gexiv2-stream-io.h
|
||||
@@ -16,7 +16,7 @@
|
||||
#define GEXIV2_STREAM_IO_H
|
||||
|
||||
#include <gexiv2/gexiv2-managed-stream.h>
|
||||
-#include <exiv2/basicio.hpp>
|
||||
+#include <exiv2/exiv2.hpp>
|
||||
#include <gio/gio.h>
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@ public:
|
||||
|
||||
StreamIo (ManagedStreamCallbacks* cb);
|
||||
|
||||
-#if EXIV2_TEST_VERSION(0,26,0)
|
||||
+#if EXIV2_MAJOR_VERSION >= 1 || (EXIV2_MAJOR_VERSION == 0 && EXIV2_MINOR_VERSION >= 26)
|
||||
typedef size_t size_type;
|
||||
#else
|
||||
typedef long size_type;
|
@ -7,13 +7,15 @@
|
||||
|
||||
Name: libgexiv2
|
||||
Version: 0.10.8
|
||||
Release: 2%{?dist}
|
||||
Release: 4%{?dist}
|
||||
Summary: Gexiv2 is a GObject-based wrapper around the Exiv2 library
|
||||
|
||||
License: GPLv2+
|
||||
URL: https://wiki.gnome.org/Projects/gexiv2
|
||||
Source0: https://download.gnome.org/sources/gexiv2/0.10/gexiv2-%{version}.tar.xz
|
||||
|
||||
Patch0: libgexiv2-build-against-exiv-027.patch
|
||||
|
||||
BuildRequires: exiv2-devel
|
||||
BuildRequires: gobject-introspection-devel
|
||||
BuildRequires: libtool
|
||||
@ -68,6 +70,8 @@ This package contains the python3 bindings for %{name}
|
||||
%prep
|
||||
%setup -q -n gexiv2-%{version}
|
||||
|
||||
%patch0 -p1 -b .build-against-exiv-027
|
||||
|
||||
%build
|
||||
%configure --enable-introspection --enable-static=no --enable-shared=yes
|
||||
%make_build
|
||||
@ -111,6 +115,14 @@ make check
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Tue Oct 29 2019 Tomas Pelka <tpelka@redhat.com> - 0.10.8-4
|
||||
- Rebuild again to correctly trigger side-tag gating (exiv2)
|
||||
Resolves: bz#1757444
|
||||
|
||||
* Tue Oct 15 2019 Jan Grulich <jgrulich@redhat.com> - 0.10.8-3
|
||||
- Rebuild (exiv2)
|
||||
Resolves: bz#1757444
|
||||
|
||||
* Thu Jun 07 2018 Charalampos Stratakis <cstratak@redhat.com> - 0.10.8-2
|
||||
- Conditionalize the python2 subpackage
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user