m4_define(empathy_released, 0)
m4_define([empathy_major_version], [3])
-m4_define([empathy_minor_version], [3])
-m4_define([empathy_micro_version], [91])
+m4_define([empathy_minor_version], [5])
+m4_define([empathy_micro_version], [90])
m4_define([empathy_nano_version], [0])
dnl Display the nano_version only if it's not '0'
# Minimal version required
# Hardp deps
-FOLKS_REQUIRED=0.6.6
+FOLKS_REQUIRED=0.7.1
GNUTLS_REQUIRED=2.8.5
-GLIB_REQUIRED=2.30.0
+GLIB_REQUIRED=2.33.3
AC_DEFINE(GLIB_VERSION_MIN_REQUIRED, GLIB_VERSION_2_30, [Ignore post 2.30 deprecations])
-AC_DEFINE(GLIB_VERSION_MAX_REQUIRED, GLIB_VERSION_2_30, [Prevent post 2.30 APIs])
+AC_DEFINE(GLIB_VERSION_MAX_ALLOWED, GLIB_VERSION_2_34, [Prevent post 2.34 APIs])
-GTK_REQUIRED=3.0.2
-AC_DEFINE(GDK_VERSION_MIN_REQUIRED, GDK_VERSION_3_0, [Ignore post 3.0 deprecations])
-AC_DEFINE(GDK_VERSION_MAX_REQUIRED, GDK_VERSION_3_0, [Prevent post 3.0 APIs])
+GTK_REQUIRED=3.5.1
+AC_DEFINE(GDK_VERSION_MIN_REQUIRED, GDK_VERSION_3_4, [Ignore post 3.4 deprecations])
+AC_DEFINE(GDK_VERSION_MAX_ALLOWED, GDK_VERSION_3_4, [Prevent post 3.4 APIs])
-CLUTTER_REQUIRED=1.8.0
+CLUTTER_REQUIRED=1.10.0
AC_DEFINE(CLUTTER_VERSION_MIN_REQUIRED, CLUTTER_VERSION_1_8, [Ignore post 1.8 deprecations])
-AC_DEFINE(CLUTTER_VERSION_MAX, CLUTTER_VERSION_1_8, [Prevent post 1.8 APIs])
+AC_DEFINE(CLUTTER_VERSION_MAX_ALLOWED, CLUTTER_VERSION_1_10, [Prevent post 1.10 APIs])
-CLUTTER_GTK_REQUIRED=0.90.3
+CLUTTER_GTK_REQUIRED=1.1.2
+
+TELEPATHY_GLIB_REQUIRED=0.19.6
+AC_DEFINE(TP_VERSION_MIN_REQUIRED, TP_VERSION_0_20, [Ignore post 0.20 deprecations])
+AC_DEFINE(TP_VERSION_MAX_ALLOWED, TP_VERSION_0_20, [Prevent post 0.20 APIs])
+AC_DEFINE(TP_SEAL_ENABLE, 1, [Prevent to use sealed variables])
GSTREAMER_REQUIRED=0.10.32
-KEYRING_REQUIRED=2.26.0
+LIBSECRET_REQUIRED=0.5
GCR_REQUIRED=2.91.4
LIBCANBERRA_GTK_REQUIRED=0.25
LIBNOTIFY_REQUIRED=0.7.0
-TELEPATHY_FARSTREAM_REQUIRED=0.2.1
-TELEPATHY_GLIB_REQUIRED=0.17.5
-TELEPATHY_LOGGER=0.2.10
+TELEPATHY_LOGGER=0.2.13
WEBKIT_REQUIRED=1.3.13
-GOA_REQUIRED=3.3.0
+GOA_REQUIRED=3.5.1
# Optional deps
ENCHANT_REQUIRED=1.2.0
-GEOCLUE_REQUIRED=0.11
+GEOCLUE_REQUIRED=0.12
ISO_CODES_REQUIRED=0.35
NAUTILUS_SENDTO_REQUIRED=2.90.0
NETWORK_MANAGER_REQUIRED=0.7.0
CHAMPLAIN_REQUIRED=0.12.1
+CHEESE_GTK_REQUIRED=3.4.0
+LIBACCOUNTS_REQUIRED=1.1
+LIBSIGNON_REQUIRED=1.1
+MC_PLUGINS_REQUIRED=5.13.0
# Use --enable-maintainer-mode to disable deprecated symbols,
# disable single include and enable GSEAL. If this is not a released empathy,
#ifelse(empathy_released, 1, [], [enable_maintainer_mode="yes"])
#GNOME_MAINTAINER_MODE_DEFINES
+# egg-list-box
+prev_top_build_prefix=$ac_top_build_prefix
+prev_ac_configure_args=$ac_configure_args
+AX_CONFIG_DIR([libempathy-gtk/egg-list-box])
+ac_top_build_prefix=$prev_top_build_prefix
+ac_configure_args=$prev_ac_configure_args
+
+export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:"$ac_top_build_prefix"libempathy-gtk/egg-list-box
+PKG_CHECK_MODULES(EGGLISTBOX, egg-list-box)
+
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_SRCDIR([configure.ac])
glib-2.0 >= $GLIB_REQUIRED
gio-2.0 >= $GLIB_REQUIRED
gio-unix-2.0 >= $GLIB_REQUIRED
- gnome-keyring-1 >= $KEYRING_REQUIRED
+ libsecret-1 >= $LIBSECRET_REQUIRED
gnutls >= $GNUTLS_REQUIRED
gmodule-export-2.0
gobject-2.0
gsettings-desktop-schemas
- gstreamer-0.10 >= $GSTREAMER_REQUIRED
- gstreamer-interfaces-0.10
libxml-2.0
telepathy-glib >= $TELEPATHY_GLIB_REQUIRED
telepathy-logger-0.2 >= $TELEPATHY_LOGGER
libpulse-mainloop-glib
webkitgtk-3.0 >= $WEBKIT_REQUIRED
libsoup-2.4
+ gee-1.0
])
-PKG_CHECK_MODULES(EMPATHY_CALL,
-[
- farstream-0.1
- telepathy-farstream >= $TELEPATHY_FARSTREAM_REQUIRED
- clutter-1.0 >= $CLUTTER_REQUIRED
- clutter-gtk-1.0
- clutter-gst-1.0
-])
-
-AC_DEFINE(EMPATHY_GOA_PROVIDER, "org.gnome.OnlineAccounts",
- [Name of provider for accounts imported from GOA])
-
# -----------------------------------------------------------
-# Build empathy-av?
+# GStreamer
# -----------------------------------------------------------
-AC_ARG_ENABLE(empathy-av,
- AS_HELP_STRING([--enable-empathy-av=@<:@no/yes@:>@],
- [build empathy-av (legacy call UI)]),,
- [enable_empathy_av=no])
-if test "x$enable_empathy_av" != "xno" ; then
- PKG_CHECK_MODULES(EMPATHY_AV,
- [
- farstream-0.1
- telepathy-farstream >= $TELEPATHY_FARSTREAM_REQUIRED
- ])
- AC_DEFINE(HAVE_EMPATHY_AV, 1, [Define if you have StreamedMedia channel support])
- have_empathy_av=yes
-fi
-AM_CONDITIONAL(HAVE_EMPATHY_AV, test "x$have_empathy_av" = "xyes")
+AC_ARG_ENABLE(gst-1.0,
+ AS_HELP_STRING([--enable-gst-1.0=@<:@no/yes/auto@:>@],
+ [build with GStreamer 1.0]), enable_gst1=yes,
+ enable_gst1=auto)
-# -----------------------------------------------------------
-# Call support in tp-logger
-# -----------------------------------------------------------
-AC_ARG_ENABLE(call-logs,
- AS_HELP_STRING([--enable-call-logs=@<:@no/yes/auto@:>@],
- [build with call logs support]),,
- [enable_call_logs=auto])
-if test "x$enable_call_logs" != "xno" ; then
- SAVE_CFLAGS=$CFLAGS
- SAVE_CPPFLAGS=$CPPFLAGS
- SAVE_LDFLAGS=$LDFLAGS
- CFLAGS="$CFLAGS $EMPATHY_CFLAGS"
- CPPFLAGS="$CPPFLAGS $EMPATHY_CFLAGS"
- LDFLAGS="$LDFLAGS $EMPATHY_LDFLAGS"
-
- AC_CHECK_HEADER(telepathy-logger/call-event.h,
- have_call_logs="yes", have_call_logs="no")
-
- CFLAGS=$SAVE_CFLAGS
- CPPFLAGS=$SAVE_CPPFLAGS
- LDFLAGS=$SAVE_LDFLAGS
-
- if test "x$have_call_logs" = "xyes"; then
- AC_DEFINE(HAVE_CALL_LOGS, 1, [Define if you have call log support])
- fi
-else
- have_call_logs=no
+# Try to use GStreamer 1.à if available
+if test "x$enable_gst1" != "xno"; then
+ PKG_CHECK_MODULES(EMPATHY_CALL,
+ [
+ farstream-0.2
+ telepathy-farstream >= 0.4.999
+ clutter-1.0 >= $CLUTTER_REQUIRED
+ clutter-gtk-1.0 >= $CLUTTER_GTK_REQUIRED
+ clutter-gst-2.0
+ ], have_gst1="yes", have_gst1="no")
+
+ if test "x$have_gst1" = "xyes"; then
+ AC_DEFINE(HAVE_GST1, 1, [Build with GStreamer 1.0])
+ fi
fi
-if test "x$enable_call_logs" = "xyes" -a "x$have_call_logs" != "xyes"; then
- AC_MSG_ERROR([Call logs support requested but telepathy-logger wasn't
- built with --enable-call])
+if test "x$enable_gst1" = "xyes" -a "x$have_gst1" != "xyes"; then
+ AC_MSG_ERROR([Could not find GStreamer 1.0 dependencies:
+
+$EMPATHY_CALL_PKG_ERRORS])
fi
-# -----------------------------------------------------------
-# evolution-data-server (about-me)
-# -----------------------------------------------------------
-AC_ARG_WITH(eds,
- AS_HELP_STRING([--with-eds],
- [build with evolution-data-server support]),,
- [with_eds=yes])
-if test x"$with_eds" = x"yes" ; then
- PKG_CHECK_MODULES(EDS, [libebook-1.2])
- AC_DEFINE(HAVE_EDS, 1, [Define if we have libebook])
+if test "x$have_gst1" != "xyes"; then
+ PKG_CHECK_MODULES(EMPATHY_CALL,
+ [
+ farstream-0.1
+ telepathy-farstream >= 0.2.1
+ clutter-1.0 >= $CLUTTER_REQUIRED
+ clutter-gtk-1.0 >= $CLUTTER_GTK_REQUIRED
+ clutter-gst-1.0 >= 1.5.2
+ gstreamer-0.10 >= $GSTREAMER_REQUIRED
+ gstreamer-interfaces-0.10
+ ])
fi
+AC_DEFINE(EMPATHY_GOA_PROVIDER, "org.gnome.OnlineAccounts",
+ [Name of provider for accounts imported from GOA])
+
+AC_DEFINE(EMPATHY_UOA_PROVIDER,
+ "im.telepathy.Account.Storage.UOA",
+ [Name of provider for accounts imported from libaccounts])
+
# -----------------------------------------------------------
# Enable debug
# -----------------------------------------------------------
# -----------------------------------------------------------
# Language Support
# -----------------------------------------------------------
-IT_PROG_INTLTOOL([0.40.0])
+IT_PROG_INTLTOOL([0.50.0])
GETTEXT_PACKAGE=empathy
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE",[Gettext package name])
-# -----------------------------------------------------------
-# Connectivity integration
-# -----------------------------------------------------------
-AC_ARG_WITH(connectivity,
- AS_HELP_STRING([--with-connectivity=@<:@nm/connman/auto/no@:>@],
- [build with connectivity support]), ,
- with_connectivity=auto)
-
-if test "x$with_connectivity" = "xno"; then
- have_nm=no
- have_connman=no
-
-elif test "x$with_connectivity" = "xconnman"; then
- have_nm=no
-
- PKG_CHECK_MODULES(CONNMAN,
- [
- dbus-glib-1
- ], have_connman="yes", have_connman="no")
-
- if test "x$have_connman" = "xyes"; then
- AC_DEFINE(HAVE_CONNMAN, 1, [Define if you have connman dependencies])
- fi
-
-else
- have_connman=no
-
- PKG_CHECK_MODULES(NETWORK_MANAGER,
- [
- libnm-glib >= $NETWORK_MANAGER_REQUIRED
- ], have_nm="yes", have_nm="no")
-
- if test "x$have_nm" = "xyes"; then
- AC_DEFINE(HAVE_NM, 1, [Define if you have libnm-glib])
- fi
-fi
-
-if test "x$with_connectivity" = "xconnman" -a "x$have_connman" != "xyes"; then
- AC_MSG_ERROR([Couldn't find connman dependencies:
-
-$CONNMAN_PKG_ERRORS])
-fi
-
-if test "x$with_connectivity" = "xnm" -a "x$have_nm" != "xyes"; then
- AC_MSG_ERROR([Couldn't find Network Manager dependencies:
-
-$NETWORK_MANAGER_PKG_ERRORS])
-fi
-
-AM_CONDITIONAL(HAVE_NM, test "x$have_nm" = "xyes")
-AM_CONDITIONAL(HAVE_CONNMAN, test "x$have_connman" = "xyes")
-
# -----------------------------------------------------------
# gudev
# -----------------------------------------------------------
AC_SUBST(GEOCODE_CFLAGS)
AC_SUBST(GEOCODE_LIBS)
-# -----------------------------------------------------------
-# meego widgets support
-# -----------------------------------------------------------
-AC_ARG_ENABLE(meego,
- AS_HELP_STRING([--enable-meego=@<:@no/yes@:>@],
- [Enable meego widgets]), ,
- enable_meego=no)
-
-if test "x$enable_meego" != "xno"; then
- PKG_CHECK_MODULES(MEEGO,
- [
- mx-gtk-1.0
- gio-unix-2.0
- ], have_meego="yes", have_meego="no")
-
- if test "x$have_meego" = "xyes"; then
- AC_DEFINE(HAVE_MEEGO, 1, [Define if you have meego])
- fi
-else
- have_meego="no"
-fi
-
-if test "x$enable_meego" = "xyes" -a "x$have_meego" != "xyes"; then
- AC_MSG_ERROR([Could not find meego dependencies:
-
-$MEEGO_PKG_ERRORS])
-fi
-
-AM_CONDITIONAL(HAVE_MEEGO, test "x$have_meego" = "xyes")
-AC_SUBST(MEEGO_CFLAGS)
-AC_SUBST(MEEGO_LIBS)
-
# -----------------------------------------------------------
# nautilus-sendto
# -----------------------------------------------------------
mission-control-plugins
goa-1.0 >= $GOA_REQUIRED
], have_goa="yes", have_goa="no")
-
- AC_MSG_CHECKING([Mission Control plugins dir])
- MISSION_CONTROL_PLUGINS_DIR=`pkg-config --variable=plugindir mission-control-plugins`
-
- AC_MSG_RESULT([$MISSION_CONTROL_PLUGINS_DIR])
- AC_SUBST(MISSION_CONTROL_PLUGINS_DIR)
else
have_goa=no
fi
if test "x$enable_goa" = "xyes" -a "x$have_goa" != "xyes"; then
- AC_MSG_ERROR([Could not find GOA dependencies.])
+ AC_MSG_ERROR([Could not find GOA dependencies:
+
+$GOA_PKG_ERRORS])
fi
if test "x$have_goa" = "xyes"; then
with_cheese=auto)
if test x"$with_cheese" != x"no" ; then
- PKG_CHECK_MODULES(CHEESE, gstreamer-0.10 cheese-gtk >= 2.91.91.1, [have_cheese=yes], [have_cheese=no])
+ PKG_CHECK_MODULES(CHEESE, cheese-gtk >= CHEESE_GTK_REQUIRED, [have_cheese=yes], [have_cheese=no])
if test x${have_cheese} = xyes; then
AC_DEFINE(HAVE_CHEESE, 1, [Define to 1 to enable cheese webcam support])
fi
fi
AM_CONDITIONAL(BUILD_CHEESE, test x${have_cheese} = xyes)
+# -----------------------------------------------------------
+# ubuntu-online-accounts support
+# -----------------------------------------------------------
+AC_ARG_ENABLE(ubuntu-online-accounts,
+ AS_HELP_STRING([--enable-ubuntu-online-accounts=@<:@no/yes/auto@:>@],
+ [build Ubuntu Online Accounts plugins]), ,
+ enable_ubuntu_online_accounts=auto)
+
+if test "x$enable_ubuntu_online_accounts" != "xno"; then
+ PKG_CHECK_MODULES(UOA,
+ [
+ account-plugin
+ mission-control-plugins >= $MC_PLUGINS_REQUIRED
+ libaccounts-glib >= $LIBACCOUNTS_REQUIRED
+ libsignon-glib >= $LIBSIGNON_REQUIRED
+ ], have_uoa="yes", have_uoa="no")
+
+ # provider plugin dir
+ AC_MSG_CHECKING([Accounts provider plugin dir])
+ ACCOUNTS_PROVIDER_PLUGIN_DIR=`pkg-config --variable=provider_plugindir account-plugin`
+
+ AC_MSG_RESULT([$ACCOUNTS_PROVIDER_PLUGIN_DIR])
+ AC_SUBST(ACCOUNTS_PROVIDER_PLUGIN_DIR)
+
+ # app plugin dir
+ AC_MSG_CHECKING([Accounts provider app plugin dir])
+ ACCOUNTS_APP_PLUGIN_DIR=`pkg-config --variable=application_plugindir account-plugin`
+
+ AC_MSG_RESULT([$ACCOUNTS_APP_PLUGIN_DIR])
+ AC_SUBST(ACCOUNTS_APP_PLUGIN_DIR)
+
+ # provider files dir
+ AC_MSG_CHECKING([Accounts provider files dir])
+ ACCOUNTS_PROVIDER_FILES_DIR=`pkg-config --variable=providerfilesdir libaccounts-glib`
+
+ AC_MSG_RESULT([$ACCOUNTS_PROVIDER_FILES_DIR])
+ AC_SUBST(ACCOUNTS_PROVIDER_FILES_DIR)
+
+ # service files dir
+ AC_MSG_CHECKING([Accounts service files dir])
+ ACCOUNTS_SERVICE_FILES_DIR=`pkg-config --variable=servicefilesdir libaccounts-glib`
+
+ AC_MSG_RESULT([$ACCOUNTS_SERVICE_FILES_DIR])
+ AC_SUBST(ACCOUNTS_SERVICE_FILES_DIR)
+
+ # application files dir
+ AC_MSG_CHECKING([Accounts applications files dir])
+ ACCOUNTS_APPLICATION_FILES_DIR=`pkg-config --variable=applicationfilesdir libaccounts-glib`
+
+ AC_MSG_RESULT([$ACCOUNTS_APPLICATION_FILES_DIR])
+ AC_SUBST(ACCOUNTS_APPLICATION_FILES_DIR)
+
+else
+ have_uoa=no
+fi
+
+if test "x$enable_ubuntu_online_accounts" = "xyes" -a "x$have_uoa" != "xyes"; then
+ AC_MSG_ERROR([Could not find Ubuntu Online Accounts dependencies:
+
+$UOA_PKG_ERRORS])
+fi
+
+if test "x$have_uoa" = "xyes"; then
+ AC_DEFINE(HAVE_UOA, 1, [Define to 1 to build Ubuntu Online Accounts plugins])
+fi
+
+AM_CONDITIONAL(HAVE_UOA, test "x$have_uoa" = "xyes")
+
+if test "x$have_uoa" = "xyes" -o "x$have_goa" = "xyes"; then
+ AC_MSG_CHECKING([Mission Control plugins dir])
+ MISSION_CONTROL_PLUGINS_DIR=${libdir}/mission-control-plugins.`pkg-config --variable=MCP_ABI_VERSION mission-control-plugins`
+
+ AC_MSG_RESULT([$MISSION_CONTROL_PLUGINS_DIR])
+ AC_SUBST(MISSION_CONTROL_PLUGINS_DIR)
+fi
+
+
# Help documentation
YELP_HELP_INIT
Makefile
data/Makefile
data/empathy.desktop.in
- data/empathy-accounts.desktop.in
data/icons/Makefile
+ data/themes/Makefile
extensions/Makefile
po/Makefile.in
libempathy/Makefile
src/Makefile
nautilus-sendto-plugin/Makefile
goa-mc-plugin/Makefile
+ ubuntu-online-accounts/Makefile
+ ubuntu-online-accounts/mc-plugin/Makefile
+ ubuntu-online-accounts/cc-plugins/Makefile
+ ubuntu-online-accounts/cc-plugins/providers/Makefile
+ ubuntu-online-accounts/cc-plugins/services/Makefile
+ ubuntu-online-accounts/cc-plugins/app-plugin/Makefile
help/Makefile
tests/Makefile
tests/interactive/Makefile
tests/xml/Makefile
+ tests/certificates/Makefile
tools/Makefile
])
AC_OUTPUT
Linker Flags................: ${LDFLAGS}
Prefix......................: ${prefix}
Coding style checks.........: ${ENABLE_CODING_STYLE_CHECKS}
+ Use GStreamer 1.0...........: ${have_gst1}
Features:
Spell checking (enchant)....: ${have_enchant}
Display maps (libchamplain).: ${have_libchamplain}
Location awareness (Geoclue): ${have_geoclue}
Geocode support (Geocode)...: ${have_geocode}
- Meego widgets...............: ${have_meego}
Cheese webcam support ......: ${have_cheese}
Camera monitoring...........: ${have_gudev}
- Connectivity:
- NetworkManager integration..: ${have_nm}
- ConnMan integration.........: ${have_connman}
-
Extras:
Nautilus-sendto plugin......: ${have_nst}
GOA MC plugin...............: ${have_goa}
- Salut E-D-S support.........: ${with_eds}
- Exp. Call log support.......: ${have_call_logs}
- empathy-av (legacy).........: ${enable_empathy_av}
+ Ubuntu Online plugins.......: ${have_uoa}
"