From: Philip Balister <philip@balister.org>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [STABLE][STABLE][PATCH 2/4] bluez + obex: sync with .dev
Date: Thu, 16 Apr 2009 08:17:56 -0400 [thread overview]
Message-ID: <49E721F4.6020708@balister.org> (raw)
In-Reply-To: <1239701117-7033-3-git-send-email-k.kooi@student.utwente.nl>
[-- Attachment #1: Type: text/plain, Size: 6061 bytes --]
Koen Kooi wrote:
> From: Koen Kooi <koen@openembedded.org>
>
> ---
> recipes/bluez/bluez4_4.35.bb | 66 ++++++++++++++++++++
> recipes/bluez/obexd_0.10.bb | 10 +++
> recipes/openobex/obex-data-server_0.4.4.bb | 11 +++
> .../openobex-1.5/libusb_crosscompile_check.patch | 11 +++
> recipes/openobex/openobex_1.5.bb | 22 +++++++
> 5 files changed, 120 insertions(+), 0 deletions(-)
> create mode 100644 recipes/bluez/bluez4_4.35.bb
> create mode 100644 recipes/bluez/obexd_0.10.bb
> create mode 100644 recipes/openobex/obex-data-server_0.4.4.bb
> create mode 100644 recipes/openobex/openobex-1.5/libusb_crosscompile_check.patch
> create mode 100644 recipes/openobex/openobex_1.5.bb
>
> diff --git a/recipes/bluez/bluez4_4.35.bb b/recipes/bluez/bluez4_4.35.bb
> new file mode 100644
> index 0000000..fec1411
> --- /dev/null
> +++ b/recipes/bluez/bluez4_4.35.bb
> @@ -0,0 +1,66 @@
> +DESCRIPTION = "Linux Bluetooth Stack Userland V4"
> +SECTION = "libs"
> +PRIORITY = "optional"
> +DEPENDS = "gst-plugins-base alsa-lib libusb-compat dbus-glib"
> +HOMEPAGE = "http://www.bluez.org"
> +LICENSE = "GPL"
> +
> +# For angstrom we want this to replace at least bluez-libs
> +PROVIDES_append_angstrom = " bluez-libs"
> +
> +PR = "r1"
> +
> +SRC_URI = "\
> + http://www.kernel.org/pub/linux/bluetooth/bluez-${PV}.tar.gz \
> + file://fix-dfutool-usb-declaration-mismatch.patch;patch=1 \
> + file://sbc-thumb.patch;patch=1 \
> + file://bluetooth.conf \
> +"
> +S = "${WORKDIR}/bluez-${PV}"
> +
> +inherit autotools_stage
> +AUTOTOOLS_STAGE_PKGCONFIG = "1"
> +
> +EXTRA_OECONF = "\
> + --enable-gstreamer \
> + --enable-alsa \
> + --enable-usb \
> + --enable-netlink \
> + --enable-tools \
> + --enable-bccmd \
> + --enable-hid2hci \
> + --enable-dfutool \
> + --enable-hidd \
> + --enable-pandd \
> + --enable-dund \
> + --disable-cups \
> + --enable-test \
> + --enable-manpages \
> + --enable-configfiles \
> + --enable-initscripts \
> + --disable-pcmciarules \
> +"
> +
> +do_install_append() {
> + install -m 0644 ${S}/audio/audio.conf ${D}/${sysconfdir}/bluetooth/
> + install -m 0644 ${S}/network/network.conf ${D}/${sysconfdir}/bluetooth/
> + install -m 0644 ${S}/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/
> +}
> +
> +PACKAGES =+ "gst-plugin-bluez libasound-module-bluez"
> +
> +FILES_gst-plugin-bluez = "${libdir}/gstreamer-0.10/lib*.so"
> +FILES_libasound-module-bluez = "${libdir}/alsa-lib/lib*.so"
> +FILES_${PN} += "${libdir}/bluetooth/plugins/*.so"
> +FILES_${PN}-dev += "\
> + ${libdir}/bluetooth/plugins/*.la \
> + ${libdir}/alsa-lib/*.la \
> + ${libdir}/gstreamer-0.10/*.la \
> +"
> +
> +FILES_${PN}-dbg += "\
> + ${libdir}/bluetooth/plugins/.debug \
> + ${libdir}/*/.debug \
> +"
> diff --git a/recipes/bluez/obexd_0.10.bb b/recipes/bluez/obexd_0.10.bb
> new file mode 100644
> index 0000000..e1cc6ce
> --- /dev/null
> +++ b/recipes/bluez/obexd_0.10.bb
> @@ -0,0 +1,10 @@
> +DESCRIPTION = "OBEX Server and Client"
> +DEPENDS = "openobex glib-2.0 dbus bluez4"
> +
> +LICENSE = "GPLv2"
> +
> +SRC_URI = "http://www.kernel.org/pub/linux/bluetooth/obexd-${PV}.tar.gz"
> +
> +inherit autotools_stage
> +
> +FILES_${PN} += "${datadir}/dbus-1/"
> diff --git a/recipes/openobex/obex-data-server_0.4.4.bb b/recipes/openobex/obex-data-server_0.4.4.bb
> new file mode 100644
> index 0000000..34efcc7
> --- /dev/null
> +++ b/recipes/openobex/obex-data-server_0.4.4.bb
> @@ -0,0 +1,11 @@
> +DESCRIPTION = "obex-data-server is a D-Bus service providing high-level OBEX client and server side functionality"
> +LICENSE = "GPLv2"
> +
> +DEPENDS = "bluez4 dbus-glib openobex"
> +
> +SRC_URI = "http://tadas.dailyda.com/software/obex-data-server-${PV}.tar.gz"
> +
> +inherit autotools
> +
> +FILES_${PN} += "${datadir}/dbus-1/"
> +
> diff --git a/recipes/openobex/openobex-1.5/libusb_crosscompile_check.patch b/recipes/openobex/openobex-1.5/libusb_crosscompile_check.patch
> new file mode 100644
> index 0000000..1177dfe
> --- /dev/null
> +++ b/recipes/openobex/openobex-1.5/libusb_crosscompile_check.patch
> @@ -0,0 +1,11 @@
> +--- /tmp/acinclude.m4 2009-04-12 10:32:15.000000000 +0200
> ++++ openobex-1.5/acinclude.m4 2009-04-12 10:32:38.000000000 +0200
> +@@ -158,7 +158,7 @@
> + ;;
> + *)
> + PKG_CHECK_MODULES(USB, libusb, usb_lib_found=yes, AC_MSG_RESULT(no))
> +- AC_CHECK_FILE(${prefix}/lib/pkgconfig/libusb.pc, REQUIRES="libusb")
> ++ REQUIRES="libusb"
> + ;;
> + esac
> + AC_SUBST(USB_CFLAGS)
> diff --git a/recipes/openobex/openobex_1.5.bb b/recipes/openobex/openobex_1.5.bb
> new file mode 100644
> index 0000000..ab69cf1
> --- /dev/null
> +++ b/recipes/openobex/openobex_1.5.bb
> @@ -0,0 +1,22 @@
> +DESCRIPTION = "The Openobex project is an open source implementation of the \
> +Object Exchange (OBEX) protocol."
> +HOMEPAGE = "http://openobex.triq.net"
> +SECTION = "libs"
> +PROVIDES = "openobex-apps"
> +DEPENDS = "libusb-compat bluez4"
> +LICENSE = "GPL"
> +
> +SRC_URI = "http://www.kernel.org/pub/linux/bluetooth/openobex-${PV}.tar.gz \
> + file://disable-cable-test.patch;patch=1 \
> + file://libusb_crosscompile_check.patch;patch=1"
> +
> +inherit autotools_stage binconfig pkgconfig
> +
> +EXTRA_OECONF = "--enable-apps --enable-syslog --enable-dump \
> + --with-usb=${STAGING_LIBDIR}/.. --with-bluez=${STAGING_LIBDIR}/.."
> +
> +PACKAGES += "openobex-apps"
> +FILES_${PN} = "${libdir}/lib*.so.*"
> +FILES_${PN}-dev += "${bindir}/openobex-config"
> +FILES_${PN}-apps = "${bindir}/*"
> +DEBIAN_NOAUTONAME_${PN}-apps = "1"
Acked-by: Philip Balister <philip@balister.org>
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3303 bytes --]
next prev parent reply other threads:[~2009-04-16 12:22 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-14 9:25 [STABLE] bluez4 and gnome updates for stable Koen Kooi
2009-04-14 9:25 ` [STABLE][STABLE][PATCH 1/4] checksums: sync with .dev Koen Kooi
2009-04-14 9:25 ` [STABLE][STABLE][PATCH 2/4] bluez + obex: " Koen Kooi
2009-04-14 9:25 ` [STABLE][STABLE][PATCH 3/4] gnome: update various bits to 2.26, " Koen Kooi
2009-04-14 9:25 ` [STABLE][STABLE][PATCH 4/4] angstrom 2009.X config file: " Koen Kooi
2009-04-16 11:22 ` Marcin Juszkiewicz
2009-04-16 12:00 ` Koen Kooi
2009-04-16 12:19 ` Philip Balister
2009-04-16 12:18 ` [STABLE][STABLE][PATCH 3/4] gnome: update various bits to 2.26, " Philip Balister
2009-04-16 12:17 ` Philip Balister [this message]
2009-04-16 11:21 ` [STABLE][STABLE][PATCH 1/4] checksums: " Marcin Juszkiewicz
2009-04-16 12:16 ` Philip Balister
2009-04-15 6:39 ` [STABLE] bluez4 and gnome updates for stable Koen Kooi
2009-04-16 9:10 ` Koen Kooi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=49E721F4.6020708@balister.org \
--to=philip@balister.org \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.