You are not logged in.

#1 2013-10-16 07:31:56

sant527
Member
Registered: 2009-06-21
Posts: 273

bluez and bluez4 conflict

I have read few posts on this. May be they are having only gnome. I have gnome anf kde both installed

gnome-bluetooth (required by gnome)
I treid to install gnome-bluetooth - it says to remove bluez4

bluedevil (kde)
kde bluedevil still depends on bluez4

blueman (gtk)
depends on bluez4

i have to unistall bluez4 by pacman -Rdd bluez4

then install gnome-bluetooth which install bluez

then remove bluez by pacman -Rdd bluez

and install bluez4 (since it is required by kde and blueman) by pacman -S bluez4

How to sort this. Because after this in gnome there is no bluetooth icon showing. I mostly use kde. But sometimes i go to gnome.

Offline

#2 2013-10-16 07:48:39

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: bluez and bluez4 conflict

bluedevil depends on libbluedevil.
libbluedevil 1.9.4-1 depends on bluez4.
libbluedevil 2.0-0.1 from [testing] depends on bluez.

blueman does depend on bluez4.


Once libbluedevil 2 gets out from testing, you can use it with gnome.
Maybe blueman can be recompiled to use bluez instead of bluez4.

Offline

#3 2013-10-16 16:01:33

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,197

Re: bluez and bluez4 conflict

karol wrote:

Maybe blueman can be recompiled to use bluez instead of bluez4.

It can't, incompatible API and blueman hasn't been ported; in fact, it's been dead for a couple of years. It looks like it's just going to be dropped from the repos.

@sant527, right now, you have to pick one or the other.

Online

#4 2013-10-17 04:38:07

sant527
Member
Registered: 2009-06-21
Posts: 273

Re: bluez and bluez4 conflict

Ok, how can i use use gnome-bluetooth in kde. I will remove bluedevil

Offline

#5 2014-02-19 14:25:51

quequotion
Member
From: Oita, Japan
Registered: 2013-07-29
Posts: 814
Website

Re: bluez and bluez4 conflict

This is incredibly bad news in fact, since blueman is one of very few effective bluetooth configuration tools (compare to gnome-bluetooth which features no features by design), and at present bluez5 has no capability for HSP/HFP (mic + headphones) whatsoever, nor is it likely that capability will ever be patched in (permanent failure to place responsibility for configuring bluetooth headset profiles on either bluez or pulseaudio dev teams has resulted in no other way than an additonal, external tool which does not yet exist).

At the moment I'm trying to figure out how to get bluez4 working in arch myself, since bluez5 is of no use.

Last edited by quequotion (2014-02-19 14:29:03)

Offline

#6 2014-03-12 22:07:27

schnoopay
Member
From: USA
Registered: 2014-03-09
Posts: 22

Re: bluez and bluez4 conflict

The following script should install bluez4, pulseaudio-bluez4, and a bluez4 version of bluedevil for you.

#!/bin/bash

echo "Get and install bluez4."
curl -O https://aur.archlinux.org/packages/bl/bluez4/bluez4.tar.gz
tar -xvzf bluez4.tar.gz
cd bluez4
makepkg -si
cd ..

echo "Get and install pulseaudio-bluez4."
curl -O https://aur.archlinux.org/packages/pu/pulseaudio-bluez4/pulseaudio-bluez4.tar.gz
tar -xaf pulseaudio-bluez4.tar.gz
cd pulseaudio-bluez4
makepkg -si
cd ..

echo "Get and install bluedevil bluez4 stuff."
SVNLIST="obexd obex-data-server libbluedevil bluedevil"
svn checkout --depth=empty svn://svn.archlinux.org/packages
cd packages
svn update -r{20130917} $SVNLIST
cd ..
for i in $SVNLIST; do mkdir $i; cp ./packages/$i/trunk/* ./$i/; done
for i in $SVNLIST
  do
  cd $i
    #obexd creates two packages, we only want obexd-client
    if [[ $i == "obexd" ]]
    then 
      makepkg -s
      sudo pacman -U obexd-client*.pkg.tar.xz
    else
      makepkg -si
    fi
  cd ..
done

Make sure you have base-devel and subversion installed.

Edit: Be sure to add libbluedevil and bluedevil to IgnorePkg in your pacman.conf.

Last edited by schnoopay (2014-03-12 22:15:41)

Offline

Board footer

Powered by FluxBB