Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 55758 - multisync-0.82: bluetooth not included when building irmc_plugin with bluez-libs-2.7
Summary: multisync-0.82: bluetooth not included when building irmc_plugin with bluez-l...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo PDA project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-01 00:39 UTC by Ronny Haryanto
Modified: 2004-07-24 13:39 UTC (History)
0 users

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


Attachments
Proposed patch (multisync-0.82-r1-sdpbluetooth.patch,714 bytes, patch)
2004-07-01 00:40 UTC, Ronny Haryanto
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ronny Haryanto 2004-07-01 00:39:24 UTC
- bluez-sdp is deprecated and replaced with bluez-libs starting from 2.7 (currently ~x86)

- the configure script for the irmc plugin incorrectly detects bluetooth support if bluez-libs 2.7 is installed (hence bluez-sdp is NOT installed) because it's looking for sdp_free_list in -lsdp where it's been moved to -lbluetooth

Reproducible: Always
Steps to Reproduce:
1. emerge multisync
2.
3.

Actual Results:  
bluetooth support is not compiled in irmc plugin

Expected Results:  
bluetooth support should be compiled in irmc plugin

Portage 2.0.50-r8 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0,
2.6.7-gentoo-r5)
=================================================================
System uname: 2.6.7-gentoo-r5 i686 AMD Athlon(tm) XP 2800+
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /u
sr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/shar e/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://mirror.aarnet.edu.au/pub/gentoo
http://mirror.pacific.net.au/linux/Gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="3dnow X aalib alsa apache2 apm arts avi berkdb bluetooth bonobo cdr cjk
crypt cups dvd encode esd foomaticdb gdbm g if gnome gpm gtk gtk2 gtkhtml guile
imap imlib ipv6 java jpeg ldap libg++ libwww mad maildir mikmod mmx motif
mozilla mp eg mysql ncurses nls oggvorbis opengl pam pdflib perl png ppds python
quicktime readline samba scanner sdl slang spell s sl svga tcpd tetex tiff
truetype unicode usb v4l2 x86 xml2 xmms xv zlib"
 
Here is a small patch that will fix this:
--- plugins/irmc_sync/configure.orig    2004-07-01 17:20:02.033042906 +1000
+++ plugins/irmc_sync/configure 2004-07-01 17:20:51.129570206 +1000
@@ -4308,13 +4308,13 @@
 fi
                                                                               
                                        
 SDP=0
-echo "$as_me:$LINENO: checking for sdp_list_free in -lsdp" >&5
-echo $ECHO_N "checking for sdp_list_free in -lsdp... $ECHO_C" >&6
+echo "$as_me:$LINENO: checking for sdp_list_free in -lbluetooth" >&5
+echo $ECHO_N "checking for sdp_list_free in -lbluetooth... $ECHO_C" >&6
 if test "${ac_cv_lib_sdp_sdp_list_free+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   ac_check_lib_save_LIBS=$LIBS
-LIBS="-lsdp  $LIBS"
+LIBS="-lbluetooth  $LIBS"
 cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"
 /* confdefs.h.  */
Comment 1 Ronny Haryanto 2004-07-01 00:40:45 UTC
Created attachment 34560 [details, diff]
Proposed patch
Comment 2 Alastair Tse (RETIRED) gentoo-dev 2004-07-24 13:39:46 UTC
thanks for your patch. its been commited to portage.