1 |
commit: 2d2274e66743c0154459d32ac27eb666e5a9edba |
2 |
Author: Alexandre Rostovtsev <tetromino <AT> gmail <DOT> com> |
3 |
AuthorDate: Wed Sep 28 02:45:59 2011 +0000 |
4 |
Commit: Alexandre Restovtsev <tetromino <AT> gmail <DOT> com> |
5 |
CommitDate: Wed Sep 28 02:45:59 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=2d2274e6 |
7 |
|
8 |
www-client/epiphany: 3.1.92 → 3.2.0 |
9 |
|
10 |
Bump and update the networkmanager patch. Add an upstream patch to |
11 |
prevent a crash. |
12 |
|
13 |
--- |
14 |
...piphany-3.1.92.ebuild => epiphany-3.2.0.ebuild} | 7 +++- |
15 |
www-client/epiphany/epiphany-9999.ebuild | 10 ++++-- |
16 |
.../epiphany-3.2.0-networkmanager-crash.patch | 31 ++++++++++++++++++++ |
17 |
...> epiphany-3.2.0-optional-networkmanager.patch} | 29 +++++++++--------- |
18 |
4 files changed, 57 insertions(+), 20 deletions(-) |
19 |
|
20 |
diff --git a/www-client/epiphany/epiphany-3.1.92.ebuild b/www-client/epiphany/epiphany-3.2.0.ebuild |
21 |
similarity index 91% |
22 |
rename from www-client/epiphany/epiphany-3.1.92.ebuild |
23 |
rename to www-client/epiphany/epiphany-3.2.0.ebuild |
24 |
index 08ef4f6..08c4fc7 100644 |
25 |
--- a/www-client/epiphany/epiphany-3.1.92.ebuild |
26 |
+++ b/www-client/epiphany/epiphany-3.2.0.ebuild |
27 |
@@ -30,7 +30,7 @@ COMMON_DEPEND=">=dev-libs/glib-2.30.0:2 |
28 |
>=dev-libs/libxml2-2.6.12:2 |
29 |
>=dev-libs/libxslt-1.1.7 |
30 |
>=app-text/iso-codes-0.35 |
31 |
- >=net-libs/webkit-gtk-1.5.2:3[introspection?] |
32 |
+ >=net-libs/webkit-gtk-1.6.1:3[introspection?] |
33 |
>=net-libs/libsoup-gnome-2.33.1:2.4 |
34 |
>=gnome-base/gnome-keyring-2.26.0 |
35 |
>=gnome-base/gsettings-desktop-schemas-0.0.1 |
36 |
@@ -78,7 +78,10 @@ pkg_setup() { |
37 |
} |
38 |
|
39 |
src_prepare() { |
40 |
+ # Upstream patch to fix a crash, will be in next release |
41 |
+ epatch "${FILESDIR}/${P}-networkmanager-crash.patch" |
42 |
+ |
43 |
# Make networkmanager optional for prefix people |
44 |
- epatch "${FILESDIR}/${PN}-3.1.91.1-optional-networkmanager.patch" |
45 |
+ epatch "${FILESDIR}/${PN}-3.2.0-optional-networkmanager.patch" |
46 |
gnome2_src_prepare |
47 |
} |
48 |
|
49 |
diff --git a/www-client/epiphany/epiphany-9999.ebuild b/www-client/epiphany/epiphany-9999.ebuild |
50 |
index 26d9951..95b0ea4 100644 |
51 |
--- a/www-client/epiphany/epiphany-9999.ebuild |
52 |
+++ b/www-client/epiphany/epiphany-9999.ebuild |
53 |
@@ -23,12 +23,14 @@ else |
54 |
fi |
55 |
|
56 |
# XXX: Should we add seed support? Seed seems to be unmaintained now. |
57 |
-COMMON_DEPEND=">=dev-libs/glib-2.29.10:2 |
58 |
+# Require {glib,gdbus-codegen}-2.30.0 due to GDBus API changes between 2.29.92 |
59 |
+# and 2.30.0 |
60 |
+COMMON_DEPEND=">=dev-libs/glib-2.30.0:2 |
61 |
>=x11-libs/gtk+-3.0.2:3[introspection?] |
62 |
>=dev-libs/libxml2-2.6.12:2 |
63 |
>=dev-libs/libxslt-1.1.7 |
64 |
>=app-text/iso-codes-0.35 |
65 |
- >=net-libs/webkit-gtk-1.5.2:3[introspection?] |
66 |
+ >=net-libs/webkit-gtk-1.6.1:3[introspection?] |
67 |
>=net-libs/libsoup-gnome-2.33.1:2.4 |
68 |
>=gnome-base/gnome-keyring-2.26.0 |
69 |
>=gnome-base/gsettings-desktop-schemas-0.0.1 |
70 |
@@ -49,7 +51,7 @@ RDEPEND="${COMMON_DEPEND} |
71 |
networkmanager? ( >=net-misc/networkmanager-0.8.997 )" |
72 |
DEPEND="${COMMON_DEPEND} |
73 |
app-text/gnome-doc-utils |
74 |
- dev-util/gdbus-codegen |
75 |
+ >=dev-util/gdbus-codegen-2.30.0 |
76 |
>=dev-util/intltool-0.40 |
77 |
dev-util/pkgconfig |
78 |
sys-devel/gettext |
79 |
@@ -77,6 +79,6 @@ pkg_setup() { |
80 |
|
81 |
src_prepare() { |
82 |
# Make networkmanager optional for prefix people |
83 |
- epatch "${FILESDIR}/${PN}-3.1.91.1-optional-networkmanager.patch" |
84 |
+ epatch "${FILESDIR}/${PN}-3.2.0-optional-networkmanager.patch" |
85 |
gnome2_src_prepare |
86 |
} |
87 |
|
88 |
diff --git a/www-client/epiphany/files/epiphany-3.2.0-networkmanager-crash.patch b/www-client/epiphany/files/epiphany-3.2.0-networkmanager-crash.patch |
89 |
new file mode 100644 |
90 |
index 0000000..0742af3 |
91 |
--- /dev/null |
92 |
+++ b/www-client/epiphany/files/epiphany-3.2.0-networkmanager-crash.patch |
93 |
@@ -0,0 +1,31 @@ |
94 |
+From 1cb7fb1109aecedd224d03fda202165adf3423a7 Mon Sep 17 00:00:00 2001 |
95 |
+From: Ionut Biru <ibiru@×××××××××.org> |
96 |
+Date: Mon, 26 Sep 2011 18:12:40 +0000 |
97 |
+Subject: Don't crash when network manager is not available |
98 |
+ |
99 |
+https://bugzilla.gnome.org/show_bug.cgi?id=659103 |
100 |
+ |
101 |
+Signed-off-by: Ionut Biru <ibiru@×××××××××.org> |
102 |
+--- |
103 |
+diff --git a/src/ephy-shell.c b/src/ephy-shell.c |
104 |
+index bf8eb18..c436da1 100644 |
105 |
+--- a/src/ephy-shell.c |
106 |
++++ b/src/ephy-shell.c |
107 |
+@@ -470,10 +470,11 @@ impl_get_embed_single (EphyEmbedShell *embed_shell) |
108 |
+ priv->embed_single_connected = TRUE; |
109 |
+ |
110 |
+ /* Now we need the net monitor */ |
111 |
+- ephy_shell_get_net_monitor (shell); |
112 |
+- ephy_shell_sync_network_status (priv->nm_proxy, |
113 |
+- ephy_network_manager_get_state (priv->nm_proxy), |
114 |
+- shell); |
115 |
++ if (ephy_shell_get_net_monitor (shell)) { |
116 |
++ ephy_shell_sync_network_status (priv->nm_proxy, |
117 |
++ ephy_network_manager_get_state (priv->nm_proxy), |
118 |
++ shell); |
119 |
++ } |
120 |
+ } |
121 |
+ |
122 |
+ return embed_single; |
123 |
+-- |
124 |
+cgit v0.9.0.2 |
125 |
|
126 |
diff --git a/www-client/epiphany/files/epiphany-3.1.91.1-optional-networkmanager.patch b/www-client/epiphany/files/epiphany-3.2.0-optional-networkmanager.patch |
127 |
similarity index 69% |
128 |
rename from www-client/epiphany/files/epiphany-3.1.91.1-optional-networkmanager.patch |
129 |
rename to www-client/epiphany/files/epiphany-3.2.0-optional-networkmanager.patch |
130 |
index 4c3cd17..0ac6112 100644 |
131 |
--- a/www-client/epiphany/files/epiphany-3.1.91.1-optional-networkmanager.patch |
132 |
+++ b/www-client/epiphany/files/epiphany-3.2.0-optional-networkmanager.patch |
133 |
@@ -1,4 +1,4 @@ |
134 |
-From 2b263c0fb24027b2b7877ffa4cb4de3709c43942 Mon Sep 17 00:00:00 2001 |
135 |
+From c29d0825816a541c98a3b0b7f1d6bae454cba2b5 Mon Sep 17 00:00:00 2001 |
136 |
From: Alexandre Rostovtsev <tetromino@×××××.com> |
137 |
Date: Wed, 7 Sep 2011 17:17:42 -0400 |
138 |
Subject: [PATCH] Make networkmanager optional |
139 |
@@ -9,10 +9,10 @@ Some people cannot use it for various reasons (e.g. prefix). |
140 |
1 files changed, 14 insertions(+), 0 deletions(-) |
141 |
|
142 |
diff --git a/src/ephy-shell.c b/src/ephy-shell.c |
143 |
-index f5759d4..83a9e0e 100644 |
144 |
+index c436da1..29b79e6 100644 |
145 |
--- a/src/ephy-shell.c |
146 |
+++ b/src/ephy-shell.c |
147 |
-@@ -70,7 +70,9 @@ struct _EphyShellPrivate { |
148 |
+@@ -63,7 +63,9 @@ struct _EphyShellPrivate { |
149 |
EggToolbarsModel *toolbars_model; |
150 |
EggToolbarsModel *fs_toolbars_model; |
151 |
EphyExtensionsManager *extensions_manager; |
152 |
@@ -22,7 +22,7 @@ index f5759d4..83a9e0e 100644 |
153 |
GtkWidget *bme; |
154 |
GtkWidget *history_window; |
155 |
GObject *pdm_dialog; |
156 |
-@@ -439,6 +441,8 @@ ephy_shell_new_window_cb (EphyEmbedSingle *single, |
157 |
+@@ -435,6 +437,8 @@ ephy_shell_new_window_cb (EphyEmbedSingle *single, |
158 |
NULL, NULL, flags, chromemask, is_popup, 0); |
159 |
} |
160 |
|
161 |
@@ -31,7 +31,7 @@ index f5759d4..83a9e0e 100644 |
162 |
static void |
163 |
ephy_shell_sync_network_status (EphyNetworkManager *nm_proxy, |
164 |
NMState state, |
165 |
-@@ -456,6 +460,8 @@ ephy_shell_sync_network_status (EphyNetworkManager *nm_proxy, |
166 |
+@@ -452,6 +456,8 @@ ephy_shell_sync_network_status (EphyNetworkManager *nm_proxy, |
167 |
ephy_embed_single_set_network_status (single, net_status); |
168 |
} |
169 |
|
170 |
@@ -40,21 +40,22 @@ index f5759d4..83a9e0e 100644 |
171 |
static GObject* |
172 |
impl_get_embed_single (EphyEmbedShell *embed_shell) |
173 |
{ |
174 |
-@@ -473,11 +479,13 @@ impl_get_embed_single (EphyEmbedShell *embed_shell) |
175 |
+@@ -469,12 +475,14 @@ impl_get_embed_single (EphyEmbedShell *embed_shell) |
176 |
|
177 |
priv->embed_single_connected = TRUE; |
178 |
|
179 |
+#ifdef ENABLE_NETWORK_MANAGER |
180 |
/* Now we need the net monitor */ |
181 |
- ephy_shell_get_net_monitor (shell); |
182 |
- ephy_shell_sync_network_status (priv->nm_proxy, |
183 |
- ephy_network_manager_get_state (priv->nm_proxy), |
184 |
- shell); |
185 |
+ if (ephy_shell_get_net_monitor (shell)) { |
186 |
+ ephy_shell_sync_network_status (priv->nm_proxy, |
187 |
+ ephy_network_manager_get_state (priv->nm_proxy), |
188 |
+ shell); |
189 |
+ } |
190 |
+#endif |
191 |
} |
192 |
|
193 |
return embed_single; |
194 |
-@@ -566,6 +574,7 @@ ephy_shell_dispose (GObject *object) |
195 |
+@@ -563,6 +571,7 @@ ephy_shell_dispose (GObject *object) |
196 |
priv->bookmarks = NULL; |
197 |
} |
198 |
|
199 |
@@ -62,7 +63,7 @@ index f5759d4..83a9e0e 100644 |
200 |
if (priv->nm_proxy != NULL) { |
201 |
LOG ("Unref net monitor "); |
202 |
g_signal_handlers_disconnect_by_func |
203 |
-@@ -573,6 +582,7 @@ ephy_shell_dispose (GObject *object) |
204 |
+@@ -570,6 +579,7 @@ ephy_shell_dispose (GObject *object) |
205 |
g_object_unref (priv->nm_proxy); |
206 |
priv->nm_proxy = NULL; |
207 |
} |
208 |
@@ -70,7 +71,7 @@ index f5759d4..83a9e0e 100644 |
209 |
|
210 |
G_OBJECT_CLASS (ephy_shell_parent_class)->dispose (object); |
211 |
} |
212 |
-@@ -918,6 +928,7 @@ ephy_shell_get_extensions_manager (EphyShell *es) |
213 |
+@@ -915,6 +925,7 @@ ephy_shell_get_extensions_manager (EphyShell *es) |
214 |
GObject * |
215 |
ephy_shell_get_net_monitor (EphyShell *shell) |
216 |
{ |
217 |
@@ -78,7 +79,7 @@ index f5759d4..83a9e0e 100644 |
218 |
EphyShellPrivate *priv = shell->priv; |
219 |
|
220 |
if (priv->nm_proxy == NULL) { |
221 |
-@@ -932,6 +943,9 @@ ephy_shell_get_net_monitor (EphyShell *shell) |
222 |
+@@ -929,6 +940,9 @@ ephy_shell_get_net_monitor (EphyShell *shell) |
223 |
} |
224 |
|
225 |
return G_OBJECT (priv->nm_proxy); |