* Re: [oe-commits] Cristian Iorga : bluez5: new package for v5.7
[not found] <20130718201834.CB5765038D@opal>
@ 2013-07-24 11:33 ` Martin Jansa
2013-07-24 12:47 ` Iorga, Cristian
0 siblings, 1 reply; 4+ messages in thread
From: Martin Jansa @ 2013-07-24 11:33 UTC (permalink / raw)
To: Cristian Iorga, openembedded-core; +Cc: openembedded-commits
[-- Attachment #1: Type: text/plain, Size: 5795 bytes --]
On Thu, Jul 18, 2013 at 08:18:34PM +0000, git@git.openembedded.org wrote:
> Module: openembedded-core.git
> Branch: master
> Commit: 5d55498be84a6a8725794f75f4d12336048cdc34
> URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=5d55498be84a6a8725794f75f4d12336048cdc34
>
> Author: Cristian Iorga <cristian.iorga@intel.com>
> Date: Tue Jul 16 18:26:01 2013 +0300
>
> bluez5: new package for v5.7
>
> - bluez5 does not replace bluez4
> - bluez5 is integrated with systemd
> - RCONFLICTS bluez4
> - add readline dependency
They are providing the same package for runtime:
NOTE: multiple providers are available for runtime libasound-module-bluez (bluez4, bluez5)
NOTE: consider defining a PREFERRED_PROVIDER entry to match libasound-module-bluez
Please fix that.
>
> Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
> Signed-off-by: Saul Wold <sgw@linux.intel.com>
>
> ---
>
> .../bluez5/bluez5-5.7/bluetooth.conf | 16 +++++
> meta/recipes-connectivity/bluez5/bluez5.inc | 68 ++++++++++++++++++++
> meta/recipes-connectivity/bluez5/bluez5_5.7.bb | 5 ++
> 3 files changed, 89 insertions(+), 0 deletions(-)
>
> diff --git a/meta/recipes-connectivity/bluez5/bluez5-5.7/bluetooth.conf b/meta/recipes-connectivity/bluez5/bluez5-5.7/bluetooth.conf
> new file mode 100644
> index 0000000..ca5e9e4
> --- /dev/null
> +++ b/meta/recipes-connectivity/bluez5/bluez5-5.7/bluetooth.conf
> @@ -0,0 +1,16 @@
> +<!-- This configuration file specifies the required security policies
> + for Bluetooth core daemon to work. -->
> +
> +<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
> + "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
> +<busconfig>
> +
> + <!-- ../system.conf have denied everything, so we just punch some holes -->
> +
> + <policy context="default">
> + <allow own="org.bluez"/>
> + <allow send_destination="org.bluez"/>
> + <allow send_interface="org.bluez.Agent"/>
> + </policy>
> +
> +</busconfig>
> diff --git a/meta/recipes-connectivity/bluez5/bluez5.inc b/meta/recipes-connectivity/bluez5/bluez5.inc
> new file mode 100644
> index 0000000..fc78900
> --- /dev/null
> +++ b/meta/recipes-connectivity/bluez5/bluez5.inc
> @@ -0,0 +1,68 @@
> +SUMMARY = "Linux Bluetooth Stack Userland V5"
> +DESCRIPTION = "Linux Bluetooth stack V5 userland components. These include a system configurations, daemons, tools and system libraries."
> +HOMEPAGE = "http://www.bluez.org"
> +SECTION = "libs"
> +LICENSE = "GPLv2+ & LGPLv2.1+"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e \
> + file://COPYING.LIB;md5=fb504b67c50331fc78734fed90fb0e09 \
> + file://src/main.c;beginline=1;endline=24;md5=9bc54b93cd7e17bf03f52513f39f926e"
> +DEPENDS = "udev libusb dbus-glib glib-2.0 libcheck libical readline"
> +
> +RCONFLICTS_${PN} = "bluez4"
> +
> +PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'alsa', 'alsa', '', d)}"
> +PACKAGECONFIG[alsa] = "--enable-alsa,--disable-alsa,alsa-lib"
> +
> +SRC_URI = "\
> + ${KERNELORG_MIRROR}/linux/bluetooth/bluez-${PV}.tar.gz \
> + file://bluetooth.conf \
> +"
> +S = "${WORKDIR}/bluez-${PV}"
> +
> +inherit autotools pkgconfig systemd
> +
> +EXTRA_OECONF = "\
> + --disable-gstreamer \
> + --enable-usb \
> + --enable-tools \
> + --enable-bccmd \
> + --enable-hid2hci \
> + --enable-dfutool \
> + --disable-hidd \
> + --disable-pand \
> + --disable-dund \
> + --disable-cups \
> + --enable-test \
> + --enable-datafiles \
> + ${@base_contains('DISTRO_FEATURES', 'systemd', '--with-systemdunitdir=${systemd_unitdir}/system/', '--disable-systemd', d)} \
> +"
> +
> +do_install_append() {
> + install -d ${D}${sysconfdir}/bluetooth/
> + install -m 0644 ${S}/profiles/audio/audio.conf ${D}/${sysconfdir}/bluetooth/
> + install -m 0644 ${S}/profiles/network/network.conf ${D}/${sysconfdir}/bluetooth/
> + install -m 0644 ${S}/profiles/input/input.conf ${D}/${sysconfdir}/bluetooth/
> + # at_console doesn't really work with the current state of OE, so punch some more holes so people can actually use BT
> + install -m 0644 ${WORKDIR}/bluetooth.conf ${D}/${sysconfdir}/dbus-1/system.d/
> +}
> +
> +ALLOW_EMPTY_libasound-module-bluez = "1"
> +PACKAGES =+ "libasound-module-bluez ${PN}-test"
> +
> +FILES_libasound-module-bluez = "${libdir}/alsa-lib/lib*.so ${datadir}/alsa"
> +FILES_${PN} += "${libdir}/bluetooth/plugins ${libdir}/bluetooth/plugins/*.so ${base_libdir}/udev/ ${nonarch_base_libdir}/udev/ ${systemd_unitdir}/ ${datadir}/dbus-1"
> +FILES_${PN}-dev += "\
> + ${libdir}/bluetooth/plugins/*.la \
> + ${libdir}/alsa-lib/*.la \
> +"
> +
> +FILES_${PN}-test = "${libdir}/bluez/test/*"
> +
> +FILES_${PN}-dbg += "\
> + ${libdir}/${BPN}/bluetooth/.debug \
> + ${libdir}/bluetooth/plugins/.debug \
> + ${libdir}/*/.debug \
> + */udev/.debug \
> + "
> +
> +SYSTEMD_SERVICE_${PN} = "bluetooth.service"
> diff --git a/meta/recipes-connectivity/bluez5/bluez5_5.7.bb b/meta/recipes-connectivity/bluez5/bluez5_5.7.bb
> new file mode 100644
> index 0000000..6e2850d
> --- /dev/null
> +++ b/meta/recipes-connectivity/bluez5/bluez5_5.7.bb
> @@ -0,0 +1,5 @@
> +require bluez5.inc
> +
> +SRC_URI[md5sum] = "ce0ef43938e8bfc230f3f06d6ad02d7e"
> +SRC_URI[sha256sum] = "902299204b7139c913765603c7054a604570aea9e9fddb30454bd1b5e5997860"
> +
>
> _______________________________________________
> Openembedded-commits mailing list
> Openembedded-commits@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-commits
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [oe-commits] Cristian Iorga : bluez5: new package for v5.7
2013-07-24 11:33 ` [oe-commits] Cristian Iorga : bluez5: new package for v5.7 Martin Jansa
@ 2013-07-24 12:47 ` Iorga, Cristian
2013-07-24 15:16 ` Saul Wold
0 siblings, 1 reply; 4+ messages in thread
From: Iorga, Cristian @ 2013-07-24 12:47 UTC (permalink / raw)
To: Martin Jansa, openembedded-core@lists.openembedded.org
Cc: openembedded-commits@lists.openembedded.org
I will, this week I guess.
-----Original Message-----
From: Martin Jansa [mailto:martin.jansa@gmail.com]
Sent: Wednesday, July 24, 2013 2:33 PM
To: Iorga, Cristian; openembedded-core@lists.openembedded.org
Cc: openembedded-commits@lists.openembedded.org
Subject: Re: [oe-commits] Cristian Iorga : bluez5: new package for v5.7
On Thu, Jul 18, 2013 at 08:18:34PM +0000, git@git.openembedded.org wrote:
> Module: openembedded-core.git
> Branch: master
> Commit: 5d55498be84a6a8725794f75f4d12336048cdc34
> URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=5d55498be84a6a8725794f75f4d12336048cdc34
>
> Author: Cristian Iorga <cristian.iorga@intel.com>
> Date: Tue Jul 16 18:26:01 2013 +0300
>
> bluez5: new package for v5.7
>
> - bluez5 does not replace bluez4
> - bluez5 is integrated with systemd
> - RCONFLICTS bluez4
> - add readline dependency
They are providing the same package for runtime:
NOTE: multiple providers are available for runtime libasound-module-bluez (bluez4, bluez5)
NOTE: consider defining a PREFERRED_PROVIDER entry to match libasound-module-bluez
Please fix that.
>
> Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
> Signed-off-by: Saul Wold <sgw@linux.intel.com>
>
> ---
>
> .../bluez5/bluez5-5.7/bluetooth.conf | 16 +++++
> meta/recipes-connectivity/bluez5/bluez5.inc | 68 ++++++++++++++++++++
> meta/recipes-connectivity/bluez5/bluez5_5.7.bb | 5 ++
> 3 files changed, 89 insertions(+), 0 deletions(-)
>
> diff --git
> a/meta/recipes-connectivity/bluez5/bluez5-5.7/bluetooth.conf
> b/meta/recipes-connectivity/bluez5/bluez5-5.7/bluetooth.conf
> new file mode 100644
> index 0000000..ca5e9e4
> --- /dev/null
> +++ b/meta/recipes-connectivity/bluez5/bluez5-5.7/bluetooth.conf
> @@ -0,0 +1,16 @@
> +<!-- This configuration file specifies the required security policies
> + for Bluetooth core daemon to work. -->
> +
> +<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
> + "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
> +<busconfig>
> +
> + <!-- ../system.conf have denied everything, so we just punch some
> + holes -->
> +
> + <policy context="default">
> + <allow own="org.bluez"/>
> + <allow send_destination="org.bluez"/>
> + <allow send_interface="org.bluez.Agent"/>
> + </policy>
> +
> +</busconfig>
> diff --git a/meta/recipes-connectivity/bluez5/bluez5.inc
> b/meta/recipes-connectivity/bluez5/bluez5.inc
> new file mode 100644
> index 0000000..fc78900
> --- /dev/null
> +++ b/meta/recipes-connectivity/bluez5/bluez5.inc
> @@ -0,0 +1,68 @@
> +SUMMARY = "Linux Bluetooth Stack Userland V5"
> +DESCRIPTION = "Linux Bluetooth stack V5 userland components. These include a system configurations, daemons, tools and system libraries."
> +HOMEPAGE = "http://www.bluez.org"
> +SECTION = "libs"
> +LICENSE = "GPLv2+ & LGPLv2.1+"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e \
> + file://COPYING.LIB;md5=fb504b67c50331fc78734fed90fb0e09 \
> + file://src/main.c;beginline=1;endline=24;md5=9bc54b93cd7e17bf03f52513f39f926e"
> +DEPENDS = "udev libusb dbus-glib glib-2.0 libcheck libical readline"
> +
> +RCONFLICTS_${PN} = "bluez4"
> +
> +PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'alsa', 'alsa', '', d)}"
> +PACKAGECONFIG[alsa] = "--enable-alsa,--disable-alsa,alsa-lib"
> +
> +SRC_URI = "\
> + ${KERNELORG_MIRROR}/linux/bluetooth/bluez-${PV}.tar.gz \
> + file://bluetooth.conf \
> +"
> +S = "${WORKDIR}/bluez-${PV}"
> +
> +inherit autotools pkgconfig systemd
> +
> +EXTRA_OECONF = "\
> + --disable-gstreamer \
> + --enable-usb \
> + --enable-tools \
> + --enable-bccmd \
> + --enable-hid2hci \
> + --enable-dfutool \
> + --disable-hidd \
> + --disable-pand \
> + --disable-dund \
> + --disable-cups \
> + --enable-test \
> + --enable-datafiles \
> + ${@base_contains('DISTRO_FEATURES', 'systemd',
> +'--with-systemdunitdir=${systemd_unitdir}/system/', '--disable-systemd', d)} \ "
> +
> +do_install_append() {
> + install -d ${D}${sysconfdir}/bluetooth/
> + install -m 0644 ${S}/profiles/audio/audio.conf ${D}/${sysconfdir}/bluetooth/
> + install -m 0644 ${S}/profiles/network/network.conf ${D}/${sysconfdir}/bluetooth/
> + install -m 0644 ${S}/profiles/input/input.conf ${D}/${sysconfdir}/bluetooth/
> + # at_console doesn't really work with the current state of OE, so punch some more holes so people can actually use BT
> + install -m 0644 ${WORKDIR}/bluetooth.conf
> +${D}/${sysconfdir}/dbus-1/system.d/
> +}
> +
> +ALLOW_EMPTY_libasound-module-bluez = "1"
> +PACKAGES =+ "libasound-module-bluez ${PN}-test"
> +
> +FILES_libasound-module-bluez = "${libdir}/alsa-lib/lib*.so ${datadir}/alsa"
> +FILES_${PN} += "${libdir}/bluetooth/plugins ${libdir}/bluetooth/plugins/*.so ${base_libdir}/udev/ ${nonarch_base_libdir}/udev/ ${systemd_unitdir}/ ${datadir}/dbus-1"
> +FILES_${PN}-dev += "\
> + ${libdir}/bluetooth/plugins/*.la \
> + ${libdir}/alsa-lib/*.la \
> +"
> +
> +FILES_${PN}-test = "${libdir}/bluez/test/*"
> +
> +FILES_${PN}-dbg += "\
> + ${libdir}/${BPN}/bluetooth/.debug \
> + ${libdir}/bluetooth/plugins/.debug \
> + ${libdir}/*/.debug \
> + */udev/.debug \
> + "
> +
> +SYSTEMD_SERVICE_${PN} = "bluetooth.service"
> diff --git a/meta/recipes-connectivity/bluez5/bluez5_5.7.bb
> b/meta/recipes-connectivity/bluez5/bluez5_5.7.bb
> new file mode 100644
> index 0000000..6e2850d
> --- /dev/null
> +++ b/meta/recipes-connectivity/bluez5/bluez5_5.7.bb
> @@ -0,0 +1,5 @@
> +require bluez5.inc
> +
> +SRC_URI[md5sum] = "ce0ef43938e8bfc230f3f06d6ad02d7e"
> +SRC_URI[sha256sum] = "902299204b7139c913765603c7054a604570aea9e9fddb30454bd1b5e5997860"
> +
>
> _______________________________________________
> Openembedded-commits mailing list
> Openembedded-commits@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-commits
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [oe-commits] Cristian Iorga : bluez5: new package for v5.7
2013-07-24 12:47 ` Iorga, Cristian
@ 2013-07-24 15:16 ` Saul Wold
2013-07-25 11:14 ` Martin Jansa
0 siblings, 1 reply; 4+ messages in thread
From: Saul Wold @ 2013-07-24 15:16 UTC (permalink / raw)
To: Iorga, Cristian; +Cc: openembedded-core@lists.openembedded.org
On 07/24/2013 05:47 AM, Iorga, Cristian wrote:
> I will, this week I guess.
>
I mentioned this issue last week and I have a fix for it in my MUT
branch already, just not published yet. I will likely have it later
today, juggling too many things.
Sau!
> -----Original Message-----
> From: Martin Jansa [mailto:martin.jansa@gmail.com]
> Sent: Wednesday, July 24, 2013 2:33 PM
> To: Iorga, Cristian; openembedded-core@lists.openembedded.org
> Cc: openembedded-commits@lists.openembedded.org
> Subject: Re: [oe-commits] Cristian Iorga : bluez5: new package for v5.7
>
> On Thu, Jul 18, 2013 at 08:18:34PM +0000, git@git.openembedded.org wrote:
>> Module: openembedded-core.git
>> Branch: master
>> Commit: 5d55498be84a6a8725794f75f4d12336048cdc34
>> URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=5d55498be84a6a8725794f75f4d12336048cdc34
>>
>> Author: Cristian Iorga <cristian.iorga@intel.com>
>> Date: Tue Jul 16 18:26:01 2013 +0300
>>
>> bluez5: new package for v5.7
>>
>> - bluez5 does not replace bluez4
>> - bluez5 is integrated with systemd
>> - RCONFLICTS bluez4
>> - add readline dependency
>
> They are providing the same package for runtime:
> NOTE: multiple providers are available for runtime libasound-module-bluez (bluez4, bluez5)
> NOTE: consider defining a PREFERRED_PROVIDER entry to match libasound-module-bluez
>
> Please fix that.
>
>>
>> Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
>> Signed-off-by: Saul Wold <sgw@linux.intel.com>
>>
>> ---
>>
>> .../bluez5/bluez5-5.7/bluetooth.conf | 16 +++++
>> meta/recipes-connectivity/bluez5/bluez5.inc | 68 ++++++++++++++++++++
>> meta/recipes-connectivity/bluez5/bluez5_5.7.bb | 5 ++
>> 3 files changed, 89 insertions(+), 0 deletions(-)
>>
>> diff --git
>> a/meta/recipes-connectivity/bluez5/bluez5-5.7/bluetooth.conf
>> b/meta/recipes-connectivity/bluez5/bluez5-5.7/bluetooth.conf
>> new file mode 100644
>> index 0000000..ca5e9e4
>> --- /dev/null
>> +++ b/meta/recipes-connectivity/bluez5/bluez5-5.7/bluetooth.conf
>> @@ -0,0 +1,16 @@
>> +<!-- This configuration file specifies the required security policies
>> + for Bluetooth core daemon to work. -->
>> +
>> +<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
>> + "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
>> +<busconfig>
>> +
>> + <!-- ../system.conf have denied everything, so we just punch some
>> + holes -->
>> +
>> + <policy context="default">
>> + <allow own="org.bluez"/>
>> + <allow send_destination="org.bluez"/>
>> + <allow send_interface="org.bluez.Agent"/>
>> + </policy>
>> +
>> +</busconfig>
>> diff --git a/meta/recipes-connectivity/bluez5/bluez5.inc
>> b/meta/recipes-connectivity/bluez5/bluez5.inc
>> new file mode 100644
>> index 0000000..fc78900
>> --- /dev/null
>> +++ b/meta/recipes-connectivity/bluez5/bluez5.inc
>> @@ -0,0 +1,68 @@
>> +SUMMARY = "Linux Bluetooth Stack Userland V5"
>> +DESCRIPTION = "Linux Bluetooth stack V5 userland components. These include a system configurations, daemons, tools and system libraries."
>> +HOMEPAGE = "http://www.bluez.org"
>> +SECTION = "libs"
>> +LICENSE = "GPLv2+ & LGPLv2.1+"
>> +LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e \
>> + file://COPYING.LIB;md5=fb504b67c50331fc78734fed90fb0e09 \
>> + file://src/main.c;beginline=1;endline=24;md5=9bc54b93cd7e17bf03f52513f39f926e"
>> +DEPENDS = "udev libusb dbus-glib glib-2.0 libcheck libical readline"
>> +
>> +RCONFLICTS_${PN} = "bluez4"
>> +
>> +PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'alsa', 'alsa', '', d)}"
>> +PACKAGECONFIG[alsa] = "--enable-alsa,--disable-alsa,alsa-lib"
>> +
>> +SRC_URI = "\
>> + ${KERNELORG_MIRROR}/linux/bluetooth/bluez-${PV}.tar.gz \
>> + file://bluetooth.conf \
>> +"
>> +S = "${WORKDIR}/bluez-${PV}"
>> +
>> +inherit autotools pkgconfig systemd
>> +
>> +EXTRA_OECONF = "\
>> + --disable-gstreamer \
>> + --enable-usb \
>> + --enable-tools \
>> + --enable-bccmd \
>> + --enable-hid2hci \
>> + --enable-dfutool \
>> + --disable-hidd \
>> + --disable-pand \
>> + --disable-dund \
>> + --disable-cups \
>> + --enable-test \
>> + --enable-datafiles \
>> + ${@base_contains('DISTRO_FEATURES', 'systemd',
>> +'--with-systemdunitdir=${systemd_unitdir}/system/', '--disable-systemd', d)} \ "
>> +
>> +do_install_append() {
>> + install -d ${D}${sysconfdir}/bluetooth/
>> + install -m 0644 ${S}/profiles/audio/audio.conf ${D}/${sysconfdir}/bluetooth/
>> + install -m 0644 ${S}/profiles/network/network.conf ${D}/${sysconfdir}/bluetooth/
>> + install -m 0644 ${S}/profiles/input/input.conf ${D}/${sysconfdir}/bluetooth/
>> + # at_console doesn't really work with the current state of OE, so punch some more holes so people can actually use BT
>> + install -m 0644 ${WORKDIR}/bluetooth.conf
>> +${D}/${sysconfdir}/dbus-1/system.d/
>> +}
>> +
>> +ALLOW_EMPTY_libasound-module-bluez = "1"
>> +PACKAGES =+ "libasound-module-bluez ${PN}-test"
>> +
>> +FILES_libasound-module-bluez = "${libdir}/alsa-lib/lib*.so ${datadir}/alsa"
>> +FILES_${PN} += "${libdir}/bluetooth/plugins ${libdir}/bluetooth/plugins/*.so ${base_libdir}/udev/ ${nonarch_base_libdir}/udev/ ${systemd_unitdir}/ ${datadir}/dbus-1"
>> +FILES_${PN}-dev += "\
>> + ${libdir}/bluetooth/plugins/*.la \
>> + ${libdir}/alsa-lib/*.la \
>> +"
>> +
>> +FILES_${PN}-test = "${libdir}/bluez/test/*"
>> +
>> +FILES_${PN}-dbg += "\
>> + ${libdir}/${BPN}/bluetooth/.debug \
>> + ${libdir}/bluetooth/plugins/.debug \
>> + ${libdir}/*/.debug \
>> + */udev/.debug \
>> + "
>> +
>> +SYSTEMD_SERVICE_${PN} = "bluetooth.service"
>> diff --git a/meta/recipes-connectivity/bluez5/bluez5_5.7.bb
>> b/meta/recipes-connectivity/bluez5/bluez5_5.7.bb
>> new file mode 100644
>> index 0000000..6e2850d
>> --- /dev/null
>> +++ b/meta/recipes-connectivity/bluez5/bluez5_5.7.bb
>> @@ -0,0 +1,5 @@
>> +require bluez5.inc
>> +
>> +SRC_URI[md5sum] = "ce0ef43938e8bfc230f3f06d6ad02d7e"
>> +SRC_URI[sha256sum] = "902299204b7139c913765603c7054a604570aea9e9fddb30454bd1b5e5997860"
>> +
>>
>> _______________________________________________
>> Openembedded-commits mailing list
>> Openembedded-commits@lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-commits
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [oe-commits] Cristian Iorga : bluez5: new package for v5.7
2013-07-24 15:16 ` Saul Wold
@ 2013-07-25 11:14 ` Martin Jansa
0 siblings, 0 replies; 4+ messages in thread
From: Martin Jansa @ 2013-07-25 11:14 UTC (permalink / raw)
To: Saul Wold; +Cc: openembedded-core@lists.openembedded.org
[-- Attachment #1: Type: text/plain, Size: 7600 bytes --]
There are also unpackaged files when systemd is enabled:
bluez5-5.7: bluez5: Files/directories were installed but not shipped
/usr/lib/systemd
/usr/lib/systemd/user
/usr/lib/systemd/user/obex.service
On Wed, Jul 24, 2013 at 5:16 PM, Saul Wold <sgw@linux.intel.com> wrote:
> On 07/24/2013 05:47 AM, Iorga, Cristian wrote:
>
>> I will, this week I guess.
>>
>> I mentioned this issue last week and I have a fix for it in my MUT
> branch already, just not published yet. I will likely have it later today,
> juggling too many things.
>
>
> Sau!
>
>
> -----Original Message-----
>> From: Martin Jansa [mailto:martin.jansa@gmail.com**]
>> Sent: Wednesday, July 24, 2013 2:33 PM
>> To: Iorga, Cristian; openembedded-core@lists.**openembedded.org<openembedded-core@lists.openembedded.org>
>> Cc: openembedded-commits@lists.**openembedded.org<openembedded-commits@lists.openembedded.org>
>> Subject: Re: [oe-commits] Cristian Iorga : bluez5: new package for v5.7
>>
>> On Thu, Jul 18, 2013 at 08:18:34PM +0000, git@git.openembedded.org wrote:
>>
>>> Module: openembedded-core.git
>>> Branch: master
>>> Commit: 5d55498be84a6a8725794f75f4d123**36048cdc34
>>> URL: http://git.openembedded.org/?**p=openembedded-core.git&a=**
>>> commit;h=**5d55498be84a6a8725794f75f4d123**36048cdc34<http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=5d55498be84a6a8725794f75f4d12336048cdc34>
>>>
>>> Author: Cristian Iorga <cristian.iorga@intel.com>
>>> Date: Tue Jul 16 18:26:01 2013 +0300
>>>
>>> bluez5: new package for v5.7
>>>
>>> - bluez5 does not replace bluez4
>>> - bluez5 is integrated with systemd
>>> - RCONFLICTS bluez4
>>> - add readline dependency
>>>
>>
>> They are providing the same package for runtime:
>> NOTE: multiple providers are available for runtime libasound-module-bluez
>> (bluez4, bluez5)
>> NOTE: consider defining a PREFERRED_PROVIDER entry to match
>> libasound-module-bluez
>>
>> Please fix that.
>>
>>
>>> Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
>>> Signed-off-by: Saul Wold <sgw@linux.intel.com>
>>>
>>> ---
>>>
>>> .../bluez5/bluez5-5.7/**bluetooth.conf | 16 +++++
>>> meta/recipes-connectivity/**bluez5/bluez5.inc | 68
>>> ++++++++++++++++++++
>>> meta/recipes-connectivity/**bluez5/bluez5_5.7.bb | 5 ++
>>> 3 files changed, 89 insertions(+), 0 deletions(-)
>>>
>>> diff --git
>>> a/meta/recipes-connectivity/**bluez5/bluez5-5.7/bluetooth.**conf
>>> b/meta/recipes-connectivity/**bluez5/bluez5-5.7/bluetooth.**conf
>>> new file mode 100644
>>> index 0000000..ca5e9e4
>>> --- /dev/null
>>> +++ b/meta/recipes-connectivity/**bluez5/bluez5-5.7/bluetooth.**conf
>>> @@ -0,0 +1,16 @@
>>> +<!-- This configuration file specifies the required security policies
>>> + for Bluetooth core daemon to work. -->
>>> +
>>> +<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration
>>> 1.0//EN"
>>> + "http://www.freedesktop.org/**standards/dbus/1.0/busconfig.**dtd<http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd>
>>> ">
>>> +<busconfig>
>>> +
>>> + <!-- ../system.conf have denied everything, so we just punch some
>>> + holes -->
>>> +
>>> + <policy context="default">
>>> + <allow own="org.bluez"/>
>>> + <allow send_destination="org.bluez"/>
>>> + <allow send_interface="org.bluez.**Agent"/>
>>> + </policy>
>>> +
>>> +</busconfig>
>>> diff --git a/meta/recipes-connectivity/**bluez5/bluez5.inc
>>> b/meta/recipes-connectivity/**bluez5/bluez5.inc
>>> new file mode 100644
>>> index 0000000..fc78900
>>> --- /dev/null
>>> +++ b/meta/recipes-connectivity/**bluez5/bluez5.inc
>>> @@ -0,0 +1,68 @@
>>> +SUMMARY = "Linux Bluetooth Stack Userland V5"
>>> +DESCRIPTION = "Linux Bluetooth stack V5 userland components. These
>>> include a system configurations, daemons, tools and system libraries."
>>> +HOMEPAGE = "http://www.bluez.org"
>>> +SECTION = "libs"
>>> +LICENSE = "GPLv2+ & LGPLv2.1+"
>>> +LIC_FILES_CHKSUM = "file://COPYING;md5=**12f884d2ae1ff87c09e5b7ccc2c4ca
>>> **7e \
>>> + file://COPYING.LIB;md5=**
>>> fb504b67c50331fc78734fed90fb0e**09 \
>>> + file://src/main.c;beginline=1;**endline=24;md5=**
>>> 9bc54b93cd7e17bf03f52513f39f92**6e"
>>> +DEPENDS = "udev libusb dbus-glib glib-2.0 libcheck libical readline"
>>> +
>>> +RCONFLICTS_${PN} = "bluez4"
>>> +
>>> +PACKAGECONFIG ??= "${@base_contains('DISTRO_**FEATURES', 'alsa',
>>> 'alsa', '', d)}"
>>> +PACKAGECONFIG[alsa] = "--enable-alsa,--disable-alsa,**alsa-lib"
>>> +
>>> +SRC_URI = "\
>>> + ${KERNELORG_MIRROR}/linux/**bluetooth/bluez-${PV}.tar.gz \
>>> + file://bluetooth.conf \
>>> +"
>>> +S = "${WORKDIR}/bluez-${PV}"
>>> +
>>> +inherit autotools pkgconfig systemd
>>> +
>>> +EXTRA_OECONF = "\
>>> + --disable-gstreamer \
>>> + --enable-usb \
>>> + --enable-tools \
>>> + --enable-bccmd \
>>> + --enable-hid2hci \
>>> + --enable-dfutool \
>>> + --disable-hidd \
>>> + --disable-pand \
>>> + --disable-dund \
>>> + --disable-cups \
>>> + --enable-test \
>>> + --enable-datafiles \
>>> + ${@base_contains('DISTRO_**FEATURES', 'systemd',
>>> +'--with-systemdunitdir=${**systemd_unitdir}/system/',
>>> '--disable-systemd', d)} \ "
>>> +
>>> +do_install_append() {
>>> + install -d ${D}${sysconfdir}/bluetooth/
>>> + install -m 0644 ${S}/profiles/audio/audio.conf
>>> ${D}/${sysconfdir}/bluetooth/
>>> + install -m 0644 ${S}/profiles/network/network.**conf
>>> ${D}/${sysconfdir}/bluetooth/
>>> + install -m 0644 ${S}/profiles/input/input.conf
>>> ${D}/${sysconfdir}/bluetooth/
>>> + # at_console doesn't really work with the current state of OE,
>>> so punch some more holes so people can actually use BT
>>> + install -m 0644 ${WORKDIR}/bluetooth.conf
>>> +${D}/${sysconfdir}/dbus-1/**system.d/
>>> +}
>>> +
>>> +ALLOW_EMPTY_libasound-module-**bluez = "1"
>>> +PACKAGES =+ "libasound-module-bluez ${PN}-test"
>>> +
>>> +FILES_libasound-module-bluez = "${libdir}/alsa-lib/lib*.so
>>> ${datadir}/alsa"
>>> +FILES_${PN} += "${libdir}/bluetooth/plugins
>>> ${libdir}/bluetooth/plugins/*.**so ${base_libdir}/udev/
>>> ${nonarch_base_libdir}/udev/ ${systemd_unitdir}/ ${datadir}/dbus-1"
>>> +FILES_${PN}-dev += "\
>>> + ${libdir}/bluetooth/plugins/*.**la \
>>> + ${libdir}/alsa-lib/*.la \
>>> +"
>>> +
>>> +FILES_${PN}-test = "${libdir}/bluez/test/*"
>>> +
>>> +FILES_${PN}-dbg += "\
>>> + ${libdir}/${BPN}/bluetooth/.**debug \
>>> + ${libdir}/bluetooth/plugins/.**debug \
>>> + ${libdir}/*/.debug \
>>> + */udev/.debug \
>>> + "
>>> +
>>> +SYSTEMD_SERVICE_${PN} = "bluetooth.service"
>>> diff --git a/meta/recipes-connectivity/**bluez5/bluez5_5.7.bb
>>> b/meta/recipes-connectivity/**bluez5/bluez5_5.7.bb
>>> new file mode 100644
>>> index 0000000..6e2850d
>>> --- /dev/null
>>> +++ b/meta/recipes-connectivity/**bluez5/bluez5_5.7.bb
>>> @@ -0,0 +1,5 @@
>>> +require bluez5.inc
>>> +
>>> +SRC_URI[md5sum] = "**ce0ef43938e8bfc230f3f06d6ad02d**7e"
>>> +SRC_URI[sha256sum] = "**902299204b7139c913765603c7054a**
>>> 604570aea9e9fddb30454bd1b5e599**7860"
>>> +
>>>
>>> ______________________________**_________________
>>> Openembedded-commits mailing list
>>> Openembedded-commits@lists.**openembedded.org<Openembedded-commits@lists.openembedded.org>
>>> http://lists.openembedded.org/**mailman/listinfo/openembedded-**commits<http://lists.openembedded.org/mailman/listinfo/openembedded-commits>
>>>
>>
>>
[-- Attachment #2: Type: text/html, Size: 9989 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-07-25 11:14 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20130718201834.CB5765038D@opal>
2013-07-24 11:33 ` [oe-commits] Cristian Iorga : bluez5: new package for v5.7 Martin Jansa
2013-07-24 12:47 ` Iorga, Cristian
2013-07-24 15:16 ` Saul Wold
2013-07-25 11:14 ` Martin Jansa
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox