[Lunar-commits] <moonbase> Revert "bluez: bring our bluetooth up to date"

Zachary McGrew zmcgrew at lunar-linux.org
Thu Dec 18 01:38:25 CET 2008


commit 0962cadf30ac15cbb84c79108cd83caf6b99e3c3
Author: Zachary McGrew <zmcgrew at lunar-linux.org>
Date:   Wed Dec 17 16:38:25 2008 -0800

    Revert "bluez: bring our bluetooth up to date"
    
    Uh... A little too up to date. Not everything supports the new api.
    
    This reverts commit 3417452636ebe2dbe40debbb176d5e2f42e6e3d3.
---
 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, 110 insertions(+), 48 deletions(-)

diff --git a/bluetooth/bluez-gnome/DEPENDS b/bluetooth/bluez-gnome/DEPENDS
deleted file mode 100644
index 97da7f3..0000000
--- a/bluetooth/bluez-gnome/DEPENDS
+++ /dev/null
@@ -1,5 +0,0 @@
-depends GConf
-depends gtk+-2
-depends libnotify
-depends bluez
-depends perl
diff --git a/bluetooth/bluez-gnome/DETAILS b/bluetooth/bluez-gnome/DETAILS
deleted file mode 100644
index fbaa49c..0000000
--- a/bluetooth/bluez-gnome/DETAILS
+++ /dev/null
@@ -1,12 +0,0 @@
-          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
new file mode 100644
index 0000000..2a36865
--- /dev/null
+++ b/bluetooth/bluez-libs/DETAILS
@@ -0,0 +1,13 @@
+          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
new file mode 100644
index 0000000..61f24cd
--- /dev/null
+++ b/bluetooth/bluez-utils/BUILD
@@ -0,0 +1,14 @@
+(  
+
+   ./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
new file mode 100644
index 0000000..59c76d6
--- /dev/null
+++ b/bluetooth/bluez-utils/DEPENDS
@@ -0,0 +1,8 @@
+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
new file mode 100644
index 0000000..35df92a
--- /dev/null
+++ b/bluetooth/bluez-utils/DETAILS
@@ -0,0 +1,13 @@
+          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
new file mode 100755
index 0000000..82254ed
--- /dev/null
+++ b/bluetooth/bluez-utils/init.d/btdund
@@ -0,0 +1,12 @@
+#!/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
new file mode 100755
index 0000000..363d861
--- /dev/null
+++ b/bluetooth/bluez-utils/init.d/bthcid
@@ -0,0 +1,13 @@
+#!/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
new file mode 100755
index 0000000..8248547
--- /dev/null
+++ b/bluetooth/bluez-utils/init.d/btrfcomm
@@ -0,0 +1,25 @@
+#!/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
new file mode 100755
index 0000000..3aaa417
--- /dev/null
+++ b/bluetooth/bluez-utils/init.d/btsdpd
@@ -0,0 +1,12 @@
+#!/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
deleted file mode 100644
index 39a9cf3..0000000
--- a/bluetooth/bluez/BUILD
+++ /dev/null
@@ -1,14 +0,0 @@
-(
-
-  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
deleted file mode 100644
index 9bf1dc9..0000000
--- a/bluetooth/bluez/DEPENDS
+++ /dev/null
@@ -1,4 +0,0 @@
-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
deleted file mode 100644
index edf63b1..0000000
--- a/bluetooth/bluez/DETAILS
+++ /dev/null
@@ -1,13 +0,0 @@
-          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


More information about the Lunar-commits mailing list