Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 143154 - net-wireless/bluez-libs-3.10 and net-wireless/bluez-utils-3.10 version bump
Summary: net-wireless/bluez-libs-3.10 and net-wireless/bluez-utils-3.10 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Lowest enhancement (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: InOverlay
: 146014 156370 162518 175353 175356 (view as bug list)
Depends on:
Blocks: 148562 159920 173013
  Show dependency tree
 
Reported: 2006-08-07 19:59 UTC by Thomas Kear
Modified: 2010-07-27 13:37 UTC (History)
19 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
bluez-utils-3.7-r1.ebuild (bluez-utils-3.7-r1.ebuild,3.50 KB, text/plain)
2007-02-22 00:13 UTC, Sergey Temerkhanov
Details
bluez-utils-3.7-r2.ebuild (bluez-utils-3.7-r2.ebuild,3.74 KB, text/plain)
2007-03-15 22:23 UTC, Michael Mauch
Details
net-wireless/bluez-libs-3.9.ebuild (bluez-libs-3.9.ebuild,606 bytes, text/plain)
2007-04-01 14:21 UTC, Dick Marinus
Details
net-wireless/bluez-utils-3.9.ebuild (bluez-utils-3.9.ebuild,1.83 KB, text/plain)
2007-04-01 14:23 UTC, Dick Marinus
Details
bluez-utils/files/bluez-utils-2.25-init.d (bluez-utils-2.25-init.d,3.32 KB, text/plain)
2007-04-02 12:23 UTC, Dick Marinus
Details
bluez-utils/files/bluez-utils-2.24-udev.rules (bluez-utils-2.24-udev.rules,74 bytes, text/plain)
2007-04-02 12:23 UTC, Dick Marinus
Details
bluez-utils/files/bluez-utils-2.24-udev.script (bluez-utils-2.24-udev.script,572 bytes, text/plain)
2007-04-02 12:24 UTC, Dick Marinus
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Kear 2006-08-07 19:59:02 UTC
Both packages compile and install with only version number change on existing ebuilds (bluez-libs-2.25.ebuild, bluez-utils-2.25-r1.ebuild)
Comment 1 Alastair Tse (RETIRED) gentoo-dev 2006-08-08 01:50:13 UTC
the changes are much more than that, major things have changed like passkey entry has gone and relies completely on dbus, and various issues with scan modes that you can track on the bluez-* lists if you are interested. 

you can find experimental ebuilds in my overlay (layman -a liquidx) or http://overlays.gentoo.org/svn/dev/liquidx. but you will need to recompile kdebluetooth/gnome-bluetooth and such because of the change in major ver number. 

in short, i don't recommend you upgrading unless you're happy to have broken bluetooth support

Comment 2 Matteo 'The Peach' Pescarin 2006-08-23 16:00:10 UTC
tried to install it today and got this: temporary solution: re-digest the ebuild

>>> checking ebuild checksums
!!! Digest verification failed:
!!! /usr/portage/local/layman/liquidx/net-wireless/bluez-libs/bluez-libs-3.2.ebuild
!!! Reason: Filesize does not match recorded size
!!! Got: 825
!!! Expected: 822
Comment 3 Alastair Tse (RETIRED) gentoo-dev 2006-08-24 13:11:39 UTC
thanks for alerting me to this.
Comment 4 Niv Vaizer 2006-08-25 14:47:45 UTC
3.4 is already out. when is this to be released?
Comment 5 Alastair Tse (RETIRED) gentoo-dev 2006-08-26 01:30:05 UTC
when i think it is usable and stable enough. right now it is overlay quality.
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2006-09-02 14:36:28 UTC
*** Bug 146014 has been marked as a duplicate of this bug. ***
Comment 7 Dick Marinus 2006-09-06 13:07:07 UTC
I'm using a version bumped bluez-libs-3.4, bluez-utils-3.4 and bluez-hcidump-1.32 and it's all running fine, I've rebuilded all packages which were using libbluetooth.so.1 (revdep-rebuild) and they all compiled fine.

Please note we'll need Bug 146598 because the pin-entry is replaced by DBUS

There are also some changes in hcid, "security mode 3" is removed (mandatory encryption+authentication) which now should be implemented in the daemons.
Comment 8 Dick Marinus 2006-09-21 11:46:23 UTC
This bug depends on Bug 148562
Comment 9 Caleb Cushing 2006-09-23 13:34:55 UTC
(In reply to comment #8)
> This bug depends on Bug 148562
> 

3.5 is out... 
Comment 10 Caleb Cushing 2006-09-24 03:41:36 UTC
bluez-libs and bluez-utils 3.5 work here for HID devices. is 3x ever going to make it into portage? on another note I tried building the latest version of hcidump with a renamed ebuild and it failed.
Comment 11 Alastair Tse (RETIRED) gentoo-dev 2006-09-24 17:04:18 UTC
3.2 was lacking any way to enter a pin number (passphrase), 3.4 fixed that and is in my overlay. but basically, the only thing blocking this is just more positive test reports on the ebuilds that are in my overlay.
Comment 12 Alastair Tse (RETIRED) gentoo-dev 2006-10-03 10:16:39 UTC
I still do not think they are good enough to get into portage yet, despite
the author's insistance that distributions package it up.

The only way it is going into portage in its current state is in a hard
mask. I've just tried 3.7, and it totally ignores hcid.conf. All the
features are now enabled via DBUS and there is no corresponding
configuration file or configuration tool to set the machine name, scan
modes, etc. Zero documentation from the project either about what is going
on with this release and helping people migrate.

The only way I have been able to get answers is from trawling the mailing
list.

Comment 13 Dick Marinus 2006-10-06 11:39:06 UTC
Could you please:
1. add bluez-gnome to the summary of this bug, we really need a pin helper for bluez 3
2. remove "ln -s libbluetooth.so.2 ${D}/usr/$(get_libdir)/libbluetooth.so.1", please advice to do a revdep-rebuild
3. please consider (for bluez-libs):

src_compile() {
       econf $(use_enable debug)
       if use debug ; then
               echo "#define SDP_DEBUG 1" >> config.h
       fi
       emake
}

thanks for maintaining the overlay, bluez 3 works like charm for me
Comment 14 Dick Marinus 2006-10-29 07:05:28 UTC
bluez-gnome-0.6 is released, "This release fixes the status icon appearance and adds an application for changing the Bluetooth settings."
Now we won't need the dbus-send anymore!
Comment 15 Jakub Moc (RETIRED) gentoo-dev 2006-11-27 00:25:54 UTC
*** Bug 156370 has been marked as a duplicate of this bug. ***
Comment 16 Didier Link 2006-12-13 00:34:41 UTC
The 3.7 versions and bluez-gnome-0.6 from overlay works very well with a DiNovo Laser and a patch to hid2hci on amd64 (patch from bug 144547).

My emerge -info :

Portage 2.1.2_rc3-r2 (default-linux/amd64/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo-r1 x86_64)
=================================================================
System uname: 2.6.19-gentoo-r1 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+
Gentoo Base System version 1.12.6
Last Sync: Wed, 13 Dec 2006 07:50:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
dev-util/confcache:  0.4.2-r1
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r2, 2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -mtune=k8 -momit-leaf-frame-pointer -ftracer -ggdb -pipe -msse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/qmail/alias /var/qmail/control /var/www/localhost/htdocs/phppgadmin/conf"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=k8 -mtune=k8 -momit-leaf-frame-pointer -ftracer -ggdb -pipe -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms splitdebug strict"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://mirror.ovh.net/gentoo-distfiles/"
LANG="fr_FR.UTF-8"
LC_ALL="fr_FR.UTF-8"
LINGUAS="fr"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/sunrise /usr/portage/local/layman/voip"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X X509 Xaw3d a52 aac accessibility acl acpi adns alsa amd64 apache2 artworkextra audiofile bash-completion berkdb bitmap-fonts bluetooth bonobo bzip2 c++ cairo caps cddb cdr chroot cli cracklib crypt cups curl dbm dbus dga divx4linux dlloader dmx dri dts dv dvd dvdr eds elibc_glibc emboss encode esd evo exif expat ext-png ext-zlib fam fbcon ffmpeg firefox flac foomaticdb fortran ftp gcc-libffi gcj gd gd-external gdbm gif gimp gimpprint gkrellm glade gmp gnome gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal howl iconv idn ieee1394 imagemagick imap imlib imlib2 innodb input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog jabber java javamail jbig jce jikes jpeg jpeg2k junit kernel_linux lame latex lcms ldap libg++ libnotify linguas_fr lm_sensors logrotate lzo lzw mad mhash mikmod mime mmap mng motif mozilla mp3 mpeg mpeg4 mysql ncurses nfs nls nptl nptlonly nsplugin objc ogg oggvorbis openal opengl oss pam pcre pda pdf perl php png posix postgres ppds pppd python qt3 qt4 quicktime readline reflection samba scanner sdl seamonkey session silc smime smp speex spell spl sqlite ssl svg sysfs syslog tcl tcltk tcpd tga theora threads tidy tiff tiff-lzw tk truetype truetype-fonts type1-fonts udev unicode usb userland_GNU userlocales v4l v4l2 video_cards_fbdev video_cards_nv video_cards_nvidia video_cards_v4l video_cards_vesa vorbis xine xinetd xml xorg xosd xpm xrandr xv xvid xvmc yahoo yv12 zeroconf zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Thanks to consider inclusion in the main portage tree. ;)
Comment 17 Jakub Moc (RETIRED) gentoo-dev 2007-01-17 11:34:15 UTC
*** Bug 162518 has been marked as a duplicate of this bug. ***
Comment 18 Erik Logtenberg 2007-01-19 16:11:58 UTC
bluez-libs and bluez-utils 3.8 are released.

Also there are new kernel patches (2.6.19-mh1) available.

I understand that previous releases weren't considered stable enough to be included in portage, but I hope that version 3.8 solves this. There have been numerous fixes and additions since the 2.25 version that is currently in portage, that I think many Gentoo users would like to be able to use.

Comment 19 Ian P. Christian 2007-01-22 19:30:05 UTC
3.8 is out, however my attempts at building a 3.8 bluez-utils ebuild that works with the dinovo patches have failed - would appreciate it if someone managed this :)
Comment 20 Dick Marinus 2007-01-23 18:21:10 UTC
Could you please tell me where to find the dinovo patches and why you use them?

I own a (first gen) Dinovo Desktop but I don't need any patches at all...
Comment 21 Ian P. Christian 2007-01-23 18:29:21 UTC
your right, first gen doens't need it.

I've just 'upgraded' my first gen to lazer though, and BT doesn't work at all


http://xodian.net/getpage.pl?page=news
http://linux.yes.nu/diNovo/?Page=c3VtbWFyeTE3

notice 'This patch must be applied after the previous patch has been applied.'
Comment 22 Caleb Cushing 2007-02-05 23:59:56 UTC
3.9 is out
Comment 23 Jared Kidd 2007-02-10 02:56:02 UTC
(In reply to comment #22)
> 3.9 is out
> 

Where are you guys getting bluez-gnome-0.6?  You say it is in the overlay but all I have in the overlay is version 0.5.  Also, where are the ebuilds for bluez 3.8 or 3.9?
Comment 24 Sergey Temerkhanov 2007-02-22 00:13:55 UTC
Created attachment 110937 [details]
bluez-utils-3.7-r1.ebuild

This ebuild is based on one from liquidx overlay with added "pin-exec" USE flag. It enables this patch: http://www.kmobiletools.org/files/bluez-pin-exec-patch-r2.diff.bz2 which is currently needed for kdebluetooth (http://www.kmobiletools.org/node/228).
Comment 25 Michael Mauch 2007-03-15 22:23:44 UTC
Created attachment 113410 [details]
bluez-utils-3.7-r2.ebuild

Sergey Temerkhanov's ebuild, only with updated help text: 

With the pin-exec USE flag set, we have to give a pin-helper program to passkey-agent. And the dbus-send wants to see --type=method_call instead of --type=method-call.
Comment 26 Andreas Ntaflos 2007-03-20 21:17:03 UTC
Just wanted to add myself to the CC list and note that it is probably a good thing that none of the newer versions of bluez-* have been added to portage; the Ubuntu guys have 3.7 in Edgy and 3.9 in Feisty and the most important things like pairing and connecting a phone don't seem to work. 

3.7 also has problems where 2.25 doesn't, mainly concerning hidd and using mobiles as a remote, which works perfectly fine with 2.25 and Gentoo, but not on Edgy (keycodes get misinterpreted, although I don't know if that's a bluez problem or something related to X and/or the Thinkpad I am using).

So I'm glad the maintainers don't rush things just because there are newer versions around. I am going to try the ebuilds in the overlay, however.
Comment 27 Dick Marinus 2007-03-31 08:44:05 UTC
Gentoo PDA Herd, or someone else,

Could you please assign this bug to maintainer-wanted@gentoo.org or maintainer-needed@gentoo.org? I would like to commit my updated ebuilds to the Gentoo Sunrise overlay, according to the HowToCommit this is a prerequisite.

FYI: 
- The DBUS hacks aren't needed anymore, you can use gnome-applet now
- The dinovo laser hid2hci patch is applied on the latest bluez-utils release
- I haven't had any association errors with my: phone/dinovo/bt modem
Comment 28 Petteri Räty (RETIRED) gentoo-dev 2007-03-31 10:12:56 UTC
(In reply to comment #27)
> Gentoo PDA Herd, or someone else,
> 
> Could you please assign this bug to maintainer-wanted@gentoo.org or
> maintainer-needed@gentoo.org? I would like to commit my updated ebuilds to the
> Gentoo Sunrise overlay, according to the HowToCommit this is a prerequisite.
> 

Done as liquidx seems to be retiring (bug #171155). If there are good people willing to maintain this, I can mentor someone.
Comment 29 Dick Marinus 2007-04-01 14:21:43 UTC
Created attachment 115156 [details]
net-wireless/bluez-libs-3.9.ebuild
Comment 30 Dick Marinus 2007-04-01 14:23:07 UTC
Created attachment 115158 [details]
net-wireless/bluez-utils-3.9.ebuild
Comment 31 Sven Crouse 2007-04-02 04:35:02 UTC
(In reply to comment #30)
> Created an attachment (id=115158) [edit]
> net-wireless/bluez-utils-3.9.ebuild

This ebuild does not enable-initscripts which prevents /etc/init.d/bluetooth from being generated.  If enabled, the file generated doesn't seem to conform to the typical Gentoo init script layout.  Is this intended behavior ?  If so, how do I start the bluetooth service ?
Comment 32 Dick Marinus 2007-04-02 12:23:18 UTC
Created attachment 115258 [details]
bluez-utils/files/bluez-utils-2.25-init.d
Comment 33 Dick Marinus 2007-04-02 12:23:56 UTC
Created attachment 115260 [details]
bluez-utils/files/bluez-utils-2.24-udev.rules
Comment 34 Dick Marinus 2007-04-02 12:24:44 UTC
Created attachment 115261 [details]
bluez-utils/files/bluez-utils-2.24-udev.script

maybe you forgot to copy these files to the files directory?
Comment 35 Alexandre Ghisoli 2007-05-03 16:53:03 UTC
Please, follow thoses bugs
 - bluez-lib-3.9   -> bug #175353
 - bluez-utils-3.9 -> bug #175356

thanks
Comment 36 Petteri Räty (RETIRED) gentoo-dev 2007-05-10 20:09:33 UTC
*** Bug 175356 has been marked as a duplicate of this bug. ***
Comment 37 Petteri Räty (RETIRED) gentoo-dev 2007-05-10 20:10:31 UTC
*** Bug 175353 has been marked as a duplicate of this bug. ***
Comment 38 Petteri Räty (RETIRED) gentoo-dev 2007-05-11 16:04:25 UTC
Ok bluez-libs and bluez-utils 3.10 commmitted. Thanks for waiting everyone. Had to drop ppc and hppa keywords which is handled in bug 178071. Dick: here is a diff against the ebuild in sunrise for bluez-utils. If you don't agree with this stuff please open a new bug. If you are interested in maintaining bluez please mail me and let's discuss for example proxy maintainer plans.

-- /mnt/checkouts/sunrise/portage-review/net-wireless/bluez-utils/bluez-utils-3.9.ebuild       2007-05-10 22:43:57.000000000 +0300
+++ bluez-utils-3.10.ebuild     2007-05-11 19:02:59.000000000 +0300
@@ -1,6 +1,6 @@
 # Copyright 1999-2007 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez-utils/bluez-utils-3.10.ebuild,v 1.1 2007/05/11 16:02:59 betelgeuse Exp $

 inherit eutils

@@ -10,31 +10,42 @@

 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~x86"
+KEYWORDS="~amd64 ~x86"

-IUSE="debug expat usb cups"
+IUSE="alsa debug hal usb cups"

 DEPEND="app-pda/libopensync
-       =net-wireless/bluez-libs-3*
+       >=net-wireless/bluez-libs-3.10
+       hal? ( sys-apps/hal )
        usb? ( dev-libs/libusb )
        cups? ( net-print/cups )
+       sys-fs/udev
        dev-libs/glib
        sys-apps/dbus"

+src_unpack() {
+       unpack ${A}
+       # bundled glib
+       cd "${S}"
+       rm -r eglib/{*.c,*.h}  || die
+}
+
 src_compile() {
        econf \
+               $(use_enable alsa audio) \
+               $(use_enable alsa) \
                $(use_enable debug) \
-               --enable-inotify \
-               $(use_enable expat) \
                $(use_enable usb) \
-               --enable-glib \
+               $(use_enable cups) \
+               $(use_enable hal) \
+               --enable-glib  \
+               --enable-inotify \
                --enable-obex \
                --enable-input \
                --enable-sync \
                --enable-hcid \
                --enable-sdpd \
                --enable-hidd \
-               $(use_enable cups) \
                --enable-configfiles \
                --disable-initscripts \
                --enable-pcmciarules \
@@ -51,39 +62,33 @@
 src_install() {
        make DESTDIR="${D}" install || die "make install failed"

-       dodoc AUTHORS ChangeLog README
+       dodoc AUTHORS ChangeLog README || die

        # optional bluetooth utils
        dosbin tools/hcisecfilter tools/ppporc
        dobin daemon/passkey-agent

-       newinitd ${FILESDIR}/${PN}-2.25-init.d bluetooth
-       newconfd ${S}/scripts/bluetooth.default bluetooth
+       newinitd "${FILESDIR}/${PN}-2.25-init.d" bluetooth
+       newconfd "${S}/scripts/bluetooth.default" bluetooth

        # bug #84431
        insinto /etc/udev/rules.d/
-       newins ${FILESDIR}/${PN}-2.24-udev.rules 70-bluetooth.rules
+       newins "${FILESDIR}/${PN}-2.24-udev.rules" 70-bluetooth.rules

        exeinto /lib/udev/
-       newexe ${FILESDIR}/${PN}-2.24-udev.script bluetooth.sh
+       newexe "${FILESDIR}/${PN}-2.24-udev.script" bluetooth.sh
 }

 pkg_postinst() {
-       if [[ ${ROOT} == "/" ]] ; then
-               # check if root of init-process is identical to ours
-               if [ -r /proc/1/root -a /proc/1/root/ -ef /proc/self/root/ ] ; then
-                       einfo "restarting udevd now."
-                       if [[ -n $(pidof udevd) ]] ; then
-                               killall -15 udevd &>/dev/null
-                               sleep 1
-                               killall -9 udevd &>/dev/null
-                       fi
-                       /sbin/udevd --daemon
-               fi
-       fi
+       udevcontrol reload_rules && udevtrigger

        elog "If you use hidd, add --encrypt to the HIDD_OPTIONS in"
        elog "/etc/conf.d/bluetooth to secure your connection"
        elog
        elog "To use dund 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 asking program, there is for example"
+       elog "net-wireless/bluez-gnome."
 }