[Lunar-commits] <moonbase> bluez: bring our bluetooth up to date
Dennis Veatch
dennisveatch at bellsouth.net
Mon Feb 16 03:26:43 CET 2009
On Thursday 27 November 2008 3:59:16 am Zachary McGrew wrote:
> commit 3417452636ebe2dbe40debbb176d5e2f42e6e3d3
> Author: Zachary McGrew <zmcgrew at lunar-linux.org>
> Date: Thu Nov 27 00:59:16 2008 -0800
>
> bluez: bring our bluetooth up to date
>
> this includes removing old modules, and renaming the current ones to
> match the official naming scheme also added bluez-gnome
> ---
> bluetooth/bluez-gnome/DEPENDS | 5 +++++
> bluetooth/bluez-gnome/DETAILS | 12 ++++++++++++
> bluetooth/bluez-libs/DETAILS | 13 -------------
> bluetooth/bluez-utils/BUILD | 14 --------------
> bluetooth/bluez-utils/DEPENDS | 8 --------
> bluetooth/bluez-utils/DETAILS | 13 -------------
> bluetooth/bluez-utils/init.d/btdund | 12 ------------
> bluetooth/bluez-utils/init.d/bthcid | 13 -------------
> bluetooth/bluez-utils/init.d/btrfcomm | 25 -------------------------
> bluetooth/bluez-utils/init.d/btsdpd | 12 ------------
> bluetooth/bluez/BUILD | 14 ++++++++++++++
> bluetooth/bluez/DEPENDS | 4 ++++
> bluetooth/bluez/DETAILS | 13 +++++++++++++
> 13 files changed, 48 insertions(+), 110 deletions(-)
>
> diff --git a/bluetooth/bluez-gnome/DEPENDS b/bluetooth/bluez-gnome/DEPENDS
> new file mode 100644
> index 0000000..97da7f3
> --- /dev/null
> +++ b/bluetooth/bluez-gnome/DEPENDS
> @@ -0,0 +1,5 @@
> +depends GConf
> +depends gtk+-2
> +depends libnotify
> +depends bluez
> +depends perl
> diff --git a/bluetooth/bluez-gnome/DETAILS b/bluetooth/bluez-gnome/DETAILS
> new file mode 100644
> index 0000000..fbaa49c
> --- /dev/null
> +++ b/bluetooth/bluez-gnome/DETAILS
> @@ -0,0 +1,12 @@
> + MODULE=bluez-gnome
> + VERSION=1.8
> + SOURCE=$MODULE-$VERSION.tar.bz2
> + SOURCE_URL=http://www.kernel.org/pub/linux/bluetooth/
> + SOURCE_VFY=sha1:c1b950b6d08ffda7095f1edb7ae4dd8c36bb4314
> + WEB_SITE=http://www.bluez.org
> + ENTERED=20030927
> + UPDATED=20081126
> + SHORT="Gnome bluetooth configuration"
> +cat << EOF
> +Gnome interface for bluetooth keyboard and mouse configuration
> +EOF
> diff --git a/bluetooth/bluez-libs/DETAILS b/bluetooth/bluez-libs/DETAILS
> deleted file mode 100644
> index 2a36865..0000000
> --- a/bluetooth/bluez-libs/DETAILS
> +++ /dev/null
> @@ -1,13 +0,0 @@
> - MODULE=bluez-libs
> - VERSION=3.36
> - SOURCE=$MODULE-$VERSION.tar.gz
> - SOURCE_URL=http://bluez.sf.net/download/
> - SOURCE_VFY=sha1:c181384485a2258deedba7f1347dd53c08a70b45
> - WEB_SITE=http://www.bluez.org
> - ENTERED=20030927
> - UPDATED=20080812
> - SHORT="support for core Bluetooth layers and protocols"
> -cat << EOF
> -BlueZ provides support for core Bluetooth layers and protocols. It is
> -flexible, efficient and modular implementation.
> -EOF
> diff --git a/bluetooth/bluez-utils/BUILD b/bluetooth/bluez-utils/BUILD
> deleted file mode 100644
> index 61f24cd..0000000
> --- a/bluetooth/bluez-utils/BUILD
> +++ /dev/null
> @@ -1,14 +0,0 @@
> -(
> -
> - ./configure --prefix=/usr \
> - --sysconfdir=/etc \
> - --mandir=/usr/man \
> - --localstatedir=/var \
> - --sbindir=/sbin \
> - --datadir=/usr/share \
> - --enable-all \
> - $OPTS &&
> -
> - default_make
> -
> -) > $C_FIFO 2>&1
> diff --git a/bluetooth/bluez-utils/DEPENDS b/bluetooth/bluez-utils/DEPENDS
> deleted file mode 100644
> index 59c76d6..0000000
> --- a/bluetooth/bluez-utils/DEPENDS
> +++ /dev/null
> @@ -1,8 +0,0 @@
> -depends bluez-libs
> -
> -optional_depends "hal" "--enable-hal" "" "to enable hal
> support" -optional_depends "alsa-lib" "--enable-alsa" "" "to
> enable alsa sound support" -optional_depends "gstreamer-10"
> "--enable-gstreamer" "" "to enable gstreamer sound support"
> -optional_depends "cups" "--enable-cups" "" "to enable cups
> printing support" -optional_depends "pcmcia-cs" "--enable-pcmcia" ""
> "to enable pcmcia support, 2.4 kernels" -optional_depends "pcmciautils"
> "--enable-pcmcia" "" "to enable pcmcia support, 2.6 kernels" diff --git
> a/bluetooth/bluez-utils/DETAILS b/bluetooth/bluez-utils/DETAILS deleted
> file mode 100644
> index 35df92a..0000000
> --- a/bluetooth/bluez-utils/DETAILS
> +++ /dev/null
> @@ -1,13 +0,0 @@
> - MODULE=bluez-utils
> - VERSION=3.36
> - SOURCE=$MODULE-$VERSION.tar.gz
> - SOURCE_URL=http://bluez.sf.net/download/
> - SOURCE_VFY=sha1:f53ba1d17829df2c5933fe062d7f8fb1ab8c8e60
> - WEB_SITE=http://www.bluez.org
> - ENTERED=20030927
> - UPDATED=20080812
> - SHORT="support for core Bluetooth layers and protocols"
> -cat << EOF
> -BlueZ provides support for core Bluetooth layers and protocols. It is
> -flexible, efficient and modular implementation.
> -EOF
> diff --git a/bluetooth/bluez-utils/init.d/btdund
> b/bluetooth/bluez-utils/init.d/btdund deleted file mode 100755
> index 82254ed..0000000
> --- a/bluetooth/bluez-utils/init.d/btdund
> +++ /dev/null
> @@ -1,12 +0,0 @@
> -#!/bin/bash
> -#
> -# btdund Bluetooth DUND daemon
> -#
> -# chkconfig: 345 80 20
> -# description: SDP Bluetooth Daemon
> -# processname: dund
> -
> -ARGS="--listen -s --channel 1"
> -
> -. /lib/lsb/init-functions
> -
> diff --git a/bluetooth/bluez-utils/init.d/bthcid
> b/bluetooth/bluez-utils/init.d/bthcid deleted file mode 100755
> index 363d861..0000000
> --- a/bluetooth/bluez-utils/init.d/bthcid
> +++ /dev/null
> @@ -1,13 +0,0 @@
> -#!/bin/bash
> -#
> -# bthcid Bluetooth HCI Daemon
> -#
> -# chkconfig: 345 80 20
> -# description: HCI Bluetooth Daemon
> -# processname: hcid
> -# config: /etc/bluetooth/hcid.conf
> -
> -ARGS="-f /etc/bluetooth/hcid.conf"
> -
> -. /lib/lsb/init-functions
> -
> diff --git a/bluetooth/bluez-utils/init.d/btrfcomm
> b/bluetooth/bluez-utils/init.d/btrfcomm deleted file mode 100755
> index 8248547..0000000
> --- a/bluetooth/bluez-utils/init.d/btrfcomm
> +++ /dev/null
> @@ -1,25 +0,0 @@
> -#!/bin/bash
> -#
> -# bind bt rfcomm devices
> -#
> -# chkconfig: 345 80 20
> -# description: bind rfcomm devices
> -# processname: rfcomm
> -# config: /etc/bluetooth/rfcomm.conf
> -
> -ARGS="-f /etc/bluetooth/rfcomm.conf"
> -
> -. /lib/lsb/init-functions
> -
> -case "$1" in
> - start)
> - /usr/bin/rfcomm -f /etc/bluetooth/rfcomm.conf bind all
> - ;;
> - stop)
> - /usr/bin/rfcomm release all > /dev/null 2>&1
> - ;;
> - *)
> - echo "Usage: $0 {start|stop}"
> - exit 1
> - ;;
> -esac
> diff --git a/bluetooth/bluez-utils/init.d/btsdpd
> b/bluetooth/bluez-utils/init.d/btsdpd deleted file mode 100755
> index 3aaa417..0000000
> --- a/bluetooth/bluez-utils/init.d/btsdpd
> +++ /dev/null
> @@ -1,12 +0,0 @@
> -#!/bin/bash
> -#
> -# btsdpd Bluetooth SDP Daemon
> -#
> -# chkconfig: 345 80 20
> -# description: SDP Bluetooth Daemon
> -# processname: sdpd
> -
> -ARGS=""
> -
> -. /lib/lsb/init-functions
> -
> diff --git a/bluetooth/bluez/BUILD b/bluetooth/bluez/BUILD
> new file mode 100644
> index 0000000..39a9cf3
> --- /dev/null
> +++ b/bluetooth/bluez/BUILD
> @@ -0,0 +1,14 @@
> +(
> +
> + OPTS+=" --enable-tools \
> + --enable-bccmd \
> + --enable-hid2hci \
> + --enable-dfutool \
> + --enable-hidd \
> + --enable-pand \
> + --enable-dund \
> + --enable-manpages"
> +
> + default_build
> +
> +) > $C_FIFO 2>&1
> diff --git a/bluetooth/bluez/DEPENDS b/bluetooth/bluez/DEPENDS
> new file mode 100644
> index 0000000..9bf1dc9
> --- /dev/null
> +++ b/bluetooth/bluez/DEPENDS
> @@ -0,0 +1,4 @@
> +depends dbus-glib
> +optional_depends gstreamer-10
> +optional_depends cups "--enable-cups" "--disable-cups" \
> + "for CUPS printing support"
> diff --git a/bluetooth/bluez/DETAILS b/bluetooth/bluez/DETAILS
> new file mode 100644
> index 0000000..edf63b1
> --- /dev/null
> +++ b/bluetooth/bluez/DETAILS
> @@ -0,0 +1,13 @@
> + MODULE=bluez
> + VERSION=4.19
> + SOURCE=$MODULE-$VERSION.tar.bz2
> + SOURCE_URL=http://www.kernel.org/pub/linux/bluetooth/
> + SOURCE_VFY=sha1:ee8a30822ca085fa54da01c3055e1bc5785d54a9
> + WEB_SITE=http://www.bluez.org
> + ENTERED=20030927
> + UPDATED=20081126
> + SHORT="support for core Bluetooth layers and protocols"
> +cat << EOF
> +BlueZ provides support for core Bluetooth layers and protocols. It is
> +flexible, efficient and modular implementation.
> +EOF
I have tested a patch that fixes (for the most part) the broken bluez in
kde-4.2.0, and a bluetooth mouse now works. So I was wondering what other apps
the blues-4.xx breaks. Additionally I have made additions to the BUILD and
DEPENDS for blues-4.xx, and a working /etc/init.d/bluetoothd. The latter still
needs a bit of a twiddle for lunar compliance, but it does work, basically its
just a hack of the one from bluez.
--
You can tuna piano but you can't tune a fish.
http://www.lunar-linux.org/
It's worth the spin.
More information about the Lunar-dev
mailing list