- Rebuilt against new libiphone
This commit is contained in:
parent
1ebebde639
commit
829801e676
@ -1,59 +0,0 @@
|
|||||||
diff --git a/daemon/gvfsbackendafc.c b/daemon/gvfsbackendafc.c
|
|
||||||
index 8722ca7..8b87141 100644
|
|
||||||
--- a/daemon/gvfsbackendafc.c
|
|
||||||
+++ b/daemon/gvfsbackendafc.c
|
|
||||||
@@ -1150,46 +1150,6 @@ g_vfs_backend_afc_set_display_name (GVfsBackend *backend,
|
|
||||||
}
|
|
||||||
|
|
||||||
static void
|
|
||||||
-g_vfs_backend_afc_set_attribute (GVfsBackend *backend,
|
|
||||||
- GVfsJobSetAttribute *job,
|
|
||||||
- const char *filename,
|
|
||||||
- const char *attribute,
|
|
||||||
- GFileAttributeType type,
|
|
||||||
- gpointer value_p,
|
|
||||||
- GFileQueryInfoFlags flags)
|
|
||||||
-{
|
|
||||||
- GVfsBackendAfc *self;
|
|
||||||
- uint64_t mtime = 0;
|
|
||||||
- afc_error_t err;
|
|
||||||
-
|
|
||||||
- self = G_VFS_BACKEND_AFC(backend);
|
|
||||||
- g_return_if_fail(self->connected);
|
|
||||||
-
|
|
||||||
- if (g_str_equal (attribute, G_FILE_ATTRIBUTE_TIME_MODIFIED) == FALSE)
|
|
||||||
- {
|
|
||||||
- g_vfs_job_failed (G_VFS_JOB (job),
|
|
||||||
- G_IO_ERROR, G_IO_ERROR_NOT_SUPPORTED,
|
|
||||||
- _("Operation unsupported"));
|
|
||||||
- return;
|
|
||||||
- }
|
|
||||||
-
|
|
||||||
- mtime = *(guint64*)(value_p) * (guint64)1000000000;
|
|
||||||
-
|
|
||||||
- err = afc_set_file_time (self->afc_cli, filename, mtime);
|
|
||||||
- if (err == AFC_E_UNKNOWN_PACKET_TYPE)
|
|
||||||
- {
|
|
||||||
- /* ignore error for pre-3.1 devices as the do not support setting file modification times */
|
|
||||||
- return g_vfs_job_succeeded (G_VFS_JOB(job));
|
|
||||||
- }
|
|
||||||
- if (G_UNLIKELY(g_vfs_backend_afc_check (err, G_VFS_JOB(job))))
|
|
||||||
- {
|
|
||||||
- return;
|
|
||||||
- }
|
|
||||||
-
|
|
||||||
- g_vfs_job_succeeded (G_VFS_JOB(job));
|
|
||||||
-}
|
|
||||||
-
|
|
||||||
-static void
|
|
||||||
g_vfs_backend_afc_make_directory (GVfsBackend *backend,
|
|
||||||
GVfsJobMakeDirectory *job,
|
|
||||||
const char *path)
|
|
||||||
@@ -1336,7 +1296,6 @@ g_vfs_backend_afc_class_init (GVfsBackendAfcClass *klass)
|
|
||||||
backend_class->make_symlink = g_vfs_backend_afc_make_symlink;
|
|
||||||
backend_class->move = g_vfs_backend_afc_move;
|
|
||||||
backend_class->set_display_name = g_vfs_backend_afc_set_display_name;
|
|
||||||
- backend_class->set_attribute = g_vfs_backend_afc_set_attribute;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
@ -1,7 +1,7 @@
|
|||||||
Summary: Backends for the gio framework in GLib
|
Summary: Backends for the gio framework in GLib
|
||||||
Name: gvfs
|
Name: gvfs
|
||||||
Version: 1.5.1
|
Version: 1.5.1
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
URL: http://www.gtk.org
|
URL: http://www.gtk.org
|
||||||
@ -33,8 +33,6 @@ BuildRequires: automake autoconf
|
|||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
# http://bugzilla.gnome.org/show_bug.cgi?id=567235
|
# http://bugzilla.gnome.org/show_bug.cgi?id=567235
|
||||||
Patch0: gvfs-archive-integration.patch
|
Patch0: gvfs-archive-integration.patch
|
||||||
# some AFC code depends on unreleased libiphone additions
|
|
||||||
Patch1: gvfs-1.5.1-afc-remove-unreleased.patch
|
|
||||||
# from upstream
|
# from upstream
|
||||||
Patch2: gvfs-1.5.2-metadata-fix-rotated.patch
|
Patch2: gvfs-1.5.2-metadata-fix-rotated.patch
|
||||||
Patch3: gvfs-1.5.2-metadata-fsync-directory.patch
|
Patch3: gvfs-1.5.2-metadata-fsync-directory.patch
|
||||||
@ -138,7 +136,6 @@ and iPod Touches to applications using gvfs.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1 -b .archive-integration
|
%patch0 -p1 -b .archive-integration
|
||||||
%patch1 -p1 -b .afc-unreleased
|
|
||||||
%patch2 -p1 -b .metadata-rotated
|
%patch2 -p1 -b .metadata-rotated
|
||||||
%patch3 -p1 -b .metadata-dir-fsync
|
%patch3 -p1 -b .metadata-dir-fsync
|
||||||
%patch4 -p1 -b .smb-queryfs-older
|
%patch4 -p1 -b .smb-queryfs-older
|
||||||
@ -310,6 +307,9 @@ killall -USR1 gvfsd >&/dev/null || :
|
|||||||
%{_datadir}/gvfs/remote-volume-monitors/afc.monitor
|
%{_datadir}/gvfs/remote-volume-monitors/afc.monitor
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Dec 15 2009 Tomas Bzatek <tbzatek@redhat.com> - 1.5.1-3
|
||||||
|
- Rebuilt against new libiphone
|
||||||
|
|
||||||
* Mon Nov 30 2009 Tomas Bzatek <tbzatek@redhat.com> - 1.5.1-2
|
* Mon Nov 30 2009 Tomas Bzatek <tbzatek@redhat.com> - 1.5.1-2
|
||||||
- Metadata fixes
|
- Metadata fixes
|
||||||
- SMB: Fix free space calculation for older samba servers
|
- SMB: Fix free space calculation for older samba servers
|
||||||
|
Loading…
Reference in New Issue
Block a user