1 |
commit: 2799b82a00ebdd4c0439de5075c4276fd679b29a |
2 |
Author: Adam Feldman <NP-Hardass <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Aug 6 16:01:51 2020 +0000 |
4 |
Commit: Adam Feldman <np-hardass <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Aug 7 03:17:39 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2799b82a |
7 |
|
8 |
media-gfx/eom: Fix compilation with USE="-exif lcms" |
9 |
|
10 |
Closes: https://bugs.gentoo.org/722888 |
11 |
Package-Manager: Portage-2.3.103, Repoman-2.3.23 |
12 |
Signed-off-by: Adam Feldman <NP-Hardass <AT> gentoo.org> |
13 |
|
14 |
.../{eom-1.24.0.ebuild => eom-1.24.0-r1.ebuild} | 2 ++ |
15 |
.../eom/files/eom-1.24.0-add-gdk-includes.patch | 29 ++++++++++++++++++++++ |
16 |
2 files changed, 31 insertions(+) |
17 |
|
18 |
diff --git a/media-gfx/eom/eom-1.24.0.ebuild b/media-gfx/eom/eom-1.24.0-r1.ebuild |
19 |
similarity index 96% |
20 |
rename from media-gfx/eom/eom-1.24.0.ebuild |
21 |
rename to media-gfx/eom/eom-1.24.0-r1.ebuild |
22 |
index c1052d39a53..b5693d8c3b2 100644 |
23 |
--- a/media-gfx/eom/eom-1.24.0.ebuild |
24 |
+++ b/media-gfx/eom/eom-1.24.0-r1.ebuild |
25 |
@@ -54,6 +54,8 @@ DEPEND="${COMMON_DEPEND} |
26 |
virtual/pkgconfig |
27 |
" |
28 |
|
29 |
+PATCHES=( "${FILESDIR}/eom-1.24.0-add-gdk-includes.patch" ) |
30 |
+ |
31 |
src_configure() { |
32 |
mate_src_configure \ |
33 |
--enable-thumbnailer \ |
34 |
|
35 |
diff --git a/media-gfx/eom/files/eom-1.24.0-add-gdk-includes.patch b/media-gfx/eom/files/eom-1.24.0-add-gdk-includes.patch |
36 |
new file mode 100644 |
37 |
index 00000000000..ced5dbcdd9f |
38 |
--- /dev/null |
39 |
+++ b/media-gfx/eom/files/eom-1.24.0-add-gdk-includes.patch |
40 |
@@ -0,0 +1,29 @@ |
41 |
+From 3b76a9f57ea65a7ebd22395eb5d3fda9cc929e8c Mon Sep 17 00:00:00 2001 |
42 |
+From: NP-Hardass <np.hardass@×××××.com> |
43 |
+Date: Tue, 4 Aug 2020 19:35:28 -0400 |
44 |
+Subject: [PATCH] eom-metadata-reader: add gdk/gdk.h include to resolve #258 |
45 |
+ |
46 |
+be4fa2808c4e1a36c2c9b58c1267a54cdda6e495, enable wayland support |
47 |
+ |
48 |
+added "defined(GDK_WINDOWING_x11)" macros without the accompanying gdk |
49 |
+headers |
50 |
+--- |
51 |
+ src/eom-metadata-reader.c | 2 ++ |
52 |
+ 1 file changed, 2 insertions(+) |
53 |
+ |
54 |
+diff --git a/src/eom-metadata-reader.c b/src/eom-metadata-reader.c |
55 |
+index cd796f0..2c93a14 100644 |
56 |
+--- a/src/eom-metadata-reader.c |
57 |
++++ b/src/eom-metadata-reader.c |
58 |
+@@ -23,6 +23,8 @@ |
59 |
+ #include <config.h> |
60 |
+ #endif |
61 |
+ |
62 |
++#include <gdk/gdk.h> |
63 |
++ |
64 |
+ #include "eom-metadata-reader.h" |
65 |
+ #include "eom-metadata-reader-jpg.h" |
66 |
+ #include "eom-metadata-reader-png.h" |
67 |
+-- |
68 |
+2.26.2 |
69 |
+ |