Package Details: libmtp-git 1.1.21.r93.ge69958f-1

Git Clone URL: https://aur.archlinux.org/libmtp-git.git (read-only, click to copy)
Package Base: libmtp-git
Description: Library implementation of the Media Transfer Protocol
Upstream URL: https://libmtp.sourceforge.net/
Licenses: LGPL-2.1-or-later
Conflicts: libmtp
Provides: libmtp
Submitter: None
Maintainer: Chocobo1
Last Packager: Chocobo1
Votes: 44
Popularity: 0.000000
First Submitted: 2012-01-21 19:49 (UTC)
Last Updated: 2024-06-03 20:40 (UTC)

Required by (43)

Sources (1)

Latest Comments

1 2 3 Next › Last »

eduard commented on 2016-08-05 12:24 (UTC)

Can not build: ... libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -I/usr/include/libusb-1.0 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -Wall -Wmissing-prototypes -MT libmtp_la-util.lo -MD -MP -MF .deps/libmtp_la-util.Tpo -c util.c -fPIC -DPIC -o .libs/libmtp_la-util.o In file included from /usr/include/string.h:630:0, from util.c:36: util.h:29:7: error: expected identifier or ‘(’ before ‘__extension__’ char *strndup (const char *s, size_t n); ^ util.c:111:7: error: expected identifier or ‘(’ before ‘__extension__’ char *strndup (const char *s, size_t n) ^ make[2]: *** [Makefile:530: libmtp_la-util.lo] Error 1 make[2]: Leaving directory '/usr/local/aur/jmtpfs_libmtp-gvfs-git/src/libmtp-build/src' make[1]: *** [Makefile:503: all-recursive] Error 1 make[1]: Leaving directory '/usr/local/aur/jmtpfs_libmtp-gvfs-git/src/libmtp-build' make: *** [Makefile:387: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting...

saimn commented on 2014-07-09 21:04 (UTC)

The git url must be updated. I have also made some other improvements here: https://github.com/saimn/archlinux-pkgbuilds/blob/master/libmtp-git/PKGBUILD

piojo commented on 2013-09-15 14:57 (UTC)

I believe the two URLs currently yield the same repository. It doesn't seem the code has been updated in the past few months, either.

nebulon commented on 2013-03-17 02:05 (UTC)

I think "git://git.code.sf.net/p/libmtp/code" is the correct git url now. At least it seems to be more current. (Or I just encountered a mirror sync issue on their side :-) )

piojo commented on 2013-02-13 17:57 (UTC)

I uploaded a fixed PKGBUILD. Hope it's not so horrible to use sed instead of a patch ;-)

ilpianista commented on 2013-02-07 21:22 (UTC)

Disowned as this was broken for one month and the fix was known.

lubosz commented on 2013-01-12 01:21 (UTC)

It's very nice that autotools breaks the build because of two characters. This is the missing patch from csolisr's PKGBUILD https://gist.github.com/4515497

csolisr commented on 2013-01-10 17:59 (UTC)

To fix the error that doesn't allow to compile because of the AM_CONFIG_HEADER deprecated macro, just use the source at http://ompldr.org/vaDBwMA/libmtp-git-20130110-1.src.tar.gz . PS: Devs, please fix it upstream or use my patch.

<deleted-account> commented on 2012-04-09 17:16 (UTC)

Hey naguz. Thanks for letting me know about the new release. As it turns out, this package does not need to be updated every time a new version of libmtp is available. When you want the latest version of libmtp, just reinstall this package. I have updated this package merge in some minor changes from extra/libmtp 1.1.2-2. I have confirmed that the buggy behavior everyone is describing is not the fault of this package (the same thing happens with extra/libmtp 1.1.2-2), and that it is still present in the latest software. The libmtp people are working on it: https://sourceforge.net/tracker/?func=detail&aid=3489472&group_id=158745&atid=809061

<deleted-account> commented on 2012-04-07 21:48 (UTC)

libmtp 1.1.3 out as of April 3rd.