summaryrefslogtreecommitdiff
path: root/monitor/gphoto2
Commit message (Collapse)AuthorAgeFilesLines
* gphoto2: Show iDevices through MTPBastien Nocera2016-03-191-9/+0
| | | | | | | There's no interesting data for users in afc:/// so it's best to show iDevices through MTP instead. Stop hiding iDevices through the MTP. https://bugzilla.gnome.org/show_bug.cgi?id=749639
* build: Add --with-systemduserunitdir optionYaroslav Shmelev2016-01-221-1/+2
| | | | | | | | | | | This option allows maintainers to specify the directory that contain a systemd user units, or disable it. Default location for these units is /usr/lib/systemd/user. This patch will switch from hard-coded path to configurable one. The patch was modified by Ondrej Holy <oholy@redhat.com>. https://bugzilla.gnome.org/show_bug.cgi?id=760293
* Add a corresponding systemd user service for every D-Bus session serviceSimon McVittie2015-09-303-3/+28
| | | | | | | | When using "systemd --user" in conjunction with "dbus-daemon --session --systemd-activation", this ensures that each daemon is correctly placed in its own cgroup, instead of being treated as part of dbus.service. Bug: https://bugzilla.gnome.org/show_bug.cgi?id=755760
* Make all gvfs daemons own a name under org.gtk.vfs.*Alexander Larsson2015-09-034-4/+4
| | | | | | | | | | | | | | | | | | | This allows you to easily allow access to gvfs from a sandbox. Just give it talk access to org.gtk.vfs.* and everything will work. This change does three things: Change the existing mountpoint dbus names from org.gtk.vfs.mountpoint.foo to org.gtk.vfs.mountpoint_foo For other mountpoints, always own: org.gtk.vfs.mountpoint_$pid Change the dbus name of the volume monitors from org.gtk.Private.fooMonitor to org.gtk.vfs.fooMonitor
* Fix build error when using HAL backendTing-Wei Lan2015-04-022-2/+5
| | | | | | gvfsdbusutils.[ch] are renamed to gvfshalutils.[ch] to prevent confusion. https://bugzilla.gnome.org/show_bug.cgi?id=722411
* gphoto2: Add symbolic icon for volumeRoss Lagerwall2014-10-131-0/+16
| | | | | | Add a symbolic icon to the volume using the new shared API. https://bugzilla.gnome.org/show_bug.cgi?id=736285
* Build shared code for gphoto2 and mtp as a convenience libRoss Lagerwall2014-10-132-118/+10
| | | | | | | | Deduplicate code between gphoto2 and mtp by creating a convenience library call libgvfscommon-gphoto2 which is only built if either libmtp is used or gphoto2 with gudev is used. https://bugzilla.gnome.org/show_bug.cgi?id=736285
* build: Require gudev >= 147Ross Lagerwall2014-04-301-1/+0
| | | | | | | From release 147, the gudev API was marked as stable, so require that version. https://bugzilla.gnome.org/show_bug.cgi?id=722354
* Use g_list_free_full() where applicableTomas Bzatek2013-01-171-18/+9
|
* MTP: Put conditional test in gphoto2 monitor for libmtp.Philip Langdale2013-01-111-1/+3
|
* MTP: Make gphoto2 monitor skip MTP devices.Philip Langdale2013-01-111-0/+5
|
* Update the Address of the FSFFelix Möller2012-07-3011-22/+22
| | | | | | | | | | | | | | | Updating the address of the FSF. This has been done by: while read file; do sed -i 's:59 Temple Place:51 Franklin Street:' $file sed -i 's:Suite 330:Fifth Floor:' $file sed -i 's:02111-1307:02110-1301:' $file done https://bugzilla.gnome.org/show_bug.cgi?id=656598 Signed-off-by: Tomas Bzatek <tbzatek@redhat.com>
* Purge hardcoded -DG_DISABLE_DEPRECATEDColin Walters2011-10-121-1/+0
| | | | | Especially now that deprecations are proper gcc warnings, no need to hardcode this.
* gphoto2: Recognize cameras which don't implement get storageinfoHans de Goede2011-04-261-2/+8
| | | | | | | | | | | Not all gphoto drivers implement get storage info (drivers for proprietary protocols often don't). This patch fixes the gphoto2volumemonitor to still recognize cams which gphoto driver does not implement get storage info. https://bugzilla.gnome.org/show_bug.cgi?id=606059 Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Tomas Bzatek <tbzatek@redhat.com>
* Cleanups and fixes for compiler warningsKjartan Maraas2011-03-171-5/+0
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=641856
* Use correct "usb:" address for GPhoto mounts with gudevBastien Nocera2010-10-281-15/+26
| | | | | | | | gphoto2 expects the usb:X,X addresses to use the dirname and device names from libusb, which are zero-padded. Given that it's what udev gives us, just don't transform it to an int before printing. https://bugzilla.gnome.org/show_bug.cgi?id=631562
* Rename gdbusutils.h to avoid conflict with GIO1.6.2Matthias Clasen2010-05-271-1/+1
| | | | This makes gvfs build with recent glib again, see bug #619537
* Ignore gphoto2 mounts on AFC capable devicesBastien Nocera2010-03-241-0/+10
| | | | | | | Requires a small usbmuxd udev rules change, to mark devices with the USBMUXD_AFC_DEVICE property. https://bugzilla.gnome.org/show_bug.cgi?id=591009
* Fix dist issue1.5.2Alexander Larsson2010-01-251-4/+5
| | | | | | We need to always know how to build the hal-marshal.[ch] files and that they are BUILD_SOURCES because otherwise we can't dist if hal is disabled.
* Move hal-only functions into hal ifdefAlexander Larsson2009-12-011-43/+43
|
* Use $(AM_V_GEN) for more silent buildChristian Persch2009-10-091-3/+3
| | | | Closes bug #597104
* gphoto2 - Remove built sourcesBastien Nocera2009-10-012-199/+0
| | | | | The HAL marshalling code has nothing to do in the git tree, it's built sources.
* FreeBSD support for gphoto2 backendAlexander Larsson2009-09-231-0/+6
| | | | | Here is a patch from Aurélien Jarno to enable the gphoto2 backend on FreeBSD and GNU/kFreeBSD.
* Turn off debugging spew in gphoto2 and proxy monitorsDavid Zeuthen2009-08-141-0/+2
|
* gphoto2: Handle removal of camera with multiple storage headsDavid Zeuthen2009-08-141-17/+21
|
* port gphoto2 backend and monitor to gudevMartin Pitt2009-08-094-6/+400
| | | | | | | | | | | | | | | | | | | | This works with the ID_GPHOTO2 attribute, which was recently added to libgphoto2: http://sourceforge.net/tracker/?func=detail&aid=2801117&group_id=8874&atid=308874 That initial libgphoto2 patch does not yet pass the actual name, and just sets ID_GPHOTO2="1". However, in this patch we check if it's not "1", and use that as volume name (since it's the "best" one). Otherwise fall back to usb_id and sysfs vendor/model/product names. This also supports ID_MEDIA_PLAYER* attributes for media players with gphoto support. Please see here for the discussion and development progress: http://lists.freedesktop.org/archives/devkit-devel/2009-June/000226.html http://cgit.freedesktop.org/~teuf/media-player-id/ http://bugzilla.gnome.org/show_bug.cgi?id=586410 Signed-off-by: David Zeuthen <davidz@redhat.com>
* gphoto2: Fix gphoto2 backend to work with Canon EOS 5DDavid Zeuthen2009-06-051-1/+10
| | | | | | This bug was introduced during the 2.25 cycle as part of supporting multiple storage heads. Previously we didn't use basedir, now we do. And we failed to check if the basedir is actually set.
* Fix up .gitignore filesAlexander Larsson2009-04-171-0/+1
| | | | Update old ignore files and add new ones as needed
* Bug 570888 – gvfs-gphoto2 mount 4 devices when pluging one cameraAlexander Larsson2009-03-091-1/+7
| | | | | | | | | | | | | | 2009-03-09 Alexander Larsson <alexl@redhat.com> Bug 570888 – gvfs-gphoto2 mount 4 devices when pluging one camera * monitor/gphoto2/ggphoto2volumemonitor.c: (get_stores_for_camera): Ignore stores that have 0 byte capability. svn path=/trunk/; revision=2304
* Make the gphoto2 backend work with buggy devices (such as the iPhone)David Zeuthen2009-02-203-159/+59
| | | | | | | | | | | | | | | | | | | | | | | | 2009-02-20 David Zeuthen <davidz@redhat.com> Make the gphoto2 backend work with buggy devices (such as the iPhone) where the basedir of the store changes. * daemon/gvfsbackendgphoto2.c: Revert the patch from #520123 that removed the ignore_prefix handling. Change ensure_ignore_prefix() to only use an ignore prefix if there is exactly one storage head. * monitor/gphoto2/ggphoto2volumemonitor.c: Nuke orphan mount handling since that is superseeded by shadow mounts. Also avoid appending the store name if there is only one storage head. * monitor/gphoto2/ggphoto2volume.[ch]: Rename foreign_mount_root to activation_root since that is really what it is now. Also fix a silly logical bug whereby music players (as reported by HAL) weren't detected. svn path=/trunk/; revision=2239
* For each camera discovered, create shadow mounts for each one of theBastien Nocera2008-12-092-16/+90
| | | | | | | | | | | | | | | | | | | | | | | | | | 2008-12-09 Bastien Nocera <hadess@hadess.net> * monitor/gphoto2/Makefile.am: * monitor/gphoto2/ggphoto2volumemonitor.c (get_stores_for_camera), (update_cameras): For each camera discovered, create shadow mounts for each one of the top-level storage heads, makes each of the device's stores appear separately * daemon/gvfsbackendgphoto2.c (monitors_emit_internal), (release_device), (split_filename), (file_get_info), (do_mount), (do_open_for_read_real), (do_query_info), (try_query_info), (do_enumerate), (try_enumerate), (do_make_directory), (do_set_display_name), (do_delete), (do_create_internal), (do_replace), (do_append_to), (do_move), (do_create_dir_monitor), (do_create_file_monitor): Remove all the hacks to handle a single storage head differently from multiple storage heads, this makes photo directories detection and the likes work for multiple storage-heads (Closes: #520123) svn path=/trunk/; revision=2126
* Only call the IsSupported dbus call when the class is actually neededAlexander Larsson2008-09-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-09-23 Alexander Larsson <alexl@redhat.com> * monitor/proxy/gproxyvolumemonitor.[ch]: * monitor/proxy/gproxyvolumemonitor.h: * monitor/proxy/remote-volume-monitor-module.c: Only call the IsSupported dbus call when the class is actually needed instead of on gio init. Don't integrate internal session bus with mainloop during is_support code, as that is not necessary yet, and it caused problem if done in a thread. This fixes the trash crash issue in bug #547568. 2008-09-23 Alexander Larsson <alexl@redhat.com> * client/Makefile.am: * common/Makefile.am: * common/gmountsource.c: * common/gmounttracker.c: * monitor/gphoto2/Makefile.am: * monitor/hal/Makefile.am: * monitor/proxy/Makefile.am: Link all modules against the installed libgvfscommon instead of duplicating the statically linked one. This is safe wrt namespace conflicts, because the modules are opened RTLD_LOCAL so the dependencies will not pollute the global namespace. * client/gdaemonvfs.c: Make the gvfsdbus module persistant. This means we will never unload it, and thus not unload libgvfscommon which could be problematic. This is not a huge problem, as: + The gio modules will not be loaded anyway unless you use gio + The gvfsdbus module will be persistent anyway as soon as the app references the GVfs object, which likely all gio apps do + The module load order doesn't matter wrt unload order, because all gio modules are loaded before any one is unloaded. svn path=/trunk/; revision=2021
* Use 'camera-photo' rather than just 'camera' since gnome-icon-theme inDavid Zeuthen2008-07-211-1/+1
| | | | | | | | | | | | | 2008-07-21 David Zeuthen <davidz@redhat.com> * monitor/gphoto2/ggphoto2volume.c (do_update_from_hal_for_camera): * daemon/gvfsbackendgphoto2.c (compute_icon_name): (find_udi_for_device): Use 'camera-photo' rather than just 'camera' since gnome-icon-theme in 2.23/2.24 no longer ships 'camera'. Now the icons look fine again. svn path=/trunk/; revision=1828
* Separate the hal and gphoto2 volume monitors - this is in part needed toDavid Zeuthen2008-07-2117-0/+2675
2008-07-21 David Zeuthen <davidz@redhat.com> * configure.ac: * monitor/Makefile.am: * monitor/hal/*: * monitor/gphoto2/*: Separate the hal and gphoto2 volume monitors - this is in part needed to solve bug #520123. svn path=/trunk/; revision=1827