Accepting request 481391 from GNOME:Factory

Update to 1.32.0 (forwarded request 481382 from dimstar)

OBS-URL: https://build.opensuse.org/request/show/481391
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gvfs?expand=0&rev=133
This commit is contained in:
Dominique Leuenberger 2017-03-22 22:07:45 +00:00 committed by Git OBS Bridge
commit 00f195f6fb
5 changed files with 89 additions and 177 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b824a29489cae7f39e1a0fc0d154ac7b7bf43d8edd98ba83ffcad2f766d0f175
size 1894852

3
gvfs-1.32.0.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:60acc16af9564ec00017b9196549839052e3f67b5c8f39dce319af0bb3439004
size 1811200

View File

@ -1,163 +0,0 @@
10d109eaa10b34a9516c0c05f774 Mon Sep 17 00:00:00 2001
From: Ondrej Holy <oholy@redhat.com>
Date: Thu, 15 Dec 2016 11:18:00 +0100
Subject: network: Do not spam journal by useless warnings
The following warning is always printed from network backend
if smb backend is installed and network backend is mounted:
Couldn't create directory monitor on smb://[WORKGROUP]/.
You can see it with two different error messages. The first is
printed if we are not in samba environment, or the workgroup is
misconfigured:
Error: The specified location is not mounted
The second is printed in other cases, because monitoring is not
supported by smb backend:
Error: Operation not supported by backend
This isn't really useful and just spams the journal, let's use
g_debug instead of g_warning.
---
daemon/gvfsbackendnetwork.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/daemon/gvfsbackendnetwork.c b/daemon/gvfsbackendnetwork.c
index fc6cca4..95fee1d 100644
--- a/daemon/gvfsbackendnetwork.c
+++ b/daemon/gvfsbackendnetwork.c
@@ -358,7 +358,7 @@ recompute_files (GVfsBackendNetwork *backend)
else
{
char *uri = g_file_get_uri (server_file);
- g_warning ("Couldn't create directory monitor on %s. Error: %s",
+ g_debug ("Couldn't create directory monitor on %s. Error: %s",
uri, error->message);
g_free (uri);
g_clear_error (&error);
--
cgit v0.12
From 8dec4b1823298e754f6c6408276fe775c82dfa99 Mon Sep 17 00:00:00 2001
From: Ondrej Holy <oholy@redhat.com>
Date: Thu, 15 Dec 2016 11:26:26 +0100
Subject: job: Do not spam journal by useless warnings
The following warnings are printed from daemons if an enumeration is
closed by a client prematurely, or a client terminates unexpectidly:
send_infos_cb: No such interface 'org.gtk.vfs.Enumerator' ...
send_done_cb: No such interface 'org.gtk.vfs.Enumerator' ...
send_infos_cb: The connection is closed
send_done_cb: The connection is closed
Those warnings are not really useful and just spam journal. They are
usualy printed as a consequence of some client crashes. This situation
is expected and it is not cricial for daemons. Let's use g_debug
instead of them...
---
daemon/gvfsjobenumerate.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/daemon/gvfsjobenumerate.c b/daemon/gvfsjobenumerate.c
index bb42a3f..f09785b 100644
--- a/daemon/gvfsjobenumerate.c
+++ b/daemon/gvfsjobenumerate.c
@@ -145,7 +145,7 @@ send_infos_cb (GVfsDBusEnumerator *proxy,
if (error != NULL)
{
g_dbus_error_strip_remote_error (error);
- g_warning ("send_infos_cb: %s (%s, %d)\n", error->message, g_quark_to_string (error->domain), error->code);
+ g_debug ("send_infos_cb: %s (%s, %d)\n", error->message, g_quark_to_string (error->domain), error->code);
g_error_free (error);
}
}
@@ -234,7 +234,7 @@ send_done_cb (GVfsDBusEnumerator *proxy,
if (error != NULL)
{
g_dbus_error_strip_remote_error (error);
- g_warning ("send_done_cb: %s (%s, %d)\n", error->message, g_quark_to_string (error->domain), error->code);
+ g_debug ("send_done_cb: %s (%s, %d)\n", error->message, g_quark_to_string (error->domain), error->code);
g_error_free (error);
}
}
--
cgit v0.12
From 1d6709036f22cc2a76d2f51314e5987cb2a57dc5 Mon Sep 17 00:00:00 2001
From: Ondrej Holy <oholy@redhat.com>
Date: Thu, 15 Dec 2016 11:41:17 +0100
Subject: mount: Do not spam journal by useless warnings
The following warning is printed if mount failed from whatever reason:
dbus_mount_reply: Error from org.gtk.vfs.Mountable.mount(): ...
It is expected that mount may fail for various reasons and it is not
definitely anything critical what needs to be always printed. It
happens regularly with smbbrowse, whenf we are not in smb environment,
or the workgroup is misconfigured. Let's use g_debug instead of g_warning.
---
daemon/mount.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/daemon/mount.c b/daemon/mount.c
index e10e145..a3a7991 100644
--- a/daemon/mount.c
+++ b/daemon/mount.c
@@ -296,7 +296,7 @@ dbus_mount_reply (GVfsDBusMountable *proxy,
else
{
g_dbus_error_strip_remote_error (error);
- g_warning ("dbus_mount_reply: Error from org.gtk.vfs.Mountable.mount(): %s", error->message);
+ g_debug ("dbus_mount_reply: Error from org.gtk.vfs.Mountable.mount(): %s", error->message);
mount_finish (data, error);
g_error_free (error);
}
--
cgit v0.12
From acb3269dd89c87d13c8e238ebb0c136e3824ac86 Mon Sep 17 00:00:00 2001
From: Ondrej Holy <oholy@redhat.com>
Date: Thu, 15 Dec 2016 15:12:05 +0100
Subject: Add missing newline characters in g_debug
Unfortunately, g_debug uses custom handler in GVfs which requires
additional new line character. Commit a7b0a65 and commit 1d67090
changed g_warning to g_debug, but forgot to add additional new line
characters.
---
daemon/gvfsbackendnetwork.c | 2 +-
daemon/mount.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/daemon/gvfsbackendnetwork.c b/daemon/gvfsbackendnetwork.c
index 95fee1d..c6a103d 100644
--- a/daemon/gvfsbackendnetwork.c
+++ b/daemon/gvfsbackendnetwork.c
@@ -358,7 +358,7 @@ recompute_files (GVfsBackendNetwork *backend)
else
{
char *uri = g_file_get_uri (server_file);
- g_debug ("Couldn't create directory monitor on %s. Error: %s",
+ g_debug ("Couldn't create directory monitor on %s. Error: %s\n",
uri, error->message);
g_free (uri);
g_clear_error (&error);
diff --git a/daemon/mount.c b/daemon/mount.c
index a3a7991..2e2f74b 100644
--- a/daemon/mount.c
+++ b/daemon/mount.c
@@ -296,7 +296,7 @@ dbus_mount_reply (GVfsDBusMountable *proxy,
else
{
g_dbus_error_strip_remote_error (error);
- g_debug ("dbus_mount_reply: Error from org.gtk.vfs.Mountable.mount(): %s", error->message);
+ g_debug ("dbus_mount_reply: Error from org.gtk.vfs.Mountable.mount(): %s\n", error->message);
mount_finish (data, error);
g_error_free (error);
}
--
cgit v0.12

View File

@ -1,3 +1,83 @@
-------------------------------------------------------------------
Mon Mar 20 15:15:09 UTC 2017 - dimstar@opensuse.org
- Update to version 1.32.0:
+ Updated translations.
-------------------------------------------------------------------
Mon Mar 13 17:50:10 UTC 2017 - dimstar@opensuse.org
- Update to version 1.31.92:
+ Updated translations.
-------------------------------------------------------------------
Mon Feb 27 16:52:02 UTC 2017 - zaitor@opensuse.org
- Update to version 1.31.91:
+ Updated translations.
-------------------------------------------------------------------
Wed Feb 15 09:14:43 UTC 2017 - dimstar@opensuse.org
- Update to version 1.31.90:
+ recent: Set G_FILE_ATTRIBUTE_RECENT_MODIFED attribute.
+ client: Ignore everything after first colon in userinfo.
+ Stability improvements for force unmount procedure.
+ Port several parts to GTask.
+ Various logging improvements.
+ Several smaller bugfixes.
+ Updated translations.
-------------------------------------------------------------------
Thu Jan 19 21:04:59 UTC 2017 - dimstar@opensuse.org
- Update to version 1.31.4:
+ sftp: Limit writes to 32768 bytes.
+ udisks2: Improve unmount notifications.
+ daemon: Bump maximum read channel buffer size.
+ recent: Fix crashes when DISPLAY is not set.
+ Several smaller bugfixes.
+ Updated translations.
- Drop gvfs-silence-log-spam.patch: Fixed upstream.
-------------------------------------------------------------------
Thu Jan 19 21:03:59 UTC 2017 - dimstar@opensuse.org
- Update to version 1.31.3:
+ dnssd: Fix crashes for uris with colons.
+ trash: Correctly determine fs type for paths with symlinks.
+ gdaemonfile: Pass GFileCreateFlags in write operations.
+ metadata: Various performance improvements.
+ Several smaller bugfixes.
+ Updated translations.
-------------------------------------------------------------------
Thu Jan 19 21:02:59 UTC 2017 - dimstar@opensuse.org
- Update to version 1.31.2:
+ admin: Fix polkit errors caused by redundant translations.
+ dnssd: Fix crashes and leaks when mount fails.
+ network: Fix crashes when mount fails.
+ Port several parts to GTask.
+ Several smaller bugfixes.
+ smb: Fix IPv6 uri handling and Improve read performance.
+ trash: Do not crash if home mount isn't found.
+ udisks2: Add support for uuid and fix misleading notification
when unmounting.
+ Updated translations.
- Add pkgconfig(libusb-1.0) BuildRequires: new dependency.
-------------------------------------------------------------------
Thu Jan 19 21:01:59 UTC 2017 - dimstar@opensuse.org
- Update to version 1.31.1:
+ udisks2: Improve handling of volumes with multiple mountpoints.
+ man: Various man page updates.
+ hal: Drop hal volume monitor.
+ programs: Deprecate gvfs utils in favour of new gio tool.
+ Several smaller bugfixes.
+ Updated translations.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Jan 19 21:00:59 UTC 2017 - zaitor@opensuse.org Thu Jan 19 21:00:59 UTC 2017 - zaitor@opensuse.org

View File

@ -1,7 +1,7 @@
# #
# spec file for package gvfs # spec file for package gvfs
# #
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -20,13 +20,13 @@
%define with_cdda 1 %define with_cdda 1
Name: gvfs Name: gvfs
Version: 1.30.3 Version: 1.32.0
Release: 0 Release: 0
Summary: VFS functionality for GLib Summary: VFS functionality for GLib
License: LGPL-2.0+ License: LGPL-2.0+
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Url: http://www.gnome.org Url: http://www.gnome.org
Source0: http://download.gnome.org/sources/gvfs/1.30/%{name}-%{version}.tar.xz Source0: http://download.gnome.org/sources/gvfs/1.32/%{name}-%{version}.tar.xz
Source99: baselibs.conf Source99: baselibs.conf
# PATCH-FEATURE-SLE gvfs-nvvfs.patch ksamrat@novell.com -- Provides gvfs backend for novell nautilus plugin # PATCH-FEATURE-SLE gvfs-nvvfs.patch ksamrat@novell.com -- Provides gvfs backend for novell nautilus plugin
Patch5: gvfs-nvvfs.patch Patch5: gvfs-nvvfs.patch
@ -36,8 +36,6 @@ Patch6: gvfs-nds.patch
# needed for patches 5 and 6 # needed for patches 5 and 6
BuildRequires: autoconf BuildRequires: autoconf
%endif %endif
# PATCH-FIX-UPSTREAM gvfs-silence-log-spam.patch zaitor@opensuse.org -- Remove som logspam from journald logs.
Patch7: gvfs-silence-log-spam.patch
BuildRequires: docbook-xsl-stylesheets BuildRequires: docbook-xsl-stylesheets
BuildRequires: fuse-devel BuildRequires: fuse-devel
BuildRequires: intltool BuildRequires: intltool
@ -62,7 +60,7 @@ BuildRequires: xsltproc
BuildRequires: pkgconfig(gcr-base-3) BuildRequires: pkgconfig(gcr-base-3)
BuildRequires: pkgconfig(gio-2.0) BuildRequires: pkgconfig(gio-2.0)
BuildRequires: pkgconfig(gio-unix-2.0) BuildRequires: pkgconfig(gio-unix-2.0)
BuildRequires: pkgconfig(glib-2.0) >= 2.49.3 BuildRequires: pkgconfig(glib-2.0) >= 2.51.0
BuildRequires: pkgconfig(goa-1.0) >= 3.17.1 BuildRequires: pkgconfig(goa-1.0) >= 3.17.1
BuildRequires: pkgconfig(gobject-2.0) BuildRequires: pkgconfig(gobject-2.0)
BuildRequires: pkgconfig(gtk+-3.0) => 3.0 BuildRequires: pkgconfig(gtk+-3.0) => 3.0
@ -72,10 +70,11 @@ BuildRequires: pkgconfig(libcap)
BuildRequires: pkgconfig(libgdata) >= 0.17.3 BuildRequires: pkgconfig(libgdata) >= 0.17.3
BuildRequires: pkgconfig(libmtp) >= 1.1.5 BuildRequires: pkgconfig(libmtp) >= 1.1.5
%if 0%{?is_opensuse} %if 0%{?is_opensuse}
BuildRequires: pkgconfig(libnfs) BuildRequires: pkgconfig(libnfs) >= 1.9.8
%endif %endif
BuildRequires: pkgconfig(libsecret-unstable) BuildRequires: pkgconfig(libsecret-unstable)
BuildRequires: pkgconfig(libsystemd) BuildRequires: pkgconfig(libsystemd)
BuildRequires: pkgconfig(libusb-1.0) >= 1.0.21
BuildRequires: pkgconfig(polkit-gobject-1) BuildRequires: pkgconfig(polkit-gobject-1)
BuildRequires: pkgconfig(smbclient) BuildRequires: pkgconfig(smbclient)
%if %{with_udisks2} %if %{with_udisks2}
@ -163,7 +162,6 @@ translation-update-upstream
%patch5 -p1 %patch5 -p1
%patch6 -p1 %patch6 -p1
%endif %endif
%patch7 -p1
%build %build
%if !0%{?is_opensuse} %if !0%{?is_opensuse}
@ -224,9 +222,6 @@ find %{buildroot}%{_libdir} -type f -name '*.la' -delete -print
%{_datadir}/dbus-1/services/org.gtk.vfs.Daemon.service %{_datadir}/dbus-1/services/org.gtk.vfs.Daemon.service
%{_libexecdir}/%{name}/gvfsd-metadata %{_libexecdir}/%{name}/gvfsd-metadata
%{_datadir}/dbus-1/services/org.gtk.vfs.Metadata.service %{_datadir}/dbus-1/services/org.gtk.vfs.Metadata.service
%dir %{_datadir}/bash-completion
%dir %{_datadir}/bash-completion/completions
%{_datadir}/bash-completion/completions/
%{_mandir}/man1/gvfs-*.1%{?ext_man} %{_mandir}/man1/gvfs-*.1%{?ext_man}
%{_mandir}/man1/gvfsd.1%{?ext_man} %{_mandir}/man1/gvfsd.1%{?ext_man}
%{_mandir}/man1/gvfsd-metadata.1%{?ext_man} %{_mandir}/man1/gvfsd-metadata.1%{?ext_man}