1 |
commit: 571fb5ac57eb4180e61c5f5a8792f893d0b5ce9d |
2 |
Author: Elvis Pranskevichus <elvis <AT> magic <DOT> io> |
3 |
AuthorDate: Tue May 24 20:30:12 2016 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed May 25 08:03:15 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=571fb5ac |
7 |
|
8 |
dev-util/electron: Fix erroneous dependency on gconf with USE="-gnome" |
9 |
|
10 |
Gentoo-Bug: https://bugs.gentoo.org/583130 |
11 |
Package-Manager: portage-2.2.28 |
12 |
Closes: https://github.com/gentoo/gentoo/pull/1530 |
13 |
|
14 |
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org> |
15 |
|
16 |
...n-0.36.12.ebuild => electron-0.36.12-r1.ebuild} | 4 +- |
17 |
...patch => brightray-gentoo-build-fixes-r1.patch} | 52 +++++++++++++++++++--- |
18 |
2 files changed, 48 insertions(+), 8 deletions(-) |
19 |
|
20 |
diff --git a/dev-util/electron/electron-0.36.12.ebuild b/dev-util/electron/electron-0.36.12-r1.ebuild |
21 |
similarity index 99% |
22 |
rename from dev-util/electron/electron-0.36.12.ebuild |
23 |
rename to dev-util/electron/electron-0.36.12-r1.ebuild |
24 |
index 6bb1381..01be177 100644 |
25 |
--- a/dev-util/electron/electron-0.36.12.ebuild |
26 |
+++ b/dev-util/electron/electron-0.36.12-r1.ebuild |
27 |
@@ -5,7 +5,7 @@ |
28 |
EAPI="5" |
29 |
PYTHON_COMPAT=( python2_7 ) |
30 |
|
31 |
-CHROMIUM_LANGS="am ar bg bn ca cs da de el en_GB es es_419 et fa fi fil fr gu he |
32 |
+CHROMIUM_LANGS="am ar bg bn ca cs da de el en_GB es es_LA et fa fi fil fr gu he |
33 |
hi hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt_BR pt_PT ro ru sk sl sr |
34 |
sv sw ta te th tr uk vi zh_CN zh_TW" |
35 |
|
36 |
@@ -279,7 +279,7 @@ src_prepare() { |
37 |
|
38 |
# brightray patches |
39 |
cd "${BRIGHTRAY_S}" || die |
40 |
- epatch "${FILESDIR}/brightray-gentoo-build-fixes.patch" |
41 |
+ epatch "${FILESDIR}/brightray-gentoo-build-fixes-r1.patch" |
42 |
|
43 |
# libcc patches |
44 |
cd "${LIBCC_S}" || die |
45 |
|
46 |
diff --git a/dev-util/electron/files/brightray-gentoo-build-fixes.patch b/dev-util/electron/files/brightray-gentoo-build-fixes-r1.patch |
47 |
similarity index 64% |
48 |
rename from dev-util/electron/files/brightray-gentoo-build-fixes.patch |
49 |
rename to dev-util/electron/files/brightray-gentoo-build-fixes-r1.patch |
50 |
index a678084..3e67d24 100644 |
51 |
--- a/dev-util/electron/files/brightray-gentoo-build-fixes.patch |
52 |
+++ b/dev-util/electron/files/brightray-gentoo-build-fixes-r1.patch |
53 |
@@ -1,28 +1,38 @@ |
54 |
-From c9e2e0237170884bc1069a64f2635bb1ffc1b948 Mon Sep 17 00:00:00 2001 |
55 |
+From e2aabe2618ee91c3f6e817c72370573f45c8b20e Mon Sep 17 00:00:00 2001 |
56 |
From: Elvis Pranskevichus <elvis@×××××.io> |
57 |
Date: Mon, 8 Feb 2016 15:14:58 -0500 |
58 |
Subject: [PATCH] brightray build fixes |
59 |
|
60 |
--- |
61 |
- brightray.gyp | 5 +++-- |
62 |
+ brightray.gyp | 32 +++++++++++++++++++++++++++++--- |
63 |
brightray.gypi | 21 ++++++++------------- |
64 |
- 2 files changed, 11 insertions(+), 15 deletions(-) |
65 |
+ 2 files changed, 37 insertions(+), 16 deletions(-) |
66 |
|
67 |
diff --git a/brightray.gyp b/brightray.gyp |
68 |
-index d7120ea..6150318 100644 |
69 |
+index d7120ea..b23c1eb 100644 |
70 |
--- a/brightray.gyp |
71 |
+++ b/brightray.gyp |
72 |
-@@ -9,6 +9,9 @@ |
73 |
+@@ -1,7 +1,7 @@ |
74 |
+ { |
75 |
+ 'variables': { |
76 |
+ # The libraries brightray will be compiled to. |
77 |
+- 'linux_system_libraries': 'gtk+-2.0 libnotify dbus-1 x11 xi xcursor xdamage xrandr xcomposite xext xfixes xrender xtst gconf-2.0 gmodule-2.0 nss' |
78 |
++ 'linux_system_libraries': 'gtk+-2.0 libnotify dbus-1 x11 xi xcursor xdamage xrandr xcomposite xext xfixes xrender xtst gmodule-2.0 nss' |
79 |
+ }, |
80 |
+ 'includes': [ |
81 |
+ 'filenames.gypi', |
82 |
+@@ -9,6 +9,10 @@ |
83 |
'targets': [ |
84 |
{ |
85 |
'target_name': 'brightray', |
86 |
+ 'dependencies': [ |
87 |
++ 'gconf', |
88 |
+ '<(libchromiumcontent_src_dir)/chromiumcontent/chromiumcontent.gyp:chromiumcontent_all' |
89 |
+ ], |
90 |
'type': 'static_library', |
91 |
'include_dirs': [ |
92 |
'.', |
93 |
-@@ -100,8 +103,6 @@ |
94 |
+@@ -100,8 +104,6 @@ |
95 |
}, { |
96 |
'link_settings': { |
97 |
'libraries': [ |
98 |
@@ -31,6 +41,36 @@ index d7120ea..6150318 100644 |
99 |
# Following libraries are required by libchromiumcontent: |
100 |
'-lasound', |
101 |
'-lcap', |
102 |
+@@ -274,5 +276,29 @@ |
103 |
+ }], # OS=="win" |
104 |
+ ], |
105 |
+ }, |
106 |
++ { |
107 |
++ 'target_name': 'gconf', |
108 |
++ 'type': 'none', |
109 |
++ 'conditions': [ |
110 |
++ ['use_gconf==1 and _toolset=="target"', { |
111 |
++ 'direct_dependent_settings': { |
112 |
++ 'cflags': [ |
113 |
++ '<!@(<(pkg-config) --cflags gconf-2.0)', |
114 |
++ ], |
115 |
++ 'defines': [ |
116 |
++ 'USE_GCONF', |
117 |
++ ], |
118 |
++ }, |
119 |
++ 'link_settings': { |
120 |
++ 'ldflags': [ |
121 |
++ '<!@(<(pkg-config) --libs-only-L --libs-only-other gconf-2.0)', |
122 |
++ ], |
123 |
++ 'libraries': [ |
124 |
++ '<!@(<(pkg-config) --libs-only-l gconf-2.0)', |
125 |
++ ], |
126 |
++ }, |
127 |
++ }], |
128 |
++ ], |
129 |
++ }, |
130 |
+ ], |
131 |
+ } |
132 |
diff --git a/brightray.gypi b/brightray.gypi |
133 |
index 4513fa9..95bdfa1 100644 |
134 |
--- a/brightray.gypi |