Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 504022 - kde-misc/kdeconnect has sys-fs/sshfs-fuse as an optional runtime dependency
Summary: kde-misc/kdeconnect has sys-fs/sshfs-fuse as an optional runtime dependency
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
: 631830 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-03-09 22:03 UTC by Andreas Sturmlechner
Modified: 2017-09-23 08:49 UTC (History)
1 user (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 Andreas Sturmlechner gentoo-dev 2014-03-09 22:03:06 UTC
If not installed, when trying to access the remote device via 'Remote filesystem browser', you get nothing but an error message (which might not be clear for every user immediately). I think there are two options, 1) add it to RDEPEND even though using the plugin still is completely optional, or 2) document it in pkg_postinst().


A patch for 2) could look like this:

--- a/kdeconnect-9999.ebuild    2013-10-30 22:57:21.947649046 +0100
+++ b/kdeconnect-9999.ebuild    2014-03-09 22:31:34.372716701 +0100
@@ -41,8 +41,10 @@
 }
 
 pkg_postinst(){
-       einfo
-       einfo "The Android .apk file is available via"
-       einfo "https://play.google.com/store/apps/details?id=org.kde.kdeconnect_tp"
-       einfo
+       elog "Optional dependencies:"
+       elog "  sys-fs/sshfs-fuse (for 'Remote filesystem browser' plugin)"
+       elog
+       elog "The Android .apk file is available via"
+       elog "https://play.google.com/store/apps/details?id=org.kde.kdeconnect_tp"
+       elog
 }
Comment 1 Manuel Rüger (RETIRED) gentoo-dev 2014-03-11 03:27:17 UTC
*kdeconnect-0.5.1 (11 Mar 2014)

  11 Mar 2014; Manuel Rüger <mrueg@gentoo.org> +kdeconnect-0.5.1.ebuild,
  -kdeconnect-0.5.ebuild:
  Version bump. Add info about optional rdep: sshfs-fuse. Thanks to Andreas
  Sturmlechner. Fixes bug #504022
Comment 2 barrie backhurst 2014-03-12 11:59:32 UTC
Why would you not add the fuse USE flag as per x2goserver?

http://gpo.zugaina.org/AJAX/Ebuild/2607611/View

That said I have installed 0.5.1 alongside sshfs-fuse on kde-4.12.3 and when trying to browse my Samsung Galaxy S11 via konqueror, I get 

"Unsupported Protocol kdeconnect"

Should I file a new bug or is file browsing not supported in kdeconnect-0.5.1(as suggested by the android app)? If the latter, I would think the post install message is not needed for this version?
Comment 3 Andreas Sturmlechner gentoo-dev 2014-03-12 14:41:18 UTC
It seems they indeed comment it out for each stable release so far:
https://projects.kde.org/projects/playground/base/kdeconnect-kde/repository/revisions/fb4441c740d2b9f0299489432518abe6d8e966c7

Maybe someone should donate them a config switch. ;)


@barrie: Optional runtime deps are an unsolved topic so far: see bug 453618
Comment 4 Andreas Sturmlechner gentoo-dev 2017-09-23 08:49:44 UTC
*** Bug 631830 has been marked as a duplicate of this bug. ***