1 |
commit: fe2cd112b93977fb9adc01346de0b4d26c76572d |
2 |
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Oct 24 08:05:00 2015 +0000 |
4 |
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 24 08:05:48 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe2cd112 |
7 |
|
8 |
gnome-base/gvfs: Apply upstream fixes, also including a fix for crash reported in bug #560592 (by Michael Orlitzky); drop old. |
9 |
|
10 |
Package-Manager: portage-2.2.23 |
11 |
|
12 |
gnome-base/gvfs/Manifest | 2 - |
13 |
.../gvfs/files/gvfs-1.24.2-crash-monitor.patch | 33 ++++++ |
14 |
gnome-base/gvfs/files/gvfs-1.24.2-g_warning.patch | 54 ++++++++++ |
15 |
.../gvfs/files/gvfs-1.24.2-guard-caches.patch | 56 ++++++++++ |
16 |
.../gvfs/files/gvfs-1.24.2-remote-proxy.patch | 74 +++++++++++++ |
17 |
.../gvfs/files/gvfs-1.24.2-untrashable.patch | 28 +++++ |
18 |
gnome-base/gvfs/gvfs-1.22.3.ebuild | 119 --------------------- |
19 |
.../{gvfs-1.24.1.ebuild => gvfs-1.24.2-r1.ebuild} | 18 +++- |
20 |
8 files changed, 260 insertions(+), 124 deletions(-) |
21 |
|
22 |
diff --git a/gnome-base/gvfs/Manifest b/gnome-base/gvfs/Manifest |
23 |
index 5139869..f2af856 100644 |
24 |
--- a/gnome-base/gvfs/Manifest |
25 |
+++ b/gnome-base/gvfs/Manifest |
26 |
@@ -1,4 +1,2 @@ |
27 |
-DIST gvfs-1.22.3.tar.xz 1588072 SHA256 c778342e09a84d8c69b1b7ce7f943f6f2444a995bb0c0754ef1746afa8935182 SHA512 17e79047ce8f979ae15c99423ddc6d50a1d276151d4c0e1cc7e0c4958e0a9ed8bc4c0db8a38272eab50922bad6a51d915a2cd4cf41dfb0873faa49e1a3028ba7 WHIRLPOOL 2de23d3537683fcdb0af2fac42c98e05daf9cf4f5fb0d9e05dfa7b25e03852f2774ba1a1cfbebbd0602bbbbcbdbe36279dd9de6328fb3f495e2209c246b8a70a |
28 |
DIST gvfs-1.22.4.tar.xz 1598264 SHA256 57e33faad35aba72be3822099856aca847f391626cf3ec734b42e64ba31f6484 SHA512 5485a46284b62f19f6c289a5e341f4f0a48c3b8b42cdc5e8b4f9070b1b33e781ada8a4fbb718f5305cdeaa287d122718ea2826a52cc4ebae090cbbc519e758d8 WHIRLPOOL f0b6514241616e64ad45d8ce163d2ba2ca293d60a2ab65210cff4f9338f7f37e0d8beb3ae367c73ab2ed8d046dc4788535c00f973fa05df1e2dde8c294509e9c |
29 |
-DIST gvfs-1.24.1.tar.xz 1624212 SHA256 d38367ce189415c36fd19dca478bc9b80694b495c3458e74fb0f13d1ac9df1f9 SHA512 f4208e38a7a6a9c7c994bde62d6499e9eb327c7b85dd6bec46e22aa5c3423214eb5ff2092c7cc3945e28c7a7d2c1bcb5cc9e29df67c9b601fbf9e7b9092de95f WHIRLPOOL 96f178f91502165fc3f3b5ea800a2cbaa88baad6f692017745fbd6cb81f3c1ad405a0d342641a9a94c567400bfcdf061cd4aa6bac76c29106f5cd30f79b0021e |
30 |
DIST gvfs-1.24.2.tar.xz 1627808 SHA256 0949eaedd1df7175f8d7ee2700df8210d1f854b8ee37d963bc32ee7091eeb228 SHA512 4e5a3150ec4a57ca1229653fd2ce91840e8f7c372de8eb3cd9196b83a687c4336b6fd6fec3f6f6dca740ff1033906cce8f42377c45014f4ce7fd9c33bdcedc59 WHIRLPOOL c65c2402a77cb5de3180f9988b6f0c29af3d979863e32943bca70a30dda89197a0747ed18ebfffe6d70a06d790be195a749c7b34afbfd780c80273aacad9844f |
31 |
|
32 |
diff --git a/gnome-base/gvfs/files/gvfs-1.24.2-crash-monitor.patch b/gnome-base/gvfs/files/gvfs-1.24.2-crash-monitor.patch |
33 |
new file mode 100644 |
34 |
index 0000000..0e8c49a |
35 |
--- /dev/null |
36 |
+++ b/gnome-base/gvfs/files/gvfs-1.24.2-crash-monitor.patch |
37 |
@@ -0,0 +1,33 @@ |
38 |
+From c259305847b1ebde1ae89a3c921a13b6c0b67116 Mon Sep 17 00:00:00 2001 |
39 |
+From: Tristan Van Berkom <tristan.vanberkom@××××××××××××.uk> |
40 |
+Date: Tue, 6 Oct 2015 15:09:04 +0900 |
41 |
+Subject: Avoid crash when no monitor implementations exist. |
42 |
+ |
43 |
+The GVariantBuilder is unable to create any GVariant for |
44 |
+an untyped array - while an empty vector is a valid variant, |
45 |
+it is not valid for an untyped array. |
46 |
+ |
47 |
+Passing the resulting null to gvfs_dbus_daemon_complete_cancel() |
48 |
+causes gvfs to abort with a g_error(). |
49 |
+ |
50 |
+https://bugzilla.gnome.org/show_bug.cgi?id=756105 |
51 |
+--- |
52 |
+ daemon/gvfsdaemon.c | 2 +- |
53 |
+ 1 file changed, 1 insertion(+), 1 deletion(-) |
54 |
+ |
55 |
+diff --git a/daemon/gvfsdaemon.c b/daemon/gvfsdaemon.c |
56 |
+index 7bc334b..b7a3b88 100644 |
57 |
+--- a/daemon/gvfsdaemon.c |
58 |
++++ b/daemon/gvfsdaemon.c |
59 |
+@@ -957,7 +957,7 @@ handle_list_monitor_implementations (GVfsDBusDaemon *object, |
60 |
+ |
61 |
+ impls = g_vfs_list_monitor_implementations (); |
62 |
+ |
63 |
+- g_variant_builder_init (&builder, G_VARIANT_TYPE_ARRAY); |
64 |
++ g_variant_builder_init (&builder, G_VARIANT_TYPE ("a(ssbia{sv})")); |
65 |
+ |
66 |
+ for (l = impls; l != NULL; l = l->next) |
67 |
+ { |
68 |
+-- |
69 |
+cgit v0.11.2 |
70 |
+ |
71 |
|
72 |
diff --git a/gnome-base/gvfs/files/gvfs-1.24.2-g_warning.patch b/gnome-base/gvfs/files/gvfs-1.24.2-g_warning.patch |
73 |
new file mode 100644 |
74 |
index 0000000..09b822f |
75 |
--- /dev/null |
76 |
+++ b/gnome-base/gvfs/files/gvfs-1.24.2-g_warning.patch |
77 |
@@ -0,0 +1,54 @@ |
78 |
+From d663c85f0356d7800638c5eaa1a49e6c26bdfa33 Mon Sep 17 00:00:00 2001 |
79 |
+From: Ondrej Holy <oholy@××××××.com> |
80 |
+Date: Fri, 27 Feb 2015 10:22:22 +0100 |
81 |
+Subject: afp: Change g_error to g_warning for read errors |
82 |
+ |
83 |
+Use g_warning rather than g_error when a read error occurs to prevent |
84 |
+spurious crash reports since there are many different ways for a read |
85 |
+from the network to fail. |
86 |
+ |
87 |
+[Cherry-picked from gnome-3-14/14369db2a8fc |
88 |
+ Commit message written by Ross Lagerwall.] |
89 |
+ |
90 |
+https://bugzilla.gnome.org/show_bug.cgi?id=710490 |
91 |
+--- |
92 |
+ daemon/gvfsafpconnection.c | 8 ++++---- |
93 |
+ 1 file changed, 4 insertions(+), 4 deletions(-) |
94 |
+ |
95 |
+diff --git a/daemon/gvfsafpconnection.c b/daemon/gvfsafpconnection.c |
96 |
+index c8ccad7..abe1422 100644 |
97 |
+--- a/daemon/gvfsafpconnection.c |
98 |
++++ b/daemon/gvfsafpconnection.c |
99 |
+@@ -1078,12 +1078,12 @@ read_data_cb (GObject *object, GAsyncResult *res, gpointer user_data) |
100 |
+ g_error_matches (err, G_IO_ERROR, G_IO_ERROR_CONNECTION_CLOSED)) |
101 |
+ { |
102 |
+ g_message (_("Host closed connection")); |
103 |
+- exit(0); |
104 |
+ } |
105 |
+ else |
106 |
+ { |
107 |
+- g_error ("FAIL!!! \"%s\"\n", err->message); |
108 |
++ g_warning ("FAIL!!! \"%s\"\n", err->message); |
109 |
+ } |
110 |
++ exit (0); |
111 |
+ } |
112 |
+ |
113 |
+ dispatch_reply (afp_connection); |
114 |
+@@ -1120,12 +1120,12 @@ read_dsi_header_cb (GObject *object, GAsyncResult *res, gpointer user_data) |
115 |
+ g_error_matches (err, G_IO_ERROR, G_IO_ERROR_CONNECTION_CLOSED)) |
116 |
+ { |
117 |
+ g_message (_("Host closed connection")); |
118 |
+- exit(0); |
119 |
+ } |
120 |
+ else |
121 |
+ { |
122 |
+- g_error ("FAIL!!! \"%s\"\n", err->message); |
123 |
++ g_warning ("FAIL!!! \"%s\"\n", err->message); |
124 |
+ } |
125 |
++ exit (0); |
126 |
+ } |
127 |
+ |
128 |
+ dsi_header = &priv->read_dsi_header; |
129 |
+-- |
130 |
+cgit v0.11.2 |
131 |
+ |
132 |
|
133 |
diff --git a/gnome-base/gvfs/files/gvfs-1.24.2-guard-caches.patch b/gnome-base/gvfs/files/gvfs-1.24.2-guard-caches.patch |
134 |
new file mode 100644 |
135 |
index 0000000..4bf90ad |
136 |
--- /dev/null |
137 |
+++ b/gnome-base/gvfs/files/gvfs-1.24.2-guard-caches.patch |
138 |
@@ -0,0 +1,56 @@ |
139 |
+From 1220260f96a9ce2beb659da30888ea9648719e9a Mon Sep 17 00:00:00 2001 |
140 |
+From: Debarshi Ray <debarshir@×××××.org> |
141 |
+Date: Wed, 30 Sep 2015 12:38:55 +0200 |
142 |
+Subject: proxy volume monitor: Guard access to the internal caches |
143 |
+ |
144 |
+Accesses to the drives, volumes and mounts hash tables should be |
145 |
+guarded by the proxy_vm mutex. |
146 |
+ |
147 |
+https://bugzilla.gnome.org/show_bug.cgi?id=755805 |
148 |
+--- |
149 |
+ monitor/proxy/gproxyvolumemonitor.c | 8 ++++++++ |
150 |
+ 1 file changed, 8 insertions(+) |
151 |
+ |
152 |
+diff --git a/monitor/proxy/gproxyvolumemonitor.c b/monitor/proxy/gproxyvolumemonitor.c |
153 |
+index 623cb14..17474a8 100644 |
154 |
+--- a/monitor/proxy/gproxyvolumemonitor.c |
155 |
++++ b/monitor/proxy/gproxyvolumemonitor.c |
156 |
+@@ -867,6 +867,8 @@ name_owner_appeared (GProxyVolumeMonitor *monitor) |
157 |
+ GProxyVolume *volume; |
158 |
+ GProxyMount *mount; |
159 |
+ |
160 |
++ G_LOCK (proxy_vm); |
161 |
++ |
162 |
+ seed_monitor (monitor); |
163 |
+ |
164 |
+ /* emit signals for all the drives/volumes/mounts "added" */ |
165 |
+@@ -881,6 +883,8 @@ name_owner_appeared (GProxyVolumeMonitor *monitor) |
166 |
+ g_hash_table_iter_init (&hash_iter, monitor->mounts); |
167 |
+ while (g_hash_table_iter_next (&hash_iter, NULL, (gpointer) &mount)) |
168 |
+ signal_emit_in_idle (monitor, "mount-added", mount); |
169 |
++ |
170 |
++ G_UNLOCK (proxy_vm); |
171 |
+ } |
172 |
+ |
173 |
+ static void |
174 |
+@@ -891,6 +895,8 @@ name_owner_vanished (GProxyVolumeMonitor *monitor) |
175 |
+ GProxyVolume *volume; |
176 |
+ GProxyMount *mount; |
177 |
+ |
178 |
++ G_LOCK (proxy_vm); |
179 |
++ |
180 |
+ g_hash_table_iter_init (&hash_iter, monitor->mounts); |
181 |
+ while (g_hash_table_iter_next (&hash_iter, NULL, (gpointer) &mount)) |
182 |
+ { |
183 |
+@@ -914,6 +920,8 @@ name_owner_vanished (GProxyVolumeMonitor *monitor) |
184 |
+ signal_emit_in_idle (monitor, "drive-disconnected", drive); |
185 |
+ } |
186 |
+ g_hash_table_remove_all (monitor->drives); |
187 |
++ |
188 |
++ G_UNLOCK (proxy_vm); |
189 |
+ } |
190 |
+ |
191 |
+ static void |
192 |
+-- |
193 |
+cgit v0.11.2 |
194 |
+ |
195 |
|
196 |
diff --git a/gnome-base/gvfs/files/gvfs-1.24.2-remote-proxy.patch b/gnome-base/gvfs/files/gvfs-1.24.2-remote-proxy.patch |
197 |
new file mode 100644 |
198 |
index 0000000..bc47a1a |
199 |
--- /dev/null |
200 |
+++ b/gnome-base/gvfs/files/gvfs-1.24.2-remote-proxy.patch |
201 |
@@ -0,0 +1,74 @@ |
202 |
+From d19a4bc2475705f8252f8952c446b57b31661453 Mon Sep 17 00:00:00 2001 |
203 |
+From: Debarshi Ray <debarshir@×××××.org> |
204 |
+Date: Fri, 16 Oct 2015 13:35:34 +0200 |
205 |
+Subject: proxy volume monitor: Properly handle failure to create a remote |
206 |
+ proxy |
207 |
+ |
208 |
+We should finish constructing the innards of the object and not leave |
209 |
+it in an inconsistent state when we hit an error. The other option |
210 |
+would be to litter the rest of the code with NULL checks, but that |
211 |
+would be ugly and prone to errors. |
212 |
+ |
213 |
+We should also ensure that the reference counting stays consistent with |
214 |
+the non-error paths. |
215 |
+ |
216 |
+https://bugzilla.gnome.org/show_bug.cgi?id=755805 |
217 |
+--- |
218 |
+ monitor/proxy/gproxyvolumemonitor.c | 15 ++++++--------- |
219 |
+ 1 file changed, 6 insertions(+), 9 deletions(-) |
220 |
+ |
221 |
+diff --git a/monitor/proxy/gproxyvolumemonitor.c b/monitor/proxy/gproxyvolumemonitor.c |
222 |
+index 17474a8..a7466f0 100644 |
223 |
+--- a/monitor/proxy/gproxyvolumemonitor.c |
224 |
++++ b/monitor/proxy/gproxyvolumemonitor.c |
225 |
+@@ -972,10 +972,7 @@ g_proxy_volume_monitor_constructor (GType type, |
226 |
+ klass = G_PROXY_VOLUME_MONITOR_CLASS (g_type_class_peek (type)); |
227 |
+ object = g_hash_table_lookup (the_volume_monitors, (gpointer) type); |
228 |
+ if (object != NULL) |
229 |
+- { |
230 |
+- g_object_ref (object); |
231 |
+- goto out; |
232 |
+- } |
233 |
++ goto out; |
234 |
+ |
235 |
+ dbus_name = klass->dbus_name; |
236 |
+ |
237 |
+@@ -988,6 +985,10 @@ g_proxy_volume_monitor_constructor (GType type, |
238 |
+ |
239 |
+ monitor = G_PROXY_VOLUME_MONITOR (object); |
240 |
+ |
241 |
++ monitor->drives = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, g_object_unref); |
242 |
++ monitor->volumes = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, g_object_unref); |
243 |
++ monitor->mounts = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, g_object_unref); |
244 |
++ |
245 |
+ error = NULL; |
246 |
+ monitor->proxy = gvfs_remote_volume_monitor_proxy_new_for_bus_sync (G_BUS_TYPE_SESSION, |
247 |
+ G_DBUS_PROXY_FLAGS_DO_NOT_LOAD_PROPERTIES, |
248 |
+@@ -1022,10 +1023,6 @@ g_proxy_volume_monitor_constructor (GType type, |
249 |
+ g_signal_connect (monitor->proxy, "volume-changed", G_CALLBACK (volume_changed), monitor); |
250 |
+ g_signal_connect (monitor->proxy, "volume-removed", G_CALLBACK (volume_removed), monitor); |
251 |
+ |
252 |
+- monitor->drives = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, g_object_unref); |
253 |
+- monitor->volumes = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, g_object_unref); |
254 |
+- monitor->mounts = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, g_object_unref); |
255 |
+- |
256 |
+ /* listen to when the owner of the service appears/disappears */ |
257 |
+ g_signal_connect (monitor->proxy, "notify::g-name-owner", G_CALLBACK (name_owner_changed), monitor); |
258 |
+ /* initially seed drives/volumes/mounts if we have an owner */ |
259 |
+@@ -1038,12 +1035,12 @@ g_proxy_volume_monitor_constructor (GType type, |
260 |
+ |
261 |
+ g_hash_table_insert (the_volume_monitors, (gpointer) type, object); |
262 |
+ |
263 |
++ out: |
264 |
+ /* Take an extra reference to make the instance live forever - see also |
265 |
+ * the dispose() and finalize() vfuncs |
266 |
+ */ |
267 |
+ g_object_ref (object); |
268 |
+ |
269 |
+- out: |
270 |
+ G_UNLOCK (proxy_vm); |
271 |
+ return object; |
272 |
+ } |
273 |
+-- |
274 |
+cgit v0.11.2 |
275 |
+ |
276 |
|
277 |
diff --git a/gnome-base/gvfs/files/gvfs-1.24.2-untrashable.patch b/gnome-base/gvfs/files/gvfs-1.24.2-untrashable.patch |
278 |
new file mode 100644 |
279 |
index 0000000..69a7629 |
280 |
--- /dev/null |
281 |
+++ b/gnome-base/gvfs/files/gvfs-1.24.2-untrashable.patch |
282 |
@@ -0,0 +1,28 @@ |
283 |
+From 7bcfc873fd54e565836228ab030782885e133ebb Mon Sep 17 00:00:00 2001 |
284 |
+From: Debarshi Ray <debarshir@×××××.org> |
285 |
+Date: Fri, 21 Aug 2015 16:54:46 +0200 |
286 |
+Subject: dav: Mark files as untrashable |
287 |
+ |
288 |
+Otherwise nautilus will offer the wrong action in its UI. |
289 |
+ |
290 |
+https://bugzilla.gnome.org/show_bug.cgi?id=753934 |
291 |
+--- |
292 |
+ daemon/gvfsbackenddav.c | 2 ++ |
293 |
+ 1 file changed, 2 insertions(+) |
294 |
+ |
295 |
+diff --git a/daemon/gvfsbackenddav.c b/daemon/gvfsbackenddav.c |
296 |
+index 2d2704a..94e8b1c 100644 |
297 |
+--- a/daemon/gvfsbackenddav.c |
298 |
++++ b/daemon/gvfsbackenddav.c |
299 |
+@@ -974,6 +974,8 @@ ms_response_to_file_info (MsResponse *response, |
300 |
+ if (basename && basename[0] == '.') |
301 |
+ g_file_info_set_is_hidden (info, TRUE); |
302 |
+ |
303 |
++ g_file_info_set_attribute_boolean (info, G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH, FALSE); |
304 |
++ |
305 |
+ file_type = G_FILE_TYPE_REGULAR; |
306 |
+ mime_type = NULL; |
307 |
+ |
308 |
+-- |
309 |
+cgit v0.11.2 |
310 |
+ |
311 |
|
312 |
diff --git a/gnome-base/gvfs/gvfs-1.22.3.ebuild b/gnome-base/gvfs/gvfs-1.22.3.ebuild |
313 |
deleted file mode 100644 |
314 |
index 7189d4f..0000000 |
315 |
--- a/gnome-base/gvfs/gvfs-1.22.3.ebuild |
316 |
+++ /dev/null |
317 |
@@ -1,119 +0,0 @@ |
318 |
-# Copyright 1999-2015 Gentoo Foundation |
319 |
-# Distributed under the terms of the GNU General Public License v2 |
320 |
-# $Id$ |
321 |
- |
322 |
-EAPI="5" |
323 |
-GCONF_DEBUG="no" |
324 |
-GNOME2_LA_PUNT="yes" |
325 |
- |
326 |
-inherit autotools bash-completion-r1 eutils gnome2 |
327 |
- |
328 |
-DESCRIPTION="Virtual filesystem implementation for gio" |
329 |
-HOMEPAGE="https://git.gnome.org/browse/gvfs" |
330 |
- |
331 |
-LICENSE="LGPL-2+" |
332 |
-SLOT="0" |
333 |
- |
334 |
-IUSE="afp archive bluray cdda fuse gnome-online-accounts gphoto2 gtk +http ios libsecret mtp samba systemd test +udev udisks zeroconf" |
335 |
-REQUIRED_USE=" |
336 |
- cdda? ( udev ) |
337 |
- mtp? ( udev ) |
338 |
- udisks? ( udev ) |
339 |
- systemd? ( udisks ) |
340 |
-" |
341 |
-KEYWORDS="~alpha amd64 arm ~ia64 ~mips ppc ppc64 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~sparc-solaris ~x86-solaris" |
342 |
- |
343 |
-# Can use libgphoto-2.5.0 as well. Automagic detection. |
344 |
-RDEPEND=" |
345 |
- >=dev-libs/glib-2.37:2 |
346 |
- sys-apps/dbus |
347 |
- dev-libs/libxml2:2 |
348 |
- net-misc/openssh |
349 |
- afp? ( >=dev-libs/libgcrypt-1.2.2:0= ) |
350 |
- archive? ( app-arch/libarchive:= ) |
351 |
- bluray? ( media-libs/libbluray ) |
352 |
- fuse? ( >=sys-fs/fuse-2.8.0 ) |
353 |
- gnome-online-accounts? ( >=net-libs/gnome-online-accounts-3.7.1 ) |
354 |
- gphoto2? ( >=media-libs/libgphoto2-2.4.7:= ) |
355 |
- gtk? ( >=x11-libs/gtk+-3.0:3 ) |
356 |
- http? ( >=net-libs/libsoup-2.42:2.4 ) |
357 |
- ios? ( |
358 |
- >=app-pda/libimobiledevice-1.1.5:= |
359 |
- >=app-pda/libplist-1:= ) |
360 |
- libsecret? ( app-crypt/libsecret ) |
361 |
- mtp? ( >=media-libs/libmtp-1.1.6 ) |
362 |
- samba? ( || ( >=net-fs/samba-3.4.6[smbclient] >=net-fs/samba-4[client] ) ) |
363 |
- systemd? ( sys-apps/systemd:0= ) |
364 |
- udev? ( |
365 |
- cdda? ( || ( dev-libs/libcdio-paranoia <dev-libs/libcdio-0.90[-minimal] ) ) |
366 |
- virtual/libgudev:= |
367 |
- virtual/libudev:= ) |
368 |
- udisks? ( >=sys-fs/udisks-1.97:2 ) |
369 |
- zeroconf? ( >=net-dns/avahi-0.6 ) |
370 |
-" |
371 |
-DEPEND="${RDEPEND} |
372 |
- app-text/docbook-xsl-stylesheets |
373 |
- dev-libs/libxslt |
374 |
- >=dev-util/intltool-0.40 |
375 |
- virtual/pkgconfig |
376 |
- dev-util/gdbus-codegen |
377 |
- dev-util/gtk-doc-am |
378 |
- test? ( |
379 |
- >=dev-python/twisted-core-12.3.0 |
380 |
- || ( |
381 |
- net-analyzer/netcat |
382 |
- net-analyzer/netcat6 ) ) |
383 |
- !udev? ( >=dev-libs/libgcrypt-1.2.2:0 ) |
384 |
-" |
385 |
-# libgcrypt.m4, provided by libgcrypt, needed for eautoreconf, bug #399043 |
386 |
-# test dependencies needed per https://bugzilla.gnome.org/700162 |
387 |
- |
388 |
-# Tests with multiple failures, this is being handled upstream at: |
389 |
-# https://bugzilla.gnome.org/700162 |
390 |
-RESTRICT="test" |
391 |
- |
392 |
-src_prepare() { |
393 |
- DOCS="AUTHORS ChangeLog NEWS MAINTAINERS README TODO" # ChangeLog.pre-1.2 README.commits |
394 |
- |
395 |
- if ! use udev; then |
396 |
- sed -e 's/gvfsd-burn/ /' \ |
397 |
- -e 's/burn.mount.in/ /' \ |
398 |
- -e 's/burn.mount/ /' \ |
399 |
- -i daemon/Makefile.am || die |
400 |
- |
401 |
- eautoreconf |
402 |
- fi |
403 |
- |
404 |
- gnome2_src_prepare |
405 |
-} |
406 |
- |
407 |
-src_configure() { |
408 |
- # --enable-documentation installs man pages |
409 |
- # --disable-obexftp, upstream bug #729945 |
410 |
- gnome2_src_configure \ |
411 |
- --enable-bash-completion \ |
412 |
- --with-bash-completion-dir="$(get_bashcompdir)" \ |
413 |
- --disable-gdu \ |
414 |
- --disable-hal \ |
415 |
- --disable-obexftp \ |
416 |
- --with-dbus-service-dir="${EPREFIX}"/usr/share/dbus-1/services \ |
417 |
- --enable-documentation \ |
418 |
- $(use_enable afp) \ |
419 |
- $(use_enable archive) \ |
420 |
- $(use_enable bluray) \ |
421 |
- $(use_enable cdda) \ |
422 |
- $(use_enable fuse) \ |
423 |
- $(use_enable gnome-online-accounts goa) \ |
424 |
- $(use_enable gphoto2) \ |
425 |
- $(use_enable gtk) \ |
426 |
- $(use_enable ios afc) \ |
427 |
- $(use_enable mtp libmtp) \ |
428 |
- $(use_enable udev) \ |
429 |
- $(use_enable udev gudev) \ |
430 |
- $(use_enable http) \ |
431 |
- $(use_enable libsecret keyring) \ |
432 |
- $(use_enable samba) \ |
433 |
- $(use_enable systemd libsystemd-login) \ |
434 |
- $(use_enable udisks udisks2) \ |
435 |
- $(use_enable zeroconf avahi) |
436 |
-} |
437 |
|
438 |
diff --git a/gnome-base/gvfs/gvfs-1.24.1.ebuild b/gnome-base/gvfs/gvfs-1.24.2-r1.ebuild |
439 |
similarity index 81% |
440 |
rename from gnome-base/gvfs/gvfs-1.24.1.ebuild |
441 |
rename to gnome-base/gvfs/gvfs-1.24.2-r1.ebuild |
442 |
index ec36f94..99d12d8 100644 |
443 |
--- a/gnome-base/gvfs/gvfs-1.24.1.ebuild |
444 |
+++ b/gnome-base/gvfs/gvfs-1.24.2-r1.ebuild |
445 |
@@ -14,7 +14,7 @@ HOMEPAGE="https://git.gnome.org/browse/gvfs" |
446 |
LICENSE="LGPL-2+" |
447 |
SLOT="0" |
448 |
|
449 |
-IUSE="afp archive bluray cdda fuse gnome-online-accounts gphoto2 gtk +http ios libsecret mtp nfs samba systemd test +udev udisks zeroconf" |
450 |
+IUSE="afp archive bluray cdda fuse gnome-keyring gnome-online-accounts gphoto2 gtk +http ios mtp nfs samba systemd test +udev udisks zeroconf" |
451 |
REQUIRED_USE=" |
452 |
cdda? ( udev ) |
453 |
mtp? ( udev ) |
454 |
@@ -33,6 +33,7 @@ RDEPEND=" |
455 |
archive? ( app-arch/libarchive:= ) |
456 |
bluray? ( media-libs/libbluray ) |
457 |
fuse? ( >=sys-fs/fuse-2.8.0 ) |
458 |
+ gnome-keyring? ( app-crypt/libsecret ) |
459 |
gnome-online-accounts? ( >=net-libs/gnome-online-accounts-3.7.1 ) |
460 |
gphoto2? ( >=media-libs/libgphoto2-2.4.7:= ) |
461 |
gtk? ( >=x11-libs/gtk+-3.0:3 ) |
462 |
@@ -40,7 +41,6 @@ RDEPEND=" |
463 |
ios? ( |
464 |
>=app-pda/libimobiledevice-1.1.5:= |
465 |
>=app-pda/libplist-1:= ) |
466 |
- libsecret? ( app-crypt/libsecret ) |
467 |
mtp? ( >=media-libs/libmtp-1.1.6 ) |
468 |
nfs? ( >=net-fs/libnfs-1.9.7 ) |
469 |
samba? ( || ( >=net-fs/samba-3.4.6[smbclient] >=net-fs/samba-4[client] ) ) |
470 |
@@ -76,6 +76,18 @@ RESTRICT="test" |
471 |
src_prepare() { |
472 |
DOCS="AUTHORS ChangeLog NEWS MAINTAINERS README TODO" # ChangeLog.pre-1.2 README.commits |
473 |
|
474 |
+ # dav: Mark files as untrashable (from '3.16' branch) |
475 |
+ epatch "${FILESDIR}"/${P}-untrashable.patch |
476 |
+ |
477 |
+ # proxy volume monitor: Guard access to the internal caches (from '3.16' branch) |
478 |
+ epatch "${FILESDIR}"/${P}-guard-caches.patch |
479 |
+ |
480 |
+ # proxy volume monitor: Properly handle failure to create a remote proxy (from '3.16' branch) |
481 |
+ epatch "${FILESDIR}"/${P}-remote-proxy.patch |
482 |
+ |
483 |
+ # Avoid crash when no monitor implementations exist (from '3.16' branch) |
484 |
+ epatch "${FILESDIR}"/${P}-crash-monitor.patch |
485 |
+ |
486 |
if ! use udev; then |
487 |
sed -e 's/gvfsd-burn/ /' \ |
488 |
-e 's/burn.mount.in/ /' \ |
489 |
@@ -104,6 +116,7 @@ src_configure() { |
490 |
$(use_enable bluray) \ |
491 |
$(use_enable cdda) \ |
492 |
$(use_enable fuse) \ |
493 |
+ $(use_enable gnome-keyring keyring) \ |
494 |
$(use_enable gnome-online-accounts goa) \ |
495 |
$(use_enable gphoto2) \ |
496 |
$(use_enable gtk) \ |
497 |
@@ -113,7 +126,6 @@ src_configure() { |
498 |
$(use_enable udev) \ |
499 |
$(use_enable udev gudev) \ |
500 |
$(use_enable http) \ |
501 |
- $(use_enable libsecret keyring) \ |
502 |
$(use_enable samba) \ |
503 |
$(use_enable systemd libsystemd-login) \ |
504 |
$(use_enable udisks udisks2) \ |