After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 591005 - Add AFC backend
Add AFC backend
Status: RESOLVED FIXED
Product: gvfs
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gvfs-maint
gvfs-maint
Depends on: 590835
Blocks: 591009
 
 
Reported: 2009-08-06 22:01 UTC by Bastien Nocera
Modified: 2009-10-01 13:41 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
0001-Add-AFC-backend.patch (64.87 KB, patch)
2009-08-06 22:02 UTC, Bastien Nocera
needs-work Details | Review
Updated patch (65.49 KB, patch)
2009-08-14 14:49 UTC, Bastien Nocera
none Details | Review
Updated patch (64.09 KB, patch)
2009-09-04 10:08 UTC, Bastien Nocera
committed Details | Review

Description Bastien Nocera 2009-08-06 22:01:16 UTC
Add a backend based on libiphone to access data on Apple's iPhone, and iPod Touch.

See also:
http://blog.sukimashita.com/2009/06/24/its-coming-apples-on-linux/
    
Code by:
Patrick Walton <pcwalton@cs.ucla.edu>
Martin Szulecki <opensuse@sukimashita.com>
Nikias Bassen <nikias@gmx.li>
Bastien Nocera <hadess@hadess.net>

libiphone and usbmuxd should be getting releases shortly to support this.
Comment 1 Bastien Nocera 2009-08-06 22:02:10 UTC
Created attachment 140068 [details] [review]
0001-Add-AFC-backend.patch

Ready to be committed...
Comment 2 Bastien Nocera 2009-08-12 10:12:03 UTC
You'll also need this patch on top of the one posted:
http://cvs.fedoraproject.org/viewvc/rpms/gvfs/devel/0001-Revert-part-of-the-excessive-function-culling.patch?view=markup

The udev code needs changes to work properly with recent kernels though.
Comment 3 Bastien Nocera 2009-08-14 14:49:01 UTC
Created attachment 140779 [details] [review]
Updated patch

- Ported to work with recent kernels (no usb_endpoint class)
- Fix a few crashers (the get_mount code was broken, a few NULL-returning functions were missing, my fault)
- Fix trailing whitespace errors
Comment 4 Bastien Nocera 2009-09-04 10:08:44 UTC
Created attachment 142461 [details] [review]
Updated patch

Updated for libusbmuxd 1.0 API, remove gudev dependency (libusbmuxd provides the enumeration API now).

Also fixes a crasher when the afc volume monitor is destroyed.
Comment 5 Bastien Nocera 2009-10-01 13:41:37 UTC
Committed in master for GNOME 2.30