[kmobiletools] branches/extragear/kde3/pim/kmobiletools
Marco Gulino
marco at kmobiletools.org
Thu Jun 14 16:02:02 CEST 2007
SVN commit 675599 by gulino:
Patch for disable some options in configure (thanks Matej Laitl).
Updating changelog.
Better fix for data() method in gammu engine (matlec: please review).
M +6 -0 ChangeLog
M +21 -12 configure.in.in
M +1 -1 kmobiletools/engines/gammu_engine/device.cpp
--- branches/extragear/kde3/pim/kmobiletools/ChangeLog #675598:675599
@@ -1,3 +1,9 @@
+2007-xx-yy KMobileTools 0.5.0
+ * Some fixes to the autoconf stuff (Thanks to Matej Laitl).
+ * Removed deprecated KBluetoothpairingwizard.
+ * Removing the deprecated data() method from gammu engine.
+ * Fixed kontact plugin .desktop file.
+
2007-06-05 KMobileTools 0.5.0_beta3
* Including 19200 baudrate.
* Fix that allows to try fetching SMS even from phones that don't have SMS slots.
--- branches/extragear/kde3/pim/kmobiletools/configure.in.in #675598:675599
@@ -8,7 +8,7 @@
# BEGIN KONTACT CHECK
###############################################################################
-AC_ARG_ENABLE(kontact, AC_HELP_STRING([--disable-kontact-plugin], [disable KMobileTools Kontact plugin (default: check)]),
+AC_ARG_ENABLE(kontact, AC_HELP_STRING([--disable-kontact], [disable KMobileTools Kontact plugin (default: check)]),
[enable_kontact=$enableval], [enable_kontact=yes])
if test "$enable_kontact" = "yes"; then
KDE_CHECK_HEADER(kontact/plugin.h, [have_kontact="yes"], [have_kontact="no"])
@@ -72,19 +72,23 @@
#AC_SUBST(LIB_GAMMU)
#AM_CONDITIONAL(with_gammu, test $have_gammu = yes)
-AC_ARG_ENABLE(kioslaves, AC_HELP_STRING([--disable-kioslaves], [enable KIOSlaves for filesystem access (default: disable)]),
+AC_ARG_ENABLE(kioslaves, AC_HELP_STRING([--disable-kioslaves], [disable all KIOSlaves for filesystem access (default: enable)]),
[enable_kioslaves=$enableval], [enable_kioslaves=yes])
-if test "x$enable_kioslaves" = "xyes"; then
- KDE_CHECK_HEADER(p2kmoto.h, have_p2k=yes, have_p2k=no)
- AM_CONDITIONAL(with_p2kmoto, test $have_p2k = yes)
- KDE_CHECK_HEADER(obexftp/client.h, have_obexftp=yes, have_obexftp=no)
- AM_CONDITIONAL(compile_obex, test $have_obexftp = yes)
-else
- AM_CONDITIONAL(with_p2kmoto, false)
- AM_CONDITIONAL(compile_obex, false)
+AC_ARG_ENABLE(p2kmoto, AC_HELP_STRING([--disable-p2kmoto], [disable p2kmoto kioslave (default: check)]),
+ [enable_p2kmoto=$enableval], [enable_p2kmoto=yes])
+if test "x$enable_p2kmoto" = "xyes" && test "x$enable_kioslaves" = "xyes"; then
+ KDE_CHECK_HEADER(p2kmoto.h, have_p2k=yes, have_p2k=no)
fi
+AM_CONDITIONAL(with_p2kmoto, test "x$have_p2k" = "xyes")
+AC_ARG_ENABLE(obexftp, AC_HELP_STRING([--disable-obexftp], [disable obex kioslave (default: check)]),
+ [enable_obexftp=$enableval], [enable_obexftp=yes])
+if test "x$enable_obexftp" = "xyes" && test "x$enable_kioslaves" = "xyes"; then
+ KDE_CHECK_HEADER(obexftp/client.h, have_obexftp=yes, have_obexftp=no)
+fi
+AM_CONDITIONAL(compile_obex, test "x$have_obexftp" = "xyes")
+
if test "x$have_p2k" = "xyes"; then
AC_DEFINE(HAVE_P2KLIB, 1, [p2k filesystem support])
AC_SUBST(HAVE_P2KLIB)
@@ -117,7 +121,13 @@
[enable_tests=$enableval], [enable_tests=no])
AM_CONDITIONAL(compile_tests, test x$enable_tests = xyes)
-KDE_CHECK_HEADER(kdebluetooth/rfcommsocketdevice.h, have_kbluetooth=yes, have_kbluetooth=no)
+AC_ARG_ENABLE(kdebluetooth, AC_HELP_STRING([--disable-kdebluetooth], [disable kdebluetooth integration (default: check)]),
+ [enable_kdebluetooth=$enablevar], [enable_kdebluetooth=yes])
+if test "x$enable_kdebluetooth" = "xyes"; then
+ KDE_CHECK_HEADER(kdebluetooth/rfcommsocketdevice.h, have_kbluetooth=yes, have_kbluetooth=no)
+ KDE_CHECK_HEADER(libkbluetooth/adapter.h, have_new_kbluetooth=yes, have_new_kbluetooth=no)
+fi
+
AM_CONDITIONAL(with_kdebluetooth, test $have_kbluetooth = yes)
if test "$have_kbluetooth" = "yes"; then
AC_DEFINE(KBLUETOOTH, 1, [use kdebluetooth rfcomm socket])
@@ -135,7 +145,6 @@
CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS $all_includes -DDBUS_API_SUBJECT_TO_CHANGE"
-KDE_CHECK_HEADER(libkbluetooth/adapter.h, have_new_kbluetooth=yes, have_new_kbluetooth=no)
AM_CONDITIONAL(with_kdebluetooth_new, test x$have_new_kbluetooth = xyes)
if test "$have_new_kbluetooth" = "yes"; then
PKG_CHECK_MODULES(BLUEZ, "bluez")
--- branches/extragear/kde3/pim/kmobiletools/kmobiletools/engines/gammu_engine/device.cpp #675598:675599
@@ -572,7 +572,7 @@
GSM_CallShowNumber showNumber = GSM_CALL_DefaultNumberPresence;
m_mutex.lock();
- m_error = m_phoneFunctions->DialVoice( &m_stateMachine, (char*) number.latin1(),
+ m_error = m_phoneFunctions->DialVoice( &m_stateMachine, (number.utf8().data() ),
showNumber );
if( m_error != ERR_NONE ) {
printErrorMessage( m_error, "dial" );
More information about the kmobiletools
mailing list