1 |
commit: b2432b263b4f698572288e0444b6b7ce8e918bfa |
2 |
Author: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Apr 27 21:24:42 2021 +0000 |
4 |
Commit: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Apr 27 21:29:54 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2432b26 |
7 |
|
8 |
media-gfx/geeqie: fix install with newer yelp |
9 |
|
10 |
Closes: https://bugs.gentoo.org/785142 |
11 |
Package-Manager: Portage-3.0.18, Repoman-3.0.3 |
12 |
Signed-off-by: Bernard Cafarelli <voyageur <AT> gentoo.org> |
13 |
|
14 |
media-gfx/geeqie/files/geeqie-1.6-yelp.patch | 25 +++++++++++++++++++++++++ |
15 |
media-gfx/geeqie/geeqie-1.6.ebuild | 4 +++- |
16 |
2 files changed, 28 insertions(+), 1 deletion(-) |
17 |
|
18 |
diff --git a/media-gfx/geeqie/files/geeqie-1.6-yelp.patch b/media-gfx/geeqie/files/geeqie-1.6-yelp.patch |
19 |
new file mode 100644 |
20 |
index 00000000000..e1d7797d1d5 |
21 |
--- /dev/null |
22 |
+++ b/media-gfx/geeqie/files/geeqie-1.6-yelp.patch |
23 |
@@ -0,0 +1,25 @@ |
24 |
+From a33d8c40e9e56597f68e83be3336036992996738 Mon Sep 17 00:00:00 2001 |
25 |
+From: Matthew Miller <mattdm@××××××.org> |
26 |
+Date: Thu, 8 Apr 2021 20:21:39 -0400 |
27 |
+Subject: [PATCH] Fix doc building with newer yelp |
28 |
+ |
29 |
+This adds `-i`, because otherwise it will complain about missing files (which |
30 |
+we copy into place later), and adds a trailing slash to the output directory, |
31 |
+because `yelp-build` now puts the files into the wrong place otherwise. |
32 |
+--- |
33 |
+ doc/Makefile.am | 2 +- |
34 |
+ 1 file changed, 1 insertion(+), 1 deletion(-) |
35 |
+ |
36 |
+diff --git a/doc/Makefile.am b/doc/Makefile.am |
37 |
+index 3d044bd8..78b96233 100644 |
38 |
+--- a/doc/Makefile.am |
39 |
++++ b/doc/Makefile.am |
40 |
+@@ -7,7 +7,7 @@ EXTRA_DIST = docbook2html.sh docbook icons |
41 |
+ html/GuideIndex.html: docbook/GuideIndex.xml |
42 |
+ rm -rf html; mkdir html; cp $(srcdir)/icons/* html/ |
43 |
+ if [ -x "$(GNOME_DOC_TOOL)" ]; then \ |
44 |
+- "$(GNOME_DOC_TOOL)" html -o html $(srcdir)/docbook/GuideIndex.xml ; \ |
45 |
++ "$(GNOME_DOC_TOOL)" html -i -o html/ $(srcdir)/docbook/GuideIndex.xml ; \ |
46 |
+ else \ |
47 |
+ echo "yelp-tools not found, html is not built" ; \ |
48 |
+ fi |
49 |
|
50 |
diff --git a/media-gfx/geeqie/geeqie-1.6.ebuild b/media-gfx/geeqie/geeqie-1.6.ebuild |
51 |
index 39216c02793..1ba491ef5cd 100644 |
52 |
--- a/media-gfx/geeqie/geeqie-1.6.ebuild |
53 |
+++ b/media-gfx/geeqie/geeqie-1.6.ebuild |
54 |
@@ -1,4 +1,4 @@ |
55 |
-# Copyright 1999-2020 Gentoo Authors |
56 |
+# Copyright 1999-2021 Gentoo Authors |
57 |
# Distributed under the terms of the GNU General Public License v2 |
58 |
|
59 |
EAPI=7 |
60 |
@@ -42,6 +42,8 @@ REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} ) |
61 |
gpu-accel? ( gtk3 ) |
62 |
map? ( gpu-accel )" |
63 |
|
64 |
+PATCHES=( "${FILESDIR}"/${P}-yelp.patch ) |
65 |
+ |
66 |
src_prepare() { |
67 |
default |