debian/0000755000000000000000000000000012163600435007166 5ustar debian/watch0000644000000000000000000000010712076120736010221 0ustar version=3 http://www.adebenham.com/mtpfs/ /files/mtp/mtpfs-(.+).tar.gz debian/source/0000755000000000000000000000000012076120736010472 5ustar debian/source/format0000644000000000000000000000001412076120736011700 0ustar 3.0 (quilt) debian/rules0000755000000000000000000000003612076120736010251 0ustar #!/usr/bin/make -f %: dh $@ debian/patches/0000755000000000000000000000000012152444564010624 5ustar debian/patches/01-memory-leak.diff0000644000000000000000000000133112076120736014111 0ustar --- a/mtpfs.c.~1~ 2012-02-27 01:59:39.000000000 +0100 +++ b/mtpfs.c 2012-04-07 11:40:55.291749801 +0200 @@ -606,7 +606,7 @@ DBG("Problem sending %s - %d",path,ret); } // Cleanup - if (item && item->data) + if (item->data) g_free (item->data); myfiles = g_slist_remove (myfiles, item->data); g_strfreev (fields); @@ -989,6 +989,7 @@ path = strcat (path,file->filename); fprintf (filetmp,"%s\n",path); DBG("%s\n",path); + g_free (name); } } //LIBMTP_destroy_file_t(file); debian/patches/02-files-no-folders.diff0000644000000000000000000000127612152444564015053 0ustar Index: mtpfs-1.1/mtpfs.c =================================================================== --- mtpfs-1.1.orig/mtpfs.c 2012-02-26 19:59:39.000000000 -0500 +++ mtpfs-1.1/mtpfs.c 2013-06-01 15:16:38.812060568 -0400 @@ -725,12 +725,12 @@ if (folder_id==-2) { DBG("Root of storage area"); folder=storageArea[storageid].folders; + if (folder == NULL) return_unlock(0); } else { folder = LIBMTP_Find_Folder (storageArea[storageid].folders, folder_id); if (folder == NULL) return_unlock(0); folder = folder->child; } - if (folder == NULL) return_unlock(0); while (folder != NULL) { if ((folder->parent_id == folder_id) || debian/patches/series0000644000000000000000000000005512152444564012041 0ustar 01-memory-leak.diff 02-files-no-folders.diff debian/mtpfs.manpages0000644000000000000000000000003012076120736012031 0ustar debian/manpages/mtpfs.1 debian/mtpfs.links0000644000000000000000000000013312076120736011362 0ustar usr/bin/mtpfs sbin/mount.mtpfs usr/share/man/man1/mtpfs.1 usr/share/man/man1/mount.mtpfs.1 debian/mtpfs.docs0000644000000000000000000000001412076120736011170 0ustar NEWS README debian/manpages/0000755000000000000000000000000012076120736010765 5ustar debian/manpages/mtpfs.10000644000000000000000000000225112076120736012200 0ustar .TH MTPFS 1 "December 21, 2007" .SH NAME mtpfs \- FUSE filesystem for Media Transfer Protocol devices .SH SYNOPSIS .B mtpfs .I mountpoint .RI [options] .SH DESCRIPTION .B mtpfs is a FUSE filesystem that supports reading and writing from MTP (Media Transfer Protocol) devices, such as MP3 players, video players or digital cameras. .PP When files are written to the filesystem their file extension is checked to determine the filetype. This means that images, videos and ICS files (for example) will be recognised by the player rather than setting filetype to `unknown'. .PP There is also a virtual directory called "/Playlists" which contains your playlists as .m3u files. If you write an m3u file to that directory a playlist will be created as well. m3u files are just a text file containing a list of all tracks you want in the playlist one per line). .SH OPTIONS .B mtpfs accepts the following options: .TP .B \-h Show summary of options. .SH "SEE ALSO" .BR fusermount(1) .SH AUTHORS Miklos Szeredi , Chris Debenham . .PP This manual page was written by Chris Lamb , for the Debian project (but may be used by others). debian/copyright0000644000000000000000000000153112076120736011125 0ustar This package was debianized by Chris Lamb on Thu, 20 Dec 2007 22:10:16 +0000. It was downloaded from . Copyright: Copyright © 2001-2005 Miklos Szeredi This program can be distributed under the terms of the GNU GPL. See the file COPYING. id3read.c is taken from GNOMAD: Copyright © 2001 Linus Walleij GNOMAD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. The Debian packaging is © 2007, 2008, 2009, Chris Lamb and is licensed under the GPL. On Debian systems, you can find the GNU General Public License in the file /usr/share/common-licenses/GPL. debian/control0000644000000000000000000000154112076120736010576 0ustar Source: mtpfs Section: utils Priority: optional Maintainer: Chris Lamb Build-Depends: debhelper (>= 7), libmtp-dev (>= 1.0.3), autotools-dev, libfuse-dev, libmad0-dev, libid3tag0-dev, libglib2.0-dev Standards-Version: 3.9.2 Vcs-Git: git://github.com/lamby/pkg-mtpfs.git Vcs-Browser: https://github.com/lamby/pkg-mtpfs Homepage: http://www.adebenham.com/mtpfs/ Package: mtpfs Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, fuse Description: FUSE filesystem for Media Transfer Protocol devices MTPfs is a FUSE filesystem that supports reading and writing from MTP (Media Transfer Protocol) devices, such as MP3 players, video players or digital cameras. . In addition to revealing media files on the connected device, MTPfs exposes a virtual directory called "/Playlists" which contains the device's playlists as m3u files. debian/compat0000644000000000000000000000000212076120736010370 0ustar 7 debian/changelog0000644000000000000000000000511412163600070011034 0ustar mtpfs (1.1-4.1) unstable; urgency=low * Non-maintainer upload. * Apply patch from bug 700067 to allow visibility of files in folders with no subfolders. (Closes: #700067) -- Jay Berkenbilt Sat, 29 Jun 2013 11:40:30 -0400 mtpfs (1.1-4) unstable; urgency=low * Really depend on fuse now, not fuse-utils. (Closes: #697677) -- Chris Lamb Fri, 18 Jan 2013 01:14:03 +0000 mtpfs (1.1-3) unstable; urgency=low * Depend on fuse now, not fuse-utils. (Closes: #697677) -- Chris Lamb Tue, 08 Jan 2013 15:02:33 +0000 mtpfs (1.1-2) unstable; urgency=low * Add patch to fix memory leak. (Closes: #667899) -- Chris Lamb Wed, 11 Apr 2012 11:26:28 +0100 mtpfs (1.1-1) unstable; urgency=low * New upstream version. (Closes: #494627) - Drop 01-multi-hierarchy.diff; applied upstream. * Update debian/watch. -- Chris Lamb Fri, 06 Apr 2012 19:11:24 +0100 mtpfs (1.0-1) unstable; urgency=low * New upstream version (Closes: #652937) * Add patch to fix multi-hierarchy folder trees (Closes: #652940) * Update Vcs-{Browser,Git}. * Bump Standards-Version to 3.9.2. * Update debian/watch file. * Move to Debhelper 7 format. -- Chris Lamb Wed, 04 Jan 2012 01:57:03 +0000 mtpfs (0.9-3) unstable; urgency=low * Bump dependency on libmtp-dev (and implicitly rebuild) to fix segmentation faults on mount (Closes: #576460) * Bump Standards-Version to 3.9.1. * Move to '3.0 (quilt)' source format. -- Chris Lamb Tue, 03 Aug 2010 18:51:17 -0400 mtpfs (0.9-2) unstable; urgency=low * Upload to unstable. * Update Build-Depends on libmtp. * New maintainer email address. * Update Git repository locations. * Correcting section ("interpreters" -> "utils") * Rework and rename 'get-orig-source' target. * Use the "©" symbol over "(C)" in debian/copyright to appease lintian. * Move to debhelper 7. - Replace call to `dh_clean -k' with dh_prep. * Bump Standards-Version to 3.8.0. -- Chris Lamb Mon, 23 Feb 2009 09:13:51 +0000 mtpfs (0.9-1) experimental; urgency=low * New upstream release to experimental due to dependency on experimental libmtp. * Don't re-autogen anymore; drop Build-Depends on automake. * Symlink mount.mtpfs.1 manpage to mtpfs.1 to avoid a Lintian warning. -- Chris Lamb Mon, 29 Dec 2008 21:20:19 +0000 mtpfs (0.8+svn11-1) unstable; urgency=low * Initial release (Closes: #457236) -- Chris Lamb Mon, 24 Dec 2007 17:27:43 +0000