summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlastair Tse <liquidx@gentoo.org>2006-07-11 23:25:36 +0000
committerAlastair Tse <liquidx@gentoo.org>2006-07-11 23:25:36 +0000
commit82cbefbd59081850b912343d14960e11cc1e0861 (patch)
treeaf29e50a2d2be2038843bd60f153e8095c51b525
parentadding manifests and digests for vnc 4.1.2 (diff)
downloadliquidx-82cbefbd59081850b912343d14960e11cc1e0861.tar.gz
liquidx-82cbefbd59081850b912343d14960e11cc1e0861.tar.bz2
liquidx-82cbefbd59081850b912343d14960e11cc1e0861.zip
Adding experimental bluetooth ebuilds. These work partially, my testing reveals BCM adapters do not get put into discover mode, but otherwise everything else seems to work. Also GTK pin-helper is now deprecated and dbus is a required dependency. bluez-pin package is used as the pin entry replacement.
svn path=/; revision=7
-rw-r--r--dev-python/matplotlib/matplotlib-0.87.3.ebuild58
-rw-r--r--net-wireless/bluez-libs/Manifest8
-rw-r--r--net-wireless/bluez-libs/bluez-libs-3.1.ebuild22
-rw-r--r--net-wireless/bluez-libs/files/digest-bluez-libs-3.13
-rw-r--r--net-wireless/bluez-pin/Manifest8
-rw-r--r--net-wireless/bluez-pin/bluez-pin-0.30.ebuild21
-rw-r--r--net-wireless/bluez-pin/files/digest-bluez-pin-0.303
-rw-r--r--net-wireless/bluez-utils/Manifest16
-rw-r--r--net-wireless/bluez-utils/bluez-utils-3.1.ebuild103
-rw-r--r--net-wireless/bluez-utils/files/bluez-utils-2.24-udev.rules3
-rw-r--r--net-wireless/bluez-utils/files/bluez-utils-2.24-udev.script25
-rw-r--r--net-wireless/bluez-utils/files/digest-bluez-utils-3.13
12 files changed, 273 insertions, 0 deletions
diff --git a/dev-python/matplotlib/matplotlib-0.87.3.ebuild b/dev-python/matplotlib/matplotlib-0.87.3.ebuild
new file mode 100644
index 0000000..9a614f8
--- /dev/null
+++ b/dev-python/matplotlib/matplotlib-0.87.3.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/matplotlib/matplotlib-0.87.2.ebuild,v 1.1 2006/04/04 23:26:52 marienz Exp $
+
+inherit distutils python
+
+DESCRIPTION="matplotlib is a pure python plotting library designed to bring publication quality plotting to python with a syntax familiar to matlab users."
+HOMEPAGE="http://matplotlib.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+IUSE="doc gtk tcltk"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+LICENSE="PYTHON"
+
+DEPEND="virtual/python
+ || (
+ >=dev-python/numeric-22
+ dev-python/numarray
+ dev-python/numpy
+ )
+ >=media-libs/freetype-2.1.7
+ media-libs/libpng
+ sys-libs/zlib
+ gtk? ( >=dev-python/pygtk-2.2 )
+ dev-python/pytz
+ dev-python/python-dateutil"
+
+
+pkg_setup() {
+ if use tcltk; then
+ python_tkinter_exists
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # disable autodetection, rely on USE instead
+ epatch "${FILESDIR}/${PN}-0.86.2-no-autodetect.patch"
+ sed -i \
+ -e "/^BUILD_GTK/s/'auto'/$(use gtk && echo 1 || echo 0)/" \
+ -e "/^BUILD_WX/s/'auto'/0/" \
+ -e "/^BUILD_TK/s/'auto'/$(use tcltk && echo 1 || echo 0)/" \
+ setup.py
+}
+
+src_install() {
+ distutils_src_install
+
+ if use doc ; then
+ insinto /usr/share/doc/${PF}/examples
+ doins examples/*.py examples/README
+ insinto /usr/share/doc/${PF}/examples/data
+ doins examples/data/*.dat
+ fi
+}
diff --git a/net-wireless/bluez-libs/Manifest b/net-wireless/bluez-libs/Manifest
new file mode 100644
index 0000000..15b4687
--- /dev/null
+++ b/net-wireless/bluez-libs/Manifest
@@ -0,0 +1,8 @@
+DIST bluez-libs-3.1.tar.gz 292268 RMD160 67dfa9f93ffc2496f4b058acbd9a3a6ca495078e SHA1 b9abc9a921c4ae308424ad99777e01acdaf93d2d SHA256 11a3ed25672112ed13e83309565d5996053bc258180b8ae7ed999f792a91b2b1
+EBUILD bluez-libs-3.1.ebuild 630 RMD160 9630614fc1fbe4f9e1abc0ec479b43859689a649 SHA1 300aa0caa83e44f91652f1f913cb709b40c19e52 SHA256 dd2d0d911ea725b335d31c604fd4affd6f20e4be3d5a9485ca8d552d66ffefe7
+MD5 b8682c71378194a1cfd9f0942b2de6c4 bluez-libs-3.1.ebuild 630
+RMD160 9630614fc1fbe4f9e1abc0ec479b43859689a649 bluez-libs-3.1.ebuild 630
+SHA256 dd2d0d911ea725b335d31c604fd4affd6f20e4be3d5a9485ca8d552d66ffefe7 bluez-libs-3.1.ebuild 630
+MD5 0a7cffb55a16283c8ba08c413e04ce7f files/digest-bluez-libs-3.1 244
+RMD160 786bef0043a442f0b72bbe0c24a62fd59ea42820 files/digest-bluez-libs-3.1 244
+SHA256 39813cfe2992665a5e0bdb88e1eb3988847ed94757d8f3acb31d3ef6eebaa471 files/digest-bluez-libs-3.1 244
diff --git a/net-wireless/bluez-libs/bluez-libs-3.1.ebuild b/net-wireless/bluez-libs/bluez-libs-3.1.ebuild
new file mode 100644
index 0000000..f3ebc86
--- /dev/null
+++ b/net-wireless/bluez-libs/bluez-libs-3.1.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez-libs/bluez-libs-2.25.ebuild,v 1.4 2006/07/06 06:29:52 corsair Exp $
+
+inherit eutils
+
+DESCRIPTION="Bluetooth Userspace Libraries"
+HOMEPAGE="http://bluez.sourceforge.net/"
+SRC_URI="http://bluez.sourceforge.net/download/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+
+IUSE=""
+DEPEND="!net-wireless/bluez-sdp"
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed"
+
+ dodoc AUTHORS ChangeLog README
+}
diff --git a/net-wireless/bluez-libs/files/digest-bluez-libs-3.1 b/net-wireless/bluez-libs/files/digest-bluez-libs-3.1
new file mode 100644
index 0000000..9f5e176
--- /dev/null
+++ b/net-wireless/bluez-libs/files/digest-bluez-libs-3.1
@@ -0,0 +1,3 @@
+MD5 f22847a16808995d25cd600cc7583913 bluez-libs-3.1.tar.gz 292268
+RMD160 67dfa9f93ffc2496f4b058acbd9a3a6ca495078e bluez-libs-3.1.tar.gz 292268
+SHA256 11a3ed25672112ed13e83309565d5996053bc258180b8ae7ed999f792a91b2b1 bluez-libs-3.1.tar.gz 292268
diff --git a/net-wireless/bluez-pin/Manifest b/net-wireless/bluez-pin/Manifest
new file mode 100644
index 0000000..9a25767
--- /dev/null
+++ b/net-wireless/bluez-pin/Manifest
@@ -0,0 +1,8 @@
+DIST bluez-pin-0.30.tar.bz2 107530 RMD160 16cdfdd96de7f4eb162f563bee7aa6692a3935cb SHA1 f17416a5b56fca8b0008ff4ce642381308ffd0dd SHA256 8216bc76eef0b536b218474a5c62fd638468bd9e51c2a8d707dc10c508123b0d
+EBUILD bluez-pin-0.30.ebuild 515 RMD160 40d0729ab0560c11143d420613a021ac50c18b55 SHA1 e501a434163352bf905944a3294700004f96f050 SHA256 d55f0013802a65e23edf28ecc0b6caef25948e96124834aec468a5a36b435f09
+MD5 190417784ab414d5a62b41c11b5c5010 bluez-pin-0.30.ebuild 515
+RMD160 40d0729ab0560c11143d420613a021ac50c18b55 bluez-pin-0.30.ebuild 515
+SHA256 d55f0013802a65e23edf28ecc0b6caef25948e96124834aec468a5a36b435f09 bluez-pin-0.30.ebuild 515
+MD5 5e08cd837bc9a514f36d190a6d480b99 files/digest-bluez-pin-0.30 247
+RMD160 d69d03b78c2f718cf1b3af689f225ea86b76b4ea files/digest-bluez-pin-0.30 247
+SHA256 1541610ebeabffb55455e256eabd79562770d1a89c3947efed55942cb8e42c5b files/digest-bluez-pin-0.30 247
diff --git a/net-wireless/bluez-pin/bluez-pin-0.30.ebuild b/net-wireless/bluez-pin/bluez-pin-0.30.ebuild
new file mode 100644
index 0000000..70f8603
--- /dev/null
+++ b/net-wireless/bluez-pin/bluez-pin-0.30.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils gnome2
+
+DESCRIPTION="Bluetooth PIN input via DBUS"
+HOMEPAGE="http://www.handhelds.org/"
+SRC_URI="http://www.handhelds.org/download/projects/gpe/source/${P}.tar.bz2"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND=">=x11-libs/gtk+-2.0
+ >=sys-apps/dbus-0.62
+ >=net-wireless/bluez-libs-3.1
+ >=gnome-base/gconf-2.0
+ >=gnome-base/libglade-2.0"
+
+S=${WORKDIR}/${P}
diff --git a/net-wireless/bluez-pin/files/digest-bluez-pin-0.30 b/net-wireless/bluez-pin/files/digest-bluez-pin-0.30
new file mode 100644
index 0000000..2bf7437
--- /dev/null
+++ b/net-wireless/bluez-pin/files/digest-bluez-pin-0.30
@@ -0,0 +1,3 @@
+MD5 518226e84ea0925511184fe85f89e901 bluez-pin-0.30.tar.bz2 107530
+RMD160 16cdfdd96de7f4eb162f563bee7aa6692a3935cb bluez-pin-0.30.tar.bz2 107530
+SHA256 8216bc76eef0b536b218474a5c62fd638468bd9e51c2a8d707dc10c508123b0d bluez-pin-0.30.tar.bz2 107530
diff --git a/net-wireless/bluez-utils/Manifest b/net-wireless/bluez-utils/Manifest
new file mode 100644
index 0000000..d879667
--- /dev/null
+++ b/net-wireless/bluez-utils/Manifest
@@ -0,0 +1,16 @@
+AUX bluez-utils-2.24-udev.rules 74 RMD160 779f5f29e9c532df668dc0ece81076a45de3d91e SHA1 5c26941efea28eb5b609ce1eb4dda53cde6ae1a5 SHA256 2df19f68791a04b23feaf7fa6722f9d649f232fab9e31cd1ec275c936264da4f
+MD5 6492c6e959a40f4e32e331d2dfbd60a2 files/bluez-utils-2.24-udev.rules 74
+RMD160 779f5f29e9c532df668dc0ece81076a45de3d91e files/bluez-utils-2.24-udev.rules 74
+SHA256 2df19f68791a04b23feaf7fa6722f9d649f232fab9e31cd1ec275c936264da4f files/bluez-utils-2.24-udev.rules 74
+AUX bluez-utils-2.24-udev.script 572 RMD160 f4ba713c996ba96cc6fed889029cf3b7741533c8 SHA1 4b58705889f8b6384ed65b5329e2dae62df323b5 SHA256 b5064a5e7f6d5de189316e9402e6dcf074e84b4f46b8b0b50c44790028f307a2
+MD5 df945b8dc13a93cbbef19d118ef645d7 files/bluez-utils-2.24-udev.script 572
+RMD160 f4ba713c996ba96cc6fed889029cf3b7741533c8 files/bluez-utils-2.24-udev.script 572
+SHA256 b5064a5e7f6d5de189316e9402e6dcf074e84b4f46b8b0b50c44790028f307a2 files/bluez-utils-2.24-udev.script 572
+DIST bluez-utils-3.1.tar.gz 607925 RMD160 b3a4ddc16ebf423d34f97456dd17e4d0149ce90a SHA1 9cfe32ddf1817661f7e3c1b77cda7366217e56ba SHA256 518de6148c6fe0297126dcfe347da91057fdd6f711e5bb842867b6afc8adb6f2
+EBUILD bluez-utils-3.1.ebuild 2414 RMD160 755e23e9b0621a67430435b38311f8b0e933073f SHA1 e799811f5bfff4d73ae562fd85c73a73f49d0ed6 SHA256 fd65047857a5dfa84ca16b44905696bca42bab7d1248e723b7d5a46a2f6fd987
+MD5 d3a24f4a51739ce900aab3023b4e605b bluez-utils-3.1.ebuild 2414
+RMD160 755e23e9b0621a67430435b38311f8b0e933073f bluez-utils-3.1.ebuild 2414
+SHA256 fd65047857a5dfa84ca16b44905696bca42bab7d1248e723b7d5a46a2f6fd987 bluez-utils-3.1.ebuild 2414
+MD5 436b03c0dab26a88cf5bfe97ec8e952c files/digest-bluez-utils-3.1 247
+RMD160 9ca5f67d98cb87da0df5d4cc0c2c649ec751372e files/digest-bluez-utils-3.1 247
+SHA256 8248f743a980f6aad030624de8e5efdd1b2c47d9d2f8174451f0bddc07d21bb2 files/digest-bluez-utils-3.1 247
diff --git a/net-wireless/bluez-utils/bluez-utils-3.1.ebuild b/net-wireless/bluez-utils/bluez-utils-3.1.ebuild
new file mode 100644
index 0000000..918a638
--- /dev/null
+++ b/net-wireless/bluez-utils/bluez-utils-3.1.ebuild
@@ -0,0 +1,103 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez-utils/bluez-utils-2.25-r1.ebuild,v 1.4 2006/06/26 13:59:11 gustavoz Exp $
+
+inherit eutils
+
+DESCRIPTION="Bluetooth Tools and System Daemons for Linux"
+HOMEPAGE="http://bluez.sourceforge.net/"
+SRC_URI="http://bluez.sourceforge.net/download/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86"
+
+IUSE="alsa cups fuse udev"
+
+RDEPEND="!net-wireless/bluez-pan
+ >=net-wireless/bluez-libs-3.1
+ >=net-wireless/bluez-pin-0.30
+ >=sys-apps/dbus-0.31
+ dev-libs/libusb
+ >=dev-libs/openobex-1.2
+ fuse? ( sys-fs/fuse )
+ alsa? ( >=media-libs/alsa-lib-1.0.9 )
+ cups? ( net-print/cups )
+ udev? ( sys-fs/udev )"
+
+DEPEND="sys-devel/bison
+ sys-devel/flex
+ >=sys-apps/sed-4
+ ${RDEPEND}"
+
+src_unpack() {
+ unpack ${A}
+
+ sed -i \
+ -e "s:^HIDD_ENABLE=.*:HIDD_ENABLE=false:" \
+ -e "s:^HID2HCI_ENABLE=.*:HID2HCI_ENABLE=false:" \
+ -e "s:^\(# Start dund.*\)$:\1\n# If you want to use dund, you must install\: net-dialup/ppp .:" \
+ ${S}/scripts/bluetooth.default
+
+ sed -i \
+ -e "s:security .*;:security user;:" \
+ ${S}/hcid/hcid.conf
+
+ # fix cups-1.2
+ if use cups; then
+ sed -i -e "s:\$(libdir)/cups:$(cups-config --serverbin):" ${S}/cups/Makefile.{am,in}
+ fi
+}
+
+src_compile() {
+ econf \
+ $(use_enable alsa) \
+ $(use_enable cups) \
+ $(use_enable fuse) \
+ --enable-dbus \
+ --enable-bccmd \
+ --enable-avctrl \
+ --enable-bcm203x \
+ --enable-dfutool \
+ --enable-hid2hci \
+ --enable-obex \
+ --disable-initscripts \
+ --localstatedir=/var \
+ || die "econf failed"
+
+ emake || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed"
+
+ dodoc AUTHORS ChangeLog README
+
+ # optional bluetooth utils
+ #cd ${S}/tools
+ #dosbin bccmd hcisecfilter ppporc pskey
+
+ #newinitd ${FILESDIR}/${PN}-2.25-init.d bluetooth
+ #newconfd ${S}/scripts/bluetooth.default bluetooth
+
+ # bug #84431
+ if use udev; then
+ insinto /etc/udev/rules.d/
+ newins ${FILESDIR}/${PN}-2.24-udev.rules 70-bluetooth.rules
+
+ exeinto /lib/udev/
+ newexe ${FILESDIR}/${PN}-2.24-udev.script bluetooth.sh
+ fi
+}
+
+pkg_postinst() {
+ einfo
+ einfo "A startup script has been installed in /etc/init.d/bluetooth."
+ einfo
+
+ if use udev; then
+ einfo "You need to run 'udevstart' or reboot for the udev rules"
+ einfo "to take effect."
+ einfo
+ fi
+}
diff --git a/net-wireless/bluez-utils/files/bluez-utils-2.24-udev.rules b/net-wireless/bluez-utils/files/bluez-utils-2.24-udev.rules
new file mode 100644
index 0000000..f4affad
--- /dev/null
+++ b/net-wireless/bluez-utils/files/bluez-utils-2.24-udev.rules
@@ -0,0 +1,3 @@
+# Bluetooth devices:
+#
+KERNEL=="hci[0-9]*", RUN+="/lib/udev/bluetooth.sh"
diff --git a/net-wireless/bluez-utils/files/bluez-utils-2.24-udev.script b/net-wireless/bluez-utils/files/bluez-utils-2.24-udev.script
new file mode 100644
index 0000000..516c046
--- /dev/null
+++ b/net-wireless/bluez-utils/files/bluez-utils-2.24-udev.script
@@ -0,0 +1,25 @@
+#!/bin/sh
+#
+# bluetooth.sh: udev external RUN script
+#
+# Copyright 2005-2006 Henrik Brix Andersen <brix@gentoo.org>
+# Distributed under the terms of the GNU General Public License v2
+
+script=/etc/init.d/bluetooth
+
+# Find out where sysfs is mounted. Exit if not available
+sysfs=`grep -F sysfs /proc/mounts | awk '{print $2}'`
+if [ "$sysfs" = "" ]; then
+ echo "sysfs is required"
+ exit 1
+fi
+
+if [ ! -d $sysfs/class/bluetooth/hci[0-9]* ]; then
+ if $script --quiet status; then
+ $script stop
+ fi
+else
+ if ! $script --quiet status; then
+ $script start
+ fi
+fi
diff --git a/net-wireless/bluez-utils/files/digest-bluez-utils-3.1 b/net-wireless/bluez-utils/files/digest-bluez-utils-3.1
new file mode 100644
index 0000000..2233b0b
--- /dev/null
+++ b/net-wireless/bluez-utils/files/digest-bluez-utils-3.1
@@ -0,0 +1,3 @@
+MD5 d3032439c3c47ff1ce73ac2ad5bd4ccb bluez-utils-3.1.tar.gz 607925
+RMD160 b3a4ddc16ebf423d34f97456dd17e4d0149ce90a bluez-utils-3.1.tar.gz 607925
+SHA256 518de6148c6fe0297126dcfe347da91057fdd6f711e5bb842867b6afc8adb6f2 bluez-utils-3.1.tar.gz 607925