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

Andreas Radke andyrtr at archlinux.org
Wed Sep 23 19:52:02 UTC 2015


    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
===================================================================
--- PKGBUILD	2015-09-23 18:52:57 UTC (rev 247173)
+++ PKGBUILD	2015-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 <marcel at holtmann.org>
 
-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() {



More information about the arch-commits mailing list