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

2016-04-05 Thread Andreas Radke
Date: Tuesday, April 5, 2016 @ 19:51:24
  Author: andyrtr
Revision: 263923

upgpkg: bluez 5.39-1

upstream update 5.39

Modified:
  bluez/trunk/PKGBUILD
Deleted:
  bluez/trunk/fix_crash_when_connecting_to_controllers.diff
  bluez/trunk/fix_registering_to_player_events.diff

---+
 PKGBUILD  |   22 +++---
 fix_crash_when_connecting_to_controllers.diff |   37 
 fix_registering_to_player_events.diff |   30 ---
 3 files changed, 5 insertions(+), 84 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-04-05 17:49:13 UTC (rev 263922)
+++ PKGBUILD2016-04-05 17:51:24 UTC (rev 263923)
@@ -5,32 +5,20 @@
 
 pkgbase=bluez
 pkgname=('bluez' 'bluez-utils' 'bluez-libs' 'bluez-cups' 'bluez-hid2hci' 
'bluez-plugins')
-pkgver=5.38
-pkgrel=3
+pkgver=5.39
+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}
-bluetooth.modprobe
-fix_crash_when_connecting_to_controllers.diff
-fix_registering_to_player_events.diff)
+bluetooth.modprobe)
 # see https://www.kernel.org/pub/linux/bluetooth/sha256sums.asc
-sha256sums=('0618c5440be6715805060ab5eea930526f34089c437bf61819447b160254f4df'
+sha256sums=('21d1bc9150d3576296595217efb98a746b592389d25d5637e8bee5da7272593b'
 'SKIP'
-'46c021be659c9a1c4e55afd04df0c059af1f3d98a96338236412e449bf7477b4'
-'27296fb6cce5e62a04fbeb0779d852995779ecef553cc2e692d91d89eff8c673'
-'a3f39bf73a14b7621c36fb1ab8237914c80aaddd7a3dae46d29a515c5121ed38')
+'46c021be659c9a1c4e55afd04df0c059af1f3d98a96338236412e449bf7477b4')
 validpgpkeys=('E932D120BC2AEC444E558F0106CA9F5D1DCF2659') # Marcel Holtmann 

 
-prepare() {
-  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() {
   cd ${pkgname}-${pkgver}
   ./configure \

Deleted: fix_crash_when_connecting_to_controllers.diff
===
--- fix_crash_when_connecting_to_controllers.diff   2016-04-05 17:49:13 UTC 
(rev 263922)
+++ fix_crash_when_connecting_to_controllers.diff   2016-04-05 17:51:24 UTC 
(rev 263923)
@@ -1,37 +0,0 @@
-From 177d27c8c3db4588ec13dae0368f240902c42825 Mon Sep 17 00:00:00 2001
-From: Luiz Augusto von Dentz 
-Date: Tue, 22 Mar 2016 17:37:18 +0200
-Subject: audio/avrcp: Fix crash when connecting to controllers
-
-Patch 70fdb77d0af137aa859f267da976f610cd9bbbd2 has actually caused the
-following regression since no player is set:
-
-Invalid read of size 8
-  at 0x435B8E: avrcp_player_value_rsp (avrcp.c:2150)
-  by 0x42FB83: control_response (avctp.c:831)
-  by 0x42FB83: session_cb (avctp.c:996)
-  by 0x50C8E39: g_main_context_dispatch (in /usr/lib64/libglib-2.0.so.0.4600.2)
-  by 0x50C91CF: ??? (in /usr/lib64/libglib-2.0.so.0.4600.2)
-  by 0x50C94F1: g_main_loop_run (in /usr/lib64/libglib-2.0.so.0.4600.2)
-  by 0x40C258: main (main.c:687)
-Address 0x58 is not stack'd, malloc'd or (recently) free'd

- profiles/audio/avrcp.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/profiles/audio/avrcp.c b/profiles/audio/avrcp.c
-index 787643c..0c6279a 100644
 a/profiles/audio/avrcp.c
-+++ b/profiles/audio/avrcp.c
-@@ -3656,7 +3656,7 @@ static gboolean avrcp_get_capabilities_resp(struct avctp 
*conn,
-   }
-   }
- 
--  if (!session->controller)
-+  if (!session->controller || !session->controller->player)
-   return FALSE;
- 
-   if (!(events & (1 << AVRCP_EVENT_SETTINGS_CHANGED)))
--- 
-cgit v0.12
-

Deleted: fix_registering_to_player_events.diff
===
--- fix_registering_to_player_events.diff   2016-04-05 17:49:13 UTC (rev 
263922)
+++ fix_registering_to_player_events.diff   2016-04-05 17:51:24 UTC (rev 
263923)
@@ -1,30 +0,0 @@
-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
 

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

2013-11-20 Thread Andreas Radke
Date: Wednesday, November 20, 2013 @ 16:33:19
  Author: andyrtr
Revision: 199981

upgpkg: bluez 5.11-1

upstream update 5.11; add patch for obex file transfer FS#37773

Added:
  bluez/trunk/0001-Allow-using-obexd-without-systemd-in-the-user-session.patch
(from rev 199980, 
bluez/trunk/0001-Allow-using-obexd-without-systemd-in-the-user-sessio.patch)
Modified:
  bluez/trunk/PKGBUILD
Deleted:
  bluez/trunk/0001-Allow-using-obexd-without-systemd-in-the-user-sessio.patch

--+
 0001-Allow-using-obexd-without-systemd-in-the-user-sessio.patch  |   59 
--
 0001-Allow-using-obexd-without-systemd-in-the-user-session.patch |   59 
++
 PKGBUILD |6 -
 3 files changed, 62 insertions(+), 62 deletions(-)

Deleted: 0001-Allow-using-obexd-without-systemd-in-the-user-sessio.patch
===
--- 0001-Allow-using-obexd-without-systemd-in-the-user-sessio.patch 
2013-11-20 14:34:37 UTC (rev 199980)
+++ 0001-Allow-using-obexd-without-systemd-in-the-user-sessio.patch 
2013-11-20 15:33:19 UTC (rev 199981)
@@ -1,59 +0,0 @@
-From 3027cb7141fb65cf3eeda69c688db8c4045e2d3f Mon Sep 17 00:00:00 2001
-From: Giovanni Campagna gcampagna-cnudlrotfmnnlxjtenl...@public.gmane.org
-Date: Sat, 12 Oct 2013 17:45:25 +0200
-Subject: [PATCH] Allow using obexd without systemd in the user session
-
-Not all sessions run systemd --user (actually, the majority
-doesn't), so the dbus daemon must be able to spawn obexd
-directly, and to do so it needs the full path of the daemon.

- Makefile.obexd  | 4 ++--
- obexd/src/org.bluez.obex.service| 4 
- obexd/src/org.bluez.obex.service.in | 4 
- 3 files changed, 6 insertions(+), 6 deletions(-)
- delete mode 100644 obexd/src/org.bluez.obex.service
- create mode 100644 obexd/src/org.bluez.obex.service.in
-
-diff --git a/Makefile.obexd b/Makefile.obexd
-index 3760867..142e7c3 100644
 a/Makefile.obexd
-+++ b/Makefile.obexd
-@@ -2,12 +2,12 @@
- if SYSTEMD
- systemduserunitdir = @SYSTEMD_USERUNITDIR@
- systemduserunit_DATA = obexd/src/obex.service
-+endif
- 
- dbussessionbusdir = @DBUS_SESSIONBUSDIR@
- dbussessionbus_DATA = obexd/src/org.bluez.obex.service
--endif
- 
--EXTRA_DIST += obexd/src/obex.service.in obexd/src/org.bluez.obex.service
-+EXTRA_DIST += obexd/src/obex.service.in obexd/src/org.bluez.obex.service.in
- 
- obex_plugindir = $(libdir)/obex/plugins
- 
-diff --git a/obexd/src/org.bluez.obex.service 
b/obexd/src/org.bluez.obex.service
-deleted file mode 100644
-index a538088..000
 a/obexd/src/org.bluez.obex.service
-+++ /dev/null
-@@ -1,4 +0,0 @@
--[D-BUS Service]
--Name=org.bluez.obex
--Exec=/bin/false
--SystemdService=dbus-org.bluez.obex.service
-diff --git a/obexd/src/org.bluez.obex.service.in 
b/obexd/src/org.bluez.obex.service.in
-new file mode 100644
-index 000..9c815f2
 /dev/null
-+++ b/obexd/src/org.bluez.obex.service.in
-@@ -0,0 +1,4 @@
-+[D-BUS Service]
-+Name=org.bluez.obex
-+Exec=@libexecdir@/obexd
-+SystemdService=dbus-org.bluez.obex.service
--- 
-1.8.3.1
-
-

Copied: 
bluez/trunk/0001-Allow-using-obexd-without-systemd-in-the-user-session.patch 
(from rev 199980, 
bluez/trunk/0001-Allow-using-obexd-without-systemd-in-the-user-sessio.patch)
===
--- 0001-Allow-using-obexd-without-systemd-in-the-user-session.patch
(rev 0)
+++ 0001-Allow-using-obexd-without-systemd-in-the-user-session.patch
2013-11-20 15:33:19 UTC (rev 199981)
@@ -0,0 +1,59 @@
+From 3027cb7141fb65cf3eeda69c688db8c4045e2d3f Mon Sep 17 00:00:00 2001
+From: Giovanni Campagna gcampagna-cnudlrotfmnnlxjtenl...@public.gmane.org
+Date: Sat, 12 Oct 2013 17:45:25 +0200
+Subject: [PATCH] Allow using obexd without systemd in the user session
+
+Not all sessions run systemd --user (actually, the majority
+doesn't), so the dbus daemon must be able to spawn obexd
+directly, and to do so it needs the full path of the daemon.
+---
+ Makefile.obexd  | 4 ++--
+ obexd/src/org.bluez.obex.service| 4 
+ obexd/src/org.bluez.obex.service.in | 4 
+ 3 files changed, 6 insertions(+), 6 deletions(-)
+ delete mode 100644 obexd/src/org.bluez.obex.service
+ create mode 100644 obexd/src/org.bluez.obex.service.in
+
+diff --git a/Makefile.obexd b/Makefile.obexd
+index 3760867..142e7c3 100644
+--- a/Makefile.obexd
 b/Makefile.obexd
+@@ -2,12 +2,12 @@
+ if SYSTEMD
+ systemduserunitdir = @SYSTEMD_USERUNITDIR@
+ systemduserunit_DATA = obexd/src/obex.service
++endif
+ 
+ dbussessionbusdir = @DBUS_SESSIONBUSDIR@
+ dbussessionbus_DATA = obexd/src/org.bluez.obex.service
+-endif
+ 
+-EXTRA_DIST += obexd/src/obex.service.in obexd/src/org.bluez.obex.service
++EXTRA_DIST += obexd/src/obex.service.in obexd/src/org.bluez.obex.service.in
+ 
+ obex_plugindir = $(libdir)/obex/plugins
+ 

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

2012-06-19 Thread Tom Gundersen
Date: Tuesday, June 19, 2012 @ 08:07:00
  Author: tomegun
Revision: 162065

upgpkg: bluez 4.100-1

upstream release

Added:
  bluez/trunk/org.bluez.service
Modified:
  bluez/trunk/PKGBUILD
Deleted:
  bluez/trunk/0001-udev-remove-deprecated-function.patch

+
 0001-udev-remove-deprecated-function.patch |   27 ---
 PKGBUILD   |   25 +++--
 org.bluez.service  |5 +
 3 files changed, 16 insertions(+), 41 deletions(-)

Deleted: 0001-udev-remove-deprecated-function.patch
===
--- 0001-udev-remove-deprecated-function.patch  2012-06-19 10:51:27 UTC (rev 
162064)
+++ 0001-udev-remove-deprecated-function.patch  2012-06-19 12:07:00 UTC (rev 
162065)
@@ -1,27 +0,0 @@
-From 9e850650bd98e9d05fc937489692b26a64924d16 Mon Sep 17 00:00:00 2001
-From: Tom Gundersen t...@jklm.no
-Date: Sun, 27 May 2012 00:53:36 +0200
-Subject: [PATCH] udev: remove deprecated function
-
-This function has in the past returned /sys unconditionally. As of udev-183 
it
-is gone, so just replace it with the string.

- tools/hid2hci.c |2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/tools/hid2hci.c b/tools/hid2hci.c
-index 45a3a3d..e3a5b2e 100644
 a/tools/hid2hci.c
-+++ b/tools/hid2hci.c
-@@ -291,7 +291,7 @@ int main(int argc, char *argv[])
-   if (udev == NULL)
-   goto exit;
- 
--  snprintf(syspath, sizeof(syspath), %s/%s, udev_get_sys_path(udev), 
devpath);
-+  snprintf(syspath, sizeof(syspath), /sys/%s, devpath);
-   udev_dev = udev_device_new_from_syspath(udev, syspath);
-   if (udev_dev == NULL) {
-   fprintf(stderr, error: could not find '%s'\n, devpath);
--- 
-1.7.10.2
-

Modified: PKGBUILD
===
--- PKGBUILD2012-06-19 10:51:27 UTC (rev 162064)
+++ PKGBUILD2012-06-19 12:07:00 UTC (rev 162065)
@@ -4,14 +4,14 @@
 # Contributor: Geoffroy Carrier geoff...@archlinux.org
 
 pkgname=bluez
-pkgver=4.99
-pkgrel=6
+pkgver=4.100
+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' 'udev')
-makedepends=('gstreamer0.10-base' 'libusb-compat' 'libsndfile')
+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
 dbus-python: to run bluez-simple-agent
@@ -25,13 +25,15 @@
 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;
-   '0001-udev-remove-deprecated-function.patch'
 'bluetooth.conf.d'
-   'rc.bluetooth')
+   'rc.bluetooth'
+   'org.bluez.service')
 
 build() {
   cd ${srcdir}/${pkgname}-${pkgver}
 
+  cp ../org.bluez.service src/
+
   ./configure --prefix=/usr \
 --sysconfdir=/etc \
 --localstatedir=/var \
@@ -51,8 +53,6 @@
 --disable-test \
 --with-systemdunitdir=/usr/lib/systemd/system
 
-  patch -p1 -i ../0001-udev-remove-deprecated-function.patch
-
   make
 }
 
@@ -80,11 +80,8 @@
 ${pkgdir}/usr/bin/bluez-simple-agent \
 ${pkgdir}/usr/bin/bluez-test-device \
 ${pkgdir}/usr/bin/bluez-test-input
-
-  # fixed upstream in git
-  rm ${pkgdir}/usr/lib/udev/rules.d/97-bluetooth.rules
 }
-md5sums=('2387053eb5a7b02f37df4871df022a02'
- '3175155fbaf73f01377f6c35b5c5e468'
+md5sums=('54809d476c52665ff64594b6828016b5'
  '7412982b440f29fa7f76a41a87fef985'
- '8f9498707f809506928b2e480d3b6789')
+ '8f9498707f809506928b2e480d3b6789'
+ '54c7de598327bf11d56592235d0702f4')

Added: org.bluez.service
===
--- org.bluez.service   (rev 0)
+++ org.bluez.service   2012-06-19 12:07:00 UTC (rev 162065)
@@ -0,0 +1,5 @@
+[D-BUS Service]
+Name=org.bluez
+Exec=/bin/false
+User=root
+SystemdService=dbus-org.bluez.service