Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 448640 - kde-misc/kio-mtp: KDE MTP KIO slave
Summary: kde-misc/kio-mtp: KDE MTP KIO slave
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: Normal enhancement with 1 vote (vote)
Assignee: Gentoo KDE team
URL: https://projects.kde.org/projects/pla...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-26 10:04 UTC by Martux
Modified: 2013-09-26 18:25 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martux 2012-12-26 10:04:03 UTC
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.
Comment 1 Ian Whyman (thev00d00) (RETIRED) gentoo-dev 2012-12-26 10:41:37 UTC
There is a 9999 ebuild in the KDE overlay, maybe give that a try?
Comment 2 Martux 2012-12-26 10:59:02 UTC
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.
Comment 3 Michael Palimaka (kensington) gentoo-dev 2012-12-26 13:05:16 UTC
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.
Comment 4 Martux 2012-12-26 13:18:12 UTC
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"
 *
Comment 5 Michael Palimaka (kensington) gentoo-dev 2012-12-26 13:34:20 UTC
(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
Comment 6 Martux 2012-12-26 15:17:10 UTC
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..
Comment 7 Michael Palimaka (kensington) gentoo-dev 2012-12-26 15:27:40 UTC
(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.
Comment 8 BT 2013-02-07 22:49:30 UTC
(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?
Comment 9 Chris Reffett (RETIRED) gentoo-dev Security 2013-02-12 02:36:55 UTC
Snapshot added to the KDE overlay.
Comment 10 Ian Whyman (thev00d00) (RETIRED) gentoo-dev 2013-02-12 07:25:20 UTC
FWIW this has been quite unstable for me.

Not sure it will be tree ready for a while.
Comment 11 Martux 2013-02-12 17:26:00 UTC
It is unstable for me as well, but is heavily improving, at least so it seems.
Comment 12 PM 2013-02-19 23:40:48 UTC
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?
Comment 13 Michael Palimaka (kensington) gentoo-dev 2013-02-26 04:51:15 UTC
(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.
Comment 14 Michael Palimaka (kensington) gentoo-dev 2013-04-18 18:52:08 UTC
This is slated to be included with KDE/4.11
Comment 15 Michael Palimaka (kensington) gentoo-dev 2013-09-12 12:21:53 UTC
I did a version bump in the overlay. If somebody is able to test, we could look at adding this to the tree.
Comment 16 Johannes Huber (RETIRED) gentoo-dev 2013-09-26 18:25:52 UTC
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.
+