Le jeudi 28 octobre 2004 à 16:33 -0700, Jost Diederichs a écrit : > Oliver, > Could you post how you modified configure.in and src/Makefile.am? > I suffer from the same problem of the abandonment of the dummy sdp > libraries in the fedora-development branch.
I am not a GNOME/C build expert (my job is rather Java and Ant) so maybe there is some big mistakes but those files make things work for me ... Find my files attached here. multisync/plugins/irmc_sync/configure.in multisync/plugins/irmc_sync/src/Makefile.am > > Also, in order to make things work, I had to replace the libtool binary > in the topbuilddir with the one from my distro (/usr/bin/libtool) for > both, multisync, as well as the plugins I compiled. > > - Jost > PS: I used the Evo2 plugin to sync to my ldap server, so far without > trouble... > GOOD JOB > > > > On Thu, 2004-10-28 at 23:47 +0200, OIM wrote: > > Hello everybody, > > > > I download last CVS Snapshot from Armin Bauer (dated 27 Oct 2004 14:12) > > and try to test it. > > I am running a Mandrake 10.1 / Evo2 and a Sony Ericsson T610 ... > > > > Building multisync was fine. > > Building evo2 plugin was fine. > > Building IrMc-Bluetooth was a little bit touchy because lib sdp is not > > present in my distrib and I have to patch some files > > (multisync/plugins/irmc_sync/configure.in and > > multisync/plugins/irmc_sync/src/Makefile.am). I found some patches > > about that on Google ... Should they be applied on CVS ? > > > > After that I can test the new Evo2 plugin :-) > > > > First sync crashed multisync (no significant log using MULTISYNC_DEBUG=1 > > but all stuff (contacts, events and tasks) have been transfered on the > > phone. On the Evo side, all contacts that have been transfered (only > > contacts with phone number are sync-ed) are duplicated :-( > > Syncing again after modifying contacts in evo do nothing ... :-( > > > > I reinitialized my phone and restore my evo stuff and start again > > multisync ... I use the re-sync button instead of the sync one and ... > > everything worked pretty well ... > > > > I play a little bit modifying things on both side (T610 and evo) and now > > everything seems ok ! > > > > Nice job Armin ! > > Olivier. > > > > > > > > ------------------------------------------------------- > > This Newsletter Sponsored by: Macrovision > > For reliable Linux application installations, use the industry's leading > > setup authoring tool, InstallShield X. Learn more and evaluate > > today. http://clk.atdmt.com/MSI/go/ins0030000001msi/direct/01/ > > _______________________________________________ > > Multisync-devel mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/multisync-devel > > > ------------------------------------------------------- > This Newsletter Sponsored by: Macrovision > For reliable Linux application installations, use the industry's leading > setup authoring tool, InstallShield X. Learn more and evaluate > today. http://clk.atdmt.com/MSI/go/ins0030000001msi/direct/01/ > _______________________________________________ > Multisync-devel mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/multisync-devel >
dnl Process this file with autoconf to produce a configure script. AC_INIT(configure.in) AM_INIT_AUTOMAKE(irmc_sync, 0.82) AM_CONFIG_HEADER(config.h) pkg_modules="libgnomeui-2.0 glib-2.0" PKG_CHECK_MODULES(PACKAGE, [$pkg_modules]) AC_SUBST(PACKAGE_CFLAGS) AC_SUBST(PACKAGE_LIBS) AC_ISC_POSIX AC_PROG_CC AM_PROG_CC_STDC AC_HEADER_STDC dnl Add the languages which your application supports here. dnl ALL_LINGUAS="" dnl AM_GNU_GETTEXT CPPFLAGS="${PACKAGE_CFLAGS}" AC_CHECK_LIB(bluetooth,baswap,BLUETOOTH=1,BLUETOOTH=0) SDP=0 dnl AC_CHECK_LIB(sdp,sdp_record_alloc,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),SDP=1,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." fi AC_DEFINE_UNQUOTED(HAVE_BLUETOOTH, ${BLUETOOTH},Defined if Bluetooth is enabled.) LIBS="$LIBS -lglib-2.0" AC_CHECK_LIB(openobex,OBEX_Init,,AC_MSG_ERROR(You must have openobex installed.)) AC_MSG_CHECKING(for working openobex) AC_TRY_COMPILE([ #include <openobex/obex.h>],[obex_ctrans_t t; t.customdata = NULL;],CUSTOMDATA=1,CUSTOMDATA=0) AC_TRY_COMPILE([ #include <openobex/obex.h>],[obex_ctrans_t t; t.userdata = NULL;],USERDATA=1,USERDATA=0) AC_DEFINE_UNQUOTED(OBEX_CUSTOMDATA, ${CUSTOMDATA},Defined if obex_ctrans_t contains the field customdata.) AC_DEFINE_UNQUOTED(OBEX_USERDATA, ${USERDATA},Defined if obex_ctrans_t contains the field userdata.) if !(( ${CUSTOMDATA} || ${USERDATA} )); then AC_MSG_ERROR(You must have openobex 0.9.8 or openobex >= 1.0.0 installed.) fi AC_MSG_RESULT(yes) dnl AC_CHECK_LIB(openobex,BtOBEX_TransportConnect,BT_OBEX=1,BT_OBEX=0) dnl Some OpenObex-1.0.0 seem to have BT disabled BT_OBEX=0 AC_DEFINE_UNQUOTED(HAVE_BT_OBEX, (${BT_OBEX} && ${BLUETOOTH}),Defined if OpenOBEX can be used to access Bluetooth.) AC_CHECK_LIB(pthread,pthread_create,,AC_MSG_ERROR(You must have libpthread installed.)) AC_MSG_CHECKING(for IrDA support) AC_TRY_COMPILE([ #include <sys/socket.h> #include <linux/types.h> #include <linux/irda.h>],[],IRDA=1; AC_MSG_RESULT(yes), IRDA=0;AC_MSG_RESULT(no) ) AC_DEFINE_UNQUOTED(HAVE_IRDA, ${IRDA},Defined if IrDA is enabled.) AC_PROG_LIBTOOL dnl Info for the RPM MULTISYNC_TOP="../.." AC_SUBST(VERSION) AC_SUBST(prefix) MULTISYNC_VERSION=`grep "#define VERSION" ${MULTISYNC_TOP}/config.h | sed -e 's/#define VERSION //g' | sed -e 's/\"//g'` AC_SUBST(MULTISYNC_VERSION) AC_OUTPUT([ Makefile src/Makefile src/bfb/Makefile intl/Makefile po/Makefile.in ${MULTISYNC_TOP}/specs/multisync-irmc.spec ${MULTISYNC_TOP}/specs/multisync-irmc-bluetooth.spec ]) echo echo ====================== echo IRMC-Sync detected features: if test "x${IRDA}" = "x1"; then echo IrDA is ENABLED. else echo IrDA is DISABLED. fi if test "x${BLUETOOTH}" = "x1"; then echo Bluetooth is ENABLED. else echo Bluetooth is DISABLED. fi echo ======================
## Process this file with automake to produce Makefile.in # not a nice way to do it libdir=$(prefix)/lib/multisync SUBDIRS = bfb PLUGINDIR = $(libdir) AM_CFLAGS = -DPLUGINDIR=\"$(PLUGINDIR)\" INCLUDES = \ -DPACKAGE_DATA_DIR=\""$(datadir)/multisync"\" \ @PACKAGE_CFLAGS@ -I$(top_srcdir)/include \ -I../../../include if BLUETOOTH bluetooth_lib = libirmc_bluetooth.la endif lib_LTLIBRARIES = libirmc_sync.la $(bluetooth_lib) libirmc_bluetooth_la_SOURCES = \ irmc_bluetooth.c irmc_bluetooth.h libirmc_bluetooth_la_LIBADD = -lbluetooth -lpthread libirmc_sync_la_SOURCES = \ interface.c interface.h \ callbacks.c callbacks.h \ irmc_obex.c irmc_obex.h \ irmc_sync.c irmc_sync.h \ support.c support.h \ gui.c gui.h \ irmc_irda.c irmc_irda.h \ cobex_bfb.c cobex_bfb.h libirmc_sync_la_LDFLAGS = \ -Lbfb/ libirmc_sync_la_LIBADD = @PACKAGE_LIBS@ -lopenobex -lpthread -lbfb