* src/inc.c
* configure.ac
Fix build on n770
+2007-07-18 [colin] 2.10.0cvs42
+
+ * src/inc.c
+ * configure.ac
+ Fix build on n770
+
2007-07-18 [colin] 2.10.0cvs41
* src/inc.c
2007-07-18 [colin] 2.10.0cvs41
* src/inc.c
( cvs diff -u -r 1.94.2.140 -r 1.94.2.141 src/messageview.c; ) > 2.10.0cvs39.patchset
( cvs diff -u -r 1.60.2.34 -r 1.60.2.35 src/filtering.c; cvs diff -u -r 1.213.2.149 -r 1.213.2.150 src/folder.c; ) > 2.10.0cvs40.patchset
( cvs diff -u -r 1.149.2.75 -r 1.149.2.76 src/inc.c; cvs diff -u -r 1.5.2.17 -r 1.5.2.18 src/statusbar.c; ) > 2.10.0cvs41.patchset
( cvs diff -u -r 1.94.2.140 -r 1.94.2.141 src/messageview.c; ) > 2.10.0cvs39.patchset
( cvs diff -u -r 1.60.2.34 -r 1.60.2.35 src/filtering.c; cvs diff -u -r 1.213.2.149 -r 1.213.2.150 src/folder.c; ) > 2.10.0cvs40.patchset
( cvs diff -u -r 1.149.2.75 -r 1.149.2.76 src/inc.c; cvs diff -u -r 1.5.2.17 -r 1.5.2.18 src/statusbar.c; ) > 2.10.0cvs41.patchset
+( cvs diff -u -r 1.149.2.76 -r 1.149.2.77 src/inc.c; cvs diff -u -r 1.654.2.2751 -r 1.654.2.2752 configure.ac; ) > 2.10.0cvs42.patchset
MICRO_VERSION=0
INTERFACE_AGE=0
BINARY_AGE=0
MICRO_VERSION=0
INTERFACE_AGE=0
BINARY_AGE=0
EXTRA_RELEASE=
EXTRA_GTK2_VERSION=
EXTRA_RELEASE=
EXTRA_GTK2_VERSION=
[ --enable-maemo Build for the Maemo platform [default=no]],
[ac_cv_enable_maemo=$enableval], [ac_cv_enable_maemo=no])
if test $ac_cv_enable_maemo = yes; then
[ --enable-maemo Build for the Maemo platform [default=no]],
[ac_cv_enable_maemo=$enableval], [ac_cv_enable_maemo=no])
if test $ac_cv_enable_maemo = yes; then
- PKG_CHECK_MODULES(MAEMO, libosso conic hildon-libs hildon-fm, ac_cv_enable_maemo=yes,
+ PKG_CHECK_MODULES(MAEMO, libosso hildon-libs hildon-fm, ac_cv_enable_maemo=yes,
ac_cv_enable_maemo=no)
AC_SUBST(MAEMO_CFLAGS)
AC_SUBST(MAEMO_LIBS)
if test $ac_cv_enable_maemo = no; then
ac_cv_enable_maemo=no)
AC_SUBST(MAEMO_CFLAGS)
AC_SUBST(MAEMO_LIBS)
if test $ac_cv_enable_maemo = no; then
- AC_MSG_ERROR(libosso, conic, hildon-libs or hildon-fm not found)
+ AC_MSG_ERROR(libosso, hildon-libs or hildon-fm not found)
else
AC_DEFINE(MAEMO, 1, Build for maemo)
fi
fi
else
AC_DEFINE(MAEMO, 1, Build for maemo)
fi
fi
+PKG_CHECK_MODULES(CONIC, conic, ac_cv_enable_conic=yes,
+ ac_cv_enable_conic=no)
+AC_SUBST(CONIC_CFLAGS)
+AC_SUBST(CONIC_LIBS)
+if test $ac_cv_enable_conic = yes; then
+ AC_DEFINE(CONIC, 1, Have conic lib)
+fi
dnl Check for X-Face support
AC_ARG_ENABLE(compface,
dnl Check for X-Face support
AC_ARG_ENABLE(compface,
#ifdef MAEMO
#include <hildon-widgets/hildon-banner.h>
#ifdef MAEMO
#include <hildon-widgets/hildon-banner.h>
#include <conicconnection.h>
#include <conicconnectionevent.h>
static ConIcConnection *maemo_connection = NULL;
static gboolean maemo_warned_offline = FALSE;
#endif
#include <conicconnection.h>
#include <conicconnectionevent.h>
static ConIcConnection *maemo_connection = NULL;
static gboolean maemo_warned_offline = FALSE;
#endif
static GList *inc_dialog_list = NULL;
static GList *inc_dialog_list = NULL;
+#if (defined(MAEMO) && defined(CONIC))
static void maemo_connection_event(ConIcConnection *connection,
ConIcConnectionEvent *event,
gpointer user_data)
static void maemo_connection_event(ConIcConnection *connection,
ConIcConnectionEvent *event,
gpointer user_data)
void inc_autocheck_timer_init(MainWindow *mainwin)
{
void inc_autocheck_timer_init(MainWindow *mainwin)
{
+#if (defined(MAEMO) && defined(CONIC))
GValue *val = g_new0(GValue, 1);
maemo_connection = con_ic_connection_new();
GValue *val = g_new0(GValue, 1);
maemo_connection = con_ic_connection_new();
void inc_autocheck_timer_set(void)
{
inc_autocheck_timer_set_interval(prefs_common.autochk_itv * 60000);
void inc_autocheck_timer_set(void)
{
inc_autocheck_timer_set_interval(prefs_common.autochk_itv * 60000);
+#if (defined(MAEMO) && defined(CONIC))
con_ic_connection_connect (maemo_connection,
CON_IC_CONNECT_FLAG_AUTOMATICALLY_TRIGGERED);
#endif
con_ic_connection_connect (maemo_connection,
CON_IC_CONNECT_FLAG_AUTOMATICALLY_TRIGGERED);
#endif
int length = 10; /* minutes */
gint answer = G_ALERTDEFAULT;
int length = 10; /* minutes */
gint answer = G_ALERTDEFAULT;
+#if (defined(MAEMO) && defined(CONIC))
if (prefs_common.work_offline) {
if (force_ask && !maemo_warned_offline) {
if (mainwindow_get_mainwindow())
if (prefs_common.work_offline) {
if (force_ask && !maemo_warned_offline) {
if (mainwindow_get_mainwindow())