1 |
commit: a0a6dcbe1a5668bd29d2668fe959a065d566aaf2 |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Oct 6 10:22:46 2018 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 6 10:25:09 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0a6dcbe |
7 |
|
8 |
x11-terms/guake: Fix dependencies, runtime |
9 |
|
10 |
Bug: https://bugs.gentoo.org/667878 |
11 |
Package-Manager: Portage-2.3.50, Repoman-2.3.11 |
12 |
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org> |
13 |
|
14 |
x11-terms/guake/files/guake-3.4.0-paths.patch | 14 ++++++++++++++ |
15 |
.../guake/{guake-3.4.0.ebuild => guake-3.4.0-r1.ebuild} | 8 +++++--- |
16 |
x11-terms/guake/guake-9999.ebuild | 10 ++++++---- |
17 |
3 files changed, 25 insertions(+), 7 deletions(-) |
18 |
|
19 |
diff --git a/x11-terms/guake/files/guake-3.4.0-paths.patch b/x11-terms/guake/files/guake-3.4.0-paths.patch |
20 |
new file mode 100644 |
21 |
index 00000000000..30a47294d5e |
22 |
--- /dev/null |
23 |
+++ b/x11-terms/guake/files/guake-3.4.0-paths.patch |
24 |
@@ -0,0 +1,14 @@ |
25 |
+https://bugs.gentoo.org/667878 |
26 |
+https://github.com/Guake/guake/issues/1436 |
27 |
+ |
28 |
+--- a/guake/paths.py |
29 |
++++ b/guake/paths.py |
30 |
+@@ -35,7 +35,7 @@ |
31 |
+ |
32 |
+ |
33 |
+ def get_data_files_dir(): |
34 |
+- d = os.path.dirname(os.path.dirname(sys.modules["guake"].__file__)) |
35 |
++ d = os.path.dirname(sys.modules["guake"].__file__) |
36 |
+ p = os.path.basename(os.path.abspath(os.path.join(d, ".."))) |
37 |
+ if p in ["site-packages", "dist-packages"]: |
38 |
+ # current "guake" package has been installed in a prefix structure (/usr, /usr/local or |
39 |
|
40 |
diff --git a/x11-terms/guake/guake-3.4.0.ebuild b/x11-terms/guake/guake-3.4.0-r1.ebuild |
41 |
similarity index 88% |
42 |
rename from x11-terms/guake/guake-3.4.0.ebuild |
43 |
rename to x11-terms/guake/guake-3.4.0-r1.ebuild |
44 |
index ec3ad80d6f2..a9aeb41ea1c 100644 |
45 |
--- a/x11-terms/guake/guake-3.4.0.ebuild |
46 |
+++ b/x11-terms/guake/guake-3.4.0-r1.ebuild |
47 |
@@ -17,13 +17,14 @@ KEYWORDS="~amd64 ~arm ~x86" |
48 |
IUSE="utempter" |
49 |
|
50 |
RDEPEND=" |
51 |
- dev-libs/keybinder:3 |
52 |
+ dev-libs/glib[${PYTHON_USEDEP}] |
53 |
+ dev-libs/keybinder:3[introspection] |
54 |
dev-python/dbus-python[${PYTHON_USEDEP}] |
55 |
dev-python/pbr[${PYTHON_USEDEP}] |
56 |
dev-python/pycairo[${PYTHON_USEDEP}] |
57 |
dev-python/pygobject:3[${PYTHON_USEDEP}] |
58 |
- x11-libs/libnotify |
59 |
- x11-libs/vte:2.91 |
60 |
+ x11-libs/libnotify[introspection] |
61 |
+ x11-libs/vte:2.91[introspection] |
62 |
utempter? ( sys-libs/libutempter ) |
63 |
" |
64 |
DEPEND=" |
65 |
@@ -36,6 +37,7 @@ DEPEND=" |
66 |
|
67 |
PATCHES=( |
68 |
"${FILESDIR}"/${PN}-3.3.2-paths.patch |
69 |
+ "${FILESDIR}"/${PN}-3.4.0-paths.patch |
70 |
) |
71 |
S=${WORKDIR}/${P^} |
72 |
|
73 |
|
74 |
diff --git a/x11-terms/guake/guake-9999.ebuild b/x11-terms/guake/guake-9999.ebuild |
75 |
index 46f3706e7f3..593f8375adb 100644 |
76 |
--- a/x11-terms/guake/guake-9999.ebuild |
77 |
+++ b/x11-terms/guake/guake-9999.ebuild |
78 |
@@ -1,4 +1,4 @@ |
79 |
-# Copyright 1999-2018 Gentoo Foundation |
80 |
+# Copyright 1999-2018 Gentoo Authors |
81 |
# Distributed under the terms of the GNU General Public License v2 |
82 |
|
83 |
EAPI=6 |
84 |
@@ -17,13 +17,14 @@ KEYWORDS="" |
85 |
IUSE="utempter" |
86 |
|
87 |
RDEPEND=" |
88 |
- dev-libs/keybinder:3 |
89 |
+ dev-libs/glib[${PYTHON_USEDEP}] |
90 |
+ dev-libs/keybinder:3[introspection] |
91 |
dev-python/dbus-python[${PYTHON_USEDEP}] |
92 |
dev-python/pbr[${PYTHON_USEDEP}] |
93 |
dev-python/pycairo[${PYTHON_USEDEP}] |
94 |
dev-python/pygobject:3[${PYTHON_USEDEP}] |
95 |
- x11-libs/libnotify |
96 |
- x11-libs/vte:2.91 |
97 |
+ x11-libs/libnotify[introspection] |
98 |
+ x11-libs/vte:2.91[introspection] |
99 |
utempter? ( sys-libs/libutempter ) |
100 |
" |
101 |
DEPEND=" |
102 |
@@ -36,6 +37,7 @@ DEPEND=" |
103 |
|
104 |
PATCHES=( |
105 |
"${FILESDIR}"/${PN}-3.3.2-paths.patch |
106 |
+ "${FILESDIR}"/${PN}-3.4.0-paths.patch |
107 |
) |
108 |
|
109 |
python_compile_all() { |