[arch-commits] Commit in bluez/trunk (PKGBUILD)

2020-04-25 Thread Andreas Radke via arch-commits
Date: Saturday, April 25, 2020 @ 09:45:47
  Author: andyrtr
Revision: 381535

upgpkg: bluez 5.54-2: json-c 0.14 rebuild

Modified:
  bluez/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-04-25 08:59:19 UTC (rev 381534)
+++ PKGBUILD2020-04-25 09:45:47 UTC (rev 381535)
@@ -5,7 +5,7 @@
 pkgbase=bluez
 pkgname=('bluez' 'bluez-utils' 'bluez-libs' 'bluez-cups' 'bluez-hid2hci' 
'bluez-plugins')
 pkgver=5.54
-pkgrel=1
+pkgrel=2
 url="http://www.bluez.org/;
 arch=('x86_64')
 license=('GPL2')


[arch-commits] Commit in bluez/trunk (PKGBUILD)

2020-03-16 Thread Andreas Radke via arch-commits
Date: Monday, March 16, 2020 @ 12:09:11
  Author: andyrtr
Revision: 39

upgpkg: bluez 5.54-1: upstream update 5.54

Modified:
  bluez/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-03-16 11:15:42 UTC (rev 38)
+++ PKGBUILD2020-03-16 12:09:11 UTC (rev 39)
@@ -4,7 +4,7 @@
 
 pkgbase=bluez
 pkgname=('bluez' 'bluez-utils' 'bluez-libs' 'bluez-cups' 'bluez-hid2hci' 
'bluez-plugins')
-pkgver=5.53
+pkgver=5.54
 pkgrel=1
 url="http://www.bluez.org/;
 arch=('x86_64')
@@ -14,7 +14,7 @@
 bluetooth.modprobe
 refresh_adv_manager_for_non-LE_devices.diff)
 # see https://www.kernel.org/pub/linux/bluetooth/sha256sums.asc
-sha256sums=('38aa2da8302fefad53116bb281a11968732a42eeb19c5fb3668342f39b7938bc'
+sha256sums=('68cdab9e63e8832b130d5979dc8c96fdb087b31278f342874d992af3e56656dc'
 'SKIP'
 '46c021be659c9a1c4e55afd04df0c059af1f3d98a96338236412e449bf7477b4'
 'ae195834cdc9d3d1961ae3c49da6381c820883a5af580e61aebed05a3e911d48')


[arch-commits] Commit in bluez/trunk (PKGBUILD)

2020-02-17 Thread Andreas Radke via arch-commits
Date: Monday, February 17, 2020 @ 18:38:09
  Author: andyrtr
Revision: 375755

upgpkg: bluez 5.53-1: upstream update 5.53

Modified:
  bluez/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-02-17 18:12:52 UTC (rev 375754)
+++ PKGBUILD2020-02-17 18:38:09 UTC (rev 375755)
@@ -4,8 +4,8 @@
 
 pkgbase=bluez
 pkgname=('bluez' 'bluez-utils' 'bluez-libs' 'bluez-cups' 'bluez-hid2hci' 
'bluez-plugins')
-pkgver=5.52
-pkgrel=2
+pkgver=5.53
+pkgrel=1
 url="http://www.bluez.org/;
 arch=('x86_64')
 license=('GPL2')
@@ -14,7 +14,7 @@
 bluetooth.modprobe
 refresh_adv_manager_for_non-LE_devices.diff)
 # see https://www.kernel.org/pub/linux/bluetooth/sha256sums.asc
-sha256sums=('f7144ce2039202cfac18ccb52426efea11c98e4f6e1bb8041bcb994b8378560a'
+sha256sums=('38aa2da8302fefad53116bb281a11968732a42eeb19c5fb3668342f39b7938bc'
 'SKIP'
 '46c021be659c9a1c4e55afd04df0c059af1f3d98a96338236412e449bf7477b4'
 'ae195834cdc9d3d1961ae3c49da6381c820883a5af580e61aebed05a3e911d48')


[arch-commits] Commit in bluez/trunk (PKGBUILD)

2019-12-22 Thread Andreas Radke via arch-commits
Date: Sunday, December 22, 2019 @ 14:45:27
  Author: andyrtr
Revision: 372070

upgpkg: bluez 5.52-2: add dependency on json-c required by bluetooth-meshd

Modified:
  bluez/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-12-22 11:02:04 UTC (rev 372069)
+++ PKGBUILD2019-12-22 14:45:27 UTC (rev 372070)
@@ -5,11 +5,11 @@
 pkgbase=bluez
 pkgname=('bluez' 'bluez-utils' 'bluez-libs' 'bluez-cups' 'bluez-hid2hci' 
'bluez-plugins')
 pkgver=5.52
-pkgrel=1
+pkgrel=2
 url="http://www.bluez.org/;
 arch=('x86_64')
 license=('GPL2')
-makedepends=('dbus' 'libical' 'systemd' 'alsa-lib' 'ell')
+makedepends=('dbus' 'libical' 'systemd' 'alsa-lib' 'json-c' 'ell')
 
source=(https://www.kernel.org/pub/linux/bluetooth/${pkgname}-${pkgver}.tar.{xz,sign}
 bluetooth.modprobe
 refresh_adv_manager_for_non-LE_devices.diff)
@@ -52,7 +52,7 @@
 
 package_bluez() {
   pkgdesc="Daemons for the bluetooth protocol stack"
-  depends=('libical' 'dbus' 'glib2' 'alsa-lib')
+  depends=('libical' 'dbus' 'glib2' 'alsa-lib' 'json-c')
   backup=('etc/bluetooth/main.conf')
   conflicts=('obexd-client' 'obexd-server')
 


[arch-commits] Commit in bluez/trunk (PKGBUILD)

2019-10-31 Thread Andreas Radke via arch-commits
Date: Thursday, October 31, 2019 @ 10:20:07
  Author: andyrtr
Revision: 366214

upgpkg: bluez 5.52-1

upstream update 5.52

Modified:
  bluez/trunk/PKGBUILD

--+
 PKGBUILD |   10 +-
 1 file changed, 5 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-10-31 09:57:57 UTC (rev 366213)
+++ PKGBUILD2019-10-31 10:20:07 UTC (rev 366214)
@@ -4,8 +4,8 @@
 
 pkgbase=bluez
 pkgname=('bluez' 'bluez-utils' 'bluez-libs' 'bluez-cups' 'bluez-hid2hci' 
'bluez-plugins')
-pkgver=5.51
-pkgrel=2
+pkgver=5.52
+pkgrel=1
 url="http://www.bluez.org/;
 arch=('x86_64')
 license=('GPL2')
@@ -14,10 +14,10 @@
 bluetooth.modprobe
 refresh_adv_manager_for_non-LE_devices.diff)
 # see https://www.kernel.org/pub/linux/bluetooth/sha256sums.asc
-sha512sums=('8b14eea98f541b981162abce728e0f917654ad3c990721ec398fe41bdd68069fe55ff64b61bc3c3b9f813facf42c995b07619f6d5d153965de27154b1a7b578f'
+sha256sums=('f7144ce2039202cfac18ccb52426efea11c98e4f6e1bb8041bcb994b8378560a'
 'SKIP'
-
'5370ea87fc3f76ab46f2d549c5396b6204a21b629d4765de658fe8e90331b936a36aa8624de8bb2304cc1b78ac2fa6e84f2411f247dff1aab2daf7aa21b2c650'
-
'c6ef673956963725edc52d667648e51df5b99f820e87705096b4b9338e8a4540722e734f1e8e67998c2fbbefec30645ff1fa064789c8a858f770d1214399561d')
+'46c021be659c9a1c4e55afd04df0c059af1f3d98a96338236412e449bf7477b4'
+'ae195834cdc9d3d1961ae3c49da6381c820883a5af580e61aebed05a3e911d48')
 validpgpkeys=('E932D120BC2AEC444E558F0106CA9F5D1DCF2659') # Marcel Holtmann 

 
 prepare() {


[arch-commits] Commit in bluez/trunk (PKGBUILD)

2019-09-30 Thread Andreas Radke via arch-commits
Date: Monday, September 30, 2019 @ 17:34:35
  Author: andyrtr
Revision: 363579

upgpkg: bluez 5.51-2

add zsh completion - FS#63955; fix another quoting error

Modified:
  bluez/trunk/PKGBUILD

--+
 PKGBUILD |5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-09-30 17:24:33 UTC (rev 363578)
+++ PKGBUILD2019-09-30 17:34:35 UTC (rev 363579)
@@ -5,7 +5,7 @@
 pkgbase=bluez
 pkgname=('bluez' 'bluez-utils' 'bluez-libs' 'bluez-cups' 'bluez-hid2hci' 
'bluez-plugins')
 pkgver=5.51
-pkgrel=1
+pkgrel=2
 url="http://www.bluez.org/;
 arch=('x86_64')
 license=('GPL2')
@@ -75,7 +75,7 @@
   cp -a doc/*.txt "${pkgdir}"/usr/share/doc/"${pkgbase}"/dbus-apis/
   # fix module loading errors
   install -dm755 "${pkgdir}"/usr/lib/modprobe.d
-  install -Dm644 "${srcdir}"/bluetooth.modprobe 
$"{pkgdir}"/usr/lib/modprobe.d/bluetooth-usb.conf
+  install -Dm644 "${srcdir}"/bluetooth.modprobe 
"${pkgdir}"/usr/lib/modprobe.d/bluetooth-usb.conf
   # load module at system start required by some functions
   # https://bugzilla.kernel.org/show_bug.cgi?id=196621
   install -dm755 "$pkgdir"/usr/lib/modules-load.d
@@ -96,6 +96,7 @@
   cd "${pkgbase}"-${pkgver}
   make DESTDIR="${pkgdir}" \
install-binPROGRAMS \
+   install-dist_zshcompletionDATA \
install-man1
 
   # add missing tools FS#41132, FS#41687, FS#42716


[arch-commits] Commit in bluez/trunk (PKGBUILD)

2019-09-29 Thread Andreas Radke via arch-commits
Date: Sunday, September 29, 2019 @ 12:08:53
  Author: andyrtr
Revision: 363528

fix quoting; FS#63944

Modified:
  bluez/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-09-29 11:25:27 UTC (rev 363527)
+++ PKGBUILD2019-09-29 12:08:53 UTC (rev 363528)
@@ -74,8 +74,8 @@
   install -dm755 "${pkgdir}"/usr/share/doc/"${pkgbase}"/dbus-apis
   cp -a doc/*.txt "${pkgdir}"/usr/share/doc/"${pkgbase}"/dbus-apis/
   # fix module loading errors
-  install -dm755 $"{pkgdir}"/usr/lib/modprobe.d
-  install -Dm644 $"{srcdir}"/bluetooth.modprobe 
$"{pkgdir}"/usr/lib/modprobe.d/bluetooth-usb.conf
+  install -dm755 "${pkgdir}"/usr/lib/modprobe.d
+  install -Dm644 "${srcdir}"/bluetooth.modprobe 
$"{pkgdir}"/usr/lib/modprobe.d/bluetooth-usb.conf
   # load module at system start required by some functions
   # https://bugzilla.kernel.org/show_bug.cgi?id=196621
   install -dm755 "$pkgdir"/usr/lib/modules-load.d


[arch-commits] Commit in bluez/trunk (PKGBUILD)

2019-09-23 Thread Andreas Radke via arch-commits
Date: Monday, September 23, 2019 @ 18:41:24
  Author: andyrtr
Revision: 363281

fix quoting

Modified:
  bluez/trunk/PKGBUILD

--+
 PKGBUILD |   54 +++---
 1 file changed, 27 insertions(+), 27 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-09-23 18:35:04 UTC (rev 363280)
+++ PKGBUILD2019-09-23 18:41:24 UTC (rev 363281)
@@ -21,12 +21,12 @@
 validpgpkeys=('E932D120BC2AEC444E558F0106CA9F5D1DCF2659') # Marcel Holtmann 

 
 prepare() {
-  cd ${pkgname}-${pkgver}
+  cd "${pkgname}"-${pkgver}
   patch -Np1 -i ../refresh_adv_manager_for_non-LE_devices.diff
 }
 
 build() {
-  cd ${pkgname}-${pkgver}
+  cd "${pkgname}"-${pkgver}
   ./configure \
   --prefix=/usr \
   --mandir=/usr/share/man \
@@ -44,7 +44,7 @@
 }
 
 check() {
-  cd $pkgname-$pkgver
+  cd "$pkgname"-$pkgver
   # tests segfault and hang
 #  make check || /bin/true # https://bugzilla.kernel.org/show_bug.cgi?id=196621
 }
@@ -56,7 +56,7 @@
   backup=('etc/bluetooth/main.conf')
   conflicts=('obexd-client' 'obexd-server')
 
-  cd ${pkgbase}-${pkgver}
+  cd "${pkgbase}"-${pkgver}
   make DESTDIR=${pkgdir} \
install-pkglibexecPROGRAMS \
install-dbussessionbusDATA \
@@ -67,22 +67,22 @@
install-man8
 
   # ship upstream main config file
-  install -dm755 ${pkgdir}/etc/bluetooth
-  install -Dm644 ${srcdir}/${pkgbase}-${pkgver}/src/main.conf 
${pkgdir}/etc/bluetooth/main.conf
+  install -dm755 "${pkgdir}"/etc/bluetooth
+  install -Dm644 "${srcdir}"/"${pkgbase}"-${pkgver}/src/main.conf 
"${pkgdir}"/etc/bluetooth/main.conf
 
   # add basic documention
-  install -dm755 ${pkgdir}/usr/share/doc/${pkgbase}/dbus-apis
-  cp -a doc/*.txt ${pkgdir}/usr/share/doc/${pkgbase}/dbus-apis/
+  install -dm755 "${pkgdir}"/usr/share/doc/"${pkgbase}"/dbus-apis
+  cp -a doc/*.txt "${pkgdir}"/usr/share/doc/"${pkgbase}"/dbus-apis/
   # fix module loading errors
-  install -dm755 ${pkgdir}/usr/lib/modprobe.d
-  install -Dm644 ${srcdir}/bluetooth.modprobe 
${pkgdir}/usr/lib/modprobe.d/bluetooth-usb.conf
+  install -dm755 $"{pkgdir}"/usr/lib/modprobe.d
+  install -Dm644 $"{srcdir}"/bluetooth.modprobe 
$"{pkgdir}"/usr/lib/modprobe.d/bluetooth-usb.conf
   # load module at system start required by some functions
   # https://bugzilla.kernel.org/show_bug.cgi?id=196621
-  install -dm755 $pkgdir/usr/lib/modules-load.d
-  echo "crypto_user" > $pkgdir/usr/lib/modules-load.d/bluez.conf
+  install -dm755 "$pkgdir"/usr/lib/modules-load.d
+  echo "crypto_user" > "$pkgdir"/usr/lib/modules-load.d/bluez.conf
   
   # fix obex file transfer - https://bugs.archlinux.org/task/45816
-  ln -fs /usr/lib/systemd/user/obex.service 
${pkgdir}/usr/lib/systemd/user/dbus-org.bluez.obex.service
+  ln -fs /usr/lib/systemd/user/obex.service 
"${pkgdir}"/usr/lib/systemd/user/dbus-org.bluez.obex.service
 }
 
 package_bluez-utils() {
@@ -93,8 +93,8 @@
   provides=('bluez-hcidump')
   replaces=('bluez-hcidump' 'bluez<=4.101')
 
-  cd ${pkgbase}-${pkgver}
-  make DESTDIR=${pkgdir} \
+  cd "${pkgbase}"-${pkgver}
+  make DESTDIR="${pkgdir}" \
install-binPROGRAMS \
install-man1
 
@@ -101,16 +101,16 @@
   # 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}/${pkgbase}-${pkgver}/tools/$filename 
${pkgdir}/usr/bin/$filename
+install -Dm755 "${srcdir}"/"${pkgbase}"-${pkgver}/tools/$filename 
"${pkgdir}"/usr/bin/$filename
   done
   
   # libbluetooth.so* are part of libLTLIBRARIES and binPROGRAMS targets
   #make DESTDIR=${pkgdir} uninstall-libLTLIBRARIES
   #rmdir ${pkgdir}/usr/lib
-  rm -rf ${pkgdir}/usr/lib
+  rm -rf "${pkgdir}"/usr/lib
   
   # move the hid2hci man page out
-  mv ${pkgdir}/usr/share/man/man1/hid2hci.1 ${srcdir}/
+  mv "${pkgdir}"/usr/share/man/man1/hid2hci.1 "${srcdir}"/
 }
 
 package_bluez-libs() {
@@ -118,8 +118,8 @@
   depends=('glibc')
   license=('LGPL2.1')
 
-  cd ${pkgbase}-${pkgver}
-  make DESTDIR=${pkgdir} \
+  cd "${pkgbase}"-${pkgver}
+  make DESTDIR="${pkgdir}" \
install-pkgincludeHEADERS \
install-libLTLIBRARIES \
install-pkgconfigDATA
@@ -129,8 +129,8 @@
   pkgdesc="CUPS printer backend for Bluetooth printers"
   depends=('cups')
 
-  cd ${pkgbase}-${pkgver}
-  make DESTDIR=${pkgdir} install-cupsPROGRAMS
+  cd "${pkgbase}"-${pkgver}
+  make DESTDIR="${pkgdir}" install-cupsPROGRAMS
 }
 
 package_bluez-hid2hci() {
@@ -137,13 +137,13 @@
   pkgdesc="Put HID proxying bluetooth HCI's into HCI mode"
   depends=('systemd')
 
-  cd ${pkgbase}-${pkgver}
+  cd "${pkgbase}"-${pkgver}
   make DESTDIR=${pkgdir} \
install-udevPROGRAMS \
install-rulesDATA
   
-  install -dm755 ${pkgdir}/usr/share/man/man1
-  mv ${srcdir}/hid2hci.1 ${pkgdir}/usr/share/man/man1/hid2hci.1
+  install -dm755 "${pkgdir}"/usr/share/man/man1
+  mv "${srcdir}"/hid2hci.1 

[arch-commits] Commit in bluez/trunk (PKGBUILD)

2019-01-13 Thread Andreas Radke via arch-commits
Date: Monday, January 14, 2019 @ 06:16:56
  Author: andyrtr
Revision: 344045

upgpkg: bluez 5.50-6

fix D-Bus policy location - FS#61386

Modified:
  bluez/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-01-13 23:02:37 UTC (rev 344044)
+++ PKGBUILD2019-01-14 06:16:56 UTC (rev 344045)
@@ -5,7 +5,7 @@
 pkgbase=bluez
 pkgname=('bluez' 'bluez-utils' 'bluez-libs' 'bluez-cups' 'bluez-hid2hci' 
'bluez-plugins')
 pkgver=5.50
-pkgrel=5
+pkgrel=6
 url="http://www.bluez.org/;
 arch=('x86_64')
 license=('GPL2')
@@ -33,7 +33,7 @@
   --sysconfdir=/etc \
   --localstatedir=/var \
   --libexecdir=/usr/lib \
-  --with-dbusconfdir=/usr/share/dbus-1 \
+  --with-dbusconfdir=/usr/share \
   --enable-btpclient \
   --enable-midi \
   --enable-sixaxis \


[arch-commits] Commit in bluez/trunk (PKGBUILD)

2019-01-13 Thread Andreas Radke via arch-commits
Date: Sunday, January 13, 2019 @ 15:48:32
  Author: andyrtr
Revision: 343962

upgpkg: bluez 5.50-5

fix D-Bus policy location

Modified:
  bluez/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-01-13 15:07:10 UTC (rev 343961)
+++ PKGBUILD2019-01-13 15:48:32 UTC (rev 343962)
@@ -5,7 +5,7 @@
 pkgbase=bluez
 pkgname=('bluez' 'bluez-utils' 'bluez-libs' 'bluez-cups' 'bluez-hid2hci' 
'bluez-plugins')
 pkgver=5.50
-pkgrel=4
+pkgrel=5
 url="http://www.bluez.org/;
 arch=('x86_64')
 license=('GPL2')
@@ -33,6 +33,7 @@
   --sysconfdir=/etc \
   --localstatedir=/var \
   --libexecdir=/usr/lib \
+  --with-dbusconfdir=/usr/share/dbus-1 \
   --enable-btpclient \
   --enable-midi \
   --enable-sixaxis \
@@ -51,8 +52,7 @@
 package_bluez() {
   pkgdesc="Daemons for the bluetooth protocol stack"
   depends=('libical' 'dbus' 'glib2' 'alsa-lib')
-  backup=('etc/dbus-1/system.d/bluetooth.conf'
-  'etc/bluetooth/main.conf')
+  backup=('etc/bluetooth/main.conf')
   conflicts=('obexd-client' 'obexd-server')
 
   cd ${pkgbase}-${pkgver}


[arch-commits] Commit in bluez/trunk (PKGBUILD)

2019-01-10 Thread Evangelos Foutras via arch-commits
Date: Thursday, January 10, 2019 @ 16:09:06
  Author: foutrelis
Revision: 343506

Readline 8.0 rebuild

Modified:
  bluez/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-01-10 15:53:19 UTC (rev 343505)
+++ PKGBUILD2019-01-10 16:09:06 UTC (rev 343506)
@@ -5,7 +5,7 @@
 pkgbase=bluez
 pkgname=('bluez' 'bluez-utils' 'bluez-libs' 'bluez-cups' 'bluez-hid2hci' 
'bluez-plugins')
 pkgver=5.50
-pkgrel=3
+pkgrel=4
 url="http://www.bluez.org/;
 arch=('x86_64')
 license=('GPL2')


[arch-commits] Commit in bluez/trunk (PKGBUILD)

2018-06-11 Thread Christian Hesse via arch-commits
Date: Monday, June 11, 2018 @ 13:43:49
  Author: eworm
Revision: 326720

upgpkg: bluez 5.50-3

json-c 0.13.1 rebuild

Modified:
  bluez/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-06-11 13:29:53 UTC (rev 326719)
+++ PKGBUILD2018-06-11 13:43:49 UTC (rev 326720)
@@ -6,7 +6,7 @@
 pkgbase=bluez
 pkgname=('bluez' 'bluez-utils' 'bluez-libs' 'bluez-cups' 'bluez-hid2hci' 
'bluez-plugins')
 pkgver=5.50
-pkgrel=2
+pkgrel=3
 url="http://www.bluez.org/;
 arch=('x86_64')
 license=('GPL2')


[arch-commits] Commit in bluez/trunk (PKGBUILD)

2018-06-06 Thread Jelle van der Waa via arch-commits
Date: Wednesday, June 6, 2018 @ 09:01:39
  Author: jelle
Revision: 326014

upgpkg: bluez 5.50-2

Fix overriden bluez

Modified:
  bluez/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-06-06 08:07:50 UTC (rev 326013)
+++ PKGBUILD2018-06-06 09:01:39 UTC (rev 326014)
@@ -5,8 +5,8 @@
 
 pkgbase=bluez
 pkgname=('bluez' 'bluez-utils' 'bluez-libs' 'bluez-cups' 'bluez-hid2hci' 
'bluez-plugins')
-pkgver=5.49
-pkgrel=5
+pkgver=5.50
+pkgrel=2
 url="http://www.bluez.org/;
 arch=('x86_64')
 license=('GPL2')
@@ -15,7 +15,7 @@
 bluetooth.modprobe
 refresh_adv_manager_for_non-LE_devices.diff)
 # see https://www.kernel.org/pub/linux/bluetooth/sha256sums.asc
-sha512sums=('bc2988649420232b92e2c6836857027369f05ace005972f575ed0601c02cc97a07a3b7a0707a8bad72be73df7e8096c8bf023530443556e87c2ccb667981b37d'
+sha512sums=('64a680e4b3c270bc2439610c91ad2aef36131d84401e4bbdf6c2b7ec8708a19dfc942b31b9189c38a97ca072c761c669ae1aace5f4ff5d06de3ccbf33184be45'
 'SKIP'
 
'5370ea87fc3f76ab46f2d549c5396b6204a21b629d4765de658fe8e90331b936a36aa8624de8bb2304cc1b78ac2fa6e84f2411f247dff1aab2daf7aa21b2c650'
 
'c6ef673956963725edc52d667648e51df5b99f820e87705096b4b9338e8a4540722e734f1e8e67998c2fbbefec30645ff1fa064789c8a858f770d1214399561d')


[arch-commits] Commit in bluez/trunk (PKGBUILD)

2018-06-03 Thread Felix Yan via arch-commits
Date: Sunday, June 3, 2018 @ 17:00:09
  Author: felixonmars
Revision: 325659

upgpkg: bluez 5.49-5

json-c 0.13.1 rebuild

Modified:
  bluez/trunk/PKGBUILD

--+
 PKGBUILD |   10 +-
 1 file changed, 5 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-06-03 16:55:26 UTC (rev 325658)
+++ PKGBUILD2018-06-03 17:00:09 UTC (rev 325659)
@@ -5,8 +5,8 @@
 
 pkgbase=bluez
 pkgname=('bluez' 'bluez-utils' 'bluez-libs' 'bluez-cups' 'bluez-hid2hci' 
'bluez-plugins')
-pkgver=5.50
-pkgrel=1
+pkgver=5.49
+pkgrel=5
 url="http://www.bluez.org/;
 arch=('x86_64')
 license=('GPL2')
@@ -15,10 +15,10 @@
 bluetooth.modprobe
 refresh_adv_manager_for_non-LE_devices.diff)
 # see https://www.kernel.org/pub/linux/bluetooth/sha256sums.asc
-sha256sums=('5ffcaae18bbb6155f1591be8c24898dc12f062075a40b538b745bfd477481911'
+sha512sums=('bc2988649420232b92e2c6836857027369f05ace005972f575ed0601c02cc97a07a3b7a0707a8bad72be73df7e8096c8bf023530443556e87c2ccb667981b37d'
 'SKIP'
-'46c021be659c9a1c4e55afd04df0c059af1f3d98a96338236412e449bf7477b4'
-'ae195834cdc9d3d1961ae3c49da6381c820883a5af580e61aebed05a3e911d48')
+
'5370ea87fc3f76ab46f2d549c5396b6204a21b629d4765de658fe8e90331b936a36aa8624de8bb2304cc1b78ac2fa6e84f2411f247dff1aab2daf7aa21b2c650'
+
'c6ef673956963725edc52d667648e51df5b99f820e87705096b4b9338e8a4540722e734f1e8e67998c2fbbefec30645ff1fa064789c8a858f770d1214399561d')
 validpgpkeys=('E932D120BC2AEC444E558F0106CA9F5D1DCF2659') # Marcel Holtmann 

 
 prepare() {


[arch-commits] Commit in bluez/trunk (PKGBUILD gatt_fix_crash.diff)

2018-06-03 Thread Andreas Radke via arch-commits
Date: Sunday, June 3, 2018 @ 13:21:15
  Author: andyrtr
Revision: 325631

upgpkg: bluez 5.50-1

upstream update 5.50

Modified:
  bluez/trunk/PKGBUILD
Deleted:
  bluez/trunk/gatt_fix_crash.diff

-+
 PKGBUILD|   17 -
 gatt_fix_crash.diff |   43 ---
 2 files changed, 8 insertions(+), 52 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-06-03 12:58:00 UTC (rev 325630)
+++ PKGBUILD2018-06-03 13:21:15 UTC (rev 325631)
@@ -5,28 +5,25 @@
 
 pkgbase=bluez
 pkgname=('bluez' 'bluez-utils' 'bluez-libs' 'bluez-cups' 'bluez-hid2hci' 
'bluez-plugins')
-pkgver=5.49
-pkgrel=4
+pkgver=5.50
+pkgrel=1
 url="http://www.bluez.org/;
 arch=('x86_64')
 license=('GPL2')
-makedepends=('dbus' 'libical' 'systemd' 'alsa-lib')
+makedepends=('dbus' 'libical' 'systemd' 'alsa-lib' 'ell')
 
source=(https://www.kernel.org/pub/linux/bluetooth/${pkgname}-${pkgver}.tar.{xz,sign}
 bluetooth.modprobe
-refresh_adv_manager_for_non-LE_devices.diff
-gatt_fix_crash.diff)
+refresh_adv_manager_for_non-LE_devices.diff)
 # see https://www.kernel.org/pub/linux/bluetooth/sha256sums.asc
-sha256sums=('33301d7a514c73d535ee1f91c2aed1af1f2e53efe11d3ac06bcf0d7abed2ce95'
+sha256sums=('5ffcaae18bbb6155f1591be8c24898dc12f062075a40b538b745bfd477481911'
 'SKIP'
 '46c021be659c9a1c4e55afd04df0c059af1f3d98a96338236412e449bf7477b4'
-'ae195834cdc9d3d1961ae3c49da6381c820883a5af580e61aebed05a3e911d48'
-'f40030e01136271e8009cc322c584369ed1101a5710a48509d89079606b6d666')
+'ae195834cdc9d3d1961ae3c49da6381c820883a5af580e61aebed05a3e911d48')
 validpgpkeys=('E932D120BC2AEC444E558F0106CA9F5D1DCF2659') # Marcel Holtmann 

 
 prepare() {
   cd ${pkgname}-${pkgver}
   patch -Np1 -i ../refresh_adv_manager_for_non-LE_devices.diff
-  patch -Np1 -i ../gatt_fix_crash.diff
 }
 
 build() {
@@ -37,6 +34,7 @@
   --sysconfdir=/etc \
   --localstatedir=/var \
   --libexecdir=/usr/lib \
+  --enable-btpclient \
   --enable-midi \
   --enable-sixaxis \
   --enable-mesh \
@@ -90,6 +88,7 @@
 package_bluez-utils() {
   pkgdesc="Development and debugging utilities for the bluetooth protocol 
stack"
   depends=('dbus' 'systemd' 'glib2')
+  optdepends=('ell: for btpclient')
   conflicts=('bluez-hcidump')
   provides=('bluez-hcidump')
   replaces=('bluez-hcidump' 'bluez<=4.101')

Deleted: gatt_fix_crash.diff
===
--- gatt_fix_crash.diff 2018-06-03 12:58:00 UTC (rev 325630)
+++ gatt_fix_crash.diff 2018-06-03 13:21:15 UTC (rev 325631)
@@ -1,43 +0,0 @@
-From e10c204e1226e94a1eaaeaee076e7e2e5b13c504 Mon Sep 17 00:00:00 2001
-From: Szymon Janc 
-Date: Wed, 4 Apr 2018 09:28:56 +0200
-Subject: gatt: Fix crash with BR/EDR only adapter
-
-adapter->database can be NULL if controller is BR/EDR only or LE was
-disabled. Make btd_gatt_database_restore_svc_chng_ccc accept NULL
-pointer and silently ignore it similiar to rest of btd_gatt_database
-API.
-
-Invalid read of size 8
-   at 0x164DCB: btd_gatt_database_restore_svc_chng_ccc 
(src/bluez-git/src/bluetoothd)
-   by 0x17B70F: read_info_complete (src/bluez-git/src/bluetoothd)
-   by 0x1A7E58: request_complete (src/bluez-git/src/bluetoothd)
-   by 0x1A89AD: can_read_data (src/bluez-git/src/bluetoothd)
-   by 0x1B5752: watch_callback (src/bluez-git/src/bluetoothd)
-   by 0x4E852C5: g_main_context_dispatch (in /usr/lib/libglib-2.0.so.0.5600.0)
-   by 0x4E856A0: ??? (in /usr/lib/libglib-2.0.so.0.5600.0)
-   by 0x4E859D1: g_main_loop_run (in /usr/lib/libglib-2.0.so.0.5600.0)
-   by 0x125058: main (src/bluez-git/src/bluetoothd)
- Address 0x40 is not stack'd, malloc'd or (recently) free'd

- src/gatt-database.c | 3 +++
- 1 file changed, 3 insertions(+)
-
-diff --git a/src/gatt-database.c b/src/gatt-database.c
-index 1cdc72e..0ac5b75 100644
 a/src/gatt-database.c
-+++ b/src/gatt-database.c
-@@ -3330,6 +3330,9 @@ void btd_gatt_database_restore_svc_chng_ccc(struct 
btd_gatt_database *database)
-   uint8_t value[4];
-   uint16_t handle, ccc_handle;
- 
-+  if (!database)
-+  return;
-+
-   handle = gatt_db_attribute_get_handle(database->svc_chngd);
-   ccc_handle = gatt_db_attribute_get_handle(database->svc_chngd_ccc);
- 
--- 
-cgit v1.1
-
-


[arch-commits] Commit in bluez/trunk (PKGBUILD)

2018-05-15 Thread Andreas Radke via arch-commits
Date: Tuesday, May 15, 2018 @ 16:54:48
  Author: andyrtr
Revision: 324293

upgpkg: bluez 5.49-4

add meshctl

Modified:
  bluez/trunk/PKGBUILD

--+
 PKGBUILD |3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-05-15 15:23:21 UTC (rev 324292)
+++ PKGBUILD2018-05-15 16:54:48 UTC (rev 324293)
@@ -6,7 +6,7 @@
 pkgbase=bluez
 pkgname=('bluez' 'bluez-utils' 'bluez-libs' 'bluez-cups' 'bluez-hid2hci' 
'bluez-plugins')
 pkgver=5.49
-pkgrel=3
+pkgrel=4
 url="http://www.bluez.org/;
 arch=('x86_64')
 license=('GPL2')
@@ -39,6 +39,7 @@
   --libexecdir=/usr/lib \
   --enable-midi \
   --enable-sixaxis \
+  --enable-mesh \
   --enable-experimental \
   --enable-library # this is deprecated
   make


[arch-commits] Commit in bluez/trunk (PKGBUILD gatt_fix_crash.diff)

2018-04-04 Thread Andreas Radke via arch-commits
Date: Wednesday, April 4, 2018 @ 12:06:57
  Author: andyrtr
Revision: 320928

upgpkg: bluez 5.49-2

-l

Added:
  bluez/trunk/gatt_fix_crash.diff
Modified:
  bluez/trunk/PKGBUILD

-+
 PKGBUILD|   13 ++---
 gatt_fix_crash.diff |   43 +++
 2 files changed, 53 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-04-04 08:01:20 UTC (rev 320927)
+++ PKGBUILD2018-04-04 12:06:57 UTC (rev 320928)
@@ -6,19 +6,26 @@
 pkgbase=bluez
 pkgname=('bluez' 'bluez-utils' 'bluez-libs' 'bluez-cups' 'bluez-hid2hci' 
'bluez-plugins')
 pkgver=5.49
-pkgrel=1
+pkgrel=2
 url="http://www.bluez.org/;
 arch=('x86_64')
 license=('GPL2')
 makedepends=('dbus' 'libical' 'systemd' 'alsa-lib')
 
source=(https://www.kernel.org/pub/linux/bluetooth/${pkgname}-${pkgver}.tar.{xz,sign}
-bluetooth.modprobe)
+bluetooth.modprobe
+gatt_fix_crash.diff)
 # see https://www.kernel.org/pub/linux/bluetooth/sha256sums.asc
 sha256sums=('33301d7a514c73d535ee1f91c2aed1af1f2e53efe11d3ac06bcf0d7abed2ce95'
 'SKIP'
-'46c021be659c9a1c4e55afd04df0c059af1f3d98a96338236412e449bf7477b4')
+'46c021be659c9a1c4e55afd04df0c059af1f3d98a96338236412e449bf7477b4'
+'f40030e01136271e8009cc322c584369ed1101a5710a48509d89079606b6d666')
 validpgpkeys=('E932D120BC2AEC444E558F0106CA9F5D1DCF2659') # Marcel Holtmann 

 
+prepare() {
+  cd ${pkgname}-${pkgver}
+  patch -Np1 -i ../gatt_fix_crash.diff
+}
+
 build() {
   cd ${pkgname}-${pkgver}
   ./configure \

Added: gatt_fix_crash.diff
===
--- gatt_fix_crash.diff (rev 0)
+++ gatt_fix_crash.diff 2018-04-04 12:06:57 UTC (rev 320928)
@@ -0,0 +1,43 @@
+From e10c204e1226e94a1eaaeaee076e7e2e5b13c504 Mon Sep 17 00:00:00 2001
+From: Szymon Janc 
+Date: Wed, 4 Apr 2018 09:28:56 +0200
+Subject: gatt: Fix crash with BR/EDR only adapter
+
+adapter->database can be NULL if controller is BR/EDR only or LE was
+disabled. Make btd_gatt_database_restore_svc_chng_ccc accept NULL
+pointer and silently ignore it similiar to rest of btd_gatt_database
+API.
+
+Invalid read of size 8
+   at 0x164DCB: btd_gatt_database_restore_svc_chng_ccc 
(src/bluez-git/src/bluetoothd)
+   by 0x17B70F: read_info_complete (src/bluez-git/src/bluetoothd)
+   by 0x1A7E58: request_complete (src/bluez-git/src/bluetoothd)
+   by 0x1A89AD: can_read_data (src/bluez-git/src/bluetoothd)
+   by 0x1B5752: watch_callback (src/bluez-git/src/bluetoothd)
+   by 0x4E852C5: g_main_context_dispatch (in /usr/lib/libglib-2.0.so.0.5600.0)
+   by 0x4E856A0: ??? (in /usr/lib/libglib-2.0.so.0.5600.0)
+   by 0x4E859D1: g_main_loop_run (in /usr/lib/libglib-2.0.so.0.5600.0)
+   by 0x125058: main (src/bluez-git/src/bluetoothd)
+ Address 0x40 is not stack'd, malloc'd or (recently) free'd
+---
+ src/gatt-database.c | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/src/gatt-database.c b/src/gatt-database.c
+index 1cdc72e..0ac5b75 100644
+--- a/src/gatt-database.c
 b/src/gatt-database.c
+@@ -3330,6 +3330,9 @@ void btd_gatt_database_restore_svc_chng_ccc(struct 
btd_gatt_database *database)
+   uint8_t value[4];
+   uint16_t handle, ccc_handle;
+ 
++  if (!database)
++  return;
++
+   handle = gatt_db_attribute_get_handle(database->svc_chngd);
+   ccc_handle = gatt_db_attribute_get_handle(database->svc_chngd_ccc);
+ 
+-- 
+cgit v1.1
+
+


[arch-commits] Commit in bluez/trunk (PKGBUILD fixes_order_InterfaceAdded.diff)

2018-03-11 Thread Andreas Radke via arch-commits
Date: Sunday, March 11, 2018 @ 18:43:26
  Author: andyrtr
Revision: 318595

upgpkg: bluez 5.49-1

upstream update 5.49

Modified:
  bluez/trunk/PKGBUILD
Deleted:
  bluez/trunk/fixes_order_InterfaceAdded.diff

-+
 PKGBUILD|   13 +-
 fixes_order_InterfaceAdded.diff |   72 --
 2 files changed, 3 insertions(+), 82 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-03-11 18:39:35 UTC (rev 318594)
+++ PKGBUILD2018-03-11 18:43:26 UTC (rev 318595)
@@ -5,27 +5,20 @@
 
 pkgbase=bluez
 pkgname=('bluez' 'bluez-utils' 'bluez-libs' 'bluez-cups' 'bluez-hid2hci' 
'bluez-plugins')
-pkgver=5.48
-pkgrel=2
+pkgver=5.49
+pkgrel=1
 url="http://www.bluez.org/;
 arch=('x86_64')
 license=('GPL2')
 makedepends=('dbus' 'libical' 'systemd' 'alsa-lib')
 
source=(https://www.kernel.org/pub/linux/bluetooth/${pkgname}-${pkgver}.tar.{xz,sign}
-fixes_order_InterfaceAdded.diff
 bluetooth.modprobe)
 # see https://www.kernel.org/pub/linux/bluetooth/sha256sums.asc
-sha256sums=('b9a8723072ef66bae7ec301c774902ebcb444c9c5b149b5a199e60a1ba970e90'
+sha256sums=('33301d7a514c73d535ee1f91c2aed1af1f2e53efe11d3ac06bcf0d7abed2ce95'
 'SKIP'
-'56e4bf467b285e4c6bc50eafc88f471e3683f3c3c76afe0ffe2bd6f0d17a1eae'
 '46c021be659c9a1c4e55afd04df0c059af1f3d98a96338236412e449bf7477b4')
 validpgpkeys=('E932D120BC2AEC444E558F0106CA9F5D1DCF2659') # Marcel Holtmann 

 
-prepare() {
-  cd $pkgname-$pkgver
-  patch -Np1 -i $srcdir/fixes_order_InterfaceAdded.diff
-}
-
 build() {
   cd ${pkgname}-${pkgver}
   ./configure \

Deleted: fixes_order_InterfaceAdded.diff
===
--- fixes_order_InterfaceAdded.diff 2018-03-11 18:39:35 UTC (rev 318594)
+++ fixes_order_InterfaceAdded.diff 2018-03-11 18:43:26 UTC (rev 318595)
@@ -1,72 +0,0 @@
-From 1873096352f518d3247f8efb3c2e0aa8804e50ac Mon Sep 17 00:00:00 2001
-From: Luiz Augusto von Dentz 
-Date: Wed, 7 Feb 2018 09:35:07 -0200
-Subject: core: Fixes order InterfaceAdded
-
-Registering on the callback of MGMT_OP_READ_ADV_FEATURES causes
-InterfacesAdded to be reschedule after the device objects which causes
-tools such as PulseAudio to consider it invalid.
-
-Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1534857

- src/advertising.c | 28 +++-
- 1 file changed, 15 insertions(+), 13 deletions(-)
-
-diff --git a/src/advertising.c b/src/advertising.c
-index 94a8c40..970c3d8 100644
 a/src/advertising.c
-+++ b/src/advertising.c
-@@ -1032,14 +1032,6 @@ static void read_adv_features_callback(uint8_t status, 
uint16_t length,
-   if (manager->max_ads == 0)
-   return;
- 
--  if (!g_dbus_register_interface(btd_get_dbus_connection(),
--  adapter_get_path(manager->adapter),
--  LE_ADVERTISING_MGR_IFACE, methods,
--  NULL, properties, manager, NULL)) {
--  error("Failed to register " LE_ADVERTISING_MGR_IFACE);
--  return;
--  }
--
-   /* Reset existing instances */
-   if (feat->num_instances)
-   remove_advertising(manager, 0);
-@@ -1061,19 +1053,29 @@ static struct btd_adv_manager *manager_create(struct 
btd_adapter *adapter)
-   }
- 
-   manager->mgmt_index = btd_adapter_get_index(adapter);
-+  manager->clients = queue_new();
-+  manager->supported_flags = MGMT_ADV_FLAG_LOCAL_NAME;
-+
-+  if (!g_dbus_register_interface(btd_get_dbus_connection(),
-+  adapter_get_path(manager->adapter),
-+  LE_ADVERTISING_MGR_IFACE, methods,
-+  NULL, properties, manager, NULL)) {
-+  error("Failed to register " LE_ADVERTISING_MGR_IFACE);
-+  goto fail;
-+  }
- 
-   if (!mgmt_send(manager->mgmt, MGMT_OP_READ_ADV_FEATURES,
-   manager->mgmt_index, 0, NULL,
-   read_adv_features_callback, manager, NULL)) {
-   error("Failed to read advertising features");
--  manager_destroy(manager);
--  return NULL;
-+  goto fail;
-   }
- 
--  manager->clients = queue_new();
--  manager->supported_flags = MGMT_ADV_FLAG_LOCAL_NAME;
--
-   return manager;
-+
-+fail:
-+  manager_destroy(manager);
-+  return NULL;
- }
- 
- struct btd_adv_manager *btd_adv_manager_new(struct btd_adapter *adapter)
--- 
-cgit v1.1
-
-


[arch-commits] Commit in bluez/trunk (PKGBUILD fixes_order_InterfaceAdded.diff)

2018-02-11 Thread Andreas Radke via arch-commits
Date: Sunday, February 11, 2018 @ 09:14:34
  Author: andyrtr
Revision: 316602

upgpkg: bluez 5.48-2

apply upstream fix to allow headset use after suspend/resume - FS#57464

Added:
  bluez/trunk/fixes_order_InterfaceAdded.diff
Modified:
  bluez/trunk/PKGBUILD

-+
 PKGBUILD|9 
 fixes_order_InterfaceAdded.diff |   72 ++
 2 files changed, 80 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-02-11 09:11:48 UTC (rev 316601)
+++ PKGBUILD2018-02-11 09:14:34 UTC (rev 316602)
@@ -6,19 +6,26 @@
 pkgbase=bluez
 pkgname=('bluez' 'bluez-utils' 'bluez-libs' 'bluez-cups' 'bluez-hid2hci' 
'bluez-plugins')
 pkgver=5.48
-pkgrel=1
+pkgrel=2
 url="http://www.bluez.org/;
 arch=('x86_64')
 license=('GPL2')
 makedepends=('dbus' 'libical' 'systemd' 'alsa-lib')
 
source=(https://www.kernel.org/pub/linux/bluetooth/${pkgname}-${pkgver}.tar.{xz,sign}
+fixes_order_InterfaceAdded.diff
 bluetooth.modprobe)
 # see https://www.kernel.org/pub/linux/bluetooth/sha256sums.asc
 sha256sums=('b9a8723072ef66bae7ec301c774902ebcb444c9c5b149b5a199e60a1ba970e90'
 'SKIP'
+'56e4bf467b285e4c6bc50eafc88f471e3683f3c3c76afe0ffe2bd6f0d17a1eae'
 '46c021be659c9a1c4e55afd04df0c059af1f3d98a96338236412e449bf7477b4')
 validpgpkeys=('E932D120BC2AEC444E558F0106CA9F5D1DCF2659') # Marcel Holtmann 

 
+prepare() {
+  cd $pkgname-$pkgver
+  patch -Np1 -i $srcdir/fixes_order_InterfaceAdded.diff
+}
+
 build() {
   cd ${pkgname}-${pkgver}
   ./configure \

Added: fixes_order_InterfaceAdded.diff
===
--- fixes_order_InterfaceAdded.diff (rev 0)
+++ fixes_order_InterfaceAdded.diff 2018-02-11 09:14:34 UTC (rev 316602)
@@ -0,0 +1,72 @@
+From 1873096352f518d3247f8efb3c2e0aa8804e50ac Mon Sep 17 00:00:00 2001
+From: Luiz Augusto von Dentz 
+Date: Wed, 7 Feb 2018 09:35:07 -0200
+Subject: core: Fixes order InterfaceAdded
+
+Registering on the callback of MGMT_OP_READ_ADV_FEATURES causes
+InterfacesAdded to be reschedule after the device objects which causes
+tools such as PulseAudio to consider it invalid.
+
+Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1534857
+---
+ src/advertising.c | 28 +++-
+ 1 file changed, 15 insertions(+), 13 deletions(-)
+
+diff --git a/src/advertising.c b/src/advertising.c
+index 94a8c40..970c3d8 100644
+--- a/src/advertising.c
 b/src/advertising.c
+@@ -1032,14 +1032,6 @@ static void read_adv_features_callback(uint8_t status, 
uint16_t length,
+   if (manager->max_ads == 0)
+   return;
+ 
+-  if (!g_dbus_register_interface(btd_get_dbus_connection(),
+-  adapter_get_path(manager->adapter),
+-  LE_ADVERTISING_MGR_IFACE, methods,
+-  NULL, properties, manager, NULL)) {
+-  error("Failed to register " LE_ADVERTISING_MGR_IFACE);
+-  return;
+-  }
+-
+   /* Reset existing instances */
+   if (feat->num_instances)
+   remove_advertising(manager, 0);
+@@ -1061,19 +1053,29 @@ static struct btd_adv_manager *manager_create(struct 
btd_adapter *adapter)
+   }
+ 
+   manager->mgmt_index = btd_adapter_get_index(adapter);
++  manager->clients = queue_new();
++  manager->supported_flags = MGMT_ADV_FLAG_LOCAL_NAME;
++
++  if (!g_dbus_register_interface(btd_get_dbus_connection(),
++  adapter_get_path(manager->adapter),
++  LE_ADVERTISING_MGR_IFACE, methods,
++  NULL, properties, manager, NULL)) {
++  error("Failed to register " LE_ADVERTISING_MGR_IFACE);
++  goto fail;
++  }
+ 
+   if (!mgmt_send(manager->mgmt, MGMT_OP_READ_ADV_FEATURES,
+   manager->mgmt_index, 0, NULL,
+   read_adv_features_callback, manager, NULL)) {
+   error("Failed to read advertising features");
+-  manager_destroy(manager);
+-  return NULL;
++  goto fail;
+   }
+ 
+-  manager->clients = queue_new();
+-  manager->supported_flags = MGMT_ADV_FLAG_LOCAL_NAME;
+-
+   return manager;
++
++fail:
++  manager_destroy(manager);
++  return NULL;
+ }
+ 
+ struct btd_adv_manager *btd_adv_manager_new(struct btd_adapter *adapter)
+-- 
+cgit v1.1
+
+


[arch-commits] Commit in bluez/trunk (PKGBUILD)

2017-12-29 Thread Andreas Radke via arch-commits
Date: Friday, December 29, 2017 @ 09:04:09
  Author: andyrtr
Revision: 313754

upgpkg: bluez 5.48-1

upstream update 5.48

Modified:
  bluez/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-12-29 06:51:02 UTC (rev 313753)
+++ PKGBUILD2017-12-29 09:04:09 UTC (rev 313754)
@@ -5,8 +5,8 @@
 
 pkgbase=bluez
 pkgname=('bluez' 'bluez-utils' 'bluez-libs' 'bluez-cups' 'bluez-hid2hci' 
'bluez-plugins')
-pkgver=5.47
-pkgrel=4
+pkgver=5.48
+pkgrel=1
 url="http://www.bluez.org/;
 arch=('x86_64')
 license=('GPL2')
@@ -14,7 +14,7 @@
 
source=(https://www.kernel.org/pub/linux/bluetooth/${pkgname}-${pkgver}.tar.{xz,sign}
 bluetooth.modprobe)
 # see https://www.kernel.org/pub/linux/bluetooth/sha256sums.asc
-sha256sums=('cf75bf7cd5d564f21cc4a2bd01d5c39ce425397335fd47d9bbe43af0a58342c8'
+sha256sums=('b9a8723072ef66bae7ec301c774902ebcb444c9c5b149b5a199e60a1ba970e90'
 'SKIP'
 '46c021be659c9a1c4e55afd04df0c059af1f3d98a96338236412e449bf7477b4')
 validpgpkeys=('E932D120BC2AEC444E558F0106CA9F5D1DCF2659') # Marcel Holtmann 



[arch-commits] Commit in bluez/trunk (PKGBUILD)

2017-12-25 Thread Andreas Radke via arch-commits
Date: Monday, December 25, 2017 @ 13:16:42
  Author: andyrtr
Revision: 313612

upgpkg: bluez 5.47-4

enable BLE MIDI support - FS56776

Modified:
  bluez/trunk/PKGBUILD

--+
 PKGBUILD |7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-12-25 13:10:21 UTC (rev 313611)
+++ PKGBUILD2017-12-25 13:16:42 UTC (rev 313612)
@@ -6,11 +6,11 @@
 pkgbase=bluez
 pkgname=('bluez' 'bluez-utils' 'bluez-libs' 'bluez-cups' 'bluez-hid2hci' 
'bluez-plugins')
 pkgver=5.47
-pkgrel=3
+pkgrel=4
 url="http://www.bluez.org/;
 arch=('x86_64')
 license=('GPL2')
-makedepends=('dbus' 'libical' 'systemd')
+makedepends=('dbus' 'libical' 'systemd' 'alsa-lib')
 
source=(https://www.kernel.org/pub/linux/bluetooth/${pkgname}-${pkgver}.tar.{xz,sign}
 bluetooth.modprobe)
 # see https://www.kernel.org/pub/linux/bluetooth/sha256sums.asc
@@ -27,6 +27,7 @@
   --sysconfdir=/etc \
   --localstatedir=/var \
   --libexecdir=/usr/lib \
+  --enable-midi \
   --enable-sixaxis \
   --enable-experimental \
   --enable-library # this is deprecated
@@ -41,7 +42,7 @@
 
 package_bluez() {
   pkgdesc="Daemons for the bluetooth protocol stack"
-  depends=('libical' 'dbus' 'glib2')
+  depends=('libical' 'dbus' 'glib2' 'alsa-lib')
   backup=('etc/dbus-1/system.d/bluetooth.conf'
   'etc/bluetooth/main.conf')
   conflicts=('obexd-client' 'obexd-server')


[arch-commits] Commit in bluez/trunk (PKGBUILD)

2017-11-22 Thread Jan de Groot
Date: Wednesday, November 22, 2017 @ 13:24:58
  Author: jgc
Revision: 310588

upgpkg: bluez 5.47-3

Libical/Enchant rebuild

Modified:
  bluez/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-11-22 13:24:51 UTC (rev 310587)
+++ PKGBUILD2017-11-22 13:24:58 UTC (rev 310588)
@@ -6,7 +6,7 @@
 pkgbase=bluez
 pkgname=('bluez' 'bluez-utils' 'bluez-libs' 'bluez-cups' 'bluez-hid2hci' 
'bluez-plugins')
 pkgver=5.47
-pkgrel=2
+pkgrel=3
 url="http://www.bluez.org/;
 arch=('x86_64')
 license=('GPL2')


[arch-commits] Commit in bluez/trunk (PKGBUILD)

2017-09-22 Thread Andreas Radke
Date: Friday, September 22, 2017 @ 20:27:13
  Author: andyrtr
Revision: 306122

upgpkg: bluez 5.47-2

try to load crypto_user kernel module at boot - 
https://bugzilla.kernel.org/show_bug.cgi?id=196621

Modified:
  bluez/trunk/PKGBUILD

--+
 PKGBUILD |6 +-
 1 file changed, 5 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-09-22 20:08:14 UTC (rev 306121)
+++ PKGBUILD2017-09-22 20:27:13 UTC (rev 306122)
@@ -6,7 +6,7 @@
 pkgbase=bluez
 pkgname=('bluez' 'bluez-utils' 'bluez-libs' 'bluez-cups' 'bluez-hid2hci' 
'bluez-plugins')
 pkgver=5.47
-pkgrel=1
+pkgrel=2
 url="http://www.bluez.org/;
 arch=('i686' 'x86_64')
 license=('GPL2')
@@ -66,6 +66,10 @@
   # fix module loading errors
   install -dm755 ${pkgdir}/usr/lib/modprobe.d
   install -Dm644 ${srcdir}/bluetooth.modprobe 
${pkgdir}/usr/lib/modprobe.d/bluetooth-usb.conf
+  # load module at system start required by some functions
+  # https://bugzilla.kernel.org/show_bug.cgi?id=196621
+  install -dm755 $pkgdir/usr/lib/modules-load.d
+  echo "crypto_user" > $pkgdir/usr/lib/modules-load.d/bluez.conf
   
   # fix obex file transfer - https://bugs.archlinux.org/task/45816
   ln -fs /usr/lib/systemd/user/obex.service 
${pkgdir}/usr/lib/systemd/user/dbus-org.bluez.obex.service


[arch-commits] Commit in bluez/trunk (PKGBUILD)

2017-07-28 Thread Andreas Radke
Date: Friday, July 28, 2017 @ 21:03:35
  Author: andyrtr
Revision: 301344

upgpkg: bluez 5.46-1

upstream update 5.46

Modified:
  bluez/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-07-28 20:49:10 UTC (rev 301343)
+++ PKGBUILD2017-07-28 21:03:35 UTC (rev 301344)
@@ -5,7 +5,7 @@
 
 pkgbase=bluez
 pkgname=('bluez' 'bluez-utils' 'bluez-libs' 'bluez-cups' 'bluez-hid2hci' 
'bluez-plugins')
-pkgver=5.45
+pkgver=5.46
 pkgrel=1
 url="http://www.bluez.org/;
 arch=('i686' 'x86_64')
@@ -14,7 +14,7 @@
 
source=(https://www.kernel.org/pub/linux/bluetooth/${pkgname}-${pkgver}.tar.{xz,sign}
 bluetooth.modprobe)
 # see https://www.kernel.org/pub/linux/bluetooth/sha256sums.asc
-sha256sums=('4cacb00703a6bc149cb09502257d321597d43952374a16f3558766ffa85364e9'
+sha256sums=('ddab3d3837c1afb8ae228a94ba17709a4650bd4db24211b6771ab735c8908e28'
 'SKIP'
 '46c021be659c9a1c4e55afd04df0c059af1f3d98a96338236412e449bf7477b4')
 validpgpkeys=('E932D120BC2AEC444E558F0106CA9F5D1DCF2659') # Marcel Holtmann 



[arch-commits] Commit in bluez/trunk (PKGBUILD)

2017-05-05 Thread Andreas Radke
Date: Friday, May 5, 2017 @ 12:30:15
  Author: andyrtr
Revision: 295321

upgpkg: bluez 5.45-1

upstream update 5.45

Modified:
  bluez/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-05-05 12:26:08 UTC (rev 295320)
+++ PKGBUILD2017-05-05 12:30:15 UTC (rev 295321)
@@ -5,7 +5,7 @@
 
 pkgbase=bluez
 pkgname=('bluez' 'bluez-utils' 'bluez-libs' 'bluez-cups' 'bluez-hid2hci' 
'bluez-plugins')
-pkgver=5.44
+pkgver=5.45
 pkgrel=1
 url="http://www.bluez.org/;
 arch=('i686' 'x86_64')
@@ -14,7 +14,7 @@
 
source=(https://www.kernel.org/pub/linux/bluetooth/${pkgname}-${pkgver}.tar.{xz,sign}
 bluetooth.modprobe)
 # see https://www.kernel.org/pub/linux/bluetooth/sha256sums.asc
-sha256sums=('0c321e291f8b45e6a78e379dfe80592b65955a0f0ab191f1cca0edd8ec356c85'
+sha256sums=('4cacb00703a6bc149cb09502257d321597d43952374a16f3558766ffa85364e9'
 'SKIP'
 '46c021be659c9a1c4e55afd04df0c059af1f3d98a96338236412e449bf7477b4')
 validpgpkeys=('E932D120BC2AEC444E558F0106CA9F5D1DCF2659') # Marcel Holtmann 



[arch-commits] Commit in bluez/trunk (PKGBUILD)

2017-02-27 Thread Andreas Radke
Date: Monday, February 27, 2017 @ 16:49:25
  Author: andyrtr
Revision: 289626

upgpkg: bluez 5.44-1

upstream update 5.44 - some tools are now deprecated by upstream recommendation 
and shouldn't be included anymore

Modified:
  bluez/trunk/PKGBUILD

--+
 PKGBUILD |8 +++-
 1 file changed, 3 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-02-27 15:44:14 UTC (rev 289625)
+++ PKGBUILD2017-02-27 16:49:25 UTC (rev 289626)
@@ -5,8 +5,8 @@
 
 pkgbase=bluez
 pkgname=('bluez' 'bluez-utils' 'bluez-libs' 'bluez-cups' 'bluez-hid2hci' 
'bluez-plugins')
-pkgver=5.43
-pkgrel=2
+pkgver=5.44
+pkgrel=1
 url="http://www.bluez.org/;
 arch=('i686' 'x86_64')
 license=('GPL2')
@@ -14,7 +14,7 @@
 
source=(https://www.kernel.org/pub/linux/bluetooth/${pkgname}-${pkgver}.tar.{xz,sign}
 bluetooth.modprobe)
 # see https://www.kernel.org/pub/linux/bluetooth/sha256sums.asc
-sha256sums=('16c9c05d2a1da644ce3570d975ada3643d2e60c007a955bac09c0a0efeb58d15'
+sha256sums=('0c321e291f8b45e6a78e379dfe80592b65955a0f0ab191f1cca0edd8ec356c85'
 'SKIP'
 '46c021be659c9a1c4e55afd04df0c059af1f3d98a96338236412e449bf7477b4')
 validpgpkeys=('E932D120BC2AEC444E558F0106CA9F5D1DCF2659') # Marcel Holtmann 

@@ -88,8 +88,6 @@
 filename=$(basename $files)
 install -Dm755 ${srcdir}/${pkgbase}-${pkgver}/tools/$filename 
${pkgdir}/usr/bin/$filename
   done
-  # add gatttool usefulbdaddr with Bluetooth 4.0LE 
-  install -Dm755 ${srcdir}/${pkgbase}-${pkgver}/attrib/gatttool 
${pkgdir}/usr/bin/gatttool
   
   # libbluetooth.so* are part of libLTLIBRARIES and binPROGRAMS targets
   #make DESTDIR=${pkgdir} uninstall-libLTLIBRARIES


[arch-commits] Commit in bluez/trunk (PKGBUILD)

2016-12-02 Thread Andreas Radke
Date: Friday, December 2, 2016 @ 08:25:17
  Author: andyrtr
Revision: 282513

use https/gpg signatures

Modified:
  bluez/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-12-02 08:23:58 UTC (rev 282512)
+++ PKGBUILD2016-12-02 08:25:17 UTC (rev 282513)
@@ -11,7 +11,7 @@
 arch=('i686' 'x86_64')
 license=('GPL2')
 makedepends=('dbus' 'libical' 'systemd')
-source=(http://www.kernel.org/pub/linux/bluetooth/${pkgname}-${pkgver}.tar.{xz,sign}
+source=(https://www.kernel.org/pub/linux/bluetooth/${pkgname}-${pkgver}.tar.{xz,sign}
 bluetooth.modprobe)
 # see https://www.kernel.org/pub/linux/bluetooth/sha256sums.asc
 sha256sums=('16c9c05d2a1da644ce3570d975ada3643d2e60c007a955bac09c0a0efeb58d15'


[arch-commits] Commit in bluez/trunk (PKGBUILD)

2016-11-06 Thread Evangelos Foutras
Date: Monday, November 7, 2016 @ 00:46:35
  Author: foutrelis
Revision: 279996

readline 7.0 rebuild

Modified:
  bluez/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-11-07 00:44:47 UTC (rev 279995)
+++ PKGBUILD2016-11-07 00:46:35 UTC (rev 279996)
@@ -6,7 +6,7 @@
 pkgbase=bluez
 pkgname=('bluez' 'bluez-utils' 'bluez-libs' 'bluez-cups' 'bluez-hid2hci' 
'bluez-plugins')
 pkgver=5.43
-pkgrel=1
+pkgrel=2
 url="http://www.bluez.org/;
 arch=('i686' 'x86_64')
 license=('GPL2')


[arch-commits] Commit in bluez/trunk (PKGBUILD)

2016-10-28 Thread Andreas Radke
Date: Friday, October 28, 2016 @ 17:33:42
  Author: andyrtr
Revision: 279393

upgpkg: bluez 5.43-1

upstream update 5.43

Modified:
  bluez/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-10-28 17:29:28 UTC (rev 279392)
+++ PKGBUILD2016-10-28 17:33:42 UTC (rev 279393)
@@ -5,7 +5,7 @@
 
 pkgbase=bluez
 pkgname=('bluez' 'bluez-utils' 'bluez-libs' 'bluez-cups' 'bluez-hid2hci' 
'bluez-plugins')
-pkgver=5.42
+pkgver=5.43
 pkgrel=1
 url="http://www.bluez.org/;
 arch=('i686' 'x86_64')
@@ -14,7 +14,7 @@
 
source=(http://www.kernel.org/pub/linux/bluetooth/${pkgname}-${pkgver}.tar.{xz,sign}
 bluetooth.modprobe)
 # see https://www.kernel.org/pub/linux/bluetooth/sha256sums.asc
-sha256sums=('4f166fed80fc017396d6f2b3cae5185520875ab456d1c74d6b4eaa4da0e16109'
+sha256sums=('16c9c05d2a1da644ce3570d975ada3643d2e60c007a955bac09c0a0efeb58d15'
 'SKIP'
 '46c021be659c9a1c4e55afd04df0c059af1f3d98a96338236412e449bf7477b4')
 validpgpkeys=('E932D120BC2AEC444E558F0106CA9F5D1DCF2659') # Marcel Holtmann 



[arch-commits] Commit in bluez/trunk (PKGBUILD fix_commands_via_pipe_broken.diff)

2016-09-26 Thread Andreas Radke
Date: Monday, September 26, 2016 @ 15:29:51
  Author: andyrtr
Revision: 276967

upgpkg: bluez 5.42-1

upstream update 5.42

Modified:
  bluez/trunk/PKGBUILD
Deleted:
  bluez/trunk/fix_commands_via_pipe_broken.diff

---+
 PKGBUILD  |   13 +++--
 fix_commands_via_pipe_broken.diff |   30 --
 2 files changed, 3 insertions(+), 40 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-09-26 14:37:44 UTC (rev 276966)
+++ PKGBUILD2016-09-26 15:29:51 UTC (rev 276967)
@@ -5,27 +5,20 @@
 
 pkgbase=bluez
 pkgname=('bluez' 'bluez-utils' 'bluez-libs' 'bluez-cups' 'bluez-hid2hci' 
'bluez-plugins')
-pkgver=5.41
-pkgrel=2
+pkgver=5.42
+pkgrel=1
 url="http://www.bluez.org/;
 arch=('i686' 'x86_64')
 license=('GPL2')
 makedepends=('dbus' 'libical' 'systemd')
 
source=(http://www.kernel.org/pub/linux/bluetooth/${pkgname}-${pkgver}.tar.{xz,sign}
-fix_commands_via_pipe_broken.diff
 bluetooth.modprobe)
 # see https://www.kernel.org/pub/linux/bluetooth/sha256sums.asc
-sha256sums=('df7dc4462494dad4e60a2943240d584f6e760235dca64f5f10eba46dbab7f5f0'
+sha256sums=('4f166fed80fc017396d6f2b3cae5185520875ab456d1c74d6b4eaa4da0e16109'
 'SKIP'
-'807d84588df5ea49338c6adb5605d091855fb234b47476dc6a0eb3f2f7ca3f72'
 '46c021be659c9a1c4e55afd04df0c059af1f3d98a96338236412e449bf7477b4')
 validpgpkeys=('E932D120BC2AEC444E558F0106CA9F5D1DCF2659') # Marcel Holtmann 

 
-prepare() {
-  cd ${pkgname}-${pkgver}
-  patch -Np1 -i ../fix_commands_via_pipe_broken.diff
-}
-
 build() {
   cd ${pkgname}-${pkgver}
   ./configure \

Deleted: fix_commands_via_pipe_broken.diff
===
--- fix_commands_via_pipe_broken.diff   2016-09-26 14:37:44 UTC (rev 276966)
+++ fix_commands_via_pipe_broken.diff   2016-09-26 15:29:51 UTC (rev 276967)
@@ -1,30 +0,0 @@
-From 5f2c8a15228f58f1f7ac772b738fcc1b98b761d1 Mon Sep 17 00:00:00 2001
-From: Johan Hedberg 
-Date: Sun, 24 Jul 2016 16:18:37 +0300
-Subject: client: Don't attach stdin in connect_handler()
-
-connect_handler() gets called when we're connected to D-Bus but before
-introspection of the remote service (org.bluez) is complete. The
-client_ready() callback otoh waits until the introspection is complete
-and is already also taking care of attaching input.

- client/main.c | 3 ---
- 1 file changed, 3 deletions(-)
-
-diff --git a/client/main.c b/client/main.c
-index 32341ad..056331f 100644
 a/client/main.c
-+++ b/client/main.c
-@@ -120,9 +120,6 @@ static void connect_handler(DBusConnection *connection, 
void *user_data)
-   printf("\r");
-   rl_on_new_line();
-   rl_redisplay();
--
--  if (!input)
--  input = setup_standard_input();
- }
- 
- static void disconnect_handler(DBusConnection *connection, void *user_data)
--- 
-cgit v0.12
-


[arch-commits] Commit in bluez/trunk (PKGBUILD fix_commands_via_pipe_broken.diff)

2016-07-24 Thread Andreas Radke
Date: Sunday, July 24, 2016 @ 16:06:07
  Author: andyrtr
Revision: 272441

upgpkg: bluez 5.41-2

fix broken input commands from pipe FS#50130

Added:
  bluez/trunk/fix_commands_via_pipe_broken.diff
Modified:
  bluez/trunk/PKGBUILD

---+
 PKGBUILD  |9 -
 fix_commands_via_pipe_broken.diff |   30 ++
 2 files changed, 38 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-07-24 10:21:41 UTC (rev 272440)
+++ PKGBUILD2016-07-24 16:06:07 UTC (rev 272441)
@@ -6,19 +6,26 @@
 pkgbase=bluez
 pkgname=('bluez' 'bluez-utils' 'bluez-libs' 'bluez-cups' 'bluez-hid2hci' 
'bluez-plugins')
 pkgver=5.41
-pkgrel=1
+pkgrel=2
 url="http://www.bluez.org/;
 arch=('i686' 'x86_64')
 license=('GPL2')
 makedepends=('dbus' 'libical' 'systemd')
 
source=(http://www.kernel.org/pub/linux/bluetooth/${pkgname}-${pkgver}.tar.{xz,sign}
+fix_commands_via_pipe_broken.diff
 bluetooth.modprobe)
 # see https://www.kernel.org/pub/linux/bluetooth/sha256sums.asc
 sha256sums=('df7dc4462494dad4e60a2943240d584f6e760235dca64f5f10eba46dbab7f5f0'
 'SKIP'
+'807d84588df5ea49338c6adb5605d091855fb234b47476dc6a0eb3f2f7ca3f72'
 '46c021be659c9a1c4e55afd04df0c059af1f3d98a96338236412e449bf7477b4')
 validpgpkeys=('E932D120BC2AEC444E558F0106CA9F5D1DCF2659') # Marcel Holtmann 

 
+prepare() {
+  cd ${pkgname}-${pkgver}
+  patch -Np1 -i ../fix_commands_via_pipe_broken.diff
+}
+
 build() {
   cd ${pkgname}-${pkgver}
   ./configure \

Added: fix_commands_via_pipe_broken.diff
===
--- fix_commands_via_pipe_broken.diff   (rev 0)
+++ fix_commands_via_pipe_broken.diff   2016-07-24 16:06:07 UTC (rev 272441)
@@ -0,0 +1,30 @@
+From 5f2c8a15228f58f1f7ac772b738fcc1b98b761d1 Mon Sep 17 00:00:00 2001
+From: Johan Hedberg 
+Date: Sun, 24 Jul 2016 16:18:37 +0300
+Subject: client: Don't attach stdin in connect_handler()
+
+connect_handler() gets called when we're connected to D-Bus but before
+introspection of the remote service (org.bluez) is complete. The
+client_ready() callback otoh waits until the introspection is complete
+and is already also taking care of attaching input.
+---
+ client/main.c | 3 ---
+ 1 file changed, 3 deletions(-)
+
+diff --git a/client/main.c b/client/main.c
+index 32341ad..056331f 100644
+--- a/client/main.c
 b/client/main.c
+@@ -120,9 +120,6 @@ static void connect_handler(DBusConnection *connection, 
void *user_data)
+   printf("\r");
+   rl_on_new_line();
+   rl_redisplay();
+-
+-  if (!input)
+-  input = setup_standard_input();
+ }
+ 
+ static void disconnect_handler(DBusConnection *connection, void *user_data)
+-- 
+cgit v0.12
+


[arch-commits] Commit in bluez/trunk (PKGBUILD)

2016-07-18 Thread Andreas Radke
Date: Monday, July 18, 2016 @ 17:41:11
  Author: andyrtr
Revision: 271986

upgpkg: bluez 5.41-1

upstream update 5.41

Modified:
  bluez/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-07-18 14:58:42 UTC (rev 271985)
+++ PKGBUILD2016-07-18 17:41:11 UTC (rev 271986)
@@ -5,7 +5,7 @@
 
 pkgbase=bluez
 pkgname=('bluez' 'bluez-utils' 'bluez-libs' 'bluez-cups' 'bluez-hid2hci' 
'bluez-plugins')
-pkgver=5.40
+pkgver=5.41
 pkgrel=1
 url="http://www.bluez.org/;
 arch=('i686' 'x86_64')
@@ -14,7 +14,7 @@
 
source=(http://www.kernel.org/pub/linux/bluetooth/${pkgname}-${pkgver}.tar.{xz,sign}
 bluetooth.modprobe)
 # see https://www.kernel.org/pub/linux/bluetooth/sha256sums.asc
-sha256sums=('dada8b812055afcad4546d9966f9a763e4723169e89706e2b240c7b7e998dc27'
+sha256sums=('df7dc4462494dad4e60a2943240d584f6e760235dca64f5f10eba46dbab7f5f0'
 'SKIP'
 '46c021be659c9a1c4e55afd04df0c059af1f3d98a96338236412e449bf7477b4')
 validpgpkeys=('E932D120BC2AEC444E558F0106CA9F5D1DCF2659') # Marcel Holtmann 



[arch-commits] Commit in bluez/trunk (PKGBUILD)

2016-06-04 Thread Andreas Radke
Date: Saturday, June 4, 2016 @ 22:28:51
  Author: andyrtr
Revision: 268961

upgpkg: bluez 5.40-1

upstream update 5.40

Modified:
  bluez/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-06-04 20:17:31 UTC (rev 268960)
+++ PKGBUILD2016-06-04 20:28:51 UTC (rev 268961)
@@ -5,7 +5,7 @@
 
 pkgbase=bluez
 pkgname=('bluez' 'bluez-utils' 'bluez-libs' 'bluez-cups' 'bluez-hid2hci' 
'bluez-plugins')
-pkgver=5.39
+pkgver=5.40
 pkgrel=1
 url="http://www.bluez.org/;
 arch=('i686' 'x86_64')
@@ -14,7 +14,7 @@
 
source=(http://www.kernel.org/pub/linux/bluetooth/${pkgname}-${pkgver}.tar.{xz,sign}
 bluetooth.modprobe)
 # see https://www.kernel.org/pub/linux/bluetooth/sha256sums.asc
-sha256sums=('21d1bc9150d3576296595217efb98a746b592389d25d5637e8bee5da7272593b'
+sha256sums=('dada8b812055afcad4546d9966f9a763e4723169e89706e2b240c7b7e998dc27'
 'SKIP'
 '46c021be659c9a1c4e55afd04df0c059af1f3d98a96338236412e449bf7477b4')
 validpgpkeys=('E932D120BC2AEC444E558F0106CA9F5D1DCF2659') # Marcel Holtmann 



[arch-commits] Commit in bluez/trunk (PKGBUILD fix_registering_to_player_events.diff)

2016-04-01 Thread Andreas Radke
Date: Friday, April 1, 2016 @ 16:42:28
  Author: andyrtr
Revision: 263721

upgpkg: bluez 5.38-3

add another upstream fix for further audio crashes

Added:
  bluez/trunk/fix_registering_to_player_events.diff
Modified:
  bluez/trunk/PKGBUILD

---+
 PKGBUILD  |   10 +++---
 fix_registering_to_player_events.diff |   30 ++
 2 files changed, 37 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-04-01 11:44:51 UTC (rev 263720)
+++ PKGBUILD2016-04-01 14:42:28 UTC (rev 263721)
@@ -6,7 +6,7 @@
 pkgbase=bluez
 pkgname=('bluez' 'bluez-utils' 'bluez-libs' 'bluez-cups' 'bluez-hid2hci' 
'bluez-plugins')
 pkgver=5.38
-pkgrel=2
+pkgrel=3
 url="http://www.bluez.org/;
 arch=('i686' 'x86_64')
 license=('GPL2')
@@ -13,12 +13,14 @@
 makedepends=('dbus' 'libical' 'systemd')
 
source=(http://www.kernel.org/pub/linux/bluetooth/${pkgname}-${pkgver}.tar.{xz,sign}
 bluetooth.modprobe
-fix_crash_when_connecting_to_controllers.diff)
+fix_crash_when_connecting_to_controllers.diff
+fix_registering_to_player_events.diff)
 # see https://www.kernel.org/pub/linux/bluetooth/sha256sums.asc
 sha256sums=('0618c5440be6715805060ab5eea930526f34089c437bf61819447b160254f4df'
 'SKIP'
 '46c021be659c9a1c4e55afd04df0c059af1f3d98a96338236412e449bf7477b4'
-'27296fb6cce5e62a04fbeb0779d852995779ecef553cc2e692d91d89eff8c673')
+'27296fb6cce5e62a04fbeb0779d852995779ecef553cc2e692d91d89eff8c673'
+'a3f39bf73a14b7621c36fb1ab8237914c80aaddd7a3dae46d29a515c5121ed38')
 validpgpkeys=('E932D120BC2AEC444E558F0106CA9F5D1DCF2659') # Marcel Holtmann 

 
 prepare() {
@@ -25,6 +27,8 @@
   cd ${pkgname}-${pkgver}
   # FS#48644, 
http://git.kernel.org/cgit/bluetooth/bluez.git/commit/?id=177d27c8c3db4588ec13dae0368f240902c42825
   patch -Np1 -i ${srcdir}/fix_crash_when_connecting_to_controllers.diff
+  # 
http://git.kernel.org/cgit/bluetooth/bluez.git/commit/?id=cc235a8d528b36cad2cf9fe6517d54711613331a
+  patch -Np1 -i ${srcdir}/fix_registering_to_player_events.diff
 }
 
 build() {

Added: fix_registering_to_player_events.diff
===
--- fix_registering_to_player_events.diff   (rev 0)
+++ fix_registering_to_player_events.diff   2016-04-01 14:42:28 UTC (rev 
263721)
@@ -0,0 +1,30 @@
+From cc235a8d528b36cad2cf9fe6517d54711613331a Mon Sep 17 00:00:00 2001
+From: Luiz Augusto von Dentz 
+Date: Fri, 1 Apr 2016 11:07:15 +0300
+Subject: audio/avrcp: Fix registering to player events
+
+If controller does not have a player skip registering to events which
+requires a player.
+---
+ profiles/audio/avrcp.c | 5 +++--
+ 1 file changed, 3 insertions(+), 2 deletions(-)
+
+diff --git a/profiles/audio/avrcp.c b/profiles/audio/avrcp.c
+index 0c6279a..37bc291 100644
+--- a/profiles/audio/avrcp.c
 b/profiles/audio/avrcp.c
+@@ -3647,8 +3647,9 @@ static gboolean avrcp_get_capabilities_resp(struct avctp 
*conn,
+   case AVRCP_EVENT_ADDRESSED_PLAYER_CHANGED:
+   case AVRCP_EVENT_UIDS_CHANGED:
+   case AVRCP_EVENT_AVAILABLE_PLAYERS_CHANGED:
+-  /* These events above are controller specific */
+-  if (!session->controller)
++  /* These events above requires a player */
++  if (!session->controller ||
++  !session->controller->player)
+   break;
+   case AVRCP_EVENT_VOLUME_CHANGED:
+   avrcp_register_notification(session, event);
+-- 
+cgit v0.12
+


[arch-commits] Commit in bluez/trunk (PKGBUILD)

2016-01-08 Thread Andreas Radke
Date: Friday, January 8, 2016 @ 18:56:56
  Author: andyrtr
Revision: 257639

upgpkg: bluez 5.37-2

libical rebuild

Modified:
  bluez/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-01-08 17:53:16 UTC (rev 257638)
+++ PKGBUILD2016-01-08 17:56:56 UTC (rev 257639)
@@ -6,7 +6,7 @@
 pkgbase=bluez
 pkgname=('bluez' 'bluez-utils' 'bluez-libs' 'bluez-cups' 'bluez-hid2hci' 
'bluez-plugins')
 pkgver=5.37
-pkgrel=1
+pkgrel=2
 url="http://www.bluez.org/;
 arch=('i686' 'x86_64')
 license=('GPL2')


[arch-commits] Commit in bluez/trunk (PKGBUILD)

2015-12-28 Thread Andreas Radke
Date: Monday, December 28, 2015 @ 14:16:16
  Author: andyrtr
Revision: 257311

upgpkg: bluez 5.37-1

upstream update 5.37

Modified:
  bluez/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-12-28 10:43:15 UTC (rev 257310)
+++ PKGBUILD2015-12-28 13:16:16 UTC (rev 257311)
@@ -5,7 +5,7 @@
 
 pkgbase=bluez
 pkgname=('bluez' 'bluez-utils' 'bluez-libs' 'bluez-cups' 'bluez-hid2hci' 
'bluez-plugins')
-pkgver=5.36
+pkgver=5.37
 pkgrel=1
 url="http://www.bluez.org/;
 arch=('i686' 'x86_64')
@@ -15,7 +15,7 @@
 0001-Allow-using-obexd-without-systemd-in-the-user-session.patch
 bluetooth.modprobe)
 # see https://www.kernel.org/pub/linux/bluetooth/sha256sums.asc
-sha256sums=('a343ea1aeb53d3bd139087f3b1c1e1fb70db452d9762cc7a3d23e75962e578f2'
+sha256sums=('c14ba9ddcb0055522073477b8fd8bf1ddf5d219e75fdfd4699b7e0ce5350d6b0'
 'SKIP'
 '896a1403d9b7258c4fb0d41f3a6f70fd51eaa1115ab3f4259f3dbbe02b55766b'
 '46c021be659c9a1c4e55afd04df0c059af1f3d98a96338236412e449bf7477b4')


[arch-commits] Commit in bluez/trunk (PKGBUILD)

2015-11-04 Thread Andreas Radke
Date: Wednesday, November 4, 2015 @ 22:19:03
  Author: andyrtr
Revision: 250112

upgpkg: bluez 5.36-1

upstream update 5.36

Modified:
  bluez/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-11-04 20:17:55 UTC (rev 250111)
+++ PKGBUILD2015-11-04 21:19:03 UTC (rev 250112)
@@ -5,7 +5,7 @@
 
 pkgbase=bluez
 pkgname=('bluez' 'bluez-utils' 'bluez-libs' 'bluez-cups' 'bluez-hid2hci' 
'bluez-plugins')
-pkgver=5.35
+pkgver=5.36
 pkgrel=1
 url="http://www.bluez.org/;
 arch=('i686' 'x86_64')
@@ -15,7 +15,7 @@
 0001-Allow-using-obexd-without-systemd-in-the-user-session.patch
 bluetooth.modprobe)
 # see https://www.kernel.org/pub/linux/bluetooth/sha256sums.asc
-sha256sums=('1afee054644a8b1753ac98d7ad5cd95681a38f5c4cbb1b4bb3ceaa078bf8f0e2'
+sha256sums=('a343ea1aeb53d3bd139087f3b1c1e1fb70db452d9762cc7a3d23e75962e578f2'
 'SKIP'
 '896a1403d9b7258c4fb0d41f3a6f70fd51eaa1115ab3f4259f3dbbe02b55766b'
 '46c021be659c9a1c4e55afd04df0c059af1f3d98a96338236412e449bf7477b4')


[arch-commits] Commit in bluez/trunk (PKGBUILD)

2015-09-28 Thread Andreas Radke
Date: Monday, September 28, 2015 @ 17:16:20
  Author: andyrtr
Revision: 247671

upgpkg: bluez 5.35-1

upstream update 5.35

Modified:
  bluez/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-09-28 15:05:56 UTC (rev 247670)
+++ PKGBUILD2015-09-28 15:16:20 UTC (rev 247671)
@@ -5,8 +5,8 @@
 
 pkgbase=bluez
 pkgname=('bluez' 'bluez-utils' 'bluez-libs' 'bluez-cups' 'bluez-hid2hci' 
'bluez-plugins')
-pkgver=5.34
-pkgrel=2
+pkgver=5.35
+pkgrel=1
 url="http://www.bluez.org/;
 arch=('i686' 'x86_64')
 license=('GPL2')
@@ -15,7 +15,7 @@
 0001-Allow-using-obexd-without-systemd-in-the-user-session.patch
 bluetooth.modprobe)
 # see https://www.kernel.org/pub/linux/bluetooth/sha256sums.asc
-sha256sums=('e461ec2927f5491a202de4a180b2b42377f596b0ce372430d8204ae042d3b19c'
+sha256sums=('1afee054644a8b1753ac98d7ad5cd95681a38f5c4cbb1b4bb3ceaa078bf8f0e2'
 'SKIP'
 '896a1403d9b7258c4fb0d41f3a6f70fd51eaa1115ab3f4259f3dbbe02b55766b'
 '46c021be659c9a1c4e55afd04df0c059af1f3d98a96338236412e449bf7477b4')


[arch-commits] Commit in bluez/trunk (PKGBUILD)

2015-09-23 Thread Andreas Radke
Date: Wednesday, September 23, 2015 @ 21:52:02
  Author: andyrtr
Revision: 247174

upgpkg: bluez 5.34-2

fix obex file transfer - FS#45816

Modified:
  bluez/trunk/PKGBUILD

--+
 PKGBUILD |   15 +--
 1 file changed, 9 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-09-23 18:52:57 UTC (rev 247173)
+++ PKGBUILD2015-09-23 19:52:02 UTC (rev 247174)
@@ -6,7 +6,7 @@
 pkgbase=bluez
 pkgname=('bluez' 'bluez-utils' 'bluez-libs' 'bluez-cups' 'bluez-hid2hci' 
'bluez-plugins')
 pkgver=5.34
-pkgrel=1
+pkgrel=2
 url="http://www.bluez.org/;
 arch=('i686' 'x86_64')
 license=('GPL2')
@@ -21,13 +21,13 @@
 '46c021be659c9a1c4e55afd04df0c059af1f3d98a96338236412e449bf7477b4')
 validpgpkeys=('E932D120BC2AEC444E558F0106CA9F5D1DCF2659') # Marcel Holtmann 

 
-prepare() {
-  cd $pkgname-$pkgver
+#prepare() {
+#  cd $pkgname-$pkgver
   # patch not upstreamable for obex file transfer - FS#37773 taken from FC
   # http://www.hadess.net/2013/11/bluetooth-file-sharing-obexpush-in.html
-  patch -Np1 -i 
${srcdir}/0001-Allow-using-obexd-without-systemd-in-the-user-session.patch
-  autoreconf -vfi
-}
+#  patch -Np1 -i 
${srcdir}/0001-Allow-using-obexd-without-systemd-in-the-user-session.patch
+#  autoreconf -vfi
+#}
 
 build() {
   cd ${pkgname}-${pkgver}
@@ -76,6 +76,9 @@
   # fix module loading errors
   install -dm755 ${pkgdir}/usr/lib/modprobe.d
   install -Dm644 ${srcdir}/bluetooth.modprobe 
${pkgdir}/usr/lib/modprobe.d/bluetooth-usb.conf  
+  
+  # fix obex file transfer - https://bugs.archlinux.org/task/45816
+  ln -fs /usr/lib/systemd/user/obex.service 
${pkgdir}/usr/lib/systemd/user/dbus-org.bluez.obex.service
 }
 
 package_bluez-utils() {


[arch-commits] Commit in bluez/trunk (PKGBUILD)

2015-09-04 Thread Andreas Radke
Date: Friday, September 4, 2015 @ 20:14:56
  Author: andyrtr
Revision: 245301

upgpkg: bluez 5.34-1

upstream update 5.34

Modified:
  bluez/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-09-04 18:06:40 UTC (rev 245300)
+++ PKGBUILD2015-09-04 18:14:56 UTC (rev 245301)
@@ -5,7 +5,7 @@
 
 pkgbase=bluez
 pkgname=('bluez' 'bluez-utils' 'bluez-libs' 'bluez-cups' 'bluez-hid2hci' 
'bluez-plugins')
-pkgver=5.33
+pkgver=5.34
 pkgrel=1
 url="http://www.bluez.org/;
 arch=('i686' 'x86_64')
@@ -15,7 +15,7 @@
 0001-Allow-using-obexd-without-systemd-in-the-user-session.patch
 bluetooth.modprobe)
 # see https://www.kernel.org/pub/linux/bluetooth/sha256sums.asc
-sha256sums=('1801807a13506678cbfeb15c6a4b89ecb5739efe1067eb464da6641d731436d3'
+sha256sums=('e461ec2927f5491a202de4a180b2b42377f596b0ce372430d8204ae042d3b19c'
 'SKIP'
 '896a1403d9b7258c4fb0d41f3a6f70fd51eaa1115ab3f4259f3dbbe02b55766b'
 '46c021be659c9a1c4e55afd04df0c059af1f3d98a96338236412e449bf7477b4')


[arch-commits] Commit in bluez/trunk (PKGBUILD)

2015-08-06 Thread Andreas Radke
Date: Thursday, August 6, 2015 @ 20:54:20
  Author: andyrtr
Revision: 243096

upgpkg: bluez 5.33-1

upstream update 5.33

Modified:
  bluez/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-08-06 18:01:52 UTC (rev 243095)
+++ PKGBUILD2015-08-06 18:54:20 UTC (rev 243096)
@@ -5,7 +5,7 @@
 
 pkgbase=bluez
 pkgname=('bluez' 'bluez-utils' 'bluez-libs' 'bluez-cups' 'bluez-hid2hci' 
'bluez-plugins')
-pkgver=5.32
+pkgver=5.33
 pkgrel=1
 url=http://www.bluez.org/;
 arch=('i686' 'x86_64')
@@ -15,7 +15,7 @@
 0001-Allow-using-obexd-without-systemd-in-the-user-session.patch
 bluetooth.modprobe)
 # see https://www.kernel.org/pub/linux/bluetooth/sha256sums.asc
-sha256sums=('fe4f35e701cbec04478818adf014ed9bbd1f7d11e2603370f1b70a78106f57f7'
+sha256sums=('1801807a13506678cbfeb15c6a4b89ecb5739efe1067eb464da6641d731436d3'
 'SKIP'
 '896a1403d9b7258c4fb0d41f3a6f70fd51eaa1115ab3f4259f3dbbe02b55766b'
 '46c021be659c9a1c4e55afd04df0c059af1f3d98a96338236412e449bf7477b4')
@@ -80,7 +80,7 @@
 
 package_bluez-utils() {
   pkgdesc=Development and debugging utilities for the bluetooth protocol 
stack
-  depends=('dbus' 'systemd')
+  depends=('dbus' 'systemd' 'glib2')
   conflicts=('bluez-hcidump')
   provides=('bluez-hcidump')
   replaces=('bluez-hcidump' 'bluez=4.101')


[arch-commits] Commit in bluez/trunk (PKGBUILD)

2015-07-09 Thread Andreas Radke
Date: Thursday, July 9, 2015 @ 20:50:26
  Author: andyrtr
Revision: 241919

upgpkg: bluez 5.32-1

upstream update 5.32

Modified:
  bluez/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-07-09 18:27:28 UTC (rev 241918)
+++ PKGBUILD2015-07-09 18:50:26 UTC (rev 241919)
@@ -5,7 +5,7 @@
 
 pkgbase=bluez
 pkgname=('bluez' 'bluez-utils' 'bluez-libs' 'bluez-cups' 'bluez-hid2hci' 
'bluez-plugins')
-pkgver=5.31
+pkgver=5.32
 pkgrel=1
 url=http://www.bluez.org/;
 arch=('i686' 'x86_64')
@@ -15,7 +15,7 @@
 0001-Allow-using-obexd-without-systemd-in-the-user-session.patch
 bluetooth.modprobe)
 # see https://www.kernel.org/pub/linux/bluetooth/sha256sums.asc
-sha256sums=('c4b661cc5866d9a9a9d608d700392afa278c3b6fe8426238bf6979be7c63818f'
+sha256sums=('fe4f35e701cbec04478818adf014ed9bbd1f7d11e2603370f1b70a78106f57f7'
 'SKIP'
 '896a1403d9b7258c4fb0d41f3a6f70fd51eaa1115ab3f4259f3dbbe02b55766b'
 '46c021be659c9a1c4e55afd04df0c059af1f3d98a96338236412e449bf7477b4')


[arch-commits] Commit in bluez/trunk (PKGBUILD)

2015-06-16 Thread Andreas Radke
Date: Tuesday, June 16, 2015 @ 19:58:35
  Author: andyrtr
Revision: 240956

upgpkg: bluez 5.31-1

upstream update 5.31

Modified:
  bluez/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-06-16 17:41:18 UTC (rev 240955)
+++ PKGBUILD2015-06-16 17:58:35 UTC (rev 240956)
@@ -5,7 +5,7 @@
 
 pkgbase=bluez
 pkgname=('bluez' 'bluez-utils' 'bluez-libs' 'bluez-cups' 'bluez-hid2hci' 
'bluez-plugins')
-pkgver=5.30
+pkgver=5.31
 pkgrel=1
 url=http://www.bluez.org/;
 arch=('i686' 'x86_64')
@@ -15,7 +15,7 @@
 0001-Allow-using-obexd-without-systemd-in-the-user-session.patch
 bluetooth.modprobe)
 # see https://www.kernel.org/pub/linux/bluetooth/sha256sums.asc
-sha256sums=('1e3a4adb5a097dab83b3cf58e09c9541b815c6f33e3da972e18dfd1eb05d382c'
+sha256sums=('c4b661cc5866d9a9a9d608d700392afa278c3b6fe8426238bf6979be7c63818f'
 'SKIP'
 '896a1403d9b7258c4fb0d41f3a6f70fd51eaa1115ab3f4259f3dbbe02b55766b'
 '46c021be659c9a1c4e55afd04df0c059af1f3d98a96338236412e449bf7477b4')


[arch-commits] Commit in bluez/trunk (PKGBUILD)

2015-04-02 Thread Andreas Radke
Date: Thursday, April 2, 2015 @ 21:54:15
  Author: andyrtr
Revision: 235350

upgpkg: bluez 5.30-1

upstream update 5.30

Modified:
  bluez/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-04-02 16:11:44 UTC (rev 235349)
+++ PKGBUILD2015-04-02 19:54:15 UTC (rev 235350)
@@ -5,7 +5,7 @@
 
 pkgbase=bluez
 pkgname=('bluez' 'bluez-utils' 'bluez-libs' 'bluez-cups' 'bluez-hid2hci' 
'bluez-plugins')
-pkgver=5.29
+pkgver=5.30
 pkgrel=1
 url=http://www.bluez.org/;
 arch=('i686' 'x86_64')
@@ -15,7 +15,7 @@
 0001-Allow-using-obexd-without-systemd-in-the-user-session.patch
 bluetooth.modprobe)
 # see https://www.kernel.org/pub/linux/bluetooth/sha256sums.asc
-sha256sums=('df216a6d5ec6133355e5d4ed6b5e7a188a940940d337374e166758513246f0e4'
+sha256sums=('1e3a4adb5a097dab83b3cf58e09c9541b815c6f33e3da972e18dfd1eb05d382c'
 'SKIP'
 '896a1403d9b7258c4fb0d41f3a6f70fd51eaa1115ab3f4259f3dbbe02b55766b'
 '46c021be659c9a1c4e55afd04df0c059af1f3d98a96338236412e449bf7477b4')


[arch-commits] Commit in bluez/trunk (PKGBUILD)

2015-03-12 Thread Andreas Radke
Date: Thursday, March 12, 2015 @ 22:32:43
  Author: andyrtr
Revision: 233410

upgpkg: bluez 5.29-1

upstream update 5.29

Modified:
  bluez/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-03-12 18:42:52 UTC (rev 233409)
+++ PKGBUILD2015-03-12 21:32:43 UTC (rev 233410)
@@ -5,7 +5,7 @@
 
 pkgbase=bluez
 pkgname=('bluez' 'bluez-utils' 'bluez-libs' 'bluez-cups' 'bluez-hid2hci' 
'bluez-plugins')
-pkgver=5.28
+pkgver=5.29
 pkgrel=1
 url=http://www.bluez.org/;
 arch=('i686' 'x86_64')
@@ -15,7 +15,7 @@
 0001-Allow-using-obexd-without-systemd-in-the-user-session.patch
 bluetooth.modprobe)
 # see https://www.kernel.org/pub/linux/bluetooth/sha256sums.asc
-sha256sums=('85bab48f4b47a158739028682c1e09cf30099c8ea9dfe63360055f8e06fc18a9'
+sha256sums=('df216a6d5ec6133355e5d4ed6b5e7a188a940940d337374e166758513246f0e4'
 'SKIP'
 '896a1403d9b7258c4fb0d41f3a6f70fd51eaa1115ab3f4259f3dbbe02b55766b'
 '46c021be659c9a1c4e55afd04df0c059af1f3d98a96338236412e449bf7477b4')


[arch-commits] Commit in bluez/trunk (PKGBUILD)

2015-02-04 Thread Andreas Radke
Date: Wednesday, February 4, 2015 @ 19:45:21
  Author: andyrtr
Revision: 230774

upgpkg: bluez 5.28-1

upstream update 5.28

Modified:
  bluez/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-02-04 18:06:16 UTC (rev 230773)
+++ PKGBUILD2015-02-04 18:45:21 UTC (rev 230774)
@@ -5,7 +5,7 @@
 
 pkgbase=bluez
 pkgname=('bluez' 'bluez-utils' 'bluez-libs' 'bluez-cups' 'bluez-hid2hci' 
'bluez-plugins')
-pkgver=5.27
+pkgver=5.28
 pkgrel=1
 url=http://www.bluez.org/;
 arch=('i686' 'x86_64')
@@ -15,7 +15,7 @@
 0001-Allow-using-obexd-without-systemd-in-the-user-session.patch
 bluetooth.modprobe)
 # see https://www.kernel.org/pub/linux/bluetooth/sha256sums.asc
-sha256sums=('fbf33cebc76f8c81f28f0d67c71a8a1ec4b04b087460ec7353f7e0c207a1f981'
+sha256sums=('85bab48f4b47a158739028682c1e09cf30099c8ea9dfe63360055f8e06fc18a9'
 'SKIP'
 '896a1403d9b7258c4fb0d41f3a6f70fd51eaa1115ab3f4259f3dbbe02b55766b'
 '46c021be659c9a1c4e55afd04df0c059af1f3d98a96338236412e449bf7477b4')


[arch-commits] Commit in bluez/trunk (PKGBUILD)

2014-12-31 Thread Andreas Radke
Date: Wednesday, December 31, 2014 @ 14:06:41
  Author: andyrtr
Revision: 228239

add validpgpkeys

Modified:
  bluez/trunk/PKGBUILD

--+
 PKGBUILD |4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-12-31 13:03:18 UTC (rev 228238)
+++ PKGBUILD2014-12-31 13:06:41 UTC (rev 228239)
@@ -11,13 +11,15 @@
 arch=('i686' 'x86_64')
 license=('GPL2')
 makedepends=('dbus' 'libical' 'systemd')
-source=(http://www.kernel.org/pub/linux/bluetooth/${pkgname}-${pkgver}.tar.xz
+source=(http://www.kernel.org/pub/linux/bluetooth/${pkgname}-${pkgver}.tar.{xz,sign}
 0001-Allow-using-obexd-without-systemd-in-the-user-session.patch
 bluetooth.modprobe)
 # see https://www.kernel.org/pub/linux/bluetooth/sha256sums.asc
 sha256sums=('fbf33cebc76f8c81f28f0d67c71a8a1ec4b04b087460ec7353f7e0c207a1f981'
+'SKIP'
 '896a1403d9b7258c4fb0d41f3a6f70fd51eaa1115ab3f4259f3dbbe02b55766b'
 '46c021be659c9a1c4e55afd04df0c059af1f3d98a96338236412e449bf7477b4')
+validpgpkeys=('E932D120BC2AEC444E558F0106CA9F5D1DCF2659') # Marcel Holtmann 
mar...@holtmann.org
 
 prepare() {
   cd $pkgname-$pkgver


[arch-commits] Commit in bluez/trunk (PKGBUILD)

2014-12-30 Thread Andreas Radke
Date: Tuesday, December 30, 2014 @ 13:30:43
  Author: andyrtr
Revision: 228170

upgpkg: bluez 5.27-1

upstream update 5.27

Modified:
  bluez/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-12-30 12:21:31 UTC (rev 228169)
+++ PKGBUILD2014-12-30 12:30:43 UTC (rev 228170)
@@ -5,7 +5,7 @@
 
 pkgbase=bluez
 pkgname=('bluez' 'bluez-utils' 'bluez-libs' 'bluez-cups' 'bluez-hid2hci' 
'bluez-plugins')
-pkgver=5.26
+pkgver=5.27
 pkgrel=1
 url=http://www.bluez.org/;
 arch=('i686' 'x86_64')
@@ -15,7 +15,7 @@
 0001-Allow-using-obexd-without-systemd-in-the-user-session.patch
 bluetooth.modprobe)
 # see https://www.kernel.org/pub/linux/bluetooth/sha256sums.asc
-sha256sums=('7a101946bab6da1f20eb2677b9ca783d919365815e4701216b9273f0c8b70194'
+sha256sums=('fbf33cebc76f8c81f28f0d67c71a8a1ec4b04b087460ec7353f7e0c207a1f981'
 '896a1403d9b7258c4fb0d41f3a6f70fd51eaa1115ab3f4259f3dbbe02b55766b'
 '46c021be659c9a1c4e55afd04df0c059af1f3d98a96338236412e449bf7477b4')
 


[arch-commits] Commit in bluez/trunk (PKGBUILD)

2014-12-12 Thread Andreas Radke
Date: Friday, December 12, 2014 @ 19:03:27
  Author: andyrtr
Revision: 227567

upgpkg: bluez 5.26-1

upstream update 5.26

Modified:
  bluez/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-12-12 14:18:53 UTC (rev 227566)
+++ PKGBUILD2014-12-12 18:03:27 UTC (rev 227567)
@@ -5,8 +5,8 @@
 
 pkgbase=bluez
 pkgname=('bluez' 'bluez-utils' 'bluez-libs' 'bluez-cups' 'bluez-hid2hci' 
'bluez-plugins')
-pkgver=5.25
-pkgrel=2
+pkgver=5.26
+pkgrel=1
 url=http://www.bluez.org/;
 arch=('i686' 'x86_64')
 license=('GPL2')
@@ -15,7 +15,7 @@
 0001-Allow-using-obexd-without-systemd-in-the-user-session.patch
 bluetooth.modprobe)
 # see https://www.kernel.org/pub/linux/bluetooth/sha256sums.asc
-sha256sums=('5ca62f3f45e2638a0f7a81658d6c8813ee01487436ae8e53e9fe395e23d1fd30'
+sha256sums=('7a101946bab6da1f20eb2677b9ca783d919365815e4701216b9273f0c8b70194'
 '896a1403d9b7258c4fb0d41f3a6f70fd51eaa1115ab3f4259f3dbbe02b55766b'
 '46c021be659c9a1c4e55afd04df0c059af1f3d98a96338236412e449bf7477b4')
 


[arch-commits] Commit in bluez/trunk (PKGBUILD)

2014-11-13 Thread Andreas Radke
Date: Thursday, November 13, 2014 @ 16:44:48
  Author: andyrtr
Revision: 226192

upgpkg: bluez 5.25-2

ship all built tools, FS#42716 - let's pray it won't lead to file conflicts

Modified:
  bluez/trunk/PKGBUILD

--+
 PKGBUILD |   19 ---
 1 file changed, 8 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-11-13 14:35:24 UTC (rev 226191)
+++ PKGBUILD2014-11-13 15:44:48 UTC (rev 226192)
@@ -6,7 +6,7 @@
 pkgbase=bluez
 pkgname=('bluez' 'bluez-utils' 'bluez-libs' 'bluez-cups' 'bluez-hid2hci' 
'bluez-plugins')
 pkgver=5.25
-pkgrel=1
+pkgrel=2
 url=http://www.bluez.org/;
 arch=('i686' 'x86_64')
 license=('GPL2')
@@ -38,8 +38,7 @@
   --enable-sixaxis \
   --enable-experimental \
   --enable-library # this is deprecated
-
-  make # all # V=1
+  make
 }
 
 check() {
@@ -56,9 +55,6 @@
   conflicts=('obexd-client' 'obexd-server')
 
   cd ${pkgbase}-${pkgver}
-  #make DESTDIR=${pkgdir} install
-  #return 1
-  
   make DESTDIR=${pkgdir} \
install-libexecPROGRAMS \
install-dbussessionbusDATA \
@@ -92,12 +88,13 @@
install-binPROGRAMS \
install-man1
 
-  # add experimental BT LE manager - FS#41132
-  install -Dm755 ${srcdir}/${pkgbase}-${pkgver}/tools/btmgmt 
${pkgdir}/usr/bin/btmgmt
-  # add gatttool useful with Bluetooth 4.0LE 
+  # 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}/${pkgbase}-${pkgver}/tools/$filename 
${pkgdir}/usr/bin/$filename
+  done
+  # add gatttool usefulbdaddr with Bluetooth 4.0LE 
   install -Dm755 ${srcdir}/${pkgbase}-${pkgver}/attrib/gatttool 
${pkgdir}/usr/bin/gatttool
-  # add bdaddr for changing the bluetooth device address - FS#41687
-  install -Dm755 ${srcdir}/${pkgbase}-${pkgver}/tools/bdaddr 
${pkgdir}/usr/bin/bdaddr
   
   # libbluetooth.so* are part of libLTLIBRARIES and binPROGRAMS targets
   #make DESTDIR=${pkgdir} uninstall-libLTLIBRARIES


[arch-commits] Commit in bluez/trunk (PKGBUILD)

2014-11-10 Thread Andreas Radke
Date: Monday, November 10, 2014 @ 20:49:08
  Author: andyrtr
Revision: 225893

upgpkg: bluez 5.25-1

upstream update 5.25

Modified:
  bluez/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-11-10 19:20:07 UTC (rev 225892)
+++ PKGBUILD2014-11-10 19:49:08 UTC (rev 225893)
@@ -5,7 +5,7 @@
 
 pkgbase=bluez
 pkgname=('bluez' 'bluez-utils' 'bluez-libs' 'bluez-cups' 'bluez-hid2hci' 
'bluez-plugins')
-pkgver=5.24
+pkgver=5.25
 pkgrel=1
 url=http://www.bluez.org/;
 arch=('i686' 'x86_64')
@@ -15,7 +15,7 @@
 0001-Allow-using-obexd-without-systemd-in-the-user-session.patch
 bluetooth.modprobe)
 # see https://www.kernel.org/pub/linux/bluetooth/sha256sums.asc
-sha256sums=('e870c5fba0bf3496856fc720e2d217856fcf40b59829f8cc0c05902ebb9fb837'
+sha256sums=('5ca62f3f45e2638a0f7a81658d6c8813ee01487436ae8e53e9fe395e23d1fd30'
 '896a1403d9b7258c4fb0d41f3a6f70fd51eaa1115ab3f4259f3dbbe02b55766b'
 '46c021be659c9a1c4e55afd04df0c059af1f3d98a96338236412e449bf7477b4')
 


[arch-commits] Commit in bluez/trunk (PKGBUILD)

2014-10-09 Thread Andreas Radke
Date: Thursday, October 9, 2014 @ 17:02:07
  Author: andyrtr
Revision: 224148

upgpkg: bluez 5.24-1

upstream update 5.24

Modified:
  bluez/trunk/PKGBUILD

--+
 PKGBUILD |8 +---
 1 file changed, 5 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-10-09 14:10:30 UTC (rev 224147)
+++ PKGBUILD2014-10-09 15:02:07 UTC (rev 224148)
@@ -5,7 +5,7 @@
 
 pkgbase=bluez
 pkgname=('bluez' 'bluez-utils' 'bluez-libs' 'bluez-cups' 'bluez-hid2hci' 
'bluez-plugins')
-pkgver=5.23
+pkgver=5.24
 pkgrel=1
 url=http://www.bluez.org/;
 arch=('i686' 'x86_64')
@@ -15,7 +15,7 @@
 0001-Allow-using-obexd-without-systemd-in-the-user-session.patch
 bluetooth.modprobe)
 # see https://www.kernel.org/pub/linux/bluetooth/sha256sums.asc
-sha256sums=('cdabd38d7ac8dd392a77ce7d76d5c120b277e4115040ba5d3ab91c05ab37f2c1'
+sha256sums=('e870c5fba0bf3496856fc720e2d217856fcf40b59829f8cc0c05902ebb9fb837'
 '896a1403d9b7258c4fb0d41f3a6f70fd51eaa1115ab3f4259f3dbbe02b55766b'
 '46c021be659c9a1c4e55afd04df0c059af1f3d98a96338236412e449bf7477b4')
 
@@ -96,7 +96,9 @@
   install -Dm755 ${srcdir}/${pkgbase}-${pkgver}/tools/btmgmt 
${pkgdir}/usr/bin/btmgmt
   # add gatttool useful with Bluetooth 4.0LE 
   install -Dm755 ${srcdir}/${pkgbase}-${pkgver}/attrib/gatttool 
${pkgdir}/usr/bin/gatttool
-
+  # add bdaddr for changing the bluetooth device address - FS#41687
+  install -Dm755 ${srcdir}/${pkgbase}-${pkgver}/tools/bdaddr 
${pkgdir}/usr/bin/bdaddr
+  
   # libbluetooth.so* are part of libLTLIBRARIES and binPROGRAMS targets
   #make DESTDIR=${pkgdir} uninstall-libLTLIBRARIES
   #rmdir ${pkgdir}/usr/lib


[arch-commits] Commit in bluez/trunk (PKGBUILD)

2014-09-09 Thread Andreas Radke
Date: Tuesday, September 9, 2014 @ 16:01:45
  Author: andyrtr
Revision: 221333

upgpkg: bluez 5.23-1

upstream update 5.23

Modified:
  bluez/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-09-09 13:45:24 UTC (rev 221332)
+++ PKGBUILD2014-09-09 14:01:45 UTC (rev 221333)
@@ -5,8 +5,8 @@
 
 pkgbase=bluez
 pkgname=('bluez' 'bluez-utils' 'bluez-libs' 'bluez-cups' 'bluez-hid2hci' 
'bluez-plugins')
-pkgver=5.22
-pkgrel=2
+pkgver=5.23
+pkgrel=1
 url=http://www.bluez.org/;
 arch=('i686' 'x86_64')
 license=('GPL2')
@@ -15,7 +15,7 @@
 0001-Allow-using-obexd-without-systemd-in-the-user-session.patch
 bluetooth.modprobe)
 # see https://www.kernel.org/pub/linux/bluetooth/sha256sums.asc
-sha256sums=('e8b866515a18116c7048a55081be9238a51447c9448ed20997b0432b13ba0882'
+sha256sums=('cdabd38d7ac8dd392a77ce7d76d5c120b277e4115040ba5d3ab91c05ab37f2c1'
 '896a1403d9b7258c4fb0d41f3a6f70fd51eaa1115ab3f4259f3dbbe02b55766b'
 '46c021be659c9a1c4e55afd04df0c059af1f3d98a96338236412e449bf7477b4')
 



[arch-commits] Commit in bluez/trunk (PKGBUILD)

2014-08-22 Thread Andreas Radke
Date: Friday, August 22, 2014 @ 17:35:18
  Author: andyrtr
Revision: 220549

upgpkg: bluez 5.22-2

add gatttool, it may be helpful for BT LE devices

Modified:
  bluez/trunk/PKGBUILD

--+
 PKGBUILD |6 --
 1 file changed, 4 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-08-22 15:10:47 UTC (rev 220548)
+++ PKGBUILD2014-08-22 15:35:18 UTC (rev 220549)
@@ -6,7 +6,7 @@
 pkgbase=bluez
 pkgname=('bluez' 'bluez-utils' 'bluez-libs' 'bluez-cups' 'bluez-hid2hci' 
'bluez-plugins')
 pkgver=5.22
-pkgrel=1
+pkgrel=2
 url=http://www.bluez.org/;
 arch=('i686' 'x86_64')
 license=('GPL2')
@@ -94,7 +94,9 @@
 
   # add experimental BT LE manager - FS#41132
   install -Dm755 ${srcdir}/${pkgbase}-${pkgver}/tools/btmgmt 
${pkgdir}/usr/bin/btmgmt
-   
+  # add gatttool useful with Bluetooth 4.0LE 
+  install -Dm755 ${srcdir}/${pkgbase}-${pkgver}/attrib/gatttool 
${pkgdir}/usr/bin/gatttool
+
   # libbluetooth.so* are part of libLTLIBRARIES and binPROGRAMS targets
   #make DESTDIR=${pkgdir} uninstall-libLTLIBRARIES
   #rmdir ${pkgdir}/usr/lib



[arch-commits] Commit in bluez/trunk (PKGBUILD)

2014-08-17 Thread Andreas Radke
Date: Sunday, August 17, 2014 @ 10:38:54
  Author: andyrtr
Revision: 220140

upgpkg: bluez 5.22-1

upstream update 5.22

Modified:
  bluez/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-08-17 06:42:32 UTC (rev 220139)
+++ PKGBUILD2014-08-17 08:38:54 UTC (rev 220140)
@@ -5,8 +5,8 @@
 
 pkgbase=bluez
 pkgname=('bluez' 'bluez-utils' 'bluez-libs' 'bluez-cups' 'bluez-hid2hci' 
'bluez-plugins')
-pkgver=5.21
-pkgrel=2
+pkgver=5.22
+pkgrel=1
 url=http://www.bluez.org/;
 arch=('i686' 'x86_64')
 license=('GPL2')
@@ -15,7 +15,7 @@
 0001-Allow-using-obexd-without-systemd-in-the-user-session.patch
 bluetooth.modprobe)
 # see https://www.kernel.org/pub/linux/bluetooth/sha256sums.asc
-sha256sums=('81eb073516f39ff1fa02fa40120e834f40fdb0b772f8f4153a9ab566cc0a1f4f'
+sha256sums=('e8b866515a18116c7048a55081be9238a51447c9448ed20997b0432b13ba0882'
 '896a1403d9b7258c4fb0d41f3a6f70fd51eaa1115ab3f4259f3dbbe02b55766b'
 '46c021be659c9a1c4e55afd04df0c059af1f3d98a96338236412e449bf7477b4')
 



[arch-commits] Commit in bluez/trunk (PKGBUILD)

2014-07-08 Thread Andreas Radke
Date: Tuesday, July 8, 2014 @ 19:59:52
  Author: andyrtr
Revision: 216642

upgpkg: bluez 5.21-2

add BT LE device manager; FS#41132

Modified:
  bluez/trunk/PKGBUILD

--+
 PKGBUILD |9 ++---
 1 file changed, 6 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-07-08 16:05:07 UTC (rev 216641)
+++ PKGBUILD2014-07-08 17:59:52 UTC (rev 216642)
@@ -6,7 +6,7 @@
 pkgbase=bluez
 pkgname=('bluez' 'bluez-utils' 'bluez-libs' 'bluez-cups' 'bluez-hid2hci' 
'bluez-plugins')
 pkgver=5.21
-pkgrel=1
+pkgrel=2
 url=http://www.bluez.org/;
 arch=('i686' 'x86_64')
 license=('GPL2')
@@ -36,10 +36,10 @@
   --localstatedir=/var \
   --libexecdir=/usr/lib \
   --enable-sixaxis \
+  --enable-experimental \
   --enable-library # this is deprecated
-#  --enable-experimental \
 
-  make all V=1
+  make # all # V=1
 }
 
 check() {
@@ -92,6 +92,9 @@
install-binPROGRAMS \
install-man1
 
+  # add experimental BT LE manager - FS#41132
+  install -Dm755 ${srcdir}/${pkgbase}-${pkgver}/tools/btmgmt 
${pkgdir}/usr/bin/btmgmt
+   
   # libbluetooth.so* are part of libLTLIBRARIES and binPROGRAMS targets
   #make DESTDIR=${pkgdir} uninstall-libLTLIBRARIES
   #rmdir ${pkgdir}/usr/lib



[arch-commits] Commit in bluez/trunk (PKGBUILD)

2014-07-05 Thread Andreas Radke
Date: Saturday, July 5, 2014 @ 09:48:27
  Author: andyrtr
Revision: 216540

upgpkg: bluez 5.21-1

upstream update 5.21

Modified:
  bluez/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-07-05 02:54:32 UTC (rev 216539)
+++ PKGBUILD2014-07-05 07:48:27 UTC (rev 216540)
@@ -5,7 +5,7 @@
 
 pkgbase=bluez
 pkgname=('bluez' 'bluez-utils' 'bluez-libs' 'bluez-cups' 'bluez-hid2hci' 
'bluez-plugins')
-pkgver=5.20
+pkgver=5.21
 pkgrel=1
 url=http://www.bluez.org/;
 arch=('i686' 'x86_64')
@@ -15,7 +15,7 @@
 0001-Allow-using-obexd-without-systemd-in-the-user-session.patch
 bluetooth.modprobe)
 # see https://www.kernel.org/pub/linux/bluetooth/sha256sums.asc
-sha256sums=('531fbaa0a9baf7b1f76fb8fd8975c20d3cc61cdc772a39d63df1d6abfc2a7481'
+sha256sums=('81eb073516f39ff1fa02fa40120e834f40fdb0b772f8f4153a9ab566cc0a1f4f'
 '896a1403d9b7258c4fb0d41f3a6f70fd51eaa1115ab3f4259f3dbbe02b55766b'
 '46c021be659c9a1c4e55afd04df0c059af1f3d98a96338236412e449bf7477b4')
 



[arch-commits] Commit in bluez/trunk (PKGBUILD)

2014-06-29 Thread Andreas Radke
Date: Sunday, June 29, 2014 @ 10:42:14
  Author: andyrtr
Revision: 215560

upgpkg: bluez 5.20-1

upstream update 5.20

Modified:
  bluez/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-06-29 08:38:49 UTC (rev 215559)
+++ PKGBUILD2014-06-29 08:42:14 UTC (rev 215560)
@@ -5,7 +5,7 @@
 
 pkgbase=bluez
 pkgname=('bluez' 'bluez-utils' 'bluez-libs' 'bluez-cups' 'bluez-hid2hci' 
'bluez-plugins')
-pkgver=5.19
+pkgver=5.20
 pkgrel=1
 url=http://www.bluez.org/;
 arch=('i686' 'x86_64')
@@ -15,7 +15,7 @@
 0001-Allow-using-obexd-without-systemd-in-the-user-session.patch
 bluetooth.modprobe)
 # see https://www.kernel.org/pub/linux/bluetooth/sha256sums.asc
-sha256sums=('12778f3b66e71eec50eeb2e652de94a2578f33b8c8bd57c981fa00adab524c8a'
+sha256sums=('531fbaa0a9baf7b1f76fb8fd8975c20d3cc61cdc772a39d63df1d6abfc2a7481'
 '896a1403d9b7258c4fb0d41f3a6f70fd51eaa1115ab3f4259f3dbbe02b55766b'
 '46c021be659c9a1c4e55afd04df0c059af1f3d98a96338236412e449bf7477b4')
 



[arch-commits] Commit in bluez/trunk (PKGBUILD)

2014-05-23 Thread Andreas Radke
Date: Friday, May 23, 2014 @ 19:09:50
  Author: andyrtr
Revision: 213415

upgpkg: bluez 5.19-1

upstream update 5.19

Modified:
  bluez/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-05-23 11:11:07 UTC (rev 213414)
+++ PKGBUILD2014-05-23 17:09:50 UTC (rev 213415)
@@ -5,7 +5,7 @@
 
 pkgbase=bluez
 pkgname=('bluez' 'bluez-utils' 'bluez-libs' 'bluez-cups' 'bluez-hid2hci' 
'bluez-plugins')
-pkgver=5.18
+pkgver=5.19
 pkgrel=1
 url=http://www.bluez.org/;
 arch=('i686' 'x86_64')
@@ -15,7 +15,7 @@
 0001-Allow-using-obexd-without-systemd-in-the-user-session.patch
 bluetooth.modprobe)
 # see https://www.kernel.org/pub/linux/bluetooth/sha256sums.asc
-sha256sums=('8c8bb13db83d0de6c85def2da8dfa0a758aff595405fb57a00719ed94d558340'
+sha256sums=('12778f3b66e71eec50eeb2e652de94a2578f33b8c8bd57c981fa00adab524c8a'
 '896a1403d9b7258c4fb0d41f3a6f70fd51eaa1115ab3f4259f3dbbe02b55766b'
 '46c021be659c9a1c4e55afd04df0c059af1f3d98a96338236412e449bf7477b4')
 



[arch-commits] Commit in bluez/trunk (PKGBUILD)

2014-04-17 Thread Andreas Radke
Date: Thursday, April 17, 2014 @ 15:27:45
  Author: andyrtr
Revision: 211144

upgpkg: bluez 5.18-1

upstream update 5.18; disable test suite for now - it fails with glib2 from 
2.39 - upstream is aware of it

Modified:
  bluez/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-04-17 07:21:37 UTC (rev 211143)
+++ PKGBUILD2014-04-17 13:27:45 UTC (rev 211144)
@@ -5,7 +5,7 @@
 
 pkgbase=bluez
 pkgname=('bluez' 'bluez-utils' 'bluez-libs' 'bluez-cups' 'bluez-hid2hci' 
'bluez-plugins')
-pkgver=5.17
+pkgver=5.18
 pkgrel=1
 url=http://www.bluez.org/;
 arch=('i686' 'x86_64')
@@ -15,7 +15,7 @@
 0001-Allow-using-obexd-without-systemd-in-the-user-session.patch
 bluetooth.modprobe)
 # see https://www.kernel.org/pub/linux/bluetooth/sha256sums.asc
-sha256sums=('0bd7f009225fff83ba4b3697a6b04d04454ef2cd15d6bb2bd62591c44cfe973a'
+sha256sums=('8c8bb13db83d0de6c85def2da8dfa0a758aff595405fb57a00719ed94d558340'
 '896a1403d9b7258c4fb0d41f3a6f70fd51eaa1115ab3f4259f3dbbe02b55766b'
 '46c021be659c9a1c4e55afd04df0c059af1f3d98a96338236412e449bf7477b4')
 
@@ -44,7 +44,7 @@
 
 check() {
   cd $pkgname-$pkgver
-  make check
+  #make check
 }
 
 



[arch-commits] Commit in bluez/trunk (PKGBUILD)

2014-04-04 Thread Andreas Radke
Date: Friday, April 4, 2014 @ 15:10:07
  Author: andyrtr
Revision: 209802

upgpkg: bluez 5.17-1

upstream update 5.17

Modified:
  bluez/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-04-04 13:05:53 UTC (rev 209801)
+++ PKGBUILD2014-04-04 13:10:07 UTC (rev 209802)
@@ -5,7 +5,7 @@
 
 pkgbase=bluez
 pkgname=('bluez' 'bluez-utils' 'bluez-libs' 'bluez-cups' 'bluez-hid2hci' 
'bluez-plugins')
-pkgver=5.16
+pkgver=5.17
 pkgrel=1
 url=http://www.bluez.org/;
 arch=('i686' 'x86_64')
@@ -15,7 +15,7 @@
 0001-Allow-using-obexd-without-systemd-in-the-user-session.patch
 bluetooth.modprobe)
 # see https://www.kernel.org/pub/linux/bluetooth/sha256sums.asc
-sha256sums=('c8d5094a21a799dca9cdcd99651dc19d521af514b22b8178fc787c454cdbb163'
+sha256sums=('0bd7f009225fff83ba4b3697a6b04d04454ef2cd15d6bb2bd62591c44cfe973a'
 '896a1403d9b7258c4fb0d41f3a6f70fd51eaa1115ab3f4259f3dbbe02b55766b'
 '46c021be659c9a1c4e55afd04df0c059af1f3d98a96338236412e449bf7477b4')
 



[arch-commits] Commit in bluez/trunk (PKGBUILD)

2014-03-11 Thread Andreas Radke
Date: Tuesday, March 11, 2014 @ 18:58:56
  Author: andyrtr
Revision: 207517

upgpkg: bluez 5.16-1

upstream update 5.16

Modified:
  bluez/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-03-11 17:41:31 UTC (rev 207516)
+++ PKGBUILD2014-03-11 17:58:56 UTC (rev 207517)
@@ -5,7 +5,7 @@
 
 pkgbase=bluez
 pkgname=('bluez' 'bluez-utils' 'bluez-libs' 'bluez-cups' 'bluez-hid2hci' 
'bluez-plugins')
-pkgver=5.15
+pkgver=5.16
 pkgrel=1
 url=http://www.bluez.org/;
 arch=('i686' 'x86_64')
@@ -15,7 +15,7 @@
 0001-Allow-using-obexd-without-systemd-in-the-user-session.patch
 bluetooth.modprobe)
 # see https://www.kernel.org/pub/linux/bluetooth/sha256sums.asc
-sha256sums=('487bd75697e565793bf5bc4fbd5fa6a602788313b0c694f7542b81689fc0aa87'
+sha256sums=('c8d5094a21a799dca9cdcd99651dc19d521af514b22b8178fc787c454cdbb163'
 '896a1403d9b7258c4fb0d41f3a6f70fd51eaa1115ab3f4259f3dbbe02b55766b'
 '46c021be659c9a1c4e55afd04df0c059af1f3d98a96338236412e449bf7477b4')
 



[arch-commits] Commit in bluez/trunk (PKGBUILD)

2014-02-22 Thread Andreas Radke
Date: Saturday, February 22, 2014 @ 17:18:39
  Author: andyrtr
Revision: 206239

upgpkg: bluez 5.15-1

upstream update 5.15

Modified:
  bluez/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-02-22 16:13:13 UTC (rev 206238)
+++ PKGBUILD2014-02-22 16:18:39 UTC (rev 206239)
@@ -5,7 +5,7 @@
 
 pkgbase=bluez
 pkgname=('bluez' 'bluez-utils' 'bluez-libs' 'bluez-cups' 'bluez-hid2hci' 
'bluez-plugins')
-pkgver=5.14
+pkgver=5.15
 pkgrel=1
 url=http://www.bluez.org/;
 arch=('i686' 'x86_64')
@@ -15,7 +15,7 @@
 0001-Allow-using-obexd-without-systemd-in-the-user-session.patch
 bluetooth.modprobe)
 # see https://www.kernel.org/pub/linux/bluetooth/sha256sums.asc
-sha256sums=('5a485837c215f3093d3a98cb412dc99e1139f88a66c8809bdf183ad5e676395f'
+sha256sums=('487bd75697e565793bf5bc4fbd5fa6a602788313b0c694f7542b81689fc0aa87'
 '896a1403d9b7258c4fb0d41f3a6f70fd51eaa1115ab3f4259f3dbbe02b55766b'
 '46c021be659c9a1c4e55afd04df0c059af1f3d98a96338236412e449bf7477b4')
 



[arch-commits] Commit in bluez/trunk (PKGBUILD)

2014-01-25 Thread Andreas Radke
Date: Saturday, January 25, 2014 @ 18:19:05
  Author: andyrtr
Revision: 204711

fix pkgdesc; FS#38654

Modified:
  bluez/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-01-25 14:10:07 UTC (rev 204710)
+++ PKGBUILD2014-01-25 17:19:05 UTC (rev 204711)
@@ -135,7 +135,7 @@
 }
 
 package_bluez-plugins() {
-  pkgdesc=bluez plugins (PS3 sicaxis controller)
+  pkgdesc=bluez plugins (PS3 Sixaxis controller)
   depends=('systemd')
 
   cd ${pkgbase}-${pkgver}



[arch-commits] Commit in bluez/trunk (PKGBUILD)

2014-01-21 Thread Andreas Radke
Date: Tuesday, January 21, 2014 @ 13:44:56
  Author: andyrtr
Revision: 204502

upgpkg: bluez 5.14-1

upstream update 5.14

Modified:
  bluez/trunk/PKGBUILD

--+
 PKGBUILD |9 +
 1 file changed, 5 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-01-21 12:19:01 UTC (rev 204501)
+++ PKGBUILD2014-01-21 12:44:56 UTC (rev 204502)
@@ -5,7 +5,7 @@
 
 pkgbase=bluez
 pkgname=('bluez' 'bluez-utils' 'bluez-libs' 'bluez-cups' 'bluez-hid2hci' 
'bluez-plugins')
-pkgver=5.13
+pkgver=5.14
 pkgrel=1
 url=http://www.bluez.org/;
 arch=('i686' 'x86_64')
@@ -14,9 +14,10 @@
 source=(http://www.kernel.org/pub/linux/bluetooth/${pkgname}-${pkgver}.tar.xz
 0001-Allow-using-obexd-without-systemd-in-the-user-session.patch
 bluetooth.modprobe)
-md5sums=('c68f8cb270110256a684403ee43b5f79'
- 'ec97f23123456900446e8ab17361d6c2'
- '671c15e99d7154c2df987b71c5851b3d')
+# see https://www.kernel.org/pub/linux/bluetooth/sha256sums.asc
+sha256sums=('5a485837c215f3093d3a98cb412dc99e1139f88a66c8809bdf183ad5e676395f'
+'896a1403d9b7258c4fb0d41f3a6f70fd51eaa1115ab3f4259f3dbbe02b55766b'
+'46c021be659c9a1c4e55afd04df0c059af1f3d98a96338236412e449bf7477b4')
 
 prepare() {
   cd $pkgname-$pkgver



[arch-commits] Commit in bluez/trunk (PKGBUILD)

2013-12-27 Thread Andreas Radke
Date: Friday, December 27, 2013 @ 23:14:08
  Author: andyrtr
Revision: 202772

upgpkg: bluez 5.13-1

upstream update 5.13; add a bluez-plugins pkg for stuff like PS3 controller 
FS#38275

Modified:
  bluez/trunk/PKGBUILD

--+
 PKGBUILD |   20 +++-
 1 file changed, 15 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-12-27 14:33:26 UTC (rev 202771)
+++ PKGBUILD2013-12-27 22:14:08 UTC (rev 202772)
@@ -4,9 +4,9 @@
 # Contributor: Geoffroy Carrier geoff...@archlinux.org
 
 pkgbase=bluez
-pkgname=('bluez' 'bluez-utils' 'bluez-libs' 'bluez-cups' 'bluez-hid2hci')
-pkgver=5.12
-pkgrel=2
+pkgname=('bluez' 'bluez-utils' 'bluez-libs' 'bluez-cups' 'bluez-hid2hci' 
'bluez-plugins')
+pkgver=5.13
+pkgrel=1
 url=http://www.bluez.org/;
 arch=('i686' 'x86_64')
 license=('GPL2')
@@ -14,7 +14,7 @@
 source=(http://www.kernel.org/pub/linux/bluetooth/${pkgname}-${pkgver}.tar.xz
 0001-Allow-using-obexd-without-systemd-in-the-user-session.patch
 bluetooth.modprobe)
-md5sums=('5d37e581107b3d6f91b81194a5006407'
+md5sums=('c68f8cb270110256a684403ee43b5f79'
  'ec97f23123456900446e8ab17361d6c2'
  '671c15e99d7154c2df987b71c5851b3d')
 
@@ -34,6 +34,7 @@
   --sysconfdir=/etc \
   --localstatedir=/var \
   --libexecdir=/usr/lib \
+  --enable-sixaxis \
   --enable-library # this is deprecated
 #  --enable-experimental \
 
@@ -42,7 +43,7 @@
 
 check() {
   cd $pkgname-$pkgver
-  make -k check
+  make check
 }
 
 
@@ -131,3 +132,12 @@
   install -dm755 ${pkgdir}/usr/share/man/man1
   mv ${srcdir}/hid2hci.1 ${pkgdir}/usr/share/man/man1/hid2hci.1
 }
+
+package_bluez-plugins() {
+  pkgdesc=bluez plugins (PS3 sicaxis controller)
+  depends=('systemd')
+
+  cd ${pkgbase}-${pkgver}
+  make DESTDIR=${pkgdir} \
+   install-pluginLTLIBRARIES
+}



[arch-commits] Commit in bluez/trunk (PKGBUILD)

2013-12-15 Thread Andreas Radke
Date: Sunday, December 15, 2013 @ 13:13:59
  Author: andyrtr
Revision: 201566

upgpkg: bluez 5.12-2

ship upstream default config file

Modified:
  bluez/trunk/PKGBUILD

--+
 PKGBUILD |   12 ++--
 1 file changed, 10 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-12-15 09:17:41 UTC (rev 201565)
+++ PKGBUILD2013-12-15 12:13:59 UTC (rev 201566)
@@ -6,7 +6,7 @@
 pkgbase=bluez
 pkgname=('bluez' 'bluez-utils' 'bluez-libs' 'bluez-cups' 'bluez-hid2hci')
 pkgver=5.12
-pkgrel=1
+pkgrel=2
 url=http://www.bluez.org/;
 arch=('i686' 'x86_64')
 license=('GPL2')
@@ -49,10 +49,14 @@
 package_bluez() {
   pkgdesc=Daemons for the bluetooth protocol stack
   depends=('libical' 'dbus' 'glib2')
-  backup=('etc/dbus-1/system.d/bluetooth.conf')
+  backup=('etc/dbus-1/system.d/bluetooth.conf'
+  'etc/bluetooth/main.conf')
   conflicts=('obexd-client' 'obexd-server')
 
   cd ${pkgbase}-${pkgver}
+  #make DESTDIR=${pkgdir} install
+  #return 1
+  
   make DESTDIR=${pkgdir} \
install-libexecPROGRAMS \
install-dbussessionbusDATA \
@@ -62,6 +66,10 @@
install-dbusDATA \
install-man8
 
+  # ship upstream main config file
+  install -dm755 ${pkgdir}/etc/bluetooth
+  install -Dm644 ${srcdir}/${pkgbase}-${pkgver}/src/main.conf 
${pkgdir}/etc/bluetooth/main.conf
+
   # add basic documention
   install -dm755 ${pkgdir}/usr/share/doc/${pkgbase}/dbus-apis
   cp -a doc/*.txt ${pkgdir}/usr/share/doc/${pkgbase}/dbus-apis/



[arch-commits] Commit in bluez/trunk (PKGBUILD)

2013-12-11 Thread Andreas Radke
Date: Wednesday, December 11, 2013 @ 20:36:43
  Author: andyrtr
Revision: 201445

upgpkg: bluez 5.12-1

upstream update 5.12

Modified:
  bluez/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-12-11 19:01:51 UTC (rev 201444)
+++ PKGBUILD2013-12-11 19:36:43 UTC (rev 201445)
@@ -5,16 +5,16 @@
 
 pkgbase=bluez
 pkgname=('bluez' 'bluez-utils' 'bluez-libs' 'bluez-cups' 'bluez-hid2hci')
-pkgver=5.11
+pkgver=5.12
 pkgrel=1
 url=http://www.bluez.org/;
 arch=('i686' 'x86_64')
 license=('GPL2')
 makedepends=('dbus' 'libical' 'systemd')
-source=(http://www.kernel.org/pub/linux/bluetooth/${pkgname}-${pkgver}.tar.bz2
+source=(http://www.kernel.org/pub/linux/bluetooth/${pkgname}-${pkgver}.tar.xz
 0001-Allow-using-obexd-without-systemd-in-the-user-session.patch
 bluetooth.modprobe)
-md5sums=('c3675ed157a433b6de7391854b907b8c'
+md5sums=('5d37e581107b3d6f91b81194a5006407'
  'ec97f23123456900446e8ab17361d6c2'
  '671c15e99d7154c2df987b71c5851b3d')
 



[arch-commits] Commit in bluez/trunk (PKGBUILD)

2013-11-18 Thread Tom Gundersen
Date: Monday, November 18, 2013 @ 22:49:14
  Author: tomegun
Revision: 199915

upgpkg: bluez 5.11-1

upstream release

Modified:
  bluez/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-11-18 19:02:17 UTC (rev 199914)
+++ PKGBUILD2013-11-18 21:49:14 UTC (rev 199915)
@@ -5,8 +5,8 @@
 
 pkgbase=bluez
 pkgname=('bluez' 'bluez-utils' 'bluez-libs' 'bluez-cups' 'bluez-hid2hci')
-pkgver=5.10
-pkgrel=3
+pkgver=5.11
+pkgrel=1
 url=http://www.bluez.org/;
 arch=('i686' 'x86_64')
 license=('GPL2')
@@ -13,7 +13,7 @@
 makedepends=('dbus' 'libical' 'systemd')
 
source=(http://www.kernel.org/pub/linux/bluetooth/${pkgname}-${pkgver}.tar.bz2;
 bluetooth.modprobe)
-md5sums=('7dce03b332b3a3e7465fb88352b8a404'
+md5sums=('c3675ed157a433b6de7391854b907b8c'
  '671c15e99d7154c2df987b71c5851b3d')
 
 build() {



[arch-commits] Commit in bluez/trunk (PKGBUILD bluetooth.modprobe)

2013-11-06 Thread Andreas Radke
Date: Wednesday, November 6, 2013 @ 20:33:13
  Author: andyrtr
Revision: 199028

upgpkg: bluez 5.10-3

add api documentation; add a fix for btusb module loading that should solve 
some issues with broken devices

Added:
  bluez/trunk/bluetooth.modprobe
Modified:
  bluez/trunk/PKGBUILD

+
 PKGBUILD   |   17 +
 bluetooth.modprobe |3 +++
 2 files changed, 16 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-11-06 18:12:56 UTC (rev 199027)
+++ PKGBUILD2013-11-06 19:33:13 UTC (rev 199028)
@@ -6,13 +6,15 @@
 pkgbase=bluez
 pkgname=('bluez' 'bluez-utils' 'bluez-libs' 'bluez-cups' 'bluez-hid2hci')
 pkgver=5.10
-pkgrel=2
+pkgrel=3
 url=http://www.bluez.org/;
 arch=('i686' 'x86_64')
 license=('GPL2')
 makedepends=('dbus' 'libical' 'systemd')
-source=(http://www.kernel.org/pub/linux/bluetooth/${pkgname}-${pkgver}.tar.bz2;)
-md5sums=('7dce03b332b3a3e7465fb88352b8a404')
+source=(http://www.kernel.org/pub/linux/bluetooth/${pkgname}-${pkgver}.tar.bz2;
+bluetooth.modprobe)
+md5sums=('7dce03b332b3a3e7465fb88352b8a404'
+ '671c15e99d7154c2df987b71c5851b3d')
 
 build() {
   cd ${pkgname}-${pkgver}
@@ -26,7 +28,7 @@
   --enable-library # this is deprecated
 #  --enable-experimental \
 
-  make
+  make all V=1
 }
 
 check() {
@@ -50,6 +52,13 @@
install-dbussystembusDATA \
install-dbusDATA \
install-man8
+
+  # add basic documention
+  install -dm755 ${pkgdir}/usr/share/doc/${pkgbase}/dbus-apis
+  cp -a doc/*.txt ${pkgdir}/usr/share/doc/${pkgbase}/dbus-apis/
+  # fix module loading errors
+  install -dm755 ${pkgdir}/usr/lib/modprobe.d
+  install -Dm644 ${srcdir}/bluetooth.modprobe 
${pkgdir}/usr/lib/modprobe.d/bluetooth-usb.conf  
 }
 
 package_bluez-utils() {

Added: bluetooth.modprobe
===
--- bluetooth.modprobe  (rev 0)
+++ bluetooth.modprobe  2013-11-06 19:33:13 UTC (rev 199028)
@@ -0,0 +1,3 @@
+# use reset=1 as default, since it should be safe for recent devices and
+# solves all kind of problems.
+options btusb reset=1



[arch-commits] Commit in bluez/trunk (PKGBUILD)

2013-11-03 Thread Andreas Radke
Date: Sunday, November 3, 2013 @ 19:24:14
  Author: andyrtr
Revision: 198765

upgpkg: bluez 5.10-2

add check function; split out cups backend and hid2hci; use Makefile targets 
for splitting - moves btmon and bluetoothctl to utils pkg, both shouldn't be 
essientially needed in the core pkg

Modified:
  bluez/trunk/PKGBUILD

--+
 PKGBUILD |   91 +
 1 file changed, 62 insertions(+), 29 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-11-03 16:44:35 UTC (rev 198764)
+++ PKGBUILD2013-11-03 18:24:14 UTC (rev 198765)
@@ -4,9 +4,9 @@
 # Contributor: Geoffroy Carrier geoff...@archlinux.org
 
 pkgbase=bluez
-pkgname=('bluez' 'bluez-utils' 'bluez-libs')
+pkgname=('bluez' 'bluez-utils' 'bluez-libs' 'bluez-cups' 'bluez-hid2hci')
 pkgver=5.10
-pkgrel=1
+pkgrel=2
 url=http://www.bluez.org/;
 arch=('i686' 'x86_64')
 license=('GPL2')
@@ -15,7 +15,7 @@
 md5sums=('7dce03b332b3a3e7465fb88352b8a404')
 
 build() {
-  cd ${srcdir}/${pkgname}-${pkgver}
+  cd ${pkgname}-${pkgver}
 
   ./configure \
   --prefix=/usr \
@@ -24,51 +24,84 @@
   --localstatedir=/var \
   --libexecdir=/usr/lib \
   --enable-library # this is deprecated
+#  --enable-experimental \
 
   make
 }
 
+check() {
+  cd $pkgname-$pkgver
+  make -k check
+}
+
+
 package_bluez() {
   pkgdesc=Daemons for the bluetooth protocol stack
   depends=('libical' 'dbus' 'glib2')
-  optdepends=(cups: CUPS backend)
   backup=('etc/dbus-1/system.d/bluetooth.conf')
   conflicts=('obexd-client' 'obexd-server')
 
-  cd ${srcdir}/${pkgname}-${pkgver}
-  make DESTDIR=${pkgdir} install
+  cd ${pkgbase}-${pkgver}
+  make DESTDIR=${pkgdir} \
+   install-libexecPROGRAMS \
+   install-dbussessionbusDATA \
+   install-systemdsystemunitDATA \
+   install-systemduserunitDATA \
+   install-dbussystembusDATA \
+   install-dbusDATA \
+   install-man8
+}
 
-  ### split out bluez-utils
-  rm -rf $srcdir/_utils
-  install -dm755 $srcdir/_utils/usr/share/man
-  mv $pkgdir/usr/share/man/man1 $srcdir/_utils/usr/share/man/
-  install -dm755 $srcdir/_utils/usr/bin
-  mv 
$pkgdir/usr/bin/{bccmd,ciptool,hciattach,hciconfig,hcidump,hcitool,l2ping,l2test,rctest,rfcomm,sdptool}\
-  $srcdir/_utils/usr/bin/
-  install -dm755 $srcdir/_utils/usr/lib
-  mv $pkgdir/usr/lib/udev $srcdir/_utils/usr/lib/
+package_bluez-utils() {
+  pkgdesc=Development and debugging utilities for the bluetooth protocol 
stack
+  depends=('dbus' 'systemd')
+  conflicts=('bluez-hcidump')
+  provides=('bluez-hcidump')
+  replaces=('bluez-hcidump' 'bluez=4.101')
 
-  ### split out bluez-libs
-  rm -rf $srcdir/_libs
-  install -dm755 $srcdir/_libs/usr/lib/
-  mv $pkgdir/usr/lib/{pkgconfig,libbluetooth*} \
-  $srcdir/_libs/usr/lib/
-  mv $pkgdir/usr/include \
-  $srcdir/_libs/usr/
+  cd ${pkgbase}-${pkgver}
+  make DESTDIR=${pkgdir} \
+   install-binPROGRAMS \
+   install-man1
+
+  # libbluetooth.so* are part of libLTLIBRARIES and binPROGRAMS targets
+  #make DESTDIR=${pkgdir} uninstall-libLTLIBRARIES
+  #rmdir ${pkgdir}/usr/lib
+  rm -rf ${pkgdir}/usr/lib
+  
+  # move the hid2hci man page out
+  mv ${pkgdir}/usr/share/man/man1/hid2hci.1 ${srcdir}/
 }
 
 package_bluez-libs() {
   pkgdesc=Deprecated libraries for the bluetooth protocol stack
   depends=('glibc')
+  license=('LGPL2.1')
 
-  mv $srcdir/_libs/* $pkgdir
+  cd ${pkgbase}-${pkgver}
+  make DESTDIR=${pkgdir} \
+   install-includeHEADERS \
+   install-libLTLIBRARIES \
+   install-pkgconfigDATA
 }
-package_bluez-utils() {
-  pkgdesc=Development and debugging utilities for the bluetooth protocol 
stack
+
+package_bluez-cups() {
+  pkgdesc=CUPS printer backend for Bluetooth printers
+  depends=('cups')
+
+  cd ${pkgbase}-${pkgver}
+  make DESTDIR=${pkgdir} install-cupsPROGRAMS
+}
+
+package_bluez-hid2hci() {
+  pkgdesc=Put HID proxying bluetooth HCI's into HCI mode
   depends=('systemd')
-  conflicts=('bluez-hcidump')
-  provides=('bluez-hcidump')
-  replaces=('bluez-hcidump' 'bluez=4.101')
 
-  mv $srcdir/_utils/* $pkgdir
+  cd ${pkgbase}-${pkgver}
+  make DESTDIR=${pkgdir} \
+   install-udevPROGRAMS \
+   install-rulesDATA
+  
+  install -dm755 ${pkgdir}/usr/share/man/man1
+  mv ${srcdir}/hid2hci.1 ${pkgdir}/usr/share/man/man1/hid2hci.1
 }



[arch-commits] Commit in bluez/trunk (PKGBUILD)

2013-11-02 Thread Andreas Radke
Date: Saturday, November 2, 2013 @ 09:32:25
  Author: andyrtr
Revision: 198708

upgpkg: bluez 5.10-1

upstream update 5.10

Modified:
  bluez/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-11-02 08:25:46 UTC (rev 198707)
+++ PKGBUILD2013-11-02 08:32:25 UTC (rev 198708)
@@ -12,6 +12,7 @@
 license=('GPL2')
 makedepends=('dbus' 'libical' 'systemd')
 
source=(http://www.kernel.org/pub/linux/bluetooth/${pkgname}-${pkgver}.tar.bz2;)
+md5sums=('7dce03b332b3a3e7465fb88352b8a404')
 
 build() {
   cd ${srcdir}/${pkgname}-${pkgver}
@@ -71,4 +72,3 @@
 
   mv $srcdir/_utils/* $pkgdir
 }
-md5sums=('7dce03b332b3a3e7465fb88352b8a404')



[arch-commits] Commit in bluez/trunk (PKGBUILD)

2013-10-25 Thread Tom Gundersen
Date: Friday, October 25, 2013 @ 11:46:35
  Author: tomegun
Revision: 197387

upgpkg: bluez 5.10-1

upstream release

Modified:
  bluez/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-10-25 08:45:00 UTC (rev 197386)
+++ PKGBUILD2013-10-25 09:46:35 UTC (rev 197387)
@@ -5,7 +5,7 @@
 
 pkgbase=bluez
 pkgname=('bluez' 'bluez-utils' 'bluez-libs')
-pkgver=5.9
+pkgver=5.10
 pkgrel=1
 url=http://www.bluez.org/;
 arch=('i686' 'x86_64')
@@ -72,4 +72,4 @@
 
   mv $srcdir/_utils/* $pkgdir
 }
-md5sums=('6edaf60d09ee32942a739f80ea847db1')
+md5sums=('7dce03b332b3a3e7465fb88352b8a404')



[arch-commits] Commit in bluez/trunk (PKGBUILD)

2013-09-18 Thread Tom Gundersen
Date: Wednesday, September 18, 2013 @ 13:31:47
  Author: tomegun
Revision: 194545

upgpkg: bluez 5.9-1

upstream release

Modified:
  bluez/trunk/PKGBUILD

--+
 PKGBUILD |8 
 1 file changed, 4 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-09-18 11:15:54 UTC (rev 194544)
+++ PKGBUILD2013-09-18 11:31:47 UTC (rev 194545)
@@ -5,12 +5,12 @@
 
 pkgbase=bluez
 pkgname=('bluez' 'bluez-utils' 'bluez-libs')
-pkgver=5.8
+pkgver=5.9
 pkgrel=1
 url=http://www.bluez.org/;
 arch=('i686' 'x86_64')
 license=('GPL2')
-makedepends=('libusb-compat' 'dbus' 'libical' 'systemd')
+makedepends=('dbus' 'libical' 'systemd')
 options=(!libtool)
 
source=(http://www.kernel.org/pub/linux/bluetooth/${pkgname}-${pkgver}.tar.bz2;)
 
@@ -65,7 +65,7 @@
 }
 package_bluez-utils() {
   pkgdesc=Development and debugging utilities for the bluetooth protocol 
stack
-  depends=('systemd' 'libusb-compat')
+  depends=('systemd')
   conflicts=('bluez-hcidump')
   provides=('bluez-hcidump')
   replaces=('bluez-hcidump' 'bluez=4.101')
@@ -72,4 +72,4 @@
 
   mv $srcdir/_utils/* $pkgdir
 }
-md5sums=('ed9ebe57d02a243c92af21cc13d3ee69')
+md5sums=('6edaf60d09ee32942a739f80ea847db1')



[arch-commits] Commit in bluez/trunk (PKGBUILD)

2013-09-14 Thread Tom Gundersen
Date: Saturday, September 14, 2013 @ 14:11:29
  Author: tomegun
Revision: 194353

upgpkg: bluez 5.8-1

upstream release

Modified:
  bluez/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-09-14 11:25:10 UTC (rev 194352)
+++ PKGBUILD2013-09-14 12:11:29 UTC (rev 194353)
@@ -5,7 +5,7 @@
 
 pkgbase=bluez
 pkgname=('bluez' 'bluez-utils' 'bluez-libs')
-pkgver=5.7
+pkgver=5.8
 pkgrel=1
 url=http://www.bluez.org/;
 arch=('i686' 'x86_64')
@@ -72,4 +72,4 @@
 
   mv $srcdir/_utils/* $pkgdir
 }
-md5sums=('eb883ce61753bd3f300a531bcc2af49e')
+md5sums=('ed9ebe57d02a243c92af21cc13d3ee69')



[arch-commits] Commit in bluez/trunk (PKGBUILD)

2013-07-02 Thread Tom Gundersen
Date: Tuesday, July 2, 2013 @ 14:36:56
  Author: tomegun
Revision: 189291

upgpkg: bluez 5.7-1

upstream release

Modified:
  bluez/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-07-02 11:12:21 UTC (rev 189290)
+++ PKGBUILD2013-07-02 12:36:56 UTC (rev 189291)
@@ -5,8 +5,8 @@
 
 pkgbase=bluez
 pkgname=('bluez' 'bluez-utils' 'bluez-libs')
-pkgver=5.5
-pkgrel=3
+pkgver=5.7
+pkgrel=1
 url=http://www.bluez.org/;
 arch=('i686' 'x86_64')
 license=('GPL2')
@@ -72,4 +72,4 @@
 
   mv $srcdir/_utils/* $pkgdir
 }
-md5sums=('cfe6bd2f7f3f45f689b3a21a6ba59edd')
+md5sums=('eb883ce61753bd3f300a531bcc2af49e')



[arch-commits] Commit in bluez/trunk (PKGBUILD)

2013-06-11 Thread Tom Gundersen
Date: Tuesday, June 11, 2013 @ 18:25:29
  Author: tomegun
Revision: 188172

upgpkg: bluez 5.5-3

make bluez-utils replace bluez=4.101

Modified:
  bluez/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-06-11 16:24:06 UTC (rev 188171)
+++ PKGBUILD2013-06-11 16:25:29 UTC (rev 188172)
@@ -6,7 +6,7 @@
 pkgbase=bluez
 pkgname=('bluez' 'bluez-utils' 'bluez-libs')
 pkgver=5.5
-pkgrel=2
+pkgrel=3
 url=http://www.bluez.org/;
 arch=('i686' 'x86_64')
 license=('GPL2')
@@ -68,7 +68,7 @@
   depends=('systemd' 'libusb-compat')
   conflicts=('bluez-hcidump')
   provides=('bluez-hcidump')
-  replaces=('bluez-hcidump')
+  replaces=('bluez-hcidump' 'bluez=4.101')
 
   mv $srcdir/_utils/* $pkgdir
 }



[arch-commits] Commit in bluez/trunk (PKGBUILD bluetooth.conf.d rc.bluetooth)

2013-06-01 Thread Tom Gundersen
Date: Saturday, June 1, 2013 @ 11:09:11
  Author: tomegun
Revision: 186932

upgpkg: bluez 5.5-1

add bluez5

The package is split in three:

bluez: the new daemon (conflicts with bluez4)
bluez-libs: deprecated libraries, no soname bump
bluez-utils: development/debug tools

Modified:
  bluez/trunk/PKGBUILD
Deleted:
  bluez/trunk/bluetooth.conf.d
  bluez/trunk/rc.bluetooth

--+
 PKGBUILD |  121 -
 bluetooth.conf.d |   30 -
 rc.bluetooth |   93 
 3 files changed, 55 insertions(+), 189 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-06-01 08:50:20 UTC (rev 186931)
+++ PKGBUILD2013-06-01 09:09:11 UTC (rev 186932)
@@ -3,86 +3,75 @@
 # Contributor: Andrea Scarpino and...@archlinux.org
 # Contributor: Geoffroy Carrier geoff...@archlinux.org
 
-pkgname=bluez
-pkgver=4.101
-pkgrel=2
-pkgdesc=Libraries and tools for the Bluetooth protocol stack
+pkgbase=bluez
+pkgname=('bluez' 'bluez-utils' 'bluez-libs')
+pkgver=5.5
+pkgrel=1
 url=http://www.bluez.org/;
 arch=('i686' 'x86_64')
 license=('GPL2')
-depends=('dbus-core' 'python2' 'systemd-tools')
-makedepends=('gstreamer0.10-base' 'libusb-compat' 'libsndfile' 'libusbx')
-optdepends=(gstreamer0.10-base: bluetooth GStreamer support
-alsa-lib: Audio bluetooth devices support
-python2-dbus: to run bluez-simple-agent
-python2-gobject: to run bluez-simple-agent
-libusb-compat: USB adapters support
-cups: CUPS backend)
-conflicts=('bluez-libs' 'bluez-utils')
-provides=('bluez-libs' 'bluez-utils')
-replaces=('bluez-libs' 'bluez-utils')
-options=('!libtool')
-backup=(etc/bluetooth/{main,rfcomm,audio,network,input,serial}.conf
-'etc/conf.d/bluetooth' 'etc/dbus-1/system.d/bluetooth.conf')
-source=(http://www.kernel.org/pub/linux/bluetooth/${pkgname}-${pkgver}.tar.bz2;
-'bluetooth.conf.d'
-   'rc.bluetooth')
+makedepends=('libusb-compat' 'dbus' 'libical' 'systemd')
+options=(!libtool)
+source=(http://www.kernel.org/pub/linux/bluetooth/${pkgname}-${pkgver}.tar.bz2;)
 
 build() {
   cd ${srcdir}/${pkgname}-${pkgver}
 
-  ./configure --prefix=/usr \
---sysconfdir=/etc \
---localstatedir=/var \
---libexecdir=/lib \
---enable-gstreamer \
---enable-alsa \
---enable-usb \
---enable-tools \
---enable-bccmd \
---enable-dfutool \
---enable-hid2hci \
---enable-hidd \
---enable-pand \
---enable-dund \
---enable-cups \
---enable-wiimote \
---disable-test \
---with-systemdunitdir=/usr/lib/systemd/system
+  ./configure \
+  --prefix=/usr \
+  --mandir=/usr/share/man \
+  --sysconfdir=/etc \
+  --localstatedir=/var \
+  --libexecdir=/usr/lib \
+  --enable-library # this is deprecated
 
   make
 }
 
-package() {
+package_bluez() {
+  pkgdesc=Daemons for the bluetooth protocol stack
+  depends=('libical' 'dbus' 'glib2')
+  optdepends=(cups: CUPS backend)
+  backup=('etc/dbus-1/system.d/bluetooth.conf')
+  conflicts=('obexd-client' 'obexd-server')
+  provides=('obexd-client' 'obexd-server')
+  replaces=('obexd-client' 'obexd-server')
+
   cd ${srcdir}/${pkgname}-${pkgver}
   make DESTDIR=${pkgdir} install
 
-  install -Dm755 ${srcdir}/rc.bluetooth ${pkgdir}/etc/rc.d/bluetooth
-  
-  install -d ${pkgdir}/etc/bluetooth
-  install -m644 network/network.conf \
-input/input.conf \
-audio/audio.conf \
-serial/serial.conf \
-${pkgdir}/etc/bluetooth/
-  
-  install -Dm644 ${srcdir}/bluetooth.conf.d \
-${pkgdir}/etc/conf.d/bluetooth
+  ### split out bluez-utils
+  rm -rf $srcdir/_utils
+  install -dm755 $srcdir/_utils/usr/share/man
+  mv $pkgdir/usr/share/man/man1 $srcdir/_utils/usr/share/man/
+  install -dm755 $srcdir/_utils/usr/bin
+  mv 
$pkgdir/usr/bin/{bccmd,ciptool,hciattach,hciconfig,hcidump,hcitool,l2ping,l2test,rctest,rfcomm,sdptool}\
+  $srcdir/_utils/usr/bin/
+  install -dm755 $srcdir/_utils/usr/lib
+  mv $pkgdir/usr/lib/udev $srcdir/_utils/usr/lib/
 
-  # FS#27630
-  install -Dm755 test/simple-agent ${pkgdir}/usr/bin/bluez-simple-agent
-  install -Dm755 test/test-device ${pkgdir}/usr/bin/bluez-test-device
-  install -Dm755 test/test-input ${pkgdir}/usr/bin/bluez-test-input
-  sed -i 's#/usr/bin/python#/usr/bin/python2#' \
-${pkgdir}/usr/bin/bluez-simple-agent \
-${pkgdir}/usr/bin/bluez-test-device \
-${pkgdir}/usr/bin/bluez-test-input
+  ### split out bluez-libs
+  rm -rf $srcdir/_libs
+  install -dm755 $srcdir/_libs/usr/lib/
+  mv $pkgdir/usr/lib/{pkgconfig,libbluetooth*} \
+  $srcdir/_libs/usr/lib/
+  mv $pkgdir/usr/include \
+  $srcdir/_libs/usr/
+}
 
-# usrmove
-cd $pkgdir
-mv usr/sbin/* usr/bin
-rmdir usr/sbin
+package_bluez-libs() {
+  pkgdesc=Deprecated libraries for 

[arch-commits] Commit in bluez/trunk (PKGBUILD)

2013-06-01 Thread Tom Gundersen
Date: Saturday, June 1, 2013 @ 16:46:22
  Author: tomegun
Revision: 186958

upgpkg: bluez 5.5-2

we don't want to automatically update obexd

Modified:
  bluez/trunk/PKGBUILD

--+
 PKGBUILD |4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-06-01 13:25:46 UTC (rev 186957)
+++ PKGBUILD2013-06-01 14:46:22 UTC (rev 186958)
@@ -6,7 +6,7 @@
 pkgbase=bluez
 pkgname=('bluez' 'bluez-utils' 'bluez-libs')
 pkgver=5.5
-pkgrel=1
+pkgrel=2
 url=http://www.bluez.org/;
 arch=('i686' 'x86_64')
 license=('GPL2')
@@ -34,8 +34,6 @@
   optdepends=(cups: CUPS backend)
   backup=('etc/dbus-1/system.d/bluetooth.conf')
   conflicts=('obexd-client' 'obexd-server')
-  provides=('obexd-client' 'obexd-server')
-  replaces=('obexd-client' 'obexd-server')
 
   cd ${srcdir}/${pkgname}-${pkgver}
   make DESTDIR=${pkgdir} install



[arch-commits] Commit in bluez/trunk (PKGBUILD bluetooth.conf.d rc.bluetooth)

2013-05-30 Thread Tom Gundersen
Date: Thursday, May 30, 2013 @ 14:10:06
  Author: tomegun
Revision: 186634

upgpkg: bluez 4.101-2

usrmove

Added:
  bluez/trunk/bluetooth.conf.d
(from rev 180782, bluez/trunk/bluetooth.conf.d)
  bluez/trunk/rc.bluetooth
(from rev 180782, bluez/trunk/rc.bluetooth)
Modified:
  bluez/trunk/PKGBUILD

--+
 PKGBUILD |  121 -
 bluetooth.conf.d |   30 +
 rc.bluetooth |   93 
 3 files changed, 189 insertions(+), 55 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-05-30 10:57:28 UTC (rev 186633)
+++ PKGBUILD2013-05-30 12:10:06 UTC (rev 186634)
@@ -3,75 +3,86 @@
 # Contributor: Andrea Scarpino and...@archlinux.org
 # Contributor: Geoffroy Carrier geoff...@archlinux.org
 
-pkgbase=bluez
-pkgname=('bluez' 'bluez-utils' 'bluez-libs')
-pkgver=5.3
-pkgrel=1
+pkgname=bluez
+pkgver=4.101
+pkgrel=2
+pkgdesc=Libraries and tools for the Bluetooth protocol stack
 url=http://www.bluez.org/;
 arch=('i686' 'x86_64')
 license=('GPL2')
-makedepends=('libusb-compat' 'dbus' 'libical' 'systemd')
-options=(!libtool)
-source=(http://www.kernel.org/pub/linux/bluetooth/${pkgname}-${pkgver}.tar.bz2;)
+depends=('dbus-core' 'python2' 'systemd-tools')
+makedepends=('gstreamer0.10-base' 'libusb-compat' 'libsndfile' 'libusbx')
+optdepends=(gstreamer0.10-base: bluetooth GStreamer support
+alsa-lib: Audio bluetooth devices support
+python2-dbus: to run bluez-simple-agent
+python2-gobject: to run bluez-simple-agent
+libusb-compat: USB adapters support
+cups: CUPS backend)
+conflicts=('bluez-libs' 'bluez-utils')
+provides=('bluez-libs' 'bluez-utils')
+replaces=('bluez-libs' 'bluez-utils')
+options=('!libtool')
+backup=(etc/bluetooth/{main,rfcomm,audio,network,input,serial}.conf
+'etc/conf.d/bluetooth' 'etc/dbus-1/system.d/bluetooth.conf')
+source=(http://www.kernel.org/pub/linux/bluetooth/${pkgname}-${pkgver}.tar.bz2;
+'bluetooth.conf.d'
+   'rc.bluetooth')
 
 build() {
   cd ${srcdir}/${pkgname}-${pkgver}
 
-  ./configure \
-  --prefix=/usr \
-  --mandir=/usr/share/man \
-  --sysconfdir=/etc \
-  --localstatedir=/var \
-  --libexecdir=/usr/lib \
-  --enable-library # this is deprecated
+  ./configure --prefix=/usr \
+--sysconfdir=/etc \
+--localstatedir=/var \
+--libexecdir=/lib \
+--enable-gstreamer \
+--enable-alsa \
+--enable-usb \
+--enable-tools \
+--enable-bccmd \
+--enable-dfutool \
+--enable-hid2hci \
+--enable-hidd \
+--enable-pand \
+--enable-dund \
+--enable-cups \
+--enable-wiimote \
+--disable-test \
+--with-systemdunitdir=/usr/lib/systemd/system
 
   make
 }
 
-package_bluez() {
-  pkgdesc=Daemons for the bluetooth protocol stack
-  depends=('libical' 'dbus' 'glib2')
-  optdepends=(cups: CUPS backend)
-  backup=('etc/dbus-1/system.d/bluetooth.conf')
-  conflicts=('obexd-client' 'obexd-server')
-  provides=('obexd-client' 'obexd-server')
-  replaces=('obexd-client' 'obexd-server')
-
+package() {
   cd ${srcdir}/${pkgname}-${pkgver}
   make DESTDIR=${pkgdir} install
 
-  ### split out bluez-utils
-  rm -rf $srcdir/_utils
-  install -dm755 $srcdir/_utils/usr/share/man
-  mv $pkgdir/usr/share/man/man1 $srcdir/_utils/usr/share/man/
-  install -dm755 $srcdir/_utils/usr/bin
-  mv 
$pkgdir/usr/bin/{bccmd,ciptool,hciattach,hciconfig,hcidump,hcitool,l2ping,l2test,rctest,rfcomm,sdptool}\
-  $srcdir/_utils/usr/bin/
-  install -dm755 $srcdir/_utils/usr/lib
-  mv $pkgdir/usr/lib/udev $srcdir/_utils/usr/lib/
+  install -Dm755 ${srcdir}/rc.bluetooth ${pkgdir}/etc/rc.d/bluetooth
+  
+  install -d ${pkgdir}/etc/bluetooth
+  install -m644 network/network.conf \
+input/input.conf \
+audio/audio.conf \
+serial/serial.conf \
+${pkgdir}/etc/bluetooth/
+  
+  install -Dm644 ${srcdir}/bluetooth.conf.d \
+${pkgdir}/etc/conf.d/bluetooth
 
-  ### split out bluez-libs
-  rm -rf $srcdir/_libs
-  install -dm755 $srcdir/_libs/usr/lib/
-  mv $pkgdir/usr/lib/{pkgconfig,libbluetooth*} \
-  $srcdir/_libs/usr/lib/
-  mv $pkgdir/usr/include \
-  $srcdir/_libs/usr/
-}
+  # FS#27630
+  install -Dm755 test/simple-agent ${pkgdir}/usr/bin/bluez-simple-agent
+  install -Dm755 test/test-device ${pkgdir}/usr/bin/bluez-test-device
+  install -Dm755 test/test-input ${pkgdir}/usr/bin/bluez-test-input
+  sed -i 's#/usr/bin/python#/usr/bin/python2#' \
+${pkgdir}/usr/bin/bluez-simple-agent \
+${pkgdir}/usr/bin/bluez-test-device \
+${pkgdir}/usr/bin/bluez-test-input
 
-package_bluez-libs() {
-  pkgdesc=Deprecated libraries for the bluetooth protocol stack
-  depends=('glibc')
-
-  mv $srcdir/_libs/* $pkgdir
+# usrmove
+cd $pkgdir
+mv usr/sbin/* usr/bin
+

[arch-commits] Commit in bluez/trunk (PKGBUILD bluetooth.conf.d rc.bluetooth)

2013-03-26 Thread Tom Gundersen
Date: Tuesday, March 26, 2013 @ 11:32:42
  Author: tomegun
Revision: 180783

update to bluez-5.3

Not pushing the package as we want to wait for a few more users to be converted.

Modified:
  bluez/trunk/PKGBUILD
Deleted:
  bluez/trunk/bluetooth.conf.d
  bluez/trunk/rc.bluetooth

--+
 PKGBUILD |  116 +
 bluetooth.conf.d |   30 -
 rc.bluetooth |   93 --
 3 files changed, 55 insertions(+), 184 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-03-26 10:30:32 UTC (rev 180782)
+++ PKGBUILD2013-03-26 10:32:42 UTC (rev 180783)
@@ -3,81 +3,75 @@
 # Contributor: Andrea Scarpino and...@archlinux.org
 # Contributor: Geoffroy Carrier geoff...@archlinux.org
 
-pkgname=bluez
-pkgver=4.101
+pkgbase=bluez
+pkgname=('bluez' 'bluez-utils' 'bluez-libs')
+pkgver=5.3
 pkgrel=1
-pkgdesc=Libraries and tools for the Bluetooth protocol stack
 url=http://www.bluez.org/;
 arch=('i686' 'x86_64')
 license=('GPL2')
-depends=('dbus-core' 'python2' 'systemd-tools')
-makedepends=('gstreamer0.10-base' 'libusb-compat' 'libsndfile' 'libusbx')
-optdepends=(gstreamer0.10-base: bluetooth GStreamer support
-alsa-lib: Audio bluetooth devices support
-python2-dbus: to run bluez-simple-agent
-python2-gobject: to run bluez-simple-agent
-libusb-compat: USB adapters support
-cups: CUPS backend)
-conflicts=('bluez-libs' 'bluez-utils')
-provides=('bluez-libs' 'bluez-utils')
-replaces=('bluez-libs' 'bluez-utils')
-options=('!libtool')
-backup=(etc/bluetooth/{main,rfcomm,audio,network,input,serial}.conf
-'etc/conf.d/bluetooth' 'etc/dbus-1/system.d/bluetooth.conf')
-source=(http://www.kernel.org/pub/linux/bluetooth/${pkgname}-${pkgver}.tar.bz2;
-'bluetooth.conf.d'
-   'rc.bluetooth')
+makedepends=('libusb-compat' 'dbus' 'libical' 'systemd')
+options=(!libtool)
+source=(http://www.kernel.org/pub/linux/bluetooth/${pkgname}-${pkgver}.tar.bz2;)
 
 build() {
   cd ${srcdir}/${pkgname}-${pkgver}
 
-  ./configure --prefix=/usr \
---sysconfdir=/etc \
---localstatedir=/var \
---libexecdir=/lib \
---enable-gstreamer \
---enable-alsa \
---enable-usb \
---enable-tools \
---enable-bccmd \
---enable-dfutool \
---enable-hid2hci \
---enable-hidd \
---enable-pand \
---enable-dund \
---enable-cups \
---enable-wiimote \
---disable-test \
---with-systemdunitdir=/usr/lib/systemd/system
+  ./configure \
+  --prefix=/usr \
+  --mandir=/usr/share/man \
+  --sysconfdir=/etc \
+  --localstatedir=/var \
+  --libexecdir=/usr/lib \
+  --enable-library # this is deprecated
 
   make
 }
 
-package() {
+package_bluez() {
+  pkgdesc=Daemons for the bluetooth protocol stack
+  depends=('libical' 'dbus' 'glib2')
+  optdepends=(cups: CUPS backend)
+  backup=('etc/dbus-1/system.d/bluetooth.conf')
+  conflicts=('obexd-client' 'obexd-server')
+  provides=('obexd-client' 'obexd-server')
+  replaces=('obexd-client' 'obexd-server')
+
   cd ${srcdir}/${pkgname}-${pkgver}
   make DESTDIR=${pkgdir} install
 
-  install -Dm755 ${srcdir}/rc.bluetooth ${pkgdir}/etc/rc.d/bluetooth
-  
-  install -d ${pkgdir}/etc/bluetooth
-  install -m644 network/network.conf \
-input/input.conf \
-audio/audio.conf \
-serial/serial.conf \
-${pkgdir}/etc/bluetooth/
-  
-  install -Dm644 ${srcdir}/bluetooth.conf.d \
-${pkgdir}/etc/conf.d/bluetooth
+  ### split out bluez-utils
+  rm -rf $srcdir/_utils
+  install -dm755 $srcdir/_utils/usr/share/man
+  mv $pkgdir/usr/share/man/man1 $srcdir/_utils/usr/share/man/
+  install -dm755 $srcdir/_utils/usr/bin
+  mv 
$pkgdir/usr/bin/{bccmd,ciptool,hciattach,hciconfig,hcidump,hcitool,l2ping,l2test,rctest,rfcomm,sdptool}\
+  $srcdir/_utils/usr/bin/
+  install -dm755 $srcdir/_utils/usr/lib
+  mv $pkgdir/usr/lib/udev $srcdir/_utils/usr/lib/
 
-  # FS#27630
-  install -Dm755 test/simple-agent ${pkgdir}/usr/bin/bluez-simple-agent
-  install -Dm755 test/test-device ${pkgdir}/usr/bin/bluez-test-device
-  install -Dm755 test/test-input ${pkgdir}/usr/bin/bluez-test-input
-  sed -i 's#/usr/bin/python#/usr/bin/python2#' \
-${pkgdir}/usr/bin/bluez-simple-agent \
-${pkgdir}/usr/bin/bluez-test-device \
-${pkgdir}/usr/bin/bluez-test-input
+  ### split out bluez-libs
+  rm -rf $srcdir/_libs
+  install -dm755 $srcdir/_libs/usr/lib/
+  mv $pkgdir/usr/lib/{pkgconfig,libbluetooth*} \
+  $srcdir/_libs/usr/lib/
+  mv $pkgdir/usr/include \
+  $srcdir/_libs/usr/
 }
-md5sums=('902b390af95c6c5d6d1a17d94c8344ab'
- '7412982b440f29fa7f76a41a87fef985'
- '864cbd24e6efc3592e9284b0b5fb2cfd')
+
+package_bluez-libs() {
+  pkgdesc=Deprecated libraries for the bluetooth protocol stack
+  depends=('glibc')
+
+  mv 

[arch-commits] Commit in bluez/trunk (PKGBUILD)

2012-07-24 Thread Tom Gundersen
Date: Tuesday, July 24, 2012 @ 05:45:26
  Author: tomegun
Revision: 164020

rename optdepends

Reported-by: Jelle van der Waa je...@vdwaa.nl

Modified:
  bluez/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2012-07-24 08:38:21 UTC (rev 164019)
+++ PKGBUILD2012-07-24 09:45:26 UTC (rev 164020)
@@ -14,8 +14,8 @@
 makedepends=('gstreamer0.10-base' 'libusb-compat' 'libsndfile' 'libusbx')
 optdepends=(gstreamer0.10-base: bluetooth GStreamer support
 alsa-lib: Audio bluetooth devices support
-dbus-python: to run bluez-simple-agent
-pygobject: to run bluez-simple-agent
+python2-dbus: to run bluez-simple-agent
+python2-gobject: to run bluez-simple-agent
 libusb-compat: USB adapters support
 cups: CUPS backend)
 conflicts=('bluez-libs' 'bluez-utils')



[arch-commits] Commit in bluez/trunk (PKGBUILD org.bluez.service)

2012-06-23 Thread Tom Gundersen
Date: Saturday, June 23, 2012 @ 07:07:24
  Author: tomegun
Revision: 162192

upgpkg: bluez 4.101-1

upstream release

Modified:
  bluez/trunk/PKGBUILD
Deleted:
  bluez/trunk/org.bluez.service

---+
 PKGBUILD  |   14 +-
 org.bluez.service |5 -
 2 files changed, 5 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2012-06-23 11:04:40 UTC (rev 162191)
+++ PKGBUILD2012-06-23 11:07:24 UTC (rev 162192)
@@ -4,8 +4,8 @@
 # Contributor: Geoffroy Carrier geoff...@archlinux.org
 
 pkgname=bluez
-pkgver=4.100
-pkgrel=2
+pkgver=4.101
+pkgrel=1
 pkgdesc=Libraries and tools for the Bluetooth protocol stack
 url=http://www.bluez.org/;
 arch=('i686' 'x86_64')
@@ -26,14 +26,11 @@
 'etc/conf.d/bluetooth' 'etc/dbus-1/system.d/bluetooth.conf')
 
source=(http://www.kernel.org/pub/linux/bluetooth/${pkgname}-${pkgver}.tar.bz2;
 'bluetooth.conf.d'
-   'rc.bluetooth'
-   'org.bluez.service')
+   'rc.bluetooth')
 
 build() {
   cd ${srcdir}/${pkgname}-${pkgver}
 
-  cp ../org.bluez.service src/
-
   ./configure --prefix=/usr \
 --sysconfdir=/etc \
 --localstatedir=/var \
@@ -81,7 +78,6 @@
 ${pkgdir}/usr/bin/bluez-test-device \
 ${pkgdir}/usr/bin/bluez-test-input
 }
-md5sums=('54809d476c52665ff64594b6828016b5'
+md5sums=('902b390af95c6c5d6d1a17d94c8344ab'
  '7412982b440f29fa7f76a41a87fef985'
- '864cbd24e6efc3592e9284b0b5fb2cfd'
- '54c7de598327bf11d56592235d0702f4')
+ '864cbd24e6efc3592e9284b0b5fb2cfd')

Deleted: org.bluez.service
===
--- org.bluez.service   2012-06-23 11:04:40 UTC (rev 162191)
+++ org.bluez.service   2012-06-23 11:07:24 UTC (rev 162192)
@@ -1,5 +0,0 @@
-[D-BUS Service]
-Name=org.bluez
-Exec=/bin/false
-User=root
-SystemdService=dbus-org.bluez.service



[arch-commits] Commit in bluez/trunk (PKGBUILD rc.bluetooth)

2012-06-20 Thread Tom Gundersen
Date: Wednesday, June 20, 2012 @ 06:11:10
  Author: tomegun
Revision: 162113

upgpkg: bluez 4.100-2

tidy up the rc script a bit

Modified:
  bluez/trunk/PKGBUILD
  bluez/trunk/rc.bluetooth

--+
 PKGBUILD |4 ++--
 rc.bluetooth |   25 +
 2 files changed, 11 insertions(+), 18 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2012-06-20 09:34:34 UTC (rev 162112)
+++ PKGBUILD2012-06-20 10:11:10 UTC (rev 162113)
@@ -5,7 +5,7 @@
 
 pkgname=bluez
 pkgver=4.100
-pkgrel=1
+pkgrel=2
 pkgdesc=Libraries and tools for the Bluetooth protocol stack
 url=http://www.bluez.org/;
 arch=('i686' 'x86_64')
@@ -83,5 +83,5 @@
 }
 md5sums=('54809d476c52665ff64594b6828016b5'
  '7412982b440f29fa7f76a41a87fef985'
- '8f9498707f809506928b2e480d3b6789'
+ '864cbd24e6efc3592e9284b0b5fb2cfd'
  '54c7de598327bf11d56592235d0702f4')

Modified: rc.bluetooth
===
--- rc.bluetooth2012-06-20 09:34:34 UTC (rev 162112)
+++ rc.bluetooth2012-06-20 10:11:10 UTC (rev 162113)
@@ -21,14 +21,14 @@
 DAEMON_ENABLE=true
 HIDD_ENABLE=false
 RFCOMM_ENABLE=false
+PAND_ENABLE=false
 DUND_ENABLE=false
-PAND_ENABLE=false
 
 RFCOMM_CONFIG=/etc/bluetooth/rfcomm.conf
 
 HIDD_OPTIONS=
+PAND_OPTIONS=
 DUND_OPTIONS=
-PAND_OPTIONS=
 
 [ -f /etc/conf.d/bluetooth ]  . /etc/conf.d/bluetooth
 
@@ -40,10 +40,6 @@
   $DAEMON_EXEC
   sleep 1
 fi
-if [ $SDPD_ENABLE = true -a -x $SDPD_EXEC ] ; then
-  stat_append  $SDPD_NAME
-  $SDPD_EXEC
-fi
 if [ $HIDD_ENABLE = true -a -x $HIDD_EXEC ]; then
   stat_append  $HIDD_NAME
   $HIDD_EXEC $HIDD_OPTIONS
@@ -52,26 +48,26 @@
   stat_append  $RFCOMM_NAME
   $RFCOMM_EXEC -f $RFCOMM_CONFIG bind all
 fi
+if [ $PAND_ENABLE = true -a -x $PAND_EXEC -a -n $PAND_OPTIONS ]; 
then
+  stat_append  $PAND_NAME
+  $PAND_EXEC $PAND_OPTIONS
+fi
 if [ $DUND_ENABLE = true -a -x $DUND_EXEC -a -n $DUND_OPTIONS ]; 
then
   stat_append  $DUND_NAME
   $DUND_EXEC $DUND_OPTIONS
 fi
-if [ $PAND_ENABLE = true -a -x $PAND_EXEC -a -n $PAND_OPTIONS ]; 
then
-  stat_append  $PAND_NAME
-  $PAND_EXEC $PAND_OPTIONS
-fi
 add_daemon bluetooth
 stat_done
 ;;
   stop)
 stat_busy Stopping bluetooth subsystem:
 
+stat_append  $DUND_NAME
+killall $DUND_NAME /dev/null 21
+
 stat_append  $PAND_NAME
 killall $PAND_NAME /dev/null 21
 
-stat_append  $DUND_NAME
-killall $DUND_NAME /dev/null 21
-
 if [ -x $RFCOMM_EXEC ]; then
   stat_append  $RFCOMM_NAME
   $RFCOMM_EXEC release all /dev/null 21
@@ -80,9 +76,6 @@
 stat_append  $HIDD_NAME
 killall $HIDD_NAME /dev/null 21
 
-stat_append  $SDPD_NAME
-killall $SDPD_NAME /dev/null 21
-
 stat_append  $DAEMON_NAME
 killall $DAEMON_NAME /dev/null 21
 



[arch-commits] Commit in bluez/trunk (PKGBUILD)

2012-05-30 Thread Tom Gundersen
Date: Wednesday, May 30, 2012 @ 11:33:52
  Author: tomegun
Revision: 160189

upgpkg: bluez 4.99-6

add systemd unit

Modified:
  bluez/trunk/PKGBUILD

--+
 PKGBUILD |5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2012-05-30 11:50:04 UTC (rev 160188)
+++ PKGBUILD2012-05-30 15:33:52 UTC (rev 160189)
@@ -5,7 +5,7 @@
 
 pkgname=bluez
 pkgver=4.99
-pkgrel=5
+pkgrel=6
 pkgdesc=Libraries and tools for the Bluetooth protocol stack
 url=http://www.bluez.org/;
 arch=('i686' 'x86_64')
@@ -48,7 +48,8 @@
 --enable-dund \
 --enable-cups \
 --enable-wiimote \
---disable-test
+--disable-test \
+--with-systemdunitdir=/usr/lib/systemd/system
 
   patch -p1 -i ../0001-udev-remove-deprecated-function.patch
 



[arch-commits] Commit in bluez/trunk (PKGBUILD)

2012-05-26 Thread Tom Gundersen
Date: Saturday, May 26, 2012 @ 08:42:39
  Author: tomegun
Revision: 159750

upgpkg: bluez 4.99-3

udev rebuild

Modified:
  bluez/trunk/PKGBUILD

--+
 PKGBUILD |7 +--
 1 file changed, 5 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2012-05-26 12:39:32 UTC (rev 159749)
+++ PKGBUILD2012-05-26 12:42:39 UTC (rev 159750)
@@ -5,7 +5,7 @@
 
 pkgname=bluez
 pkgver=4.99
-pkgrel=2
+pkgrel=3
 pkgdesc=Libraries and tools for the Bluetooth protocol stack
 url=http://www.bluez.org/;
 arch=('i686' 'x86_64')
@@ -48,6 +48,9 @@
 --enable-cups \
 --enable-wiimote \
 --disable-test
+
+  sed -ri 's,udev_get_(dev|sys)_path([^)]+\)),/\1,g' tools/hid2hci.c
+
   make
 }
 
@@ -77,7 +80,7 @@
 ${pkgdir}/usr/bin/bluez-test-input
 
   # http://mailman.archlinux.org/pipermail/arch-general/2011-April/019787.html
-  rm ${pkgdir}/usr/lib/udev/rules.d/97-bluetooth.rules
+#  rm ${pkgdir}/usr/lib/udev/rules.d/97-bluetooth.rules
 }
 md5sums=('2387053eb5a7b02f37df4871df022a02'
  '7412982b440f29fa7f76a41a87fef985'



[arch-commits] Commit in bluez/trunk (PKGBUILD)

2012-05-26 Thread Evangelos Foutras
Date: Sunday, May 27, 2012 @ 00:56:02
  Author: foutrelis
Revision: 159797

upgpkg: bluez 4.99-4

libudev.so.1 rebuild. (Against fixed udev rules dir.)

Modified:
  bluez/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2012-05-27 04:34:04 UTC (rev 159796)
+++ PKGBUILD2012-05-27 04:56:02 UTC (rev 159797)
@@ -5,7 +5,7 @@
 
 pkgname=bluez
 pkgver=4.99
-pkgrel=3
+pkgrel=4
 pkgdesc=Libraries and tools for the Bluetooth protocol stack
 url=http://www.bluez.org/;
 arch=('i686' 'x86_64')



[arch-commits] Commit in bluez/trunk (PKGBUILD)

2012-03-31 Thread Tom Gundersen
Date: Saturday, March 31, 2012 @ 18:34:30
  Author: tomegun
Revision: 154960

upgpkg: bluez 4.99-2

move udev-helper and udev rules to /usr/lib

Modified:
  bluez/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2012-03-31 22:33:52 UTC (rev 154959)
+++ PKGBUILD2012-03-31 22:34:30 UTC (rev 154960)
@@ -5,7 +5,7 @@
 
 pkgname=bluez
 pkgver=4.99
-pkgrel=1
+pkgrel=2
 pkgdesc=Libraries and tools for the Bluetooth protocol stack
 url=http://www.bluez.org/;
 arch=('i686' 'x86_64')
@@ -77,7 +77,7 @@
 ${pkgdir}/usr/bin/bluez-test-input
 
   # http://mailman.archlinux.org/pipermail/arch-general/2011-April/019787.html
-  rm ${pkgdir}/lib/udev/rules.d/97-bluetooth.rules
+  rm ${pkgdir}/usr/lib/udev/rules.d/97-bluetooth.rules
 }
 md5sums=('2387053eb5a7b02f37df4871df022a02'
  '7412982b440f29fa7f76a41a87fef985'



[arch-commits] Commit in bluez/trunk (PKGBUILD fix-a2dp.patch fix-compile-issue.patch)

2012-03-06 Thread Tom Gundersen
Date: Tuesday, March 6, 2012 @ 18:09:17
  Author: tomegun
Revision: 152439

upgpkg: bluez 4.99-1

Modified:
  bluez/trunk/PKGBUILD
Deleted:
  bluez/trunk/fix-a2dp.patch
  bluez/trunk/fix-compile-issue.patch

-+
 PKGBUILD|   22 +-
 fix-a2dp.patch  |   68 --
 fix-compile-issue.patch |   50 -
 3 files changed, 8 insertions(+), 132 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2012-03-06 21:21:29 UTC (rev 152438)
+++ PKGBUILD2012-03-06 23:09:17 UTC (rev 152439)
@@ -4,13 +4,13 @@
 # Contributor: Geoffroy Carrier geoff...@archlinux.org
 
 pkgname=bluez
-pkgver=4.98
-pkgrel=4
+pkgver=4.99
+pkgrel=1
 pkgdesc=Libraries and tools for the Bluetooth protocol stack
 url=http://www.bluez.org/;
 arch=('i686' 'x86_64')
 license=('GPL2')
-depends=('dbus-core')
+depends=('dbus-core' 'python2' 'udev')
 makedepends=('gstreamer0.10-base' 'libusb-compat' 'libsndfile')
 optdepends=(gstreamer0.10-base: bluetooth GStreamer support
 alsa-lib: Audio bluetooth devices support
@@ -25,21 +25,12 @@
 backup=(etc/bluetooth/{main,rfcomm,audio,network,input,serial}.conf
 'etc/conf.d/bluetooth' 'etc/dbus-1/system.d/bluetooth.conf')
 
source=(http://www.kernel.org/pub/linux/bluetooth/${pkgname}-${pkgver}.tar.bz2;
-'bluetooth.conf.d' 'rc.bluetooth'
-'fix-a2dp.patch'
-'fix-compile-issue.patch')
-md5sums=('4aca8a0929250212e9a75fb60dd75b05'
- '7412982b440f29fa7f76a41a87fef985'
- '8f9498707f809506928b2e480d3b6789'
- 'd6a34317e56b7c2bd990791d89d6c3cb'
- 'd81860cd0d7c3ddd2515591453a85e65')
+'bluetooth.conf.d'
+   'rc.bluetooth')
 
 build() {
   cd ${srcdir}/${pkgname}-${pkgver}
 
-  patch -p1 -i ${srcdir}/fix-a2dp.patch
-  patch -p1 -i ${srcdir}/fix-compile-issue.patch
-
   ./configure --prefix=/usr \
 --sysconfdir=/etc \
 --localstatedir=/var \
@@ -88,3 +79,6 @@
   # http://mailman.archlinux.org/pipermail/arch-general/2011-April/019787.html
   rm ${pkgdir}/lib/udev/rules.d/97-bluetooth.rules
 }
+md5sums=('2387053eb5a7b02f37df4871df022a02'
+ '7412982b440f29fa7f76a41a87fef985'
+ '8f9498707f809506928b2e480d3b6789')

Deleted: fix-a2dp.patch
===
--- fix-a2dp.patch  2012-03-06 21:21:29 UTC (rev 152438)
+++ fix-a2dp.patch  2012-03-06 23:09:17 UTC (rev 152439)
@@ -1,68 +0,0 @@
-From 0109fa0b6fa731c00b4c6b78d5694b2aaa088862 Mon Sep 17 00:00:00 2001
-From: Luiz Augusto von Dentz luiz.von.de...@intel.com
-Date: Thu, 26 Jan 2012 23:39:02 +0200
-Subject: [PATCH] audio: Fix disabling local A2DP endpoints when UNIX socket
- is disabled
-
-Local endpoints can only be used when UNIX socket API is available.

- audio/a2dp.c |   15 +++
- 1 files changed, 7 insertions(+), 8 deletions(-)
-
-diff --git a/audio/a2dp.c b/audio/a2dp.c
-index 5ca105c..bbb91ce 100644
 a/audio/a2dp.c
-+++ b/audio/a2dp.c
-@@ -1388,9 +1388,9 @@ static struct a2dp_server *find_server(GSList *list, 
const bdaddr_t *src)
- 
- int a2dp_register(DBusConnection *conn, const bdaddr_t *src, GKeyFile *config)
- {
--  int sbc_srcs = 1, sbc_sinks = 1;
-+  int sbc_srcs = 0, sbc_sinks = 0;
-   int mpeg12_srcs = 0, mpeg12_sinks = 0;
--  gboolean source = TRUE, sink = FALSE, socket = TRUE;
-+  gboolean source = TRUE, sink = FALSE, socket = FALSE;
-   gboolean delay_reporting = FALSE;
-   char *str;
-   GError *err = NULL;
-@@ -1410,6 +1410,8 @@ int a2dp_register(DBusConnection *conn, const bdaddr_t 
*src, GKeyFile *config)
-   source = TRUE;
-   if (strstr(str, Source))
-   sink = TRUE;
-+  if (strstr(str, Socket))
-+  socket = TRUE;
-   g_free(str);
-   }
- 
-@@ -1429,18 +1431,14 @@ int a2dp_register(DBusConnection *conn, const bdaddr_t 
*src, GKeyFile *config)
-   }
- 
-   /* Don't register any local sep if Socket is disabled */
--  if (socket == FALSE) {
--  sbc_srcs = 0;
--  sbc_sinks = 0;
--  mpeg12_srcs = 0;
--  mpeg12_sinks = 0;
-+  if (socket == FALSE)
-   goto proceed;
--  }
- 
-   str = g_key_file_get_string(config, A2DP, SBCSources, err);
-   if (err) {
-   DBG(audio.conf: %s, err-message);
-   g_clear_error(err);
-+  sbc_srcs = 1;
-   } else {
-   sbc_srcs = atoi(str);
-   g_free(str);
-@@ -1459,6 +1457,7 @@ int a2dp_register(DBusConnection *conn, const bdaddr_t 
*src, GKeyFile *config)
-   if (err) {
-   DBG(audio.conf: %s, err-message);
-   g_clear_error(err);
-+  sbc_sinks = 1;
-   } else {
-   sbc_sinks = atoi(str);
-   g_free(str);
--- 

[arch-commits] Commit in bluez/trunk (PKGBUILD fix-compile-issue.patch)

2012-03-05 Thread Andrea Scarpino
Date: Monday, March 5, 2012 @ 08:53:46
  Author: andrea
Revision: 152234

upgpkg: bluez 4.98-4

Fix compile issue with C++ (FS#28789)

Added:
  bluez/trunk/fix-compile-issue.patch
Modified:
  bluez/trunk/PKGBUILD

-+
 PKGBUILD|   26 +--
 fix-compile-issue.patch |   50 ++
 2 files changed, 65 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2012-03-05 13:38:37 UTC (rev 152233)
+++ PKGBUILD2012-03-05 13:53:46 UTC (rev 152234)
@@ -1,11 +1,11 @@
 # $Id$
-# Maintainer:
+# Maintainer: Tom Gundersen t...@jklm.no
 # Contributor: Andrea Scarpino and...@archlinux.org
 # Contributor: Geoffroy Carrier geoff...@archlinux.org
 
 pkgname=bluez
 pkgver=4.98
-pkgrel=3
+pkgrel=4
 pkgdesc=Libraries and tools for the Bluetooth protocol stack
 url=http://www.bluez.org/;
 arch=('i686' 'x86_64')
@@ -13,28 +13,32 @@
 depends=('dbus-core')
 makedepends=('gstreamer0.10-base' 'libusb-compat' 'libsndfile')
 optdepends=(gstreamer0.10-base: bluetooth GStreamer support
-   alsa-lib: Audio bluetooth devices support
-   dbus-python: to run bluez-simple-agent
-   pygobject: to run bluez-simple-agent
-   libusb-compat: USB adapters support
-cups: CUPS backend)
+alsa-lib: Audio bluetooth devices support
+dbus-python: to run bluez-simple-agent
+pygobject: to run bluez-simple-agent
+libusb-compat: USB adapters support
+cups: CUPS backend)
 conflicts=('bluez-libs' 'bluez-utils')
 provides=('bluez-libs' 'bluez-utils')
 replaces=('bluez-libs' 'bluez-utils')
-options=('!libtool' 'emptydirs')
+options=('!libtool')
 backup=(etc/bluetooth/{main,rfcomm,audio,network,input,serial}.conf
 'etc/conf.d/bluetooth' 'etc/dbus-1/system.d/bluetooth.conf')
 
source=(http://www.kernel.org/pub/linux/bluetooth/${pkgname}-${pkgver}.tar.bz2;
-'bluetooth.conf.d' 'rc.bluetooth' 'fix-a2dp.patch')
+'bluetooth.conf.d' 'rc.bluetooth'
+'fix-a2dp.patch'
+'fix-compile-issue.patch')
 md5sums=('4aca8a0929250212e9a75fb60dd75b05'
  '7412982b440f29fa7f76a41a87fef985'
  '8f9498707f809506928b2e480d3b6789'
- 'd6a34317e56b7c2bd990791d89d6c3cb')
+ 'd6a34317e56b7c2bd990791d89d6c3cb'
+ 'd81860cd0d7c3ddd2515591453a85e65')
 
 build() {
   cd ${srcdir}/${pkgname}-${pkgver}
 
-  patch -Np1 -i ${srcdir}/fix-a2dp.patch
+  patch -p1 -i ${srcdir}/fix-a2dp.patch
+  patch -p1 -i ${srcdir}/fix-compile-issue.patch
 
   ./configure --prefix=/usr \
 --sysconfdir=/etc \

Added: fix-compile-issue.patch
===
--- fix-compile-issue.patch (rev 0)
+++ fix-compile-issue.patch 2012-03-05 13:53:46 UTC (rev 152234)
@@ -0,0 +1,50 @@
+From 4002cf271e3939714296c535a1ed8d4f0d5ac005 Mon Sep 17 00:00:00 2001
+From: Patrick Ohly patrick.o...@intel.com
+Date: Mon, 16 Jan 2012 11:11:55 +0100
+Subject: [PATCH] lib: Fix compile issue when using in C++
+MIME-Version: 1.0
+Content-Type: text/plain; charset=utf8
+Content-Transfer-Encoding: 8bit
+
+The compiler error is:
+ /usr/include/bluetooth/bluetooth.h::131:9: error: invalid conversion 
from 'void*' to 'bt_get_le64(void*)::anonymous struct*'
+ ...
+
+The reason is that C++, in contrast to C, does not allow conversion of
+void * to anything, and this code gets compiled as C++ when the app is
+written in C++. The macro with the assignment itself is older, but only
+recent Bluez starts to use it in inline functions, thus triggering the
+problem.
+
+This patch keeps the struct __attribute__((packed)) magic and merely
+changes the typecast so that it works in C and C++. Like the existing
+macro this patch relies on support for typeof.
+---
+ lib/bluetooth.h |4 ++--
+ 1 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/lib/bluetooth.h b/lib/bluetooth.h
+index ea7373d..0541842 100644
+--- a/lib/bluetooth.h
 b/lib/bluetooth.h
+@@ -141,7 +141,7 @@ enum {
+ ({\
+   struct __attribute__((packed)) {\
+   typeof(*(ptr)) __v; \
+-  } *__p = (void *) (ptr);\
++  } *__p = (typeof(__p)) (ptr);   \
+   __p-__v;   \
+ })
+ 
+@@ -149,7 +149,7 @@ enum {
+ do {  \
+   struct __attribute__((packed)) {\
+   typeof(*(ptr)) __v; \
+-  } *__p = (void *) (ptr);\
++  } *__p = (typeof(__p)) (ptr);   \
+   __p-__v = (val);   \
+ } while(0)
+ 
+-- 
+1.7.6.5
+



[arch-commits] Commit in bluez/trunk (PKGBUILD fix-a2dp.patch)

2012-01-27 Thread Jan Steffens
Date: Friday, January 27, 2012 @ 10:45:14
  Author: heftig
Revision: 147727

Fix A2DP not working by default

Added:
  bluez/trunk/fix-a2dp.patch
Modified:
  bluez/trunk/PKGBUILD

+
 PKGBUILD   |   10 
 fix-a2dp.patch |   68 +++
 2 files changed, 74 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2012-01-27 15:43:19 UTC (rev 147726)
+++ PKGBUILD2012-01-27 15:45:14 UTC (rev 147727)
@@ -5,7 +5,7 @@
 
 pkgname=bluez
 pkgver=4.98
-pkgrel=1
+pkgrel=2
 pkgdesc=Libraries and tools for the Bluetooth protocol stack
 url=http://www.bluez.org/;
 arch=('i686' 'x86_64')
@@ -26,15 +26,17 @@
 backup=(etc/bluetooth/{main,rfcomm,audio,network,input,serial}.conf
 'etc/conf.d/bluetooth' 'etc/dbus-1/system.d/bluetooth.conf')
 
source=(http://www.kernel.org/pub/linux/bluetooth/${pkgname}-${pkgver}.tar.bz2;
-'bluetooth.conf.d'
-'rc.bluetooth')
+'bluetooth.conf.d' 'rc.bluetooth' 'fix-a2dp.patch')
 md5sums=('4aca8a0929250212e9a75fb60dd75b05'
  '7412982b440f29fa7f76a41a87fef985'
- '8f9498707f809506928b2e480d3b6789')
+ '8f9498707f809506928b2e480d3b6789'
+ 'd6a34317e56b7c2bd990791d89d6c3cb')
 
 build() {
   cd ${srcdir}/${pkgname}-${pkgver}
 
+  patch -Np1 -i ${srcdir}/fix-a2dp.patch
+
   ./configure --prefix=/usr \
 --sysconfdir=/etc \
 --localstatedir=/var \

Added: fix-a2dp.patch
===
--- fix-a2dp.patch  (rev 0)
+++ fix-a2dp.patch  2012-01-27 15:45:14 UTC (rev 147727)
@@ -0,0 +1,68 @@
+From 0109fa0b6fa731c00b4c6b78d5694b2aaa088862 Mon Sep 17 00:00:00 2001
+From: Luiz Augusto von Dentz luiz.von.de...@intel.com
+Date: Thu, 26 Jan 2012 23:39:02 +0200
+Subject: [PATCH] audio: Fix disabling local A2DP endpoints when UNIX socket
+ is disabled
+
+Local endpoints can only be used when UNIX socket API is available.
+---
+ audio/a2dp.c |   15 +++
+ 1 files changed, 7 insertions(+), 8 deletions(-)
+
+diff --git a/audio/a2dp.c b/audio/a2dp.c
+index 5ca105c..bbb91ce 100644
+--- a/audio/a2dp.c
 b/audio/a2dp.c
+@@ -1388,9 +1388,9 @@ static struct a2dp_server *find_server(GSList *list, 
const bdaddr_t *src)
+ 
+ int a2dp_register(DBusConnection *conn, const bdaddr_t *src, GKeyFile *config)
+ {
+-  int sbc_srcs = 1, sbc_sinks = 1;
++  int sbc_srcs = 0, sbc_sinks = 0;
+   int mpeg12_srcs = 0, mpeg12_sinks = 0;
+-  gboolean source = TRUE, sink = FALSE, socket = TRUE;
++  gboolean source = TRUE, sink = FALSE, socket = FALSE;
+   gboolean delay_reporting = FALSE;
+   char *str;
+   GError *err = NULL;
+@@ -1410,6 +1410,8 @@ int a2dp_register(DBusConnection *conn, const bdaddr_t 
*src, GKeyFile *config)
+   source = TRUE;
+   if (strstr(str, Source))
+   sink = TRUE;
++  if (strstr(str, Socket))
++  socket = TRUE;
+   g_free(str);
+   }
+ 
+@@ -1429,18 +1431,14 @@ int a2dp_register(DBusConnection *conn, const bdaddr_t 
*src, GKeyFile *config)
+   }
+ 
+   /* Don't register any local sep if Socket is disabled */
+-  if (socket == FALSE) {
+-  sbc_srcs = 0;
+-  sbc_sinks = 0;
+-  mpeg12_srcs = 0;
+-  mpeg12_sinks = 0;
++  if (socket == FALSE)
+   goto proceed;
+-  }
+ 
+   str = g_key_file_get_string(config, A2DP, SBCSources, err);
+   if (err) {
+   DBG(audio.conf: %s, err-message);
+   g_clear_error(err);
++  sbc_srcs = 1;
+   } else {
+   sbc_srcs = atoi(str);
+   g_free(str);
+@@ -1459,6 +1457,7 @@ int a2dp_register(DBusConnection *conn, const bdaddr_t 
*src, GKeyFile *config)
+   if (err) {
+   DBG(audio.conf: %s, err-message);
+   g_clear_error(err);
++  sbc_sinks = 1;
+   } else {
+   sbc_sinks = atoi(str);
+   g_free(str);
+-- 
+1.7.6.5
+



[arch-commits] Commit in bluez/trunk (PKGBUILD make-libcheck-optional.patch)

2012-01-13 Thread Andrea Scarpino
Date: Friday, January 13, 2012 @ 17:26:02
  Author: andrea
Revision: 146599

upgpkg: bluez 4.98-1

Upstream release

Modified:
  bluez/trunk/PKGBUILD
Deleted:
  bluez/trunk/make-libcheck-optional.patch

--+
 PKGBUILD |   13 ++
 make-libcheck-optional.patch |   79 -
 2 files changed, 4 insertions(+), 88 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2012-01-13 22:25:53 UTC (rev 146598)
+++ PKGBUILD2012-01-13 22:26:02 UTC (rev 146599)
@@ -4,7 +4,7 @@
 # Contributor: Geoffroy Carrier geoff...@archlinux.org
 
 pkgname=bluez
-pkgver=4.97
+pkgver=4.98
 pkgrel=1
 pkgdesc=Libraries and tools for the Bluetooth protocol stack
 url=http://www.bluez.org/;
@@ -27,19 +27,14 @@
 'etc/conf.d/bluetooth' 'etc/dbus-1/system.d/bluetooth.conf')
 
source=(http://www.kernel.org/pub/linux/bluetooth/${pkgname}-${pkgver}.tar.bz2;
 'bluetooth.conf.d'
-'rc.bluetooth'
-'make-libcheck-optional.patch')
-md5sums=('b302cee7f9b9527d29775449d7e1dfe6'
+'rc.bluetooth')
+md5sums=('4aca8a0929250212e9a75fb60dd75b05'
  '7412982b440f29fa7f76a41a87fef985'
- '8f9498707f809506928b2e480d3b6789'
- 'f112fc5bcaeecc7b6ea994f14786e235')
+ '8f9498707f809506928b2e480d3b6789')
 
 build() {
   cd ${srcdir}/${pkgname}-${pkgver}
 
-  patch -p1 -i ${srcdir}/make-libcheck-optional.patch
-  autoreconf -i -f
-
   ./configure --prefix=/usr \
 --sysconfdir=/etc \
 --localstatedir=/var \

Deleted: make-libcheck-optional.patch
===
--- make-libcheck-optional.patch2012-01-13 22:25:53 UTC (rev 146598)
+++ make-libcheck-optional.patch2012-01-13 22:26:02 UTC (rev 146599)
@@ -1,79 +0,0 @@
-From: Marcel Holtmann mar...@holtmann.org
-Date: Wed, 28 Dec 2011 04:09:56 + (-0800)
-Subject: build: Move libcheck under TEST conditional
-X-Git-Url: 
http://git.kernel.org/?p=bluetooth%2Fbluez.git;a=commitdiff_plain;h=bf5d45f2fbd1b1463512f4eb8d30bffb3478ccc7;hp=ec632165d6707bece074dbba43d704e26346ab0a
-
-build: Move libcheck under TEST conditional

-
-diff --git a/Makefile.am b/Makefile.am
-index 9112483..5cf287c 100644
 a/Makefile.am
-+++ b/Makefile.am
-@@ -449,6 +449,7 @@ endif
- 
- unit_objects =
- 
-+if TEST
- unit_tests = unit/test-eir
- 
- noinst_PROGRAMS += $(unit_tests)
-@@ -456,8 +457,10 @@ noinst_PROGRAMS += $(unit_tests)
- unit_test_eir_SOURCES = unit/test-eir.c src/eir.c src/glib-helper.c
- unit_test_eir_LDADD = lib/libbluetooth-private.la @GLIB_LIBS@ @CHECK_LIBS@
- unit_test_eir_CFLAGS = $(AM_CFLAGS) @CHECK_CFLAGS@
--unit_test_eir_SHORTNAME = unit
- unit_objects += $(unit_test_eir_OBJECTS)
-+else
-+unit_tests =
-+endif
- 
- TESTS = $(unit_tests)
- 
-diff --git a/acinclude.m4 b/acinclude.m4
-index 2097d77..753b994 100644
 a/acinclude.m4
-+++ b/acinclude.m4
-@@ -170,6 +170,12 @@ AC_DEFUN([AC_PATH_READLINE], [
-   [])
- ])
- 
-+AC_DEFUN([AC_PATH_CHECK], [
-+  PKG_CHECK_MODULES(CHECK, check = 0.9.4, check_found=yes, 
check_found=no)
-+  AC_SUBST(CHECK_CFLAGS)
-+  AC_SUBST(CHECK_LIBS)
-+])
-+
- AC_DEFUN([AC_PATH_OUI], [
-   AC_ARG_WITH(ouifile,
-   AS_HELP_STRING([--with-ouifile=PATH],[Path to the oui.txt 
file @:@auto@:@]),
-@@ -422,7 +428,7 @@ AC_DEFUN([AC_ARG_BLUEZ], [
-   AM_CONDITIONAL(PAND, test ${pand_enable} = yes)
-   AM_CONDITIONAL(DUND, test ${dund_enable} = yes)
-   AM_CONDITIONAL(CUPS, test ${cups_enable} = yes)
--  AM_CONDITIONAL(TEST, test ${test_enable} = yes)
-+  AM_CONDITIONAL(TEST, test ${test_enable} = yes  test 
${check_found} = yes)
-   AM_CONDITIONAL(TOOLS, test ${tools_enable} = yes)
-   AM_CONDITIONAL(BCCMD, test ${bccmd_enable} = yes)
-   AM_CONDITIONAL(PCMCIA, test ${pcmcia_enable} = yes)
-diff --git a/configure.ac b/configure.ac
-index 3a5dfde..a7670da 100644
 a/configure.ac
-+++ b/configure.ac
-@@ -24,8 +24,6 @@ AC_PROG_YACC
- AM_PROG_LEX
- AM_PROG_MKDIR_P
- 
--PKG_CHECK_MODULES([CHECK], [check = 0.9.4])
--
- m4_define([_LT_AC_TAGCONFIG], [])
- m4_ifdef([AC_LIBTOOL_TAGS], [AC_LIBTOOL_TAGS([])])
- 
-@@ -50,6 +48,7 @@ AC_PATH_UDEV
- AC_PATH_SNDFILE
- AC_PATH_OUI
- AC_PATH_READLINE
-+AC_PATH_CHECK
- 
- AC_ARG_BLUEZ
- 



[arch-commits] Commit in bluez/trunk (PKGBUILD make-libcheck-optional.patch)

2012-01-10 Thread Andrea Scarpino
Date: Tuesday, January 10, 2012 @ 16:46:52
  Author: andrea
Revision: 146411

upgpkg: bluez 4.97-1

Upstream release

Added:
  bluez/trunk/make-libcheck-optional.patch
Modified:
  bluez/trunk/PKGBUILD

--+
 PKGBUILD |   24 +++-
 make-libcheck-optional.patch |   79 +
 2 files changed, 94 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2012-01-10 21:40:52 UTC (rev 146410)
+++ PKGBUILD2012-01-10 21:46:52 UTC (rev 146411)
@@ -1,10 +1,11 @@
 # $Id$
-# Maintainer: Andrea Scarpino and...@archlinux.org
+# Maintainer:
+# Contributor: Andrea Scarpino and...@archlinux.org
 # Contributor: Geoffroy Carrier geoff...@archlinux.org
 
 pkgname=bluez
-pkgver=4.96
-pkgrel=3
+pkgver=4.97
+pkgrel=1
 pkgdesc=Libraries and tools for the Bluetooth protocol stack
 url=http://www.bluez.org/;
 arch=('i686' 'x86_64')
@@ -24,17 +25,21 @@
 options=('!libtool' 'emptydirs')
 backup=(etc/bluetooth/{main,rfcomm,audio,network,input,serial}.conf
 'etc/conf.d/bluetooth' 'etc/dbus-1/system.d/bluetooth.conf')
-#source=(http://www.kernel.org/pub/linux/bluetooth/${pkgname}-${pkgver}.tar.bz2;
-source=(ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.bz2;
+source=(http://www.kernel.org/pub/linux/bluetooth/${pkgname}-${pkgver}.tar.bz2;
 'bluetooth.conf.d'
-'rc.bluetooth')
-md5sums=('255c3dda8b93210ab0dcf8d04ddaf69f'
+'rc.bluetooth'
+'make-libcheck-optional.patch')
+md5sums=('b302cee7f9b9527d29775449d7e1dfe6'
  '7412982b440f29fa7f76a41a87fef985'
- '8f9498707f809506928b2e480d3b6789')
+ '8f9498707f809506928b2e480d3b6789'
+ 'f112fc5bcaeecc7b6ea994f14786e235')
 
 build() {
   cd ${srcdir}/${pkgname}-${pkgver}
 
+  patch -p1 -i ${srcdir}/make-libcheck-optional.patch
+  autoreconf -i -f
+
   ./configure --prefix=/usr \
 --sysconfdir=/etc \
 --localstatedir=/var \
@@ -50,7 +55,8 @@
 --enable-pand \
 --enable-dund \
 --enable-cups \
---enable-wiimote
+--enable-wiimote \
+--disable-test
   make
 }
 

Added: make-libcheck-optional.patch
===
--- make-libcheck-optional.patch(rev 0)
+++ make-libcheck-optional.patch2012-01-10 21:46:52 UTC (rev 146411)
@@ -0,0 +1,79 @@
+From: Marcel Holtmann mar...@holtmann.org
+Date: Wed, 28 Dec 2011 04:09:56 + (-0800)
+Subject: build: Move libcheck under TEST conditional
+X-Git-Url: 
http://git.kernel.org/?p=bluetooth%2Fbluez.git;a=commitdiff_plain;h=bf5d45f2fbd1b1463512f4eb8d30bffb3478ccc7;hp=ec632165d6707bece074dbba43d704e26346ab0a
+
+build: Move libcheck under TEST conditional
+---
+
+diff --git a/Makefile.am b/Makefile.am
+index 9112483..5cf287c 100644
+--- a/Makefile.am
 b/Makefile.am
+@@ -449,6 +449,7 @@ endif
+ 
+ unit_objects =
+ 
++if TEST
+ unit_tests = unit/test-eir
+ 
+ noinst_PROGRAMS += $(unit_tests)
+@@ -456,8 +457,10 @@ noinst_PROGRAMS += $(unit_tests)
+ unit_test_eir_SOURCES = unit/test-eir.c src/eir.c src/glib-helper.c
+ unit_test_eir_LDADD = lib/libbluetooth-private.la @GLIB_LIBS@ @CHECK_LIBS@
+ unit_test_eir_CFLAGS = $(AM_CFLAGS) @CHECK_CFLAGS@
+-unit_test_eir_SHORTNAME = unit
+ unit_objects += $(unit_test_eir_OBJECTS)
++else
++unit_tests =
++endif
+ 
+ TESTS = $(unit_tests)
+ 
+diff --git a/acinclude.m4 b/acinclude.m4
+index 2097d77..753b994 100644
+--- a/acinclude.m4
 b/acinclude.m4
+@@ -170,6 +170,12 @@ AC_DEFUN([AC_PATH_READLINE], [
+   [])
+ ])
+ 
++AC_DEFUN([AC_PATH_CHECK], [
++  PKG_CHECK_MODULES(CHECK, check = 0.9.4, check_found=yes, 
check_found=no)
++  AC_SUBST(CHECK_CFLAGS)
++  AC_SUBST(CHECK_LIBS)
++])
++
+ AC_DEFUN([AC_PATH_OUI], [
+   AC_ARG_WITH(ouifile,
+   AS_HELP_STRING([--with-ouifile=PATH],[Path to the oui.txt 
file @:@auto@:@]),
+@@ -422,7 +428,7 @@ AC_DEFUN([AC_ARG_BLUEZ], [
+   AM_CONDITIONAL(PAND, test ${pand_enable} = yes)
+   AM_CONDITIONAL(DUND, test ${dund_enable} = yes)
+   AM_CONDITIONAL(CUPS, test ${cups_enable} = yes)
+-  AM_CONDITIONAL(TEST, test ${test_enable} = yes)
++  AM_CONDITIONAL(TEST, test ${test_enable} = yes  test 
${check_found} = yes)
+   AM_CONDITIONAL(TOOLS, test ${tools_enable} = yes)
+   AM_CONDITIONAL(BCCMD, test ${bccmd_enable} = yes)
+   AM_CONDITIONAL(PCMCIA, test ${pcmcia_enable} = yes)
+diff --git a/configure.ac b/configure.ac
+index 3a5dfde..a7670da 100644
+--- a/configure.ac
 b/configure.ac
+@@ -24,8 +24,6 @@ AC_PROG_YACC
+ AM_PROG_LEX
+ AM_PROG_MKDIR_P
+ 
+-PKG_CHECK_MODULES([CHECK], [check = 0.9.4])
+-
+ m4_define([_LT_AC_TAGCONFIG], [])
+ m4_ifdef([AC_LIBTOOL_TAGS], [AC_LIBTOOL_TAGS([])])
+ 
+@@ -50,6 +48,7 @@ AC_PATH_UDEV
+ AC_PATH_SNDFILE
+ AC_PATH_OUI
+ AC_PATH_READLINE
++AC_PATH_CHECK
+ 
+ AC_ARG_BLUEZ
+ 



[arch-commits] Commit in bluez/trunk (PKGBUILD bluetooth.conf.d rc.bluetooth)

2011-12-20 Thread Andrea Scarpino
Date: Tuesday, December 20, 2011 @ 03:51:11
  Author: andrea
Revision: 145249

upgpkg: bluez 4.96-3

Add test-device and test-input needed for pairing wiimote (FS#27630); Move the 
server flag to the HIDD_OPTIONS in the conf.d/bluetooth file so users can setup 
their configurations (see FS#26667)

Modified:
  bluez/trunk/PKGBUILD
  bluez/trunk/bluetooth.conf.d
  bluez/trunk/rc.bluetooth

--+
 PKGBUILD |   20 
 bluetooth.conf.d |2 +-
 rc.bluetooth |2 +-
 3 files changed, 14 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2011-12-20 07:59:43 UTC (rev 145248)
+++ PKGBUILD2011-12-20 08:51:11 UTC (rev 145249)
@@ -4,7 +4,7 @@
 
 pkgname=bluez
 pkgver=4.96
-pkgrel=2
+pkgrel=3
 pkgdesc=Libraries and tools for the Bluetooth protocol stack
 url=http://www.bluez.org/;
 arch=('i686' 'x86_64')
@@ -24,12 +24,13 @@
 options=('!libtool' 'emptydirs')
 backup=(etc/bluetooth/{main,rfcomm,audio,network,input,serial}.conf
 'etc/conf.d/bluetooth' 'etc/dbus-1/system.d/bluetooth.conf')
-source=(http://www.kernel.org/pub/linux/bluetooth/${pkgname}-${pkgver}.tar.bz2;
+#source=(http://www.kernel.org/pub/linux/bluetooth/${pkgname}-${pkgver}.tar.bz2;
+source=(ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.bz2;
 'bluetooth.conf.d'
 'rc.bluetooth')
 md5sums=('255c3dda8b93210ab0dcf8d04ddaf69f'
- '8f60a5eb9d84b9c64c478d63e1c24b10'
- 'ca4c39eb4bb201bd2eacad01492cd735')
+ '7412982b440f29fa7f76a41a87fef985'
+ '8f9498707f809506928b2e480d3b6789')
 
 build() {
   cd ${srcdir}/${pkgname}-${pkgver}
@@ -49,8 +50,6 @@
 --enable-pand \
 --enable-dund \
 --enable-cups \
---enable-udevrules \
---enable-configfiles \
 --enable-wiimote
   make
 }
@@ -71,9 +70,14 @@
   install -Dm644 ${srcdir}/bluetooth.conf.d \
 ${pkgdir}/etc/conf.d/bluetooth
 
-  install -Dm755 test/simple-agent ${pkgdir}/usr/bin/bluez-simple-agent
+  # FS#27630
+  install -Dm755 test/simple-agent ${pkgdir}/usr/bin/bluez-simple-agent
+  install -Dm755 test/test-device ${pkgdir}/usr/bin/bluez-test-device
+  install -Dm755 test/test-input ${pkgdir}/usr/bin/bluez-test-input
   sed -i 's#/usr/bin/python#/usr/bin/python2#' \
-${pkgdir}/usr/bin/bluez-simple-agent
+${pkgdir}/usr/bin/bluez-simple-agent \
+${pkgdir}/usr/bin/bluez-test-device \
+${pkgdir}/usr/bin/bluez-test-input
 
   # http://mailman.archlinux.org/pipermail/arch-general/2011-April/019787.html
   rm ${pkgdir}/lib/udev/rules.d/97-bluetooth.rules

Modified: bluetooth.conf.d
===
--- bluetooth.conf.d2011-12-20 07:59:43 UTC (rev 145248)
+++ bluetooth.conf.d2011-12-20 08:51:11 UTC (rev 145249)
@@ -25,6 +25,6 @@
 #RFCOMM_CONFIG=/etc/bluetooth/rfcomm.conf
 
 # Options for hidd, dund and pand (default: none)
-#HIDD_OPTIONS=
+HIDD_OPTIONS=--server
 #DUND_OPTIONS=
 #PAND_OPTIONS=

Modified: rc.bluetooth
===
--- rc.bluetooth2011-12-20 07:59:43 UTC (rev 145248)
+++ rc.bluetooth2011-12-20 08:51:11 UTC (rev 145249)
@@ -46,7 +46,7 @@
 fi
 if [ $HIDD_ENABLE = true -a -x $HIDD_EXEC ]; then
   stat_append  $HIDD_NAME
-  $HIDD_EXEC $HIDD_OPTIONS --server
+  $HIDD_EXEC $HIDD_OPTIONS
 fi
 if [ $RFCOMM_ENABLE = true -a -x $RFCOMM_EXEC -a -f $RFCOMM_CONFIG 
]; then
   stat_append  $RFCOMM_NAME



[arch-commits] Commit in bluez/trunk (PKGBUILD)

2011-08-03 Thread Andrea Scarpino
Date: Wednesday, August 3, 2011 @ 10:41:00
  Author: andrea
Revision: 134386

Enable wiimote plugin (FS#25382)

Modified:
  bluez/trunk/PKGBUILD

--+
 PKGBUILD |5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2011-08-03 12:09:31 UTC (rev 134385)
+++ PKGBUILD2011-08-03 14:41:00 UTC (rev 134386)
@@ -4,7 +4,7 @@
 
 pkgname=bluez
 pkgver=4.96
-pkgrel=1
+pkgrel=2
 pkgdesc=Libraries and tools for the Bluetooth protocol stack
 url=http://www.bluez.org/;
 arch=('i686' 'x86_64')
@@ -50,7 +50,8 @@
 --enable-dund \
 --enable-cups \
 --enable-udevrules \
---enable-configfiles
+--enable-configfiles \
+--enable-wiimote
   make
 }
 



[arch-commits] Commit in bluez/trunk (PKGBUILD)

2011-08-01 Thread Andrea Scarpino
Date: Monday, August 1, 2011 @ 06:30:12
  Author: andrea
Revision: 134029

upgpkg: bluez 4.96-1
upstream release

Modified:
  bluez/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2011-08-01 10:27:56 UTC (rev 134028)
+++ PKGBUILD2011-08-01 10:30:12 UTC (rev 134029)
@@ -3,7 +3,7 @@
 # Contributor: Geoffroy Carrier geoff...@archlinux.org
 
 pkgname=bluez
-pkgver=4.95
+pkgver=4.96
 pkgrel=1
 pkgdesc=Libraries and tools for the Bluetooth protocol stack
 url=http://www.bluez.org/;
@@ -27,7 +27,7 @@
 
source=(http://www.kernel.org/pub/linux/bluetooth/${pkgname}-${pkgver}.tar.bz2;
 'bluetooth.conf.d'
 'rc.bluetooth')
-md5sums=('f34338440a4b3697cb9b3a2584f3251d'
+md5sums=('255c3dda8b93210ab0dcf8d04ddaf69f'
  '8f60a5eb9d84b9c64c478d63e1c24b10'
  'ca4c39eb4bb201bd2eacad01492cd735')
 



[arch-commits] Commit in bluez/trunk (PKGBUILD)

2011-07-07 Thread Andrea Scarpino
Date: Thursday, July 7, 2011 @ 17:27:00
  Author: andrea
Revision: 130704

upgpkg: bluez 4.95-1
upstream release

Modified:
  bluez/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2011-07-07 21:13:35 UTC (rev 130703)
+++ PKGBUILD2011-07-07 21:27:00 UTC (rev 130704)
@@ -3,7 +3,7 @@
 # Contributor: Geoffroy Carrier geoff...@archlinux.org
 
 pkgname=bluez
-pkgver=4.94
+pkgver=4.95
 pkgrel=1
 pkgdesc=Libraries and tools for the Bluetooth protocol stack
 url=http://www.bluez.org/;
@@ -27,7 +27,7 @@
 
source=(http://www.kernel.org/pub/linux/bluetooth/${pkgname}-${pkgver}.tar.bz2;
 'bluetooth.conf.d'
 'rc.bluetooth')
-md5sums=('1b599892f4c71c0ab6cf0ed4d3cb226a'
+md5sums=('f34338440a4b3697cb9b3a2584f3251d'
  '8f60a5eb9d84b9c64c478d63e1c24b10'
  'ca4c39eb4bb201bd2eacad01492cd735')
 



[arch-commits] Commit in bluez/trunk (PKGBUILD)

2011-06-16 Thread Andrea Scarpino
Date: Thursday, June 16, 2011 @ 11:50:23
  Author: andrea
Revision: 127566

upgpkg: bluez 4.94-1
upstream release

Modified:
  bluez/trunk/PKGBUILD

--+
 PKGBUILD |8 
 1 file changed, 4 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2011-06-16 15:24:36 UTC (rev 127565)
+++ PKGBUILD2011-06-16 15:50:23 UTC (rev 127566)
@@ -3,8 +3,8 @@
 # Contributor: Geoffroy Carrier geoff...@archlinux.org
 
 pkgname=bluez
-pkgver=4.93
-pkgrel=2
+pkgver=4.94
+pkgrel=1
 pkgdesc=Libraries and tools for the Bluetooth protocol stack
 url=http://www.bluez.org/;
 arch=('i686' 'x86_64')
@@ -21,13 +21,13 @@
 conflicts=('bluez-libs' 'bluez-utils')
 provides=('bluez-libs' 'bluez-utils')
 replaces=('bluez-libs' 'bluez-utils')
-options=('!libtool')
+options=('!libtool' 'emptydirs')
 backup=(etc/bluetooth/{main,rfcomm,audio,network,input,serial}.conf
 'etc/conf.d/bluetooth' 'etc/dbus-1/system.d/bluetooth.conf')
 
source=(http://www.kernel.org/pub/linux/bluetooth/${pkgname}-${pkgver}.tar.bz2;
 'bluetooth.conf.d'
 'rc.bluetooth')
-md5sums=('f60027b7c3bf0f9d24b5935d5f51477e'
+md5sums=('1b599892f4c71c0ab6cf0ed4d3cb226a'
  '8f60a5eb9d84b9c64c478d63e1c24b10'
  'ca4c39eb4bb201bd2eacad01492cd735')
 



[arch-commits] Commit in bluez/trunk (PKGBUILD)

2011-05-29 Thread Andrea Scarpino
Date: Sunday, May 29, 2011 @ 08:01:04
  Author: andrea
Revision: 125758

upgpkg: bluez 4.93-2
re-add bluetooth-hid2hci udev rule

Modified:
  bluez/trunk/PKGBUILD

--+
 PKGBUILD |7 +--
 1 file changed, 5 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2011-05-29 08:51:13 UTC (rev 125757)
+++ PKGBUILD2011-05-29 12:01:04 UTC (rev 125758)
@@ -4,7 +4,7 @@
 
 pkgname=bluez
 pkgver=4.93
-pkgrel=1
+pkgrel=2
 pkgdesc=Libraries and tools for the Bluetooth protocol stack
 url=http://www.bluez.org/;
 arch=('i686' 'x86_64')
@@ -49,7 +49,7 @@
 --enable-pand \
 --enable-dund \
 --enable-cups \
---disable-udevrules \
+--enable-udevrules \
 --enable-configfiles
   make
 }
@@ -73,4 +73,7 @@
   install -Dm755 test/simple-agent ${pkgdir}/usr/bin/bluez-simple-agent
   sed -i 's#/usr/bin/python#/usr/bin/python2#' \
 ${pkgdir}/usr/bin/bluez-simple-agent
+
+  # http://mailman.archlinux.org/pipermail/arch-general/2011-April/019787.html
+  rm ${pkgdir}/lib/udev/rules.d/97-bluetooth.rules
 }



[arch-commits] Commit in bluez/trunk (PKGBUILD)

2011-05-04 Thread Andrea Scarpino
Date: Wednesday, May 4, 2011 @ 02:56:54
  Author: andrea
Revision: 122436

upgpkg: bluez 4.93-1
upstream release; re-introduce hid2hci

Modified:
  bluez/trunk/PKGBUILD

--+
 PKGBUILD |7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2011-05-04 06:55:49 UTC (rev 122435)
+++ PKGBUILD2011-05-04 06:56:54 UTC (rev 122436)
@@ -3,8 +3,8 @@
 # Contributor: Geoffroy Carrier geoff...@archlinux.org
 
 pkgname=bluez
-pkgver=4.92
-pkgrel=2
+pkgver=4.93
+pkgrel=1
 pkgdesc=Libraries and tools for the Bluetooth protocol stack
 url=http://www.bluez.org/;
 arch=('i686' 'x86_64')
@@ -27,7 +27,7 @@
 
source=(http://www.kernel.org/pub/linux/bluetooth/${pkgname}-${pkgver}.tar.bz2;
 'bluetooth.conf.d'
 'rc.bluetooth')
-md5sums=('33bb9a75239889c5ee5fbc666ad41c5c'
+md5sums=('f60027b7c3bf0f9d24b5935d5f51477e'
  '8f60a5eb9d84b9c64c478d63e1c24b10'
  'ca4c39eb4bb201bd2eacad01492cd735')
 
@@ -44,6 +44,7 @@
 --enable-tools \
 --enable-bccmd \
 --enable-dfutool \
+--enable-hid2hci \
 --enable-hidd \
 --enable-pand \
 --enable-dund \



  1   2   >