Package Details: bluez-git 1:5.63.r15.geb5c7518d-1

Git Clone URL: https://aur.archlinux.org/bluez-git.git (read-only, click to copy)
Package Base: bluez-git
Description: Libraries and tools for the Bluetooth protocol stack
Upstream URL: http://www.bluez.org/
Licenses: GPL2
Conflicts: bluez, bluez-cups, bluez-hcidump, bluez-hid2hci, bluez-libs, bluez-plugins, bluez-utils, obexd-client, obexd-server
Provides: bluez, bluez-cups, bluez-hid2hci, bluez-libs, bluez-plugins, bluez-utils, libbluetooth.so
Submitter: None
Maintainer: bidulock
Last Packager: bidulock
Votes: 40
Popularity: 0.69
First Submitted: 2008-08-19 15:33 (UTC)
Last Updated: 2022-01-19 03:08 (UTC)

Required by (355)

Sources (2)

Latest Comments

bidulock commented on 2021-12-13 22:52 (UTC)

@Arc not sure what your problem is: every version I have built since September provides libbluetooth.so=3-64

Are you using pacman -Sy bluez-git and answering 'yes' to replace? Or, are you simply trying to remove bluez-libs on its own?

Arc commented on 2021-12-13 21:58 (UTC)

Prior comments suggest that the libbluetooth.so issue breaking a dependency for pipeware was resolved on 05.30.2021. But when attempting to install bluez-git I get an error stating that removing bluez-libs breaks the libbluettooth.so=3-64 dependency required by pipewire.

lkrms commented on 2021-08-04 15:00 (UTC)

Just a heads up that I wasn't able to build this package in a chroot without adding systemd to makedepends. I found that configure failed while checking for libudev, leaving this in its log file:

Package libudev was not found in the pkg-config search path.                   
Perhaps you should add the directory containing `libudev.pc'
to the PKG_CONFIG_PATH environment variable

And reporting this in the output:

configure: error: libudev >= 172 is required

You would think systemd itself would be pulled in by another dependency, but apparently it's not.

Thanks for maintaining this :)

moiiom commented on 2021-07-29 07:21 (UTC)

thanks @bidulock

bidulock commented on 2021-07-29 00:08 (UTC) (edited on 2021-07-29 00:09 (UTC) by bidulock)

@moiiom I did something similar. Thanks for the patch!

moiiom commented on 2021-07-27 09:48 (UTC)

hi @bidulock could you add this patch from the bluez PKGBUILD, it adds tools in the bin folder or maybe create a package_bluez-utils-git function.

diff --git a/PKGBUILD b/PKGBUILD
index 45d19c3..1799897 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -76,6 +76,13 @@ check() {
 package() {
   cd $pkgname
   make DESTDIR="${pkgdir}" install
-  install -Dm644 src/main.conf        "${pkgdir}/etc/bluetooth/main.conf"
-  install -Dm644 ${srcdir}/bluetooth.modprobe "${pkgdir}/usr/lib/modprobe.d/bluetooth-usb.conf"
+
+   # add missing tools FS#41132, FS#41687, FS#42716
+   for files in `find tools/ -type f -perm -755`; do
+     filename=$(basename $files)
+     install -Dm755 "${srcdir}"/"${pkgname}"/tools/$filename "${pkgdir}"/usr/bin/$filename
+   done
+
+   install -Dm644 src/main.conf        "${pkgdir}/etc/bluetooth/main.conf"
+   install -Dm644 ${srcdir}/bluetooth.modprobe "${pkgdir}/usr/lib/modprobe.d/bluetooth-usb.conf"
 }

Thanks

bthompson commented on 2021-06-28 03:30 (UTC)

I was trying everything, up to and including switching to pipewire, but my bluetooth headphones finally worked after installing this. Thanks!

bidulock commented on 2021-05-30 02:02 (UTC)

@eh5 done.

eh5 commented on 2021-05-28 03:25 (UTC)

Hi @bidulock, could you apply this patch? Unlike pulseaudio-bluetooth, pipewire depends on libbluetooth.so instead of bluez-libs.

diff --git a/PKGBUILD b/PKGBUILD
index 4871a79..2ba62d0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -22,7 +22,8 @@ conflicts=($_pkgname
       $_pkgname-hcidump
            'obexd-client'
       'obexd-server')
-provides=($_pkgname=${pkgver%%.r*}-${pkgrel}
+provides=(libbluetooth.so
+          $_pkgname=${pkgver%%.r*}-${pkgrel}
           $_pkgname-utils=${pkgver%%.r*}-${pkgrel}
      $_pkgname-libs=${pkgver%%.r*}-${pkgrel}
      $_pkgname-cups=${pkgver%%.r*}-${pkgrel}

JoshuaAshton commented on 2021-05-19 13:19 (UTC)

Needs to be marked as providing libbluetooth.so otherwise this can't be installed if pipewire is on your system.

bidulock commented on 2021-04-30 08:47 (UTC)

Not sure if it is the best solution, but I changed --enable-mesh to --disable-mesh to avoid the problem until upstream fixes it.

desaparecido commented on 2021-04-15 13:04 (UTC)

hi, yeah, same here, is from upstream, since this commit:

https://git.kernel.org/pub/scm/bluetooth/bluez.git/commit/?id=d9bc40218d3de8f1a02bcc748961c42093b5a375

but I don't know how to resolve :-/

alcomatt commented on 2021-04-12 13:25 (UTC) (edited on 2021-04-12 13:26 (UTC) by alcomatt)

It fails to compile for me: I am getting:

    checking that generated files are newer than configure... done  
    configure: creating ./config.status  
    config.status: creating Makefile  
    config.status: creating src/bluetoothd.8  
    config.status: creating lib/bluez.pc  
    config.status: creating config.h  
    config.status: config.h is unchanged  
    config.status: executing depfiles commands  
    config.status: executing libtool commands  
    GEN ell/shared  
    make --no-print-directory all-am  
    GEN ell/internal  
    GEN src/bluetooth.service  
    GEN mesh/bluetooth-mesh.service  
    GEN obexd/src/obex.service  
    CC tools/btpclient.o  
    CCLD tools/mesh-cfgtest  
    CC mesh/mesh.o  
    CCLD src/bluetoothd  
    /bin/ld: tools/mesh-cfgtest.o: in function `create_appkey_reply':  
    mesh-cfgtest.c:(.text+0x3c2): undefined reference to `l_tester_get_stage'  
    /bin/ld: tools/mesh-cfgtest.o: in function `init_continue':  
    mesh-cfgtest.c:(.text+0x4ca): undefined reference to `l_tester_get_stage'  
    /bin/ld: tools/mesh-cfgtest.o: in function `join_complete':  
    mesh-cfgtest.c:(.text+0x707): undefined reference to `l_tester_get_stage'  
    /bin/ld: tools/mesh-cfgtest.o: in function `dev_msg_recv_call':  
    mesh-cfgtest.c:(.text+0xcfb): undefined reference to `l_tester_get_stage'  
    /bin/ld: tools/mesh-cfgtest.o: in function `client_ready':  
    mesh-cfgtest.c:(.text+0xf2a): undefined reference to `l_tester_get_stage'  
    /bin/ld: tools/mesh-cfgtest.o:mesh-cfgtest.c:(.text+0x12b2): more undefined references to `l_tester_get_stage' follow  
    /bin/ld: tools/mesh-cfgtest.o: in function `main':  
    mesh-cfgtest.c:(.text.startup+0x268): undefined reference to `l_tester_add_full'  
    /bin/ld: mesh-cfgtest.c:(.text.startup+0x2a8): undefined reference to `l_tester_add_full'  
    /bin/ld: mesh-cfgtest.c:(.text.startup+0x2e8): undefined reference to `l_tester_add_full'  
    /bin/ld: mesh-cfgtest.c:(.text.startup+0x328): undefined reference to `l_tester_add_full'  
    /bin/ld: mesh-cfgtest.c:(.text.startup+0x368): undefined reference to `l_tester_add_full'  
    collect2: error: ld returned 1 exit status  
    make[1]: *** [Makefile:5888: tools/mesh-cfgtest] Error 1  
    make[1]: *** Waiting for unfinished jobs....  
    make: *** [Makefile:4062: all] Error 2  
    ==> ERROR: A failure occurred in build().  
    Aborting...

desaparecido commented on 2021-02-19 08:45 (UTC)

with latest update in official repo, is needed to add to provides:

libbluetooth.so

to avoid conflict with bluez-libs

here the commit:

https://github.com/archlinux/svntogit-packages/commit/8932012438c328ca7641c9ee8625fea59d21d870

Strykar commented on 2019-08-15 14:50 (UTC)

This package provides bluez-utils? I can't find the avinfo binary.

pastleo commented on 2019-03-30 06:01 (UTC) (edited on 2019-03-30 06:02 (UTC) by pastleo)

It seems now bluetoothd is located at /usr/lib/bluetoothd

I fix this by editing /usr/lib/systemd/system/bluetooth.service

changing this line: ExecStart=/usr/lib/bluetooth/bluetoothd

to this: ExecStart=/usr/lib/bluetoothd

eh5 commented on 2019-02-26 14:22 (UTC) (edited on 2019-02-26 14:24 (UTC) by eh5)

@salvatoreG I think it's a bug of bluez buildfiles.

phanta commented on 2019-02-26 13:49 (UTC) (edited on 2019-02-26 15:03 (UTC) by phanta)

Can you add versioning to bluez-libs in the provides as well? It still has conflicts with a package that depends on bluez-libs >= 5.0

salvatoreG commented on 2019-02-26 12:10 (UTC)

Hi, service file points to wrong bluetoothd path, ExecStart=/usr/lib/bluetooth/bluetoothd instead of ExecStart=/usr/lib/bluetoothd

eh5 commented on 2019-02-23 11:23 (UTC)

Hi

Could you please versioning provides?

bidulock commented on 2015-12-10 14:10 (UTC)

@impatt automake and autoconf are in "base-devel". You cannot build AUR packages without them so they are not listed. @Celti namcap does not report a necessary dependency on "systemd". Also, if systemd is not installed you don't have an archlinux system.

commented on 2015-12-10 11:29 (UTC)

This needs a dependency on systemd (not just libsystemd) or it will refuse to build in a clean chroot. The only things that are assumed to be installed and not necessary in the depends array are packages in base-devel, not base, so please add this.

impatt commented on 2015-12-07 16:54 (UTC)

Please, add to makedepend() "automake", "autoconf" Thank you

bidulock commented on 2015-10-20 12:46 (UTC)

Yes, 'base' not 'core'. Thanks for the very meaningful correction.

commented on 2015-10-20 00:29 (UTC)

erm, no? I think you mean 'base', [core] is a repo, base is a group. Either way, its a 'default'

bidulock commented on 2015-09-24 00:09 (UTC)

Added git to makedepends. systemd is in core. Core packages are not included in dependencies because without "core" you do not have an archlinux system.

IncredibleLaser commented on 2015-09-23 17:59 (UTC)

On another seemingly useless note, this package depends on systemd.

IncredibleLaser commented on 2015-09-23 17:55 (UTC)

How is one supposed to build this without git?

commented on 2015-09-12 04:39 (UTC)

Better yet, here's a fixed and updated PKGBUILD (they can now accept git urls [and other source code management schemes] directly in the sources array, so less verbosity): https://gist.github.com/ntzrmtthihu777/c7d1e2bdf9631f5782f8#file-pkgbuild-sh

hemite commented on 2015-09-11 04:14 (UTC)

Package is still broken, as vohof said earlier. I'm marking this package is out of date.

alium commented on 2015-08-31 09:56 (UTC)

configure: WARNING: unrecognized options: --enable-gstreamer, --enable-alsa, --enable-usb, --enable-bccmd, --enable-dfutool, --enable-hid2hci, --enable-hidd, --enable-pand, --enable-dund, --enable-wiimote

kelvan commented on 2015-08-25 10:41 (UTC)

Also conflicts with bluez-hid2hci, fix /lib path -> /usr/lib Fixed PKGBUILD: https://snowden.ist-total.org/public/bluez-git/PKGBUILD.txt

vohof commented on 2015-05-21 06:47 (UTC)

I'm getting the following: bluez-git: /lib exists in filesystem bluez-git: /lib/bluetooth/bluetoothd exists in filesystem bluez-git: /lib/bluetooth/obexd exists in filesystem

luismy commented on 2014-11-08 17:37 (UTC)

Tengo un problema: Si ejecuto: # systemctl status bluetooth.service Me sale lo siguiente: ● bluetooth.service - Bluetooth service Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled) Active: active (running) since sáb 2014-11-08 17:55:29 CET; 37min ago Docs: man:bluetoothd(8) Main PID: 553 (bluetoothd) Status: "Running" CGroup: /system.slice/bluetooth.service └─553 /usr/lib/bluetooth/bluetoothd nov 08 17:55:29 duat bluetoothd[553]: Bluetooth daemon 5.24 nov 08 17:55:29 duat bluetoothd[553]: Starting SDP server nov 08 17:55:29 duat bluetoothd[553]: Bluetooth management interface 1.7 initialized nov 08 17:55:29 duat bluetoothd[553]: Sap driver initialization failed. nov 08 17:55:29 duat bluetoothd[553]: sap-server: Operation not permitted (1) nov 08 18:22:15 duat bluetoothd[553]: Endpoint registered: sender=:1.23 path=/MediaEndpoint/A2DPSource nov 08 18:22:15 duat bluetoothd[553]: Endpoint registered: sender=:1.23 path=/MediaEndpoint/A2DPSink ¿Qué es el error "Sap driver initialization failed" ? Por otro lado. El paquete "git" debería ser una dependencia de "bluez-git". ¿No es cierto?

Soul_Est commented on 2014-08-28 12:45 (UTC)

I have adopted the package and will have a new PKGBUILD sometime this weekend.

polyopath commented on 2013-12-15 20:08 (UTC)

Someone can update the PKGBUILD ? -actualize Version infos (5.12) -remove /etc/rc.d support (now by default archlinux use systemd) -actualize configure options (maybe like this): ./configure --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --libexecdir=/lib \ --enable-threads \ --enable-library \ --enable-sixaxis // For the fresh, but functional PS3 (sixaxis/dualshock) controler support. -and maybe other changes...

bidulock commented on 2013-05-22 06:19 (UTC)

bluez-git 20130302-1 is installing a deprecated sysvinit script in /etc/rc.d/bluetooth. Please remove in PKGBUILD.

bidulock commented on 2013-03-24 12:26 (UTC)

Add 'libical' to makedepends.

juantascon commented on 2011-12-19 17:29 (UTC)

I'll diswon this package as I have no time right now, feel free to adopt it and fix it, have a nice day

sati commented on 2010-03-24 23:56 (UTC)

This package is missing the following files from the Arch bluez package: /etc/rc.d/bluetooth /etc/conf.d/bluetooth