Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 564262 - mate-extra/mate-user-share: remove obsolete bluetooth support
Summary: mate-extra/mate-user-share: remove obsolete bluetooth support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo MATE Desktop
URL:
Whiteboard:
Keywords:
Depends on: 575262
Blocks: 500722
  Show dependency tree
 
Reported: 2015-10-27 15:02 UTC by Pacho Ramos
Modified: 2016-03-15 15:55 UTC (History)
3 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 Pacho Ramos gentoo-dev 2015-10-27 15:02:12 UTC
This is the last package that is still needing obex-data-server. Other distributions simply disable bluetooth support to get rid of this requirement (like ArchLinux). 

I also wonder about how this bluetooth support is really working, I think it won't work with bluez5 and I doubt how will this "mix" with other packages if it starts to require the old bluez4 (that is also completely dead for a long long time)

Thanks
Comment 1 Adam Feldman gentoo-dev 2016-01-01 00:42:04 UTC
(In reply to Pacho Ramos from comment #0)
> This is the last package that is still needing obex-data-server. Other
> distributions simply disable bluetooth support to get rid of this
> requirement (like ArchLinux). 
> 
> I also wonder about how this bluetooth support is really working, I think it
> won't work with bluez5 and I doubt how will this "mix" with other packages
> if it starts to require the old bluez4 (that is also completely dead for a
> long long time)
> 
> Thanks

I'm pushing the MATE guys to catch up with Gnome in supporting obexd.  If possible, I'd like to keep this around until I can feel out what direction they are moving in.

In related news, the mask on obexd-0.48 shouldn't be necessary anymore as the reason stated in the message is no longer valid.  Shall I file a bug for that?
Comment 2 Pacho Ramos gentoo-dev 2016-01-01 12:49:41 UTC
If this is still using obexd from obexd package instead of from bluez-5 it's because this is still only compatible with the obsolete bluez-4 :/

(and it would be the only package needing the splitted obexd package in the tree)

I would drop its bluetooth support as I really doubt it is working at all with bluez-5 (bluez-4 is dead for ages) and, regarding running MATE and GNOME in the same setup, it will cause problems as gnome needs bluez-5 for a long time
Comment 3 Pacho Ramos gentoo-dev 2016-01-01 12:50:57 UTC
Also, weren't MATE guys going to kill all their obsolete bluetooth stuff in favor of using blueman?
Comment 4 Pacho Ramos gentoo-dev 2016-01-01 12:54:57 UTC
This is the latest news I have being able to retrieve :(
http://mate-desktop.com/blog/2014-03-11-mate-desktop-singing-the-bluez/

And, per this upstream reports, it looks like the bluetooth functionality is not working in mate-user-share for a long time:
https://github.com/mate-desktop/mate-user-share/issues/37
https://github.com/mate-desktop/mate-user-share/commit/e5f0552e331f050e28ee8b202f47ac58292e61c1

They disable it by default in configure but, still, when enabled it doesn't work
Comment 5 Adam Feldman gentoo-dev 2016-01-01 15:22:17 UTC
According to https://padovan.org/blog/2013/06/gnome-3-get-to-knows-bluez-5/ Gnome added support for obexd for bluez5 compat, unless I misunderstood.
Comment 6 Pacho Ramos gentoo-dev 2016-01-01 15:29:50 UTC
All the obexd functionality was merged in bluez-5, that was the reason that intermediate 0.48 obexd function ended up not being used by anything later
Comment 7 Pacho Ramos gentoo-dev 2016-01-01 15:31:21 UTC
A reference from Debian ;)
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=772094

And I remember to try to kill our obexd package some time ago, at that time there were still packages needing it and I forgot about it until now, that is the reason we still carry obexd and obex-data-server :|
Comment 8 Adam Feldman gentoo-dev 2016-01-01 15:34:53 UTC
OK, so if upstream MATE absorbs upstream GNOME's patches for obexd, both support bluez5 by way of old obexd code (now in bluez5) so we can remove obex-data-server and you can move forward on obexd as well?  My goal is to prevent loss of (intended) functionality if I can :P
Comment 9 Pacho Ramos gentoo-dev 2016-01-01 15:39:20 UTC
I think that, sadly, mate-user-share is simply broken (even in 1.12.x) for a long time as soon as people don't run bluez-4 and the old stuff.

But I am not familiar with MATE upstream at all :/, I am talking based on what I have seen in other distributions and so.

In summary: MATE users need to rely on blueman to make as much as it allows them to do with bluetooth, but that is the case even if they enable "bluetooth" USE for mate-user-share as it's not working anyway :|
Comment 10 Adam Feldman gentoo-dev 2016-01-01 15:57:48 UTC
(In reply to Pacho Ramos from comment #9)
> I think that, sadly, mate-user-share is simply broken (even in 1.12.x) for a
> long time as soon as people don't run bluez-4 and the old stuff.
> 
> But I am not familiar with MATE upstream at all :/, I am talking based on
> what I have seen in other distributions and so.
> 
> In summary: MATE users need to rely on blueman to make as much as it allows
> them to do with bluetooth, but that is the case even if they enable
> "bluetooth" USE for mate-user-share as it's not working anyway :|

Sorry, I wasn't clear.

I meant to say, from what I can tell, gnome-user-share should support bluez5.  Does it?

MATE is effectively a pseudo-downstream from GNOME and they pick and choose what patches to pull.  So if the obexd patchset for gnome-user-share caused it to support bluez5 when bluez5 absorbed obexd, then all I have to do is convince the MATE devs to incorporate the patchset to make MATE support bluetooth via bluez5 (via the incorporated obexd code)
Comment 11 Pacho Ramos gentoo-dev 2016-01-01 17:19:15 UTC
Ah, yeah, gnome-user-share is working ok with plain bluez-5 for a long time :)
Comment 12 Pacho Ramos gentoo-dev 2016-02-18 12:29:09 UTC
ping ;)
Comment 13 Adam Feldman gentoo-dev 2016-02-20 16:02:54 UTC
(In reply to Pacho Ramos from comment #12)
> ping ;)

Sorry about the delay.
Yeah, I'll drop support and we can readd support if MATE upstream ever adds the GNOME patches
Comment 14 Adam Feldman gentoo-dev 2016-02-21 02:53:58 UTC
1.8 and 1.10 fixed in 9df31f0112eacb7b9bdf2ee7d30bb33c2396fa3a, filing stablereq for 1.8 to drop stable 1.8 with the dep so the bug can be closed.
Comment 15 Joakim Tjernlund 2016-02-21 08:58:06 UTC
Not sure what happened but now emerge want to pull in systemd due to
mate-base/mate-1.10.0-r1
# > emerge -aNDuv world 
[ebuild  N    ] app-arch/lz4-0_p120  USE="{-test} -valgrind" ABI_X86="(64) -32 (-x32)" 
[ebuild  N    ] net-wireless/wireless-tools-30_pre9  USE="-multicall" LINGUAS="-cs -fr" 
[ebuild  N    ] x11-libs/libfakekey-0.1-r1  USE="-debug -doc" 
[ebuild  N    ] dev-libs/libpwquality-1.3.0  USE="pam python -static-libs" PYTHON_TARGETS="python2_7 python3_4 (-python3_3)" 
[ebuild  N    ] sys-apps/systemd-226-r2  USE="acl kdbus kmod lz4 pam policykit seccomp ssl (-apparmor) -audit -cryptsetup -curl -elfutils -gcrypt -gnuefi -http -idn -importd -lzma -nat -qrcode (-selinux) -sysv-utils {-test} -vanilla -xkb" ABI_X86="(64) -32 (-x32)" 
[ebuild  N    ] sys-apps/gentoo-systemd-integration-4 
[ebuild   R   ] sys-apps/dbus-1.8.16  USE="X systemd* -debug -doc (-selinux) -static-libs {-test}" ABI_X86="(64) -32 (-x32)" 
[ebuild  N    ] sys-power/upower-0.99.2-r1  USE="introspection -ios (-selinux)" 
[ebuild  NS   ] x11-libs/gtksourceview-3.16.1 [2.10.5-r3] USE="introspection vala -glade {-test}" 
[ebuild  N    ] gnome-extra/gnome-calculator-3.16.2 
[ebuild  N    ] net-libs/libsoup-gnome-2.50.0  USE="introspection -debug" ABI_X86="(64) -32 (-x32)" 
[ebuild  N    ] net-analyzer/mate-netspeed-1.10.2 
[ebuild  N    ] mate-extra/mate-netbook-1.10.0 
[ebuild  N    ] mate-base/mate-applets-meta-1.10  USE="-appindicator -sensors" 
[ebuild  N    ] sci-geosciences/geocode-glib-3.16.2  USE="introspection {-test}" 
[ebuild  N    ] dev-libs/libgweather-3.16.1  USE="introspection vala -glade" 
[ebuild  N    ] gnome-base/gnome-settings-daemon-3.16.3  USE="colord cups policykit short-touchpad-timeout udev -debug -networkmanager (-openrc-force) -smartcard {-test} -wayland" INPUT_DEVICES="-wacom" PYTHON_TARGETS="python2_7 python3_4 (-python3_3)" 
[ebuild  N    ] sys-apps/gnome-disk-utility-3.16.2  USE="gnome -fat -systemd" 
[ebuild     U ] mate-base/mate-1.10.0-r1 [1.10.0] USE="base extras themes (-bluetooth) -notification%" 
[blocks B     ] sys-fs/udev ("sys-fs/udev" is blocking sys-apps/gentoo-systemd-integration-4, sys-apps/systemd-226-r2)
[blocks B     ] sys-power/upower ("sys-power/upower" is blocking sys-power/upower-pm-utils-0.9.23-r2)
[blocks B     ] sys-apps/systemd ("sys-apps/systemd" is blocking sys-fs/udev-225, app-admin/openrc-settingsd-1.0.1)
[blocks B     ] sys-apps/gentoo-systemd-integration ("sys-apps/gentoo-systemd-integration" is blocking sys-fs/udev-225)
[blocks B     ] sys-auth/nss-myhostname ("sys-auth/nss-myhostname" is blocking sys-apps/systemd-226-r2)
[blocks B     ] >=sys-apps/systemd-197 (">=sys-apps/systemd-197" is blocking sys-auth/nss-myhostname-0.3)

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  (sys-apps/systemd-226-r2:0/2::gentoo, ebuild scheduled for merge) pulled in by
    sys-apps/systemd required by (gnome-base/gnome-settings-daemon-3.16.3:0/0::gentoo, ebuild scheduled for merge)
    >=sys-apps/systemd-207 required by (sys-apps/gentoo-systemd-integration-4:0/0::gentoo, ebuild scheduled for merge)
    sys-apps/systemd:0= required by (sys-apps/dbus-1.8.16:0/0::gentoo, ebuild scheduled for merge)

  (sys-power/upower-0.99.2-r1:0/3::gentoo, ebuild scheduled for merge) pulled in by
    >=sys-power/upower-0.9.23 required by (mate-base/mate-applets-1.10.4-r1:0/0::gentoo, installed)
    >=sys-power/upower-0.9.23 required by (mate-base/mate-session-manager-1.10.3:0/0::gentoo-mate, installed)
    >=sys-power/upower-0.9.23:= required by (mate-extra/mate-power-manager-1.10.2:0/0::gentoo-mate, installed)
    >=sys-power/upower-0.99:= required by (gnome-base/gnome-settings-daemon-3.16.3:0/0::gentoo, ebuild scheduled for merge)

  (sys-fs/udev-225:0/0::gentoo, installed) pulled in by
    >=sys-fs/udev-208-r1 required by (virtual/udev-215:0/0::gentoo, installed)
    >=sys-fs/udev-208-r1:0/0[abi_x86_64(-)] required by (virtual/libudev-215-r1:0/1::gentoo, installed)

  (sys-power/upower-pm-utils-0.9.23-r2:0/0::gentoo, installed) pulled in by
    sys-power/upower-pm-utils required by @selected
    >=sys-power/upower-pm-utils-0.9.23 required by (net-im/telepathy-mission-control-5.16.3:0/0::gentoo, installed)
    >=sys-power/upower-pm-utils-0.9.23 required by (mate-base/mate-applets-1.10.4-r1:0/0::gentoo, installed)
    >=sys-power/upower-pm-utils-0.9.23 required by (mate-extra/mate-power-manager-1.10.2:0/0::gentoo-mate, installed)
    >=sys-power/upower-pm-utils-0.9.23 required by (mate-base/mate-session-manager-1.10.3:0/0::gentoo-mate, installed)

  (app-admin/openrc-settingsd-1.0.1:0/0::gentoo, installed) pulled in by
    app-admin/openrc-settingsd required by @selected


The following keyword changes are necessary to proceed:
 (see "package.accept_keywords" in the portage(5) man page for more details)
# required by mate-base/mate-1.10.0-r1::gentoo[base]
# required by @selected
# required by @world (argument)
=mate-base/mate-applets-meta-1.10 ~amd64
# required by mate-base/mate-1.10.0-r1::gentoo[extras]
# required by @selected
# required by @world (argument)
=mate-extra/mate-netbook-1.10.0 ~amd64
# required by mate-base/mate-1.10.0-r1::gentoo[extras]
# required by @selected
# required by @world (argument)
=net-analyzer/mate-netspeed-1.10.2 ~amd64

The following mask changes are necessary to proceed:
 (see "package.unmask" in the portage(5) man page for more details)
# required by mate-base/mate-1.10.0-r1::gentoo[extras]
# required by @selected
# required by @world (argument)
# /etc/portage/package.mask/gnome-disk-utility:
=sys-apps/gnome-disk-utility-3.16.2

The following USE changes are necessary to proceed:
 (see "package.use" in the portage(5) man page for more details)
# required by sys-apps/systemd-226-r2::gentoo
# required by gnome-base/gnome-settings-daemon-3.16.3::gentoo
# required by sys-apps/gnome-disk-utility-3.16.2::gentoo[gnome]
# required by mate-base/mate-1.10.0-r1::gentoo[extras]
# required by @selected
# required by @world (argument)
>=sys-apps/dbus-1.8.16 systemd

Would you like to add these changes to your config files? [Yes/No] n
Comment 16 Pacho Ramos gentoo-dev 2016-02-21 09:09:00 UTC
If you have sys-apps/gnome-disk-utility[gnome] it will pull in gnome-settings-daemon, that needs systemd, that could explain that (complex :S) output
Comment 17 Joakim Tjernlund 2016-02-21 09:54:01 UTC
(In reply to Pacho Ramos from comment #16)
> If you have sys-apps/gnome-disk-utility[gnome] it will pull in
> gnome-settings-daemon, that needs systemd, that could explain that (complex
> :S) output

I don't have sys-apps/gnome-disk-utility installed at all ATM but mate
wants to pull it in.
So I tested this:
 USE="-gnome" emerge -aNDuv world
[ebuild  N    ] net-wireless/wireless-tools-30_pre9  USE="-multicall" LINGUAS="-cs -fr" 
[ebuild  N    ] x11-libs/libfakekey-0.1-r1  USE="-debug -doc" 
[ebuild  N    ] dev-libs/libpwquality-1.3.0  USE="pam python -static-libs" PYTHON_TARGETS="python2_7 python3_4 (-python3_3)" 
[ebuild   R   ] net-libs/glib-networking-2.44.0  USE="libproxy ssl -gnome* -smartcard {-test}" ABI_X86="(64) -32 (-x32)" 
[ebuild  NS   ] x11-libs/gtksourceview-3.16.1 [2.10.5-r3] USE="introspection vala -glade {-test}" 
[ebuild  N    ] gnome-extra/gnome-calculator-3.16.2 
[ebuild  N    ] mate-extra/mate-netbook-1.10.0 
[ebuild  N    ] net-analyzer/mate-netspeed-1.10.2 
[ebuild  N    ] sys-apps/gnome-disk-utility-3.16.2  USE="-fat -gnome -systemd" 
[ebuild  N    ] mate-base/mate-applets-meta-1.10  USE="-appindicator -sensors" 
[ebuild     U ] mate-base/mate-1.10.0-r1 [1.10.0] USE="base extras notification%* themes (-bluetooth)" 
[ebuild   R   ] x11-misc/lightdm-1.17.3  USE="gtk introspection qt4 -audit -gnome* -kde -qt5" 

So now it will merge.
Should MATE require sys-apps/gnome-disk-utility[-gnome] (or not at all?)
Comment 18 Adam Feldman gentoo-dev 2016-02-21 13:39:40 UTC
(In reply to Joakim Tjernlund from comment #17)
> (In reply to Pacho Ramos from comment #16)
> > If you have sys-apps/gnome-disk-utility[gnome] it will pull in
> > gnome-settings-daemon, that needs systemd, that could explain that (complex
> > :S) output
> 
> I don't have sys-apps/gnome-disk-utility installed at all ATM but mate
> wants to pull it in.
> So I tested this:
>  USE="-gnome" emerge -aNDuv world
> [ebuild  N    ] net-wireless/wireless-tools-30_pre9  USE="-multicall"
> LINGUAS="-cs -fr" 
> [ebuild  N    ] x11-libs/libfakekey-0.1-r1  USE="-debug -doc" 
> [ebuild  N    ] dev-libs/libpwquality-1.3.0  USE="pam python -static-libs"
> PYTHON_TARGETS="python2_7 python3_4 (-python3_3)" 
> [ebuild   R   ] net-libs/glib-networking-2.44.0  USE="libproxy ssl -gnome*
> -smartcard {-test}" ABI_X86="(64) -32 (-x32)" 
> [ebuild  NS   ] x11-libs/gtksourceview-3.16.1 [2.10.5-r3] USE="introspection
> vala -glade {-test}" 
> [ebuild  N    ] gnome-extra/gnome-calculator-3.16.2 
> [ebuild  N    ] mate-extra/mate-netbook-1.10.0 
> [ebuild  N    ] net-analyzer/mate-netspeed-1.10.2 
> [ebuild  N    ] sys-apps/gnome-disk-utility-3.16.2  USE="-fat -gnome
> -systemd" 
> [ebuild  N    ] mate-base/mate-applets-meta-1.10  USE="-appindicator
> -sensors" 
> [ebuild     U ] mate-base/mate-1.10.0-r1 [1.10.0] USE="base extras
> notification%* themes (-bluetooth)" 
> [ebuild   R   ] x11-misc/lightdm-1.17.3  USE="gtk introspection qt4 -audit
> -gnome* -kde -qt5" 
> 
> So now it will merge.
> Should MATE require sys-apps/gnome-disk-utility[-gnome] (or not at all?)

this is not the place for this.  Please don't spam unrelated bugs.
Comment 19 Adam Feldman gentoo-dev 2016-03-15 15:55:56 UTC
Resolved in 6f1baa44b8ba2004aa2c01ed247e564cbd158f02