packages: gvfs/gvfs.spec, gvfs/unstable-libimobiledevice-api.patch (NEW)=?UTF-8?Q?=20?=-=?UTF-8?Q?=20?=...

kiesiu kiesiu at pld-linux.org
Sat Mar 31 10:30:01 CEST 2012


Author: kiesiu                       Date: Sat Mar 31 08:30:01 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- patch for libimobiledevice-1.1.2 API change
- bump libimobiledevice BR
- rel. 3

---- Files affected:
packages/gvfs:
   gvfs.spec (1.60 -> 1.61) , unstable-libimobiledevice-api.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/gvfs/gvfs.spec
diff -u packages/gvfs/gvfs.spec:1.60 packages/gvfs/gvfs.spec:1.61
--- packages/gvfs/gvfs.spec:1.60	Sat Mar 31 01:11:03 2012
+++ packages/gvfs/gvfs.spec	Sat Mar 31 10:29:55 2012
@@ -3,12 +3,13 @@
 Summary(pl.UTF-8):	gvfs - wirtualny system plików w przestrzeni użytkownika
 Name:		gvfs
 Version:	1.12.0
-Release:	2
+Release:	3
 License:	LGPL v2+
 Group:		Libraries
 Source0:	http://ftp.gnome.org/pub/GNOME/sources/gvfs/1.12/%{name}-%{version}.tar.xz
 # Source0-md5:	0dd301b6d80b5ffa89e9a4a981abe297
 Patch0:		set_attributes_from_info-v1.patch
+Patch1:		unstable-libimobiledevice-api.patch
 BuildRequires:	autoconf >= 2.64
 BuildRequires:	automake >= 1:1.11.1
 BuildRequires:	avahi-glib-devel >= 0.6.22
@@ -26,7 +27,7 @@
 BuildRequires:	libgcrypt-devel >= 1.2.2
 BuildRequires:	libgnome-keyring-devel
 BuildRequires:	libgphoto2-devel >= 2.4.7
-BuildRequires:	libimobiledevice-devel >= 1.1.0
+BuildRequires:	libimobiledevice-devel >= 1.1.2
 BuildRequires:	libplist-devel >= 0.15
 BuildRequires:	libsmbclient-devel >= 3.0
 BuildRequires:	libsoup-gnome-devel >= 2.26.0
@@ -104,6 +105,7 @@
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 %{__intltoolize}
@@ -260,6 +262,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.61  2012/03/31 08:29:55  kiesiu
+- patch for libimobiledevice-1.1.2 API change
+- bump libimobiledevice BR
+- rel. 3
+
 Revision 1.60  2012/03/30 23:11:03  arekm
 - release 2
 

================================================================
Index: packages/gvfs/unstable-libimobiledevice-api.patch
diff -u /dev/null packages/gvfs/unstable-libimobiledevice-api.patch:1.1
--- /dev/null	Sat Mar 31 10:30:01 2012
+++ packages/gvfs/unstable-libimobiledevice-api.patch	Sat Mar 31 10:29:56 2012
@@ -0,0 +1,27 @@
+diff -uNr gvfs-1.12.0/daemon/gvfsbackendafc.c gvfs-1.12.0.new/daemon/gvfsbackendafc.c
+--- gvfs-1.12.0/daemon/gvfsbackendafc.c	2012-03-26 16:35:11.000000000 +0200
++++ gvfs-1.12.0.new/daemon/gvfsbackendafc.c	2012-03-31 10:03:27.141244477 +0200
+@@ -343,7 +343,7 @@
+   g_return_if_fail (afc_backend->uuid != NULL);
+   if (event->event != IDEVICE_DEVICE_REMOVE)
+     return;
+-  if (g_str_equal (event->uuid, afc_backend->uuid) == FALSE)
++  if (g_str_equal (event->udid, afc_backend->uuid) == FALSE)
+     return;
+ 
+   g_print ("Shutting down AFC backend for device uuid %s\n", afc_backend->uuid);
+diff -uNr gvfs-1.12.0/monitor/afc/afcvolumemonitor.c gvfs-1.12.0.new/monitor/afc/afcvolumemonitor.c
+--- gvfs-1.12.0/monitor/afc/afcvolumemonitor.c	2012-03-26 16:35:11.000000000 +0200
++++ gvfs-1.12.0.new/monitor/afc/afcvolumemonitor.c	2012-03-31 10:23:02.284878178 +0200
+@@ -89,9 +89,9 @@
+   self = G_VFS_AFC_VOLUME_MONITOR(user_data);
+ 
+   if (event->event == IDEVICE_DEVICE_ADD)
+-    g_vfs_afc_monitor_create_volume (self, event->uuid);
++    g_vfs_afc_monitor_create_volume (self, event->udid);
+   else
+-    g_vfs_afc_monitor_remove_volume (self, event->uuid);
++    g_vfs_afc_monitor_remove_volume (self, event->udid);
+ }
+ 
+ static GObject *
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/packages/gvfs/gvfs.spec?r1=1.60&r2=1.61



More information about the pld-cvs-commit mailing list