From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f179.google.com (mail-wi0-f179.google.com [209.85.212.179]) by mail.openembedded.org (Postfix) with ESMTP id 12FE360043 for ; Tue, 7 Apr 2015 10:56:22 +0000 (UTC) Received: by wizk4 with SMTP id k4so12578822wiz.1 for ; Tue, 07 Apr 2015 03:56:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:date:to:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=vi6JbRIOaCmFP3goqCDuHJMZbduq0GNaTBjekdcBjHg=; b=G2JkyaDccMYtDGJGxTTQIolz+AJEk1txr9zHimm8+DC7orWsC1JqrqKKqMdR8fJSAU NB9B5aVh4+obTlvc6PFHRKzX4GIepFcFURfYGuqB3lZQnBVYYP+ehpuDn8mIS26PWapQ 0qQ2rj385nVob37D2I0rUOSmGh3dhnLKKDJXsQSpcBSEosKbU1i/xsG/yUVzwv4z3VQg rfn0ZcpD0oD5Y7CHKSW9FZS6jXaaH79O225wa7Sg6ByNdjgArLB1oe9XVmtV+9HqwAS0 WiROJyiBKkVcSG8gle1rzPtXKx9B31SGbjwnvuLVMnwfYDeTsuKx/XGhEuXPLGbTYUcY miNg== X-Received: by 10.180.202.228 with SMTP id kl4mr3449360wic.66.1428404183083; Tue, 07 Apr 2015 03:56:23 -0700 (PDT) Received: from localhost (ip-86-49-34-37.net.upcbroadband.cz. [86.49.34.37]) by mx.google.com with ESMTPSA id n6sm10433129wjy.8.2015.04.07.03.56.21 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 07 Apr 2015 03:56:21 -0700 (PDT) From: Martin Jansa X-Google-Original-From: Martin Jansa Date: Tue, 7 Apr 2015 12:57:04 +0200 To: openembedded-devel@lists.openembedded.org Message-ID: <20150407105704.GB2340@jama> References: <1428070608-23355-1-git-send-email-cristian.iorga@intel.com> <20150403174528.GO14928@jama> <969F26A8BAB325438E7EB80D3C3134FB2F4944B9@irsmsx105.ger.corp.intel.com> MIME-Version: 1.0 In-Reply-To: <969F26A8BAB325438E7EB80D3C3134FB2F4944B9@irsmsx105.ger.corp.intel.com> User-Agent: Mutt/1.5.23 (2014-03-12) Subject: Re: [meta-oe][PATCH] bluez collection: add (moved from oe-core) X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Apr 2015 10:56:23 -0000 X-Groupsio-MsgNum: 54991 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="QTprm0S8XgL7H0Dt" Content-Disposition: inline --QTprm0S8XgL7H0Dt Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Apr 06, 2015 at 07:21:49AM +0000, Iorga, Cristian wrote: > No, I intended to place it exactly where it is in the patch. Then improve the commit message and fix indentation (use 4 spaces instead of tabs). > -----Original Message----- > From: openembedded-devel-bounces@lists.openembedded.org [mailto:openembed= ded-devel-bounces@lists.openembedded.org] On Behalf Of Martin Jansa > Sent: Friday, April 3, 2015 8:45 PM > To: openembedded-devel@lists.openembedded.org > Subject: Re: [oe] [meta-oe][PATCH] bluez collection: add (moved from oe-c= ore) >=20 > On Fri, Apr 03, 2015 at 05:16:48PM +0300, Cristian Iorga wrote: > > BlueZ 4.x Bluetooth stack has been removed from oe-core. > > However, it is still supported, so add it to meta-oe networking layer. >=20 > "meta-oe netwrorking layer" is very confusing, did you plan to put it in = meta-networking? >=20 > > In order to use it in oe-core/poky/YP 'bluez4' needs to be added to=20 > > distro features. 'bluetooth' distro feature needs to be present also. > >=20 > > Signed-off-by: Cristian Iorga > > --- > > .../obsolete_automake_macros.patch | 14 +++++++ > > .../bluez/bluez-hcidump_2.5.bb | 22 +++++++++++ > > .../bluez/bluez4-4.101/bluetooth.conf | 16 ++++++++ > > .../bluez/bluez4-4.101/fix-udev-paths.patch | 37 ++++++++++++++= +++ > > .../bluez/bluez4-4.101/install-test-script.patch | 26 ++++++++++++ > > ...ork-fix-network-Connect-method-parameters.patch | 30 ++++++++++++++ > > .../bluez4-4.101/obsolete_automake_macros.patch | 14 +++++++ > > .../bluez/bluez4-4.101/sbc_mmx.patch | 24 +++++++++++ > > ...pygobject-instead-ofgobject-introspection.patch | 27 +++++++++++++ > > meta-oe/recipes-connectivity/bluez/bluez4.inc | 46 ++++++++++++++= ++++++++ > > meta-oe/recipes-connectivity/bluez/bluez4_4.101.bb | 46 ++++++++++++++= ++++++++ > > .../bluez/gst-plugin-bluetooth_4.101.bb | 39 ++++++++++++++= ++++ > > 12 files changed, 341 insertions(+) > > create mode 100644=20 > > meta-oe/recipes-connectivity/bluez/bluez-hcidump-2.5/obsolete_automake > > _macros.patch create mode 100644=20 > > meta-oe/recipes-connectivity/bluez/bluez-hcidump_2.5.bb > > create mode 100644=20 > > meta-oe/recipes-connectivity/bluez/bluez4-4.101/bluetooth.conf > > create mode 100644=20 > > meta-oe/recipes-connectivity/bluez/bluez4-4.101/fix-udev-paths.patch > > create mode 100644=20 > > meta-oe/recipes-connectivity/bluez/bluez4-4.101/install-test-script.pa > > tch create mode 100644=20 > > meta-oe/recipes-connectivity/bluez/bluez4-4.101/network-fix-network-Co > > nnect-method-parameters.patch create mode 100644=20 > > meta-oe/recipes-connectivity/bluez/bluez4-4.101/obsolete_automake_macr > > os.patch create mode 100644=20 > > meta-oe/recipes-connectivity/bluez/bluez4-4.101/sbc_mmx.patch > > create mode 100644=20 > > meta-oe/recipes-connectivity/bluez/bluez4-4.101/use-legacy-pygobject-i > > nstead-ofgobject-introspection.patch > > create mode 100644 meta-oe/recipes-connectivity/bluez/bluez4.inc > > create mode 100644 meta-oe/recipes-connectivity/bluez/bluez4_4.101.bb > > create mode 100644=20 > > meta-oe/recipes-connectivity/bluez/gst-plugin-bluetooth_4.101.bb > >=20 > > diff --git=20 > > a/meta-oe/recipes-connectivity/bluez/bluez-hcidump-2.5/obsolete_automa > > ke_macros.patch=20 > > b/meta-oe/recipes-connectivity/bluez/bluez-hcidump-2.5/obsolete_automa > > ke_macros.patch > > new file mode 100644 > > index 0000000..0c77f1a > > --- /dev/null > > +++ b/meta-oe/recipes-connectivity/bluez/bluez-hcidump-2.5/obsolete_au > > +++ tomake_macros.patch > > @@ -0,0 +1,14 @@ > > +Upstream-Status: Pending [package obsolete/not maintained by=20 > > +upstream] > > + > > +Signed-off-by: Marko Lindqvist diff -Nurd=20 > > +bluez-hcidump-2.5/configure.ac bluez-hcidump-2.5/configure.ac > > +--- bluez-hcidump-2.5/configure.ac 2012-11-30 10:29:41.000000000 +0200 > > ++++ bluez-hcidump-2.5/configure.ac 2013-01-12 10:02:10.609511463 +0200 > > +@@ -2,7 +2,7 @@ > > + AC_INIT(bluez-hcidump, 2.5) > > + > > + AM_INIT_AUTOMAKE([foreign subdir-objects]) > > +-AM_CONFIG_HEADER(config.h) > > ++AC_CONFIG_HEADERS(config.h) > > + > > + m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) > > diff --git a/meta-oe/recipes-connectivity/bluez/bluez-hcidump_2.5.bb=20 > > b/meta-oe/recipes-connectivity/bluez/bluez-hcidump_2.5.bb > > new file mode 100644 > > index 0000000..3950630 > > --- /dev/null > > +++ b/meta-oe/recipes-connectivity/bluez/bluez-hcidump_2.5.bb > > @@ -0,0 +1,22 @@ > > +SUMMARY =3D "Linux Bluetooth Stack HCI Debugger Tool" > > +DESCRIPTION =3D "The hcidump tool reads raw HCI data coming from and= =20 > > +going to a Bluetooth device \ and displays the commands, events and da= ta in a human-readable form." > > + > > +SECTION =3D "console" > > +# hcidump was integrated into bluez5 > > +DEPENDS =3D "bluez4" > > +RCONFLICTS_${PN} =3D "bluez5" > > +LICENSE =3D "GPLv2+" > > +LIC_FILES_CHKSUM =3D "file://COPYING;md5=3Deb723b61539feef013de476e68b= 5c50a \ > > + file://src/hcidump.c;beginline=3D1;endline=3D23;md= 5=3D3bee3a162dff43a5be7470710b99fbcf" > > +PR =3D "r1" > > + > > +SRC_URI =3D "http://www.kernel.org/pub/linux/bluetooth/bluez-hcidump-$= {PV}.tar.gz \ > > + file://obsolete_automake_macros.patch \ " > > + > > +SRC_URI[md5sum] =3D "2eab54bbd2b59a2ed4274ebb9390cf18" > > +SRC_URI[sha256sum] =3D "9b7c52b375081883738cf049ecabc103b97d094b19c654= 4fb241267905d88881" > > +S =3D "${WORKDIR}/bluez-hcidump-${PV}" > > + > > +inherit autotools > > diff --git=20 > > a/meta-oe/recipes-connectivity/bluez/bluez4-4.101/bluetooth.conf=20 > > b/meta-oe/recipes-connectivity/bluez/bluez4-4.101/bluetooth.conf > > new file mode 100644 > > index 0000000..ca5e9e4 > > --- /dev/null > > +++ b/meta-oe/recipes-connectivity/bluez/bluez4-4.101/bluetooth.conf > > @@ -0,0 +1,16 @@ > > + > > + > > + > + "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"> > > + > > + > > + > > + > > + > > + > > + > > + > > + > > + > > + > > diff --git=20 > > a/meta-oe/recipes-connectivity/bluez/bluez4-4.101/fix-udev-paths.patch= =20 > > b/meta-oe/recipes-connectivity/bluez/bluez4-4.101/fix-udev-paths.patch > > new file mode 100644 > > index 0000000..8089914 > > --- /dev/null > > +++ b/meta-oe/recipes-connectivity/bluez/bluez4-4.101/fix-udev-paths.p > > +++ atch > > @@ -0,0 +1,37 @@ > > +Add udevdir/udevrulesdir options > > + > > +Upstream-Status: Inappropriate [configuration] > > +Signed-off-by: Constantin Musca > > + > > +Index: bluez-4.101/Makefile.am > > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > +--- bluez-4.101.orig/Makefile.am > > ++++ bluez-4.101/Makefile.am > > +@@ -395,7 +395,7 @@ EXTRA_DIST +=3D audio/bluetooth.conf include=20 > > +Makefile.tools > > +=20 > > + if DATAFILES > > +-rulesdir =3D @UDEV_DIR@/rules.d > > ++rulesdir =3D @UDEV_RULES_DIR@ > > +=20 > > + udev_files =3D > > +=20 > > +Index: bluez-4.101/configure.ac > > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > +--- bluez-4.101.orig/configure.ac > > ++++ bluez-4.101/configure.ac > > +@@ -61,4 +61,14 @@ if (test -n "${path_systemdunit}"); then fi =20 > > +AM_CONDITIONAL(SYSTEMD, test -n "${path_systemdunit}") > > +=20 > > ++AC_ARG_WITH([udevdir], > > ++ AS_HELP_STRING([--with-udevdir=3DDIR], [udev directory]), > > ++ [], [with_udevdir=3D/lib/udev/]) > > ++AC_SUBST([UDEV_DIR], [$with_udevdir]) > > ++ > > ++AC_ARG_WITH([udevrulesdir], > > ++ AS_HELP_STRING([--with-udevrulesdir=3DDIR], [udev rules directory= ]), > > ++ [], [with_udevrulesdir=3D/lib/udev/rules.d]) > > ++AC_SUBST([UDEV_RULES_DIR], [$with_udevrulesdir]) > > ++ > > + AC_OUTPUT(Makefile doc/version.xml src/bluetoothd.8=20 > > + src/bluetooth.service bluez.pc) > > diff --git=20 > > a/meta-oe/recipes-connectivity/bluez/bluez4-4.101/install-test-script. > > patch=20 > > b/meta-oe/recipes-connectivity/bluez/bluez4-4.101/install-test-script. > > patch > > new file mode 100644 > > index 0000000..23f7d99 > > --- /dev/null > > +++ b/meta-oe/recipes-connectivity/bluez/bluez4-4.101/install-test-scr > > +++ ipt.patch > > @@ -0,0 +1,26 @@ > > +Upstream-Status: Inappropriate > > + > > +Install the bluez's test scripts > > + > > +Signed-off-by: Zhong Hongbo diff -Nurd=20 > > +bluez-4.101.orig/Makefile.tools bluez-4.101/Makefile.tools > > +--- bluez-4.101.orig/Makefile.tools 2013-11-19 15:49:07.688838000 +0800 > > ++++ bluez-4.101/Makefile.tools 2013-11-19 15:50:09.256837848 +0800 > > +@@ -227,6 +227,17 @@ > > + test/service-spp.xml test/service-opp.xml test/service-ftp.xml \ > > + test/simple-player test/test-nap > > +=20 > > ++bluez4_testdir =3D $(libdir)/bluez4/test/ dist_bluez4_test_SCRIPTS = =3D=20 > > ++test/sap-client test/hsplay test/hsmicro \ > > ++ test/monitor-bluetooth test/list-devices \ > > ++ test/test-discovery test/test-manager test/test-adapter \ > > ++ test/test-device test/test-service test/test-serial \ > > ++ test/test-telephony test/test-network test/simple-agent \ > > ++ test/simple-service test/simple-endpoint test/test-audio \ > > ++ test/test-input test/test-sap-server test/test-oob \ > > ++ test/test-attrib test/test-proximity test/test-thermometer \ > > ++ test/test-serial-proxy test/test-health test/test-health-sink \ > > ++ test/simple-player test/test-nap > > + if HIDD > > + bin_PROGRAMS +=3D compat/hidd > > +=20 > > diff --git=20 > > a/meta-oe/recipes-connectivity/bluez/bluez4-4.101/network-fix-network- > > Connect-method-parameters.patch=20 > > b/meta-oe/recipes-connectivity/bluez/bluez4-4.101/network-fix-network- > > Connect-method-parameters.patch > > new file mode 100644 > > index 0000000..37f9199 > > --- /dev/null > > +++ b/meta-oe/recipes-connectivity/bluez/bluez4-4.101/network-fix-netw > > +++ ork-Connect-method-parameters.patch > > @@ -0,0 +1,30 @@ > > +Upstream-Status: Backport > > +Signed-off-by: Peter A. Bigot > > + > > +From 57170b311f1468330f4a9961dc0b3ac45f97bc13 Mon Sep 17 00:00:00=20 > > +2001 > > +From: Gustavo Padovan > > +Date: Sat, 30 Jun 2012 00:39:05 -0300 > > +Subject: [PATCH] network: fix network Connect() method parameters > > + > > +--- > > + network/connection.c | 4 +++- > > + 1 file changed, 3 insertions(+), 1 deletion(-) > > + > > +diff --git a/network/connection.c b/network/connection.c index=20 > > +544ec3a..59423a9 100644 > > +--- a/network/connection.c > > ++++ b/network/connection.c > > +@@ -554,7 +554,9 @@ static void path_unregister(void *data) > > +=20 > > + static const GDBusMethodTable connection_methods[] =3D { > > + { GDBUS_ASYNC_METHOD("Connect", > > +- NULL, NULL, connection_connect) }, > > ++ GDBUS_ARGS({"uuid", "s"}), > > ++ GDBUS_ARGS({"interface", "s"}), > > ++ connection_connect) }, > > + { GDBUS_METHOD("Disconnect", > > + NULL, NULL, connection_disconnect) }, > > + { GDBUS_METHOD("GetProperties", > > +-- > > +1.7.9.5 > > + > > diff --git=20 > > a/meta-oe/recipes-connectivity/bluez/bluez4-4.101/obsolete_automake_ma > > cros.patch=20 > > b/meta-oe/recipes-connectivity/bluez/bluez4-4.101/obsolete_automake_ma > > cros.patch > > new file mode 100644 > > index 0000000..1068f24 > > --- /dev/null > > +++ b/meta-oe/recipes-connectivity/bluez/bluez4-4.101/obsolete_automak > > +++ e_macros.patch > > @@ -0,0 +1,14 @@ > > +Upstream-Status: Backport > > + > > +Signed-off-by: Marko Lindqvist diff -Nurd=20 > > +bluez-4.101/configure.ac bluez-4.101/configure.ac > > +--- bluez-4.101/configure.ac 2012-06-22 19:36:49.000000000 +0300 > > ++++ bluez-4.101/configure.ac 2013-01-07 06:13:18.385888966 +0200 > > +@@ -2,7 +2,7 @@ > > + AC_INIT(bluez, 4.101) > > + > > + AM_INIT_AUTOMAKE([foreign subdir-objects color-tests]) > > +-AM_CONFIG_HEADER(config.h) > > ++AC_CONFIG_HEADERS(config.h) > > + > > + m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) > > diff --git=20 > > a/meta-oe/recipes-connectivity/bluez/bluez4-4.101/sbc_mmx.patch=20 > > b/meta-oe/recipes-connectivity/bluez/bluez4-4.101/sbc_mmx.patch > > new file mode 100644 > > index 0000000..98fab45 > > --- /dev/null > > +++ b/meta-oe/recipes-connectivity/bluez/bluez4-4.101/sbc_mmx.patch > > @@ -0,0 +1,24 @@ > > +on x86 and x86_64 gcc 4.7 complains > > + > > +sbc/sbc_primitives_mmx.c: In function 'sbc_calc_scalefactors_mmx': > > +sbc/sbc_primitives_mmx.c:294:4: warning: asm operand 2 probably=20 > > +doesn't match constraints [enabled by default] > > +sbc/sbc_primitives_mmx.c:294:4: error: impossible constraint in 'asm' > > + > > +This patch is taken from=20 > > +https://bugs.launchpad.net/ubuntu/+source/bluez/+bug/911871 > > + > > +Signed-off-by: Khem Raj > > + > > +Upstream-Status: Pending > > +Index: bluez-4.98/sbc/sbc_primitives_mmx.c > > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > +--- bluez-4.98.orig/sbc/sbc_primitives_mmx.c 2011-12-21 14:53:54.00000= 0000 -0800 > > ++++ bluez-4.98/sbc/sbc_primitives_mmx.c 2012-02-24 10:07:03.422073800 = -0800 > > +@@ -318,7 +318,7 @@ > > + "movl %k0, 4(%3)\n" > > + : "+r" (blk) > > + : "r" (&sb_sample_f[0][ch][sb]), > > +- "i" ((char *) &sb_sample_f[1][0][0] - > > ++ "r" ((char *) &sb_sample_f[1][0][0] - > > + (char *) &sb_sample_f[0][0][0]), > > + "r" (&scale_factor[ch][sb]), > > + "r" (&consts), > > diff --git=20 > > a/meta-oe/recipes-connectivity/bluez/bluez4-4.101/use-legacy-pygobject > > -instead-ofgobject-introspection.patch=20 > > b/meta-oe/recipes-connectivity/bluez/bluez4-4.101/use-legacy-pygobject > > -instead-ofgobject-introspection.patch > > new file mode 100644 > > index 0000000..37037f5 > > --- /dev/null > > +++ b/meta-oe/recipes-connectivity/bluez/bluez4-4.101/use-legacy-pygob > > +++ ject-instead-ofgobject-introspection.patch > > @@ -0,0 +1,27 @@ > > +Upstream-Status: Inappropriate > > + > > +use legacy pygobject instead of gobject-introspection > > + > > +Signed-off-by: Zhong Hongbo > > +--- > > +diff -Nurd bluez-4.101.orig/test/simple-agent bluez-4.101/test/simple-= agent > > +--- bluez-4.101.orig/test/simple-agent 2013-11-13 17:14:08.138118159 += 0800 > > ++++ bluez-4.101/test/simple-agent 2013-11-13 17:14:29.034118107 +0800 > > +@@ -2,7 +2,7 @@ > > +=20 > > + from __future__ import absolute_import, print_function,=20 > > + unicode_literals > > +=20 > > +-from gi.repository import GObject > > ++import gobject > > +=20 > > + import sys > > + import dbus > > +@@ -122,7 +122,7 @@ > > + path =3D "/test/agent" > > + agent =3D Agent(bus, path) > > +=20 > > +- mainloop =3D GObject.MainLoop() > > ++ mainloop =3D gobject.MainLoop() > > +=20 > > + if len(args) > 1: > > + if len(args) > 2: > > diff --git a/meta-oe/recipes-connectivity/bluez/bluez4.inc=20 > > b/meta-oe/recipes-connectivity/bluez/bluez4.inc > > new file mode 100644 > > index 0000000..11c9616 > > --- /dev/null > > +++ b/meta-oe/recipes-connectivity/bluez/bluez4.inc > > @@ -0,0 +1,46 @@ > > +SUMMARY =3D "Linux Bluetooth Stack Userland V4" > > +DESCRIPTION =3D "Linux Bluetooth stack V4 userland components. These = include a system configurations, daemons, tools and system libraries." > > +HOMEPAGE =3D "http://www.bluez.org" > > +SECTION =3D "libs" > > +LICENSE =3D "GPLv2+ & LGPLv2.1+" > > +LIC_FILES_CHKSUM =3D "file://COPYING;md5=3D12f884d2ae1ff87c09e5b7ccc2c= 4ca7e \ > > + file://COPYING.LIB;md5=3Dfb504b67c50331fc78734fed9= 0fb0e09 \ > > + file://src/main.c;beginline=3D1;endline=3D24;md5= =3D9bc54b93cd7e17bf03f52513f39f926e \ > > + file://sbc/sbc.c;beginline=3D1;endline=3D25;md5=3D= 1a40781ed30d50d8639323a184aeb191" > > +DEPENDS =3D "udev libusb dbus-glib glib-2.0 libcheck readline libsndfi= le1" > > +RDEPENDS_${PN}-dev =3D "bluez-hcidump" > > + > > +PACKAGECONFIG ??=3D "\ > > + ${@bb.utils.contains('DISTRO_FEATURES', 'alsa', 'alsa', '', d)}\ > > + ${@bb.utils.contains('DISTRO_FEATURES', 'pie', 'pie', '', d)}\ " > > +PACKAGECONFIG[alsa] =3D "--enable-alsa,--disable-alsa,alsa-lib" > > +PACKAGECONFIG[pie] =3D "--enable-pie,--disable-pie," > > + > > +ASNEEDED =3D "" > > + > > +SRC_URI =3D "\ > > + ${KERNELORG_MIRROR}/linux/bluetooth/bluez-${PV}.tar.gz \ " > > +S =3D "${WORKDIR}/bluez-${PV}" > > + > > +inherit autotools-brokensep pkgconfig > > + > > +EXTRA_OECONF =3D "\ > > + --disable-gstreamer \ > > + --enable-usb \ > > + --enable-tools \ > > + --enable-bccmd \ > > + --enable-hid2hci \ > > + --enable-dfutool \ > > + --disable-hidd \ > > + --disable-pand \ > > + --disable-dund \ > > + --disable-cups \ > > + --enable-test \ > > + --enable-datafiles \ > > + --with-udevdir=3D`pkg-config --variable=3Dudevdir udev` \ > > + --with-udevrulesdir=3D`pkg-config --variable=3Dudevdir udev`/rules.d= \=20 > > +" > > + > > +EXCLUDE_FROM_WORLD =3D "1" > > diff --git a/meta-oe/recipes-connectivity/bluez/bluez4_4.101.bb=20 > > b/meta-oe/recipes-connectivity/bluez/bluez4_4.101.bb > > new file mode 100644 > > index 0000000..28a94ed > > --- /dev/null > > +++ b/meta-oe/recipes-connectivity/bluez/bluez4_4.101.bb > > @@ -0,0 +1,46 @@ > > +require bluez4.inc > > + > > +PR =3D "r11" > > + > > +SRC_URI +=3D "file://bluetooth.conf \ > > + file://sbc_mmx.patch \ > > + file://fix-udev-paths.patch \ > > + file://obsolete_automake_macros.patch \ > > + file://network-fix-network-Connect-method-parameters.patch= \ > > + file://install-test-script.patch \ > > + =20 > > +file://use-legacy-pygobject-instead-ofgobject-introspection.patch \ " > > + > > +SRC_URI[md5sum] =3D "fb42cb7038c380eb0e2fa208987c96ad" > > +SRC_URI[sha256sum] =3D "59738410ade9f0e61a13c0f77d9aaffaafe49ba9418107= e4ad75fe52846f7487" > > + > > +RCONFLICTS_${PN} =3D "bluez5" > > + > > +do_install_append() { > > + install -m 0644 ${S}/audio/audio.conf ${D}/${sysconfdir}/bluetooth/ > > + install -m 0644 ${S}/network/network.conf ${D}/${sysconfdir}/bluetoot= h/ > > + install -m 0644 ${S}/input/input.conf ${D}/${sysconfdir}/bluetooth/ > > + # at_console doesn't really work with the current state of OE, so pun= ch some more holes so people can actually use BT > > + install -m 0644 ${WORKDIR}/bluetooth.conf=20 > > +${D}/${sysconfdir}/dbus-1/system.d/ > > +} > > + > > +RDEPENDS_${PN}-dev =3D "bluez-hcidump" > > +RDEPENDS_${PN}-testtools +=3D "python python-dbus python-pygobject" > > + > > +ALLOW_EMPTY_libasound-module-bluez =3D "1" > > +PACKAGES =3D+ "libasound-module-bluez ${PN}-testtools" > > + > > +FILES_libasound-module-bluez =3D "${libdir}/alsa-lib/lib*.so ${datadir= }/alsa" > > +FILES_${PN} +=3D "${libdir}/bluetooth/plugins ${libdir}/bluetooth/plug= ins/*.so ${base_libdir}/udev/ ${nonarch_base_libdir}/udev/ ${systemd_unitdi= r}/ ${datadir}/dbus-1" > > +FILES_${PN}-dev +=3D "\ > > + ${libdir}/bluetooth/plugins/*.la \ > > + ${libdir}/alsa-lib/*.la \ > > +" > > + > > +FILES_${PN}-testtools =3D "${libdir}/bluez4/test/*" > > + > > +FILES_${PN}-dbg +=3D "\ > > + ${libdir}/bluetooth/plugins/.debug \ > > + ${libdir}/*/.debug \ > > + */udev/.debug \ > > + " > > diff --git=20 > > a/meta-oe/recipes-connectivity/bluez/gst-plugin-bluetooth_4.101.bb=20 > > b/meta-oe/recipes-connectivity/bluez/gst-plugin-bluetooth_4.101.bb > > new file mode 100644 > > index 0000000..c71d612 > > --- /dev/null > > +++ b/meta-oe/recipes-connectivity/bluez/gst-plugin-bluetooth_4.101.bb > > @@ -0,0 +1,39 @@ > > +require bluez4.inc > > +require recipes-multimedia/gstreamer/gst-plugins-package.inc > > + > > +PR =3D "r1" > > + > > +SRC_URI[md5sum] =3D "fb42cb7038c380eb0e2fa208987c96ad" > > +SRC_URI[sha256sum] =3D "59738410ade9f0e61a13c0f77d9aaffaafe49ba9418107= e4ad75fe52846f7487" > > + > > +DEPENDS =3D "bluez4 gst-plugins-base" > > + > > +EXTRA_OECONF =3D "\ > > + --enable-gstreamer \ > > +" > > + > > +# clean unwanted files > > +do_install_append() { > > + rm -rf ${D}${bindir} > > + rm -rf ${D}${sbindir} > > + rm -f ${D}${libdir}/lib* > > + rm -rf ${D}${libdir}/pkgconfig > > + rm -rf ${D}${sysconfdir} > > + rm -rf ${D}${base_libdir} > > + rm -rf ${D}${libdir}/bluetooth > > + rm -rf ${D}${localstatedir} > > + rm -rf ${D}${libdir}/alsa-lib > > + rm -rf ${D}${datadir} > > + rm -rf ${D}${includedir} > > + rm -rf ${D}${nonarch_base_libdir} > > +} > > + > > +FILES_${PN} =3D "${libdir}/gstreamer-0.10/lib*.so" > > +FILES_${PN}-dev +=3D "\ > > + ${libdir}/gstreamer-0.10/*.la \ > > +" > > + > > +FILES_${PN}-dbg +=3D "\ > > + ${libdir}/*/.debug \ > > +" > > + > > -- > > 2.1.0 > >=20 > > -- > > _______________________________________________ > > Openembedded-devel mailing list > > Openembedded-devel@lists.openembedded.org > > http://lists.openembedded.org/mailman/listinfo/openembedded-devel >=20 > --=20 > Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com > --=20 > _______________________________________________ > Openembedded-devel mailing list > Openembedded-devel@lists.openembedded.org > http://lists.openembedded.org/mailman/listinfo/openembedded-devel --=20 Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com --QTprm0S8XgL7H0Dt Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlUjuAAACgkQN1Ujt2V2gByiJQCfRC/g37sDyB2q4QA0k4VmlnaU GjUAn1emHKionVoYk82py0xx9typ0cOF =GKf5 -----END PGP SIGNATURE----- --QTprm0S8XgL7H0Dt--