ENOTIFY_PC = enotify.pc
endif
-if BUILD_ECONNMAN
-ECONNMAN_PC = econnman.pc
+if BUILD_ECONNMAN0_7X
+ECONNMAN_PC = econnman-0.7x.pc
endif
if BUILD_EBLUEZ
$(pkgconfig_DATA) \
autogen.sh \
ebluez.pc.in \
-econnman.pc.in \
+econnman-0.7x.pc.in \
edbus.pc.in \
ehal.pc.in \
enotify.pc.in \
version:
* bluez(v4.9x): barebones to toggle state and change visibility.
- * connman(v0.7x): complete manager, service and technology.
+ * connman0.7x: complete manager, service and technology.
* hal(v0.5.x): deprecated, provides basic for e17. See ukit.
* notification(v0.7.x): complete client and server.
* ofono(v0.5x, v1.0): barebones to toggle state.
* ukit(upower-v0.9.x, udisks-1.0.x): most of upower, status api from udisks.
+
+API STABILITY:
+--------------
+
+Everything but libedbus (E_DBus.h) is subject to API or ABI stability
+of the provided service or protocol specification. If the service
+change their API, we'll break our API.
+
+The library/module versioning will be used at the name, leaving the
+soversion synchronized with libedbus.so.
+
+Examples:
+ * libeconnman0_7x.so.1.1.0 is the service connman at version
+ 0.7x created with libedbus.so.1.1.0.
+ * econnman-0.7x.pc (Version: 1.1.0) is the service connman at version
+ 0.7x created with edbus.pc (Version: 1.1.0).
+
+
------------------------------------------------------------------------------
COMPILING AND INSTALLING:
AC_CANONICAL_HOST
want_ebluez="yes"
-want_econnman="yes"
+want_econnman0_7x="yes"
want_ehal="yes"
want_enotify="yes"
want_eofono="yes"
case "$host_os" in
mingw*)
want_ebluez="no"
- want_econnman="no"
+ want_econnman0_7x="no"
want_ehal="no"
want_enotify="no"
want_eofono="no"
esac
requirement_ebluez="edbus >= 1.1.0"
-requirement_econnman="edbus >= 1.1.0"
+requirement_econnman0_7x="edbus >= 1.1.0 connman >= 0.75"
requirement_edbus="ecore >= 1.1.0 eina >= 1.1.0 dbus-1 >= 0.62"
requirement_ehal="edbus >= 1.1.0"
requirement_enotify="edbus >= 1.1.0"
[enable_ebluez=$enableval],
[enable_ebluez="${want_ebluez}"])
-AC_ARG_ENABLE([econnman],
- [AC_HELP_STRING([--enable-econnman], [Enable econnman build])],
- [enable_econnman=$enableval],
- [enable_econnman="${want_econnman}"])
+AC_ARG_ENABLE([econnman0_7x],
+ [AC_HELP_STRING([--enable-econnman0_7x], [Enable econnman 0.7x build])],
+ [enable_econnman0_7x=$enableval],
+ [enable_econnman0_7x="${want_econnman0_7x}"])
AC_ARG_ENABLE([ehal],
[AC_HELP_STRING([--disable-ehal], [Disable ehal build])],
fi
AM_CONDITIONAL([BUILD_EBLUEZ], [test "x${enable_ebluez}" = "xyes"])
-AM_CONDITIONAL([BUILD_ECONNMAN], [test "x${enable_econnman}" = "xyes"])
+AM_CONDITIONAL([BUILD_ECONNMAN0_7X], [test "x${enable_econnman0_7x}" = "xyes"])
AM_CONDITIONAL([BUILD_EHAL], [test "x${enable_ehal}" = "xyes"])
AM_CONDITIONAL([BUILD_ENOTIFY], [test "x${enable_enotify}" = "xyes"])
AM_CONDITIONAL([BUILD_EOFONO], [test "x${enable_eofono}" = "xyes"])
EFL_ENABLE_BIN([edbus-test], ["yes"])
EFL_ENABLE_BIN([edbus-test-client], ["yes"])
EFL_ENABLE_BIN([edbus-bluez-test], [${enable_ebluez}])
-EFL_ENABLE_BIN([edbus-connman-test], [${enable_econnman}])
+EFL_ENABLE_BIN([edbus-connman0_7x-test], [${enable_econnman0_7x}])
EFL_ENABLE_BIN([edbus-notification-daemon-test], [${enable_enotify}])
EFL_ENABLE_BIN([edbus-notify-send], [${enable_enotify}])
EFL_ENABLE_BIN([edbus-notify-test], [${enable_enotify}])
[have_edbus_bluez_test="no"])
fi
-if test "x${have_edbus_connman_test}" = "xyes" ; then
- PKG_CHECK_MODULES([EDBUS_CONNMAN_TEST],
+if test "x${have_edbus_connman0_7x_test}" = "xyes" ; then
+ PKG_CHECK_MODULES([EDBUS_CONNMAN0_7X_TEST],
[ecore >= 1.1.0 eina >= 1.1.0 dbus-1 >= 0.62],
- [have_edbus_connman_test="yes"],
- [have_edbus_connman_test="no"])
+ [have_edbus_connman0_7x_test="yes"],
+ [have_edbus_connman0_7x_test="no"])
fi
if test "x${have_edbus_notification_daemon_test}" = "xyes" ; then
AC_SUBST(requirement_ebluez)
-AC_SUBST(requirement_econnman)
+AC_SUBST(requirement_econnman0_7x)
AC_SUBST(requirement_edbus)
AC_SUBST(requirement_ehal)
AC_SUBST(requirement_enotify)
src/Makefile
src/lib/Makefile
src/lib/bluez/Makefile
-src/lib/connman/Makefile
+src/lib/connman0_7x/Makefile
src/lib/dbus/Makefile
src/lib/hal/Makefile
src/lib/notification/Makefile
src/lib/ukit/Makefile
src/bin/Makefile
ebluez.pc
-econnman.pc
+econnman-0.7x.pc
edbus.pc
ehal.pc
enotify.pc
echo " Modules:"
echo
echo " EBluez.............: $enable_ebluez"
-echo " EConnman...........: $enable_econnman"
+echo " EConnman (0.7x)....: $enable_econnman0_7x"
echo " EHal...............: $enable_ehal"
echo " ENotify............: $enable_enotify"
echo " EOfono.............: $enable_eofono"
echo " EDbus test.........: $have_edbus_test"
echo " EDbus client test..: $have_edbus_test_client"
echo " EBluez test........: $have_edbus_bluez_test"
-echo " EConnman test......: $have_edbus_connman_test"
+echo " EConnman (0.7x)test: $have_edbus_connman0_7x_test"
echo " ENotify Daemon test: $have_edbus_notification_daemon_test"
echo " ENotify send.......: $have_edbus_notify_send"
echo " ENotify test.......: $have_edbus_notify_test"
--- /dev/null
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: econnman-0.7x
+Description: network connection manager (connman v0.7x)
+@pkgconfig_requires_private@: @requirement_econnman0_7x@
+Version: @VERSION@
+Libs: -L${libdir} -leconnman0_7x
+Cflags: -I${includedir}/e_dbus-@VMAJ@
+++ /dev/null
-prefix=@prefix@
-exec_prefix=@exec_prefix@
-libdir=@libdir@
-includedir=@includedir@
-
-Name: econnman
-Description: network connection manager (connman)
-@pkgconfig_requires_private@: @requirement_econnman@
-Version: @VERSION@
-Libs: -L${libdir} -leconnman
-Cflags: -I${includedir}/e_dbus-@VMAJ@
EDBUS_CPPFLAGS = \
-I$(top_srcdir)/src/lib/dbus \
-I$(top_srcdir)/src/lib/notification \
--I$(top_srcdir)/src/lib/connman \
-I$(top_srcdir)/src/lib/bluez \
-I$(top_srcdir)/src/lib/ofono \
-I$(top_srcdir)/src/lib/ukit \
bin_PROGRAMS += e_dbus_bluez_test
endif
-if BUILD_EDBUS_CONNMAN_TEST
-bin_PROGRAMS += e_dbus_connman_test
+if BUILD_EDBUS_CONNMAN0_7X_TEST
+bin_PROGRAMS += e_dbus_connman0_7x_test
endif
if BUILD_EDBUS_NOTIFICATION_DAEMON_TEST
noinst_PROGRAMS =
-if BUILD_EDBUS_CONNMAN_TEST
-noinst_PROGRAMS += e_dbus_connman_test_api
+if BUILD_EDBUS_CONNMAN0_7X_TEST
+noinst_PROGRAMS += e_dbus_connman0_7x_test_api
endif
if BUILD_EDBUS_TEST
@EDBUS_BLUEZ_TEST_LIBS@
endif
-if BUILD_EDBUS_CONNMAN_TEST
-e_dbus_connman_test_SOURCES = e_dbus_connman_test.c
-e_dbus_connman_test_CPPFLAGS = \
+if BUILD_EDBUS_CONNMAN0_7X_TEST
+e_dbus_connman0_7x_test_SOURCES = e_dbus_connman0_7x_test.c
+e_dbus_connman0_7x_test_CPPFLAGS = \
-I$(top_srcdir)/src/lib/dbus \
--I$(top_srcdir)/src/lib/connman \
-@EDBUS_CONNMAN_TEST_CFLAGS@
-e_dbus_connman_test_LDADD = \
+-I$(top_srcdir)/src/lib/connman0_7x \
+@EDBUS_CONNMAN0_7X_TEST_CFLAGS@
+e_dbus_connman0_7x_test_LDADD = \
$(top_builddir)/src/lib/dbus/libedbus.la \
-$(top_builddir)/src/lib/connman/libeconnman.la \
-@EDBUS_CONNMAN_TEST_LIBS@
+$(top_builddir)/src/lib/connman0_7x/libeconnman0_7x.la \
+@EDBUS_CONNMAN0_7X_TEST_LIBS@
-e_dbus_connman_test_api_SOURCES = e_dbus_connman_test_api.c
-e_dbus_connman_test_api_CPPFLAGS = \
+e_dbus_connman0_7x_test_api_SOURCES = e_dbus_connman0_7x_test_api.c
+e_dbus_connman0_7x_test_api_CPPFLAGS = \
-I$(top_srcdir)/src/lib/dbus \
--I$(top_srcdir)/src/lib/connman \
-@EDBUS_CONNMAN_TEST_CFLAGS@
-e_dbus_connman_test_api_LDADD = \
+-I$(top_srcdir)/src/lib/connman0_7x \
+@EDBUS_CONNMAN0_7X_TEST_CFLAGS@
+e_dbus_connman0_7x_test_api_LDADD = \
$(top_builddir)/src/lib/dbus/libedbus.la \
-$(top_builddir)/src/lib/connman/libeconnman.la \
-@EDBUS_CONNMAN_TEST_LIBS@
+$(top_builddir)/src/lib/connman0_7x/libeconnman0_7x.la \
+@EDBUS_CONNMAN0_7X_TEST_LIBS@
endif
ENOTIFY_LIBS = $(top_builddir)/src/lib/notification/libenotify.la
path = args;
e = e_connman_service_get(path);
- if (e_connman_service_security2_get(e, &count, &security))
+ if (e_connman_service_security_get(e, &count, &security))
{
unsigned int i;
for (i = 0; i < count; i++)
SUBDIRS += bluez
endif
-if BUILD_ECONNMAN
-SUBDIRS += connman
+if BUILD_ECONNMAN0_7X
+SUBDIRS += connman0_7x
endif
if BUILD_EHAL
-I $(top_srcdir)/src/lib/dbus \
@EDBUS_CFLAGS@
-lib_LTLIBRARIES = libeconnman.la
+lib_LTLIBRARIES = libeconnman0_7x.la
includes_HEADERS = E_Connman.h
includesdir = $(includedir)/e_dbus-@VMAJ@
-libeconnman_la_SOURCES = \
+libeconnman0_7x_la_SOURCES = \
e_connman.c \
e_connman_element.c \
e_connman_manager.c \
e_connman_service.c \
e_connman_technology.c
-libeconnman_la_LIBADD = \
+libeconnman0_7x_la_LIBADD = \
$(top_builddir)/src/lib/dbus/libedbus.la
-libeconnman_la_LDFLAGS = -version-info @version_info@ @release_info@
+libeconnman0_7x_la_LDFLAGS = -version-info @version_info@ @release_info@
EXTRA_DIST = e_connman_private.h