Skip to content
Snippets Groups Projects
Commit ad8909f0 authored by Maxim Cournoyer's avatar Maxim Cournoyer
Browse files

build: Enable the use of the dbusxx-xml2cpp tool built from contrib.

Previously, the build machine would need to provide dbusxx-xml2cpp
itself, while the library would be used from the contribs (always
forced, as dbusxx-xml2cpp is unmaintained and slightly broken on newer
GCCs).  This change removes the requirement to have the dbus-c++
package installed on the build machine.

Change-Id: I25ad2ee3e80afc33b320de9256b724a3c254f4fb
parent d3bf0b38
No related branches found
No related tags found
No related merge requests found
...@@ -9,31 +9,31 @@ BUILT_SOURCES= \ ...@@ -9,31 +9,31 @@ BUILT_SOURCES= \
BUILT_SOURCES+=dbuspresencemanager.adaptor.h BUILT_SOURCES+=dbuspresencemanager.adaptor.h
dbuspresencemanager.adaptor.h: cx.ring.Ring.PresenceManager.xml Makefile.am dbuspresencemanager.adaptor.h: cx.ring.Ring.PresenceManager.xml Makefile.am
dbusxx-xml2cpp $< --adaptor=$@ $(DBUSXX_XML2CPP) $< --adaptor=$@
if ENABLE_VIDEO if ENABLE_VIDEO
BUILT_SOURCES+=dbusvideomanager.adaptor.h BUILT_SOURCES+=dbusvideomanager.adaptor.h
dbusvideomanager.adaptor.h: cx.ring.Ring.VideoManager.xml Makefile.am dbusvideomanager.adaptor.h: cx.ring.Ring.VideoManager.xml Makefile.am
dbusxx-xml2cpp $< --adaptor=$@ $(DBUSXX_XML2CPP) $< --adaptor=$@
endif endif
# Rule to generate the binding headers # Rule to generate the binding headers
dbuscallmanager.adaptor.h: cx.ring.Ring.CallManager.xml Makefile.am dbuscallmanager.adaptor.h: cx.ring.Ring.CallManager.xml Makefile.am
dbusxx-xml2cpp $< --adaptor=$@ $(DBUSXX_XML2CPP) $< --adaptor=$@
# Rule to generate the binding headers # Rule to generate the binding headers
dbusconfigurationmanager.adaptor.h: cx.ring.Ring.ConfigurationManager.xml Makefile.am dbusconfigurationmanager.adaptor.h: cx.ring.Ring.ConfigurationManager.xml Makefile.am
dbusxx-xml2cpp $< --adaptor=$@ $(DBUSXX_XML2CPP) $< --adaptor=$@
# Rule to generate the binding headers # Rule to generate the binding headers
dbusinstance.adaptor.h: cx.ring.Ring.Instance.xml Makefile.am dbusinstance.adaptor.h: cx.ring.Ring.Instance.xml Makefile.am
dbusxx-xml2cpp $< --adaptor=$@ $(DBUSXX_XML2CPP) $< --adaptor=$@
if ENABLE_PLUGIN if ENABLE_PLUGIN
BUILT_SOURCES+=dbuspluginmanagerinterface.adaptor.h BUILT_SOURCES+=dbuspluginmanagerinterface.adaptor.h
# Rule to generate the binding headers # Rule to generate the binding headers
dbuspluginmanagerinterface.adaptor.h: cx.ring.Ring.PluginManagerInterface.xml Makefile.am dbuspluginmanagerinterface.adaptor.h: cx.ring.Ring.PluginManagerInterface.xml Makefile.am
dbusxx-xml2cpp $< --adaptor=$@ $(DBUSXX_XML2CPP) $< --adaptor=$@
endif endif
libclient_dbus_la_SOURCES = \ libclient_dbus_la_SOURCES = \
......
...@@ -2,9 +2,9 @@ dnl Jami - configure.ac for automake 1.9 and autoconf 2.59 ...@@ -2,9 +2,9 @@ dnl Jami - configure.ac for automake 1.9 and autoconf 2.59
dnl Process this file with autoconf to produce a configure script. dnl Process this file with autoconf to produce a configure script.
AC_PREREQ([2.65]) AC_PREREQ([2.65])
AC_INIT([Jami Daemon],[9.10.0],[ring@gnu.org],[jami]) AC_INIT([Jami Daemon],[9.10.0],[jami@gnu.org],[jami])
AC_COPYRIGHT([[Copyright (c) Savoir-faire Linux 2004-2020]]) AC_COPYRIGHT([[Copyright (c) Savoir-faire Linux 2004-2021]])
AC_REVISION([$Revision$]) AC_REVISION([$Revision$])
dnl Where to find configure files dnl Where to find configure files
...@@ -403,10 +403,8 @@ AS_IF([test "x$with_dbus" = "xyes"], [ ...@@ -403,10 +403,8 @@ AS_IF([test "x$with_dbus" = "xyes"], [
AC_CONFIG_FILES([bin/dbus/Makefile AC_CONFIG_FILES([bin/dbus/Makefile
bin/dbus/cx.ring.Ring.service]) bin/dbus/cx.ring.Ring.service])
AC_CHECK_PROG(HAVE_DBUSXML2CPP, dbusxx-xml2cpp, true, false) AC_PATH_PROG([DBUSXX_XML2CPP], dbusxx-xml2cpp,
if test "x$HAVE_DBUSXML2CPP" = "xfalse"; then [AC_MSG_ERROR([dbusxx-xml2cpp not found])])
AC_MSG_ERROR([dbusxx-xml2cpp not found])
fi
AS_IF([test "x$CLANG" = "xyes"], [ AS_IF([test "x$CLANG" = "xyes"], [
AC_MSG_ERROR([dbus does not compile when clang is used, rerun with --without-dbus]) AC_MSG_ERROR([dbus does not compile when clang is used, rerun with --without-dbus])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment