Please add this to portage: https://projects.kde.org/projects/playground/base/kio-mtp Description: Provides KIO Access to MTP devices using the mtp:/// protocol. It is very needed for everyone using KDE with a newer Android cellphone and is getting more and more useful.
There is a 9999 ebuild in the KDE overlay, maybe give that a try?
Does not work for me. I get an error while fetching from the git repository. It obviously tries to get it from some svn source, but the website states it's git: * Messages for package kde-misc/kio-mtp-9999: * ERROR: kde-misc/kio-mtp-9999 failed (unpack phase): * subversion: can't fetch to /usr/portage/distfiles/svn-src/kio-mtp/kio-mtp from svn://anonsvn.kde.org/home/kde/trunk/KDE/kio-mtp. * * Call stack: * ebuild.sh, line 93: Called src_unpack * environment, line 3876: Called kde4-base_src_unpack * environment, line 3057: Called subversion_src_unpack * environment, line 4193: Called subversion_fetch * environment, line 4088: Called die * The specific snippet of code: * ${ESVN_FETCH_CMD} ${options} "${repo_uri}" || die "${ESVN}: can't fetch to ${wc_path} from ${repo_uri}."; As I am not that used to ebuild handling and such, this is a showstopper for me. I would love the ebuild to fetch the latest git version as there is progress in this project.
Are you using the overlay via layman, or copying the ebuild into eg. /usr/local/portage? If the latter, you must add KDE_SCM="git" to the ebuild.
It's in a local overlay. Adding the given line brings up another error :) * ERROR: kde-misc/kio-mtp-9999 failed (prepare phase): * The source directory '/var/tmp/portage/kde-misc/kio-mtp-9999/work/kio-mtp-9999' doesn't exist * * Call stack: * ebuild.sh, line 717: Called __ebuild_main 'prepare' * phase-functions.sh, line 938: Called __dyn_prepare * phase-functions.sh, line 367: Called die * The specific snippet of code: * die "The source directory '${S}' doesn't exist" *
(In reply to comment #4) > It's in a local overlay. > Adding the given line brings up another error :) I should have specified, add the line so it looks like this: EAPI=4 KDE_SCM="git" inherit kde4-base
Nice, that works. Will it always fetch the latest version when remerged? How are the chances seeing this in official portage tree? I heard KDE is planning to support it too, soon..
(In reply to comment #6) > Will it always fetch the latest version when remerged? Yep. > How are the chances seeing this in official portage tree? I heard KDE is > planning to support it too, soon.. I have read conflicting information about whether it will make it into 4.10 or not, and haven't had a chance to properly check it. If it did make it in, we will probably wait for 4.10 to be released, otherwise I don't see any problem with adding a snapshot to portage.
(In reply to comment #7) > I have read conflicting information about whether it will make it into 4.10 > or not, and haven't had a chance to properly check it. If it did make it in, > we will probably wait for 4.10 to be released, otherwise I don't see any > problem with adding a snapshot to portage. With 4.10 released, can kio-mtp please be added to Portage?
Snapshot added to the KDE overlay.
FWIW this has been quite unstable for me. Not sure it will be tree ready for a while.
It is unstable for me as well, but is heavily improving, at least so it seems.
From what I can tell it's supposed to be an official part of 4.10 release: http://kde.org/announcements/4.10/plasma.php Why isn't it installed as part of kde-base/dolphin-4.10.0?
(In reply to comment #12) > From what I can tell it's supposed to be an official part of 4.10 release: > http://kde.org/announcements/4.10/plasma.php > Why isn't it installed as part of kde-base/dolphin-4.10.0? From what I can tell, MTP support is present in 4.10, but not the kioslave itself.
This is slated to be included with KDE/4.11
I did a version bump in the overlay. If somebody is able to test, we could look at adding this to the tree.
Thanks all. This is fixed in cvs now. Please sync in some hours to get the changes. + + 26 Sep 2013; Johannes Huber <johu@gentoo.org> +kio-mtp-0.75_p20130912.ebuild, + +metadata.xml: + New package. Import from kde overlay. Bug #448640. +