[fix?] IrMC Bluetooth build broken under debian
Marc Schiffbauer <[email protected]> Mon, 20 Sep 2004 11:39:50 +0200
| Newsgroups | gmane.comp.gnome.apps.multisync.devel |
|---|---|
| Message-ID | <20040920093950.GA27219@lisa> |
Hi! to build the irmc bluetooth plugin is still broken under debian. For me the attached diff makes me able to build it again. But I don't know if its the proper way to fix it... -Marc -- ###################################################### # <Raize> can you guys see what I type? # # <vecna> no, raize # # <Raize> How do I set it up so you can see it? #
multisync_sdp-fix.diff
(text/plain, 1.8 KB)
Index: plugins/irmc_sync/configure.in
===================================================================
RCS file: /cvsroot/multisync/multisync/plugins/irmc_sync/configure.in,v
retrieving revision 1.29
diff -u -3 -p -u -r1.29 configure.in
--- plugins/irmc_sync/configure.in 12 Apr 2004 03:05:50 -0000 1.29
+++ plugins/irmc_sync/configure.in 20 Sep 2004 09:36:37 -0000
@@ -22,16 +22,9 @@ dnl AM_GNU_GETTEXT
CPPFLAGS="${PACKAGE_CFLAGS}"
AC_CHECK_LIB(bluetooth,baswap,BLUETOOTH=1,BLUETOOTH=0)
-SDP=0
-AC_CHECK_LIB(sdp,sdp_list_free,SDP=1,BLUETOOTH=0)
-AC_MSG_CHECKING(for correct SDP lib version)
-AC_TRY_COMPILE([
-#include <bluetooth/sdp.h>
-#include <bluetooth/sdp_lib.h>
-],[sdp_record_t t;],AC_MSG_RESULT(yes),BLUETOOTH=0;AC_MSG_RESULT(no))
AM_CONDITIONAL(BLUETOOTH,test "${BLUETOOTH}" = "1")
if test "x${BLUETOOTH}" = "x0"; then
- echo "Bluetooth is DISABLED. You must have bluez-libs and bluez-kernel >= 2.3 and bluez-sdp >= 1.0-pre1."
+ echo "Bluetooth is DISABLED. You must have libbluetooth1."
fi
AC_DEFINE_UNQUOTED(HAVE_BLUETOOTH, ${BLUETOOTH},Defined if Bluetooth is enabled.)
LIBS="$LIBS -lglib-2.0"
Index: plugins/irmc_sync/src/Makefile.am
===================================================================
RCS file: /cvsroot/multisync/multisync/plugins/irmc_sync/src/Makefile.am,v
retrieving revision 1.20
diff -u -3 -p -u -r1.20 Makefile.am
--- plugins/irmc_sync/src/Makefile.am 17 Sep 2003 18:12:13 -0000 1.20
+++ plugins/irmc_sync/src/Makefile.am 20 Sep 2004 09:36:37 -0000
@@ -21,7 +21,7 @@ lib_LTLIBRARIES = libirmc_sync.la $(blue
libirmc_bluetooth_la_SOURCES = \
irmc_bluetooth.c irmc_bluetooth.h
-libirmc_bluetooth_la_LIBADD = -lbluetooth -lsdp -lpthread
+libirmc_bluetooth_la_LIBADD = -lbluetooth -lpthread
libirmc_sync_la_SOURCES = \
interface.c interface.h \