A number of Linux distributions and FreeBSD already include gMTP in their software repository
gMTP Source: gMTP-1.3.11.tar.gz
All previous releases are available from gMTP Downloads on Sourceforge
Anonymous read-only access is available via:
$ git clone http://git.code.sf.net/p/gmtp/code gmtp-code
or via web: https://sourceforge.net/p/gmtp/code/
Please be aware that the git version may be horribly broken or may not even compile, and I would always recommend the latest stable release for general use.
The CVS repository was retired with v1.3.4. Unfortunately, no history was transferred into the git repository, so the CVS is left for historical purposes.
Anonymous read-only access is available via:
$ cvs -z3 -d:pserver:anonymous@gmtp.cvs.sourceforge.net:/cvsroot/gmtp checkout -P Hellfire/gMTP
or via web: http://gmtp.cvs.sourceforge.net/viewvc/gmtp/
Please be aware that the CVS version may be horribly broken or may not even compile, and I would always recommend the latest stable release for general use.
Patches and updates are always welcome. Please submit patches/updates as a either a git pull request, a patch file, a personal email or submit as attachment to a bug report. Please use email form to request an email address to send patches/file through if sending via email attachment.
These instructions are from a Oracle Solaris 10 perspective. You may need to adjust some commands to accommodate your respective Operating System.
Download the libmtp source code, unpack and run:
$ CFLAGS="-I/usr/sfw/lib -L/usr/sfw/lib -R/usr/sfw/lib" INSTALL=/usr/ucb/install MAKE=gmake ./configure
$ gmake
# gmake install
Note: If you don't have a libusb.pc file (configure may complain about libusb being missing on
Solaris 10/11), then you can use this one. Copy to
/usr/lib/pkgconfig/libusb.pc
.
Once installed, test the mtp package by connecting your MP3 player, and run mtp-detect
from a terminal prompt. If all is well, you should see your device details scroll across the screen.
Download the libid3tag source code, unpack and run:
$ INSTALL=/usr/ucb/install MAKE=gmake ./configure
$ gmake
# gmake install
Copy id3tag.pc to /usr/local/lib/pkgconfig/id3tag.pc
Download the FLAC source code, unpack and run:
$ INSTALL=/usr/ucb/install MAKE=gmake ./configure
$ gmake
# gmake install
Download and unpack the source code. Run ./configure
. The configure script will
automatically select GTK+ 3 if found, otherwise will fall back to using GTK+ 2. To override
the, use --with-gtk3
to force GTK+3 or use --with-gtk2
to force
using GTK+ 2.
$ ./configure
$ make
# make install
Then run
$ gmtp
to start the application. # make install
should add the desktop shortcut
and setup the gconf/gsettings configuration correctly.
Note: For Solaris 10, it is recommended that Solaris Studio C compiler be used to build gMTP.
Therefore it is recommended that the environment variable CC be set to cc. e.g. $./configure CC=cc
is used to build gMTP.