media-tv/xbmc is still using sys-fs/udisks:0 instead of sys-fs/udisks:2
in case anyone wants to look into this, xbmc doesn't link against udisks directly, it only talks to it over dbus you can see the usage here: xbmc/storage/linux/UDisksProvider.cpp and indeed, it's using the udisks-1 names rather than udisks-2. this probably should get filed in upstream xbmc repo too ...
*** Bug 510122 has been marked as a duplicate of this bug. ***
This looks a relevant Kodi bug: http://trac.kodi.tv/ticket/16753 Notes OpenElec uses sys-apps/udevil: https://github.com/OpenELEC/OpenELEC.tv/blob/master/packages/mediacenter/kodi/patches/kodi-100.04-use-udevil-to-umount.patch
i'm not sure the udevil patch is complete as it leaves behind the udisks interface which is still compiled & included
(In reply to SpanKY from comment #4) > i'm not sure the udevil patch is complete as it leaves behind the udisks > interface which is still compiled & included udevil doesn't seem to rely on udisks
OK, then, we could apply the patch + another one dropping: if(DBUS_FOUND) list(APPEND SOURCES UDisksProvider.cpp) list(APPEND HEADERS UDisksProvider.h) endif() from xbmc/storage/linux/CMakeLists.txt
(In reply to Pacho Ramos from comment #6) > OK, then, we could apply the patch + another one dropping: > if(DBUS_FOUND) > list(APPEND SOURCES UDisksProvider.cpp) > list(APPEND HEADERS UDisksProvider.h) > endif() > > from xbmc/storage/linux/CMakeLists.txt Can you please submit a PR to Kodi at https://github.com/xbmc/xbmc ?
Kodi just merged udisk2 support: https://github.com/xbmc/xbmc/commit/325597a84eed3bd80c1a10d5f4b6765714200aec
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49d8d58c46a07d1612cc8addac73b154fcc5212a commit 49d8d58c46a07d1612cc8addac73b154fcc5212a Author: Craig Andrews <candrews@gentoo.org> AuthorDate: 2018-05-23 15:41:55 +0000 Commit: Craig Andrews <candrews@gentoo.org> CommitDate: 2018-05-23 15:44:21 +0000 media-tv/kodi: Depend on sys-fs/udisks:0 instead of sys-fs/udisks:2 See https://github.com/xbmc/xbmc/commit/325597a84eed3bd80c1a10d5f4b6765714200aec Bug: https://bugs.gentoo.org/503862 Package-Manager: Portage-2.3.38, Repoman-2.3.9 media-tv/kodi/kodi-9999.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
(In reply to Craig Andrews from comment #8) > Kodi just merged udisk2 support: > https://github.com/xbmc/xbmc/commit/325597a84eed3bd80c1a10d5f4b6765714200aec hmm, if Kodi just merged udisk2 why did you move the dependency to udisk:0 for git ebuild ?
(In reply to Joakim Tjernlund from comment #10) > (In reply to Craig Andrews from comment #8) > > Kodi just merged udisk2 support: > > https://github.com/xbmc/xbmc/commit/325597a84eed3bd80c1a10d5f4b6765714200aec > > hmm, if Kodi just merged udisk2 why did you move the dependency to udisk:0 > for > git ebuild ? oops, I just read the commit msg, I see that -9999 now depends on :2