Robin Candau pushed to branch main at Arch Linux / Packaging / Packages / bluez


Commits:
cb5a511d by Robin Candau at 2026-02-28T10:49:25+01:00
upgpkg: 5.86-3: Backport a patch to fix bt_shell_printf in non-interactive mode

Upstream issue: https://github.com/bluez/bluez/issues/1896

Fixes 
https://gitlab.archlinux.org/archlinux/packaging/packages/bluez/-/issues/17

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,6 +1,6 @@
 pkgbase = bluez
        pkgver = 5.86
-       pkgrel = 2
+       pkgrel = 3
        url = http://www.bluez.org/
        arch = x86_64
        license = GPL-2.0-only
@@ -16,10 +16,12 @@ pkgbase = bluez
        source = https://www.kernel.org/pub/linux/bluetooth/bluez-5.86.tar.xz
        source = https://www.kernel.org/pub/linux/bluetooth/bluez-5.86.tar.sign
        source = bluetooth.modprobe
+       source = 
fix-bt_shell_printf-in-non-interactive-mode.patch::https://github.com/bluez/bluez/commit/34b31e091659601ec95a402c967e4eb565daeb2b.patch?full_index=1
        validpgpkeys = E932D120BC2AEC444E558F0106CA9F5D1DCF2659
        sha256sums = 
99f144540c6070591e4c53bcb977eb42664c62b7b36cb35a29cf72ded339621d
        sha256sums = SKIP
        sha256sums = 
46c021be659c9a1c4e55afd04df0c059af1f3d98a96338236412e449bf7477b4
+       sha256sums = 
b43fd0f9006b85daa200b46c2dac62055cb35ff126110178e7b28a2fe0406b82
 
 pkgname = bluez
        pkgdesc = Daemons for the bluetooth protocol stack


=====================================
PKGBUILD
=====================================
@@ -7,22 +7,29 @@
 pkgbase=bluez
 pkgname=('bluez' 'bluez-utils' 'bluez-libs' 'bluez-cups' 
'bluez-deprecated-tools' 'bluez-hid2hci' 'bluez-mesh' 'bluez-obex')
 pkgver=5.86
-pkgrel=2
+pkgrel=3
 url="http://www.bluez.org/";
 arch=('x86_64')
 license=('GPL-2.0-only')
 makedepends=('dbus' 'libical' 'systemd' 'alsa-lib' 'json-c' 'ell' 
'python-docutils' 'python-pygments' 'cups')
 
source=(https://www.kernel.org/pub/linux/bluetooth/${pkgname}-${pkgver}.tar.{xz,sign}
-        bluetooth.modprobe)
+        bluetooth.modprobe
+        
fix-bt_shell_printf-in-non-interactive-mode.patch::https://github.com/bluez/bluez/commit/34b31e091659601ec95a402c967e4eb565daeb2b.patch?full_index=1)
 # see https://www.kernel.org/pub/linux/bluetooth/sha256sums.asc
 sha256sums=('99f144540c6070591e4c53bcb977eb42664c62b7b36cb35a29cf72ded339621d'
             'SKIP'
-            '46c021be659c9a1c4e55afd04df0c059af1f3d98a96338236412e449bf7477b4')
+            '46c021be659c9a1c4e55afd04df0c059af1f3d98a96338236412e449bf7477b4'
+            'b43fd0f9006b85daa200b46c2dac62055cb35ff126110178e7b28a2fe0406b82')
 validpgpkeys=('E932D120BC2AEC444E558F0106CA9F5D1DCF2659') # Marcel Holtmann 
<[email protected]>
 
 prepare() {
   # Remove the vendored ell to avoid conflicts in header search paths
   rm -r "${pkgname}-${pkgver}"/ell
+
+  # Fix bt_shell_printf in non-interactive mode
+  # See https://github.com/bluez/bluez/issues/1896
+  cd "${pkgname}-${pkgver}"
+  patch -Np1 -i "${srcdir}/fix-bt_shell_printf-in-non-interactive-mode.patch"
 }
 
 build() {



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/bluez/-/commit/cb5a511d94cc51f350e8d3d2cb5e6825e329abd5

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/bluez/-/commit/cb5a511d94cc51f350e8d3d2cb5e6825e329abd5
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to