diff options
author | Tiziano Müller <dev-zero@gentoo.org> | 2009-02-27 23:42:12 +0000 |
---|---|---|
committer | Tiziano Müller <dev-zero@gentoo.org> | 2009-02-27 23:42:12 +0000 |
commit | f15e26de16829908e722b3b82aa615ac23a7ab2b (patch) | |
tree | 8c711dba2473f2c6d2e54d155276d9c17bd90f45 /net-wireless | |
parent | x11-apps/editres: really remove xprint support (see bug #254874) (diff) | |
download | historical-f15e26de16829908e722b3b82aa615ac23a7ab2b.tar.gz historical-f15e26de16829908e722b3b82aa615ac23a7ab2b.tar.bz2 historical-f15e26de16829908e722b3b82aa615ac23a7ab2b.zip |
Version bump.
Package-Manager: portage-2.1.6.7/cvs/Linux x86_64
Diffstat (limited to 'net-wireless')
-rw-r--r-- | net-wireless/bluez/ChangeLog | 8 | ||||
-rw-r--r-- | net-wireless/bluez/Manifest | 5 | ||||
-rw-r--r-- | net-wireless/bluez/bluez-4.31.ebuild | 164 | ||||
-rw-r--r-- | net-wireless/bluez/files/4.31-as_needed.patch | 31 |
4 files changed, 206 insertions, 2 deletions
diff --git a/net-wireless/bluez/ChangeLog b/net-wireless/bluez/ChangeLog index fc8b593d6594..318bbbde445f 100644 --- a/net-wireless/bluez/ChangeLog +++ b/net-wireless/bluez/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-wireless/bluez # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez/ChangeLog,v 1.3 2009/02/06 15:44:57 dev-zero Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez/ChangeLog,v 1.4 2009/02/27 23:42:12 dev-zero Exp $ + +*bluez-4.31 (27 Feb 2009) + + 27 Feb 2009; Tiziano Müller <dev-zero@gentoo.org> + +files/4.31-as_needed.patch, +bluez-4.31.ebuild: + Version bump. *bluez-4.28 (06 Feb 2009) diff --git a/net-wireless/bluez/Manifest b/net-wireless/bluez/Manifest index a5178a15cbc2..dcef9f21e999 100644 --- a/net-wireless/bluez/Manifest +++ b/net-wireless/bluez/Manifest @@ -3,11 +3,14 @@ AUX 4.18/bluetooth-init.d 1171 RMD160 6ef1d5dc53200f282ccd02aacd5ff50d78484d78 S AUX 4.18/conf.d-hidd 89 RMD160 31407e00bcb00eb0b9c1adeb7434a922bfb967e9 SHA1 dc6831fa817c8bd2378830e13bc96d3ff3fdffa2 SHA256 8fc50b8c644e0bc69eacef2a9555118b2f4758aafcb42e8ea3ca1293e8f3a211 AUX 4.18/cups-location.patch 480 RMD160 3da74418b140c2ea05d2c9e0d743eaf004deba5d SHA1 3605b1633c92b2b7eefc7e6b78e98df3e12088a8 SHA256 cede5fed7e4ece7cf4977d40e7fd8f9a22200660b06cca15d39c9c40542ab33d AUX 4.18/init.d-hidd 779 RMD160 8dc919f4d0aa2df8464e3326c14b6f5a9f0c360f SHA1 45901988313787db4f1d5a0fdc44009ffa3d650b SHA256 d5816349cc85313a8f7f1b79112918aeda863ff59f298b99462611860605c737 +AUX 4.31-as_needed.patch 1129 RMD160 16d12e4466cebbc37183c73791c957655452e17b SHA1 3f98b061f91b3875c7b7035625f1d7b22c4aa6e5 SHA256 4f59a2f1dfb4567e5d5254720ebc2dbb5cfa7bacdf962801040eb7596922d698 AUX bluez-4.18-udev.rules 228 RMD160 ab9b4ce8907c62eb9d1f14406cc2ff3f5ec69a19 SHA1 14e652de6cfed28f215727800460e600129007c2 SHA256 7577c2ed295b67f960f17ac65a44889c6536c125b34e33860d6d9f128a59fa82 AUX bluez-4.18-udev.script 752 RMD160 d8f60749dbe497bef7362a4c3f56b2b83ca079cb SHA1 0c39b4b4f4c57fb334daa793f89c0ffac046b956 SHA256 cb41a4eeea5137fb27d82d74f34e5e7dd725ddf8442c39ea623afe0d3c041fcf DIST bluez-4.21.tar.gz 933080 RMD160 4a451ab0370fab0bfc8ba7750b9298f1b3700308 SHA1 d1eb361a93860b34cea5cc72a449047d6d8a5c63 SHA256 b4ca270ded5d2e9aa77d5c0e5e2bd987122751fe48fae0ebd90de42ab136de37 DIST bluez-4.28.tar.gz 956161 RMD160 a8add4666bc19d009132be0118d075da79e8cba2 SHA1 ff992e8665814f8af0568883fa54f9355865b82b SHA256 8a7ecc1a2ad5b8c46414b58dd3a3519f2979a320ffa7d27c88519a7cf8755493 +DIST bluez-4.31.tar.gz 964180 RMD160 b6e79fccaa2e1e78c20f8e8e5257c0999337c4e7 SHA1 9b342a7560a0baa2beba9e12309607874cb59d5f SHA256 f6cfceb541a10849805f853b790bc8343309e7b21078a9c18a7a6a8cf2f94e3b EBUILD bluez-4.21.ebuild 4750 RMD160 4f3787153486ce122200afa63e713adc3238e443 SHA1 b1854ea1bb48ae8842c9951453380173c4d5c094 SHA256 c8b64449e15bb89d5ea633009e40644f5962b89d2aa77183ff961cc37bdf3002 EBUILD bluez-4.28.ebuild 4885 RMD160 f4c735e9b7e5d1a1859a0efe1ae56acbaeeca66f SHA1 5125ed7037b90b284c8281471c2204935d0ad55d SHA256 cd0ef8500c6c1e53944ff78be03d59300ee595e0a87d840964a7902031cfa9f0 -MISC ChangeLog 960 RMD160 ba9f8ddaeb31211305474fd25a8e9e8aef677015 SHA1 d72c85914fa861f1f1ffecdb442e5af08f3272bd SHA256 feb1c5e1fc8e4dc3388fbaf1d113e9c9dcfcf2936205caa5659ee0b914a75795 +EBUILD bluez-4.31.ebuild 4938 RMD160 b9ca0f7fc365fb870ee32895d1721513eeec03fc SHA1 a9d87caa1abc30ce32d1f3213b72f0188eb294fb SHA256 1438bba8b1be79e0627e5904a3ce62980e2ee2b4b1b4c49cbc45136db358a3ae +MISC ChangeLog 1108 RMD160 486839f53cd8f8b001925285ef93a823cd894505 SHA1 615b4220daec684ed622a126a9c7233a88cb7389 SHA256 6c654d7677c5dc389f20740199edc13405a8710bdcbf34c43c51f41e6af678bb MISC metadata.xml 514 RMD160 89fa06d58b02ddf9cf942c3e8662cbdc70e14587 SHA1 5f91b2a84e74029a5f8eb7362d6412b36518cdec SHA256 03647e723337dcd35c89f4dfcecaeeefba99883d690e6e91320804d5f8a22f9e diff --git a/net-wireless/bluez/bluez-4.31.ebuild b/net-wireless/bluez/bluez-4.31.ebuild new file mode 100644 index 000000000000..25ce5e383168 --- /dev/null +++ b/net-wireless/bluez/bluez-4.31.ebuild @@ -0,0 +1,164 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez/bluez-4.31.ebuild,v 1.1 2009/02/27 23:42:12 dev-zero Exp $ + +EAPI="2" + +inherit autotools multilib eutils + +DESCRIPTION="Bluetooth Tools and System Daemons for Linux" +HOMEPAGE="http://bluez.sourceforge.net/" +SRC_URI="mirror://kernel/linux/bluetooth/${P}.tar.gz" +LICENSE="GPL-2 LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sh ~sparc ~x86" + +IUSE="alsa cups debug doc gstreamer old-daemons test-programs usb" + +RDEPEND="alsa? ( media-libs/alsa-lib ) + gstreamer? ( + >=media-libs/gstreamer-0.10 + >=media-libs/gst-plugins-base-0.10 ) + usb? ( dev-libs/libusb ) + cups? ( net-print/cups ) + sys-fs/udev + dev-libs/glib + sys-apps/dbus + media-libs/libsndfile + >=dev-libs/libnl-1.1 + !net-wireless/bluez-libs + !net-wireless/bluez-utils" +DEPEND="sys-devel/flex + dev-util/pkgconfig + doc? ( dev-util/gtk-doc ) + ${RDEPEND}" + +src_prepare() { + epatch "${FILESDIR}/${PV}-as_needed.patch" + + if use cups; then + epatch "${FILESDIR}/4.18/cups-location.patch" + fi + + # needed for both patches + eautoreconf +} + +src_configure() { + # the order is the same as ./configure --help + + # we don't need the other daemons either with the new + # service architechture + + econf \ + $(use_enable doc gtk-doc) \ + --enable-network \ + --enable-serial \ + --enable-input \ + --enable-audio \ + --enable-service \ + $(use_enable gstreamer) \ + $(use_enable alsa) \ + $(use_enable usb) \ + --enable-netlink \ + --enable-tools \ + --enable-bccmd \ + --enable-hid2hci \ + --enable-dfutool \ + $(use_enable old-daemons hidd) \ + $(use_enable old-daemons pand) \ + $(use_enable old-daemons dund) \ + $(use_enable cups) \ + $(use_enable test-programs test) \ + --enable-manpages \ + --enable-configfiles \ + --disable-initscripts \ + --disable-pcmciarules \ + $(use_enable debug) \ + --localstatedir=/var +} + +src_install() { + emake DESTDIR="${D}" install || die "make install failed" + + dodoc AUTHORS ChangeLog README || die + + if use test-programs ; then + cd "${S}/test" + dobin simple-agent simple-service monitor-bluetooth + newbin list-devices list-bluetooth-devices + for b in apitest hsmicro hsplay test-* ; do + newbin "${b}" "bluez-${b}" + done + insinto /usr/share/doc/${PF}/test-services + doins service-* + + cd "${S}" + fi + + newinitd "${FILESDIR}/4.18/bluetooth-init.d" bluetooth || die + newconfd "${FILESDIR}/4.18/bluetooth-conf.d" bluetooth || die + + if use old-daemons; then + newconfd "${FILESDIR}/4.18/conf.d-hidd" hidd || die + newinitd "${FILESDIR}/4.18/init.d-hidd" hidd || die + fi + + # bug #84431 + insinto /etc/udev/rules.d/ + newins "${FILESDIR}/${PN}-4.18-udev.rules" 70-bluetooth.rules || die + newins "${S}/scripts/bluetooth.rules" 70-bluetooth-pcmcia.rules || die + + exeinto /$(get_libdir)/udev/ + newexe "${FILESDIR}/${PN}-4.18-udev.script" bluetooth.sh || die + doexe "${S}/scripts/bluetooth_serial" || die + + insinto /etc/bluetooth + doins \ + input/input.conf \ + audio/audio.conf \ + network/network.conf +} + +pkg_postinst() { + udevadm control --reload_rules && udevadm trigger + + elog + elog "To use dial up networking you must install net-dialup/ppp." + elog "" + elog "Since 3.0 bluez has changed the passkey handling to use a dbus based" + elog "API so please remember to update your /etc/bluetooth/hcid.conf." + elog "For a password agent, there is for example net-wireless/bluez-gnome" + elog "for gnome and net-wireless/kdebluetooth for kde." + elog "" + elog "Since 3.10.1 we don't install the old style daemons any more but rely" + elog "on the new service architechture:" + elog " http://wiki.bluez.org/wiki/Services" + elog "" + elog "3.15 adds support for the audio service. See" + elog "http://wiki.bluez.org/wiki/HOWTO/AudioDevices for configuration help." + elog "" + elog "Use the old-daemons use flag to get the old daemons like hidd" + elog "installed. Please note that the init script doesn't stop the old" + elog "daemons after you update it so it's recommended to run:" + elog " /etc/init.d/bluetooth stop" + elog "before updating your configuration files or you can manually kill" + elog "the extra daemons you previously enabled in /etc/conf.d/bluetooth." + elog "" + elog "If you want to use rfcomm as a normal user, you need to add the user" + elog "to the uucp group." + elog "" + if use old-daemons; then + elog "The hidd init script was installed because you have the old-daemons" + elog "use flag on. It is not started by default via udev so please add it" + elog "to the required runleves using rc-update <runlevel> add hidd. If" + elog "you need init scripts for the other daemons, please file requests" + elog "to https://bugs.gentoo.org." + else + elog "The bluetooth service should be started automatically by udev" + elog "when the required hardware is inserted next time." + fi + elog + ewarn "On first install you need to run /etc/init.d/dbus reload or hcid" + ewarn "will fail to start." +} diff --git a/net-wireless/bluez/files/4.31-as_needed.patch b/net-wireless/bluez/files/4.31-as_needed.patch new file mode 100644 index 000000000000..99b8ce4c2321 --- /dev/null +++ b/net-wireless/bluez/files/4.31-as_needed.patch @@ -0,0 +1,31 @@ +diff -Naur bluez-4.31.orig/common/Makefile.am bluez-4.31/common/Makefile.am +--- bluez-4.31.orig/common/Makefile.am 2009-02-27 22:57:29.515330134 +0100 ++++ bluez-4.31/common/Makefile.am 2009-02-27 22:58:11.249328307 +0100 +@@ -4,6 +4,8 @@ + libhelper_a_SOURCES = oui.h oui.c textfile.h textfile.c logging.h logging.c \ + glib-helper.h glib-helper.c sdp-xml.h sdp-xml.c btio.h btio.c + ++libhelper_a_LIBADD = @BLUEZ_LIBS@ ++ + noinst_PROGRAMS = test_textfile + + test_textfile_LDADD = libhelper.a +diff -Naur bluez-4.31.orig/test/Makefile.am bluez-4.31/test/Makefile.am +--- bluez-4.31.orig/test/Makefile.am 2009-02-27 22:57:29.518659538 +0100 ++++ bluez-4.31/test/Makefile.am 2009-02-27 23:07:09.294597176 +0100 +@@ -23,13 +23,13 @@ + + bdaddr_SOURCES = bdaddr.c + +-bdaddr_LDADD = @BLUEZ_LIBS@ $(top_builddir)/common/libhelper.a ++bdaddr_LDADD = $(top_builddir)/common/libhelper.a @BLUEZ_LIBS@ + + lmptest_LDADD = @BLUEZ_LIBS@ + + agent_LDADD = @DBUS_LIBS@ + +-btiotest_LDADD = @GLIB_LIBS@ @BLUEZ_LIBS@ $(top_builddir)/common/libhelper.a ++btiotest_LDADD = @GLIB_LIBS@ $(top_builddir)/common/libhelper.a @BLUEZ_LIBS@ + + noinst_MANS = bdaddr.8 + |